Interface ListScheduledActionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListScheduledActionsResponse.Builder,,ListScheduledActionsResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListScheduledActionsResponse.Builder,,ListScheduledActionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListScheduledActionsResponse
@Mutable
@NotThreadSafe
public static interface ListScheduledActionsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListScheduledActionsResponse.Builder,ListScheduledActionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf nextToken is returned, there are more results available.scheduledActions(Collection<ScheduledActionAssociation> scheduledActions) All of the returned scheduled action association objects.scheduledActions(Consumer<ScheduledActionAssociation.Builder>... scheduledActions) All of the returned scheduled action association objects.scheduledActions(ScheduledActionAssociation... scheduledActions) All of the returned scheduled action association objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
- Parameters:
nextToken- If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledActions
ListScheduledActionsResponse.Builder scheduledActions(Collection<ScheduledActionAssociation> scheduledActions) All of the returned scheduled action association objects.
- Parameters:
scheduledActions- All of the returned scheduled action association objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledActions
ListScheduledActionsResponse.Builder scheduledActions(ScheduledActionAssociation... scheduledActions) All of the returned scheduled action association objects.
- Parameters:
scheduledActions- All of the returned scheduled action association objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledActions
ListScheduledActionsResponse.Builder scheduledActions(Consumer<ScheduledActionAssociation.Builder>... scheduledActions) All of the returned scheduled action association objects.
This is a convenience method that creates an instance of theScheduledActionAssociation.Builderavoiding the need to create one manually viaScheduledActionAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledActions(List<ScheduledActionAssociation>).- Parameters:
scheduledActions- a consumer that will call methods onScheduledActionAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-