Interface ListSnapshotCopyConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSnapshotCopyConfigurationsResponse.Builder,
,ListSnapshotCopyConfigurationsResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<ListSnapshotCopyConfigurationsResponse.Builder,
,ListSnapshotCopyConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSnapshotCopyConfigurationsResponse
@Mutable
@NotThreadSafe
public static interface ListSnapshotCopyConfigurationsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListSnapshotCopyConfigurationsResponse.Builder,ListSnapshotCopyConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIfnextToken
is returned, there are more results available.snapshotCopyConfigurations
(Collection<SnapshotCopyConfiguration> snapshotCopyConfigurations) All of the returned snapshot copy configurations.snapshotCopyConfigurations
(Consumer<SnapshotCopyConfiguration.Builder>... snapshotCopyConfigurations) All of the returned snapshot copy configurations.snapshotCopyConfigurations
(SnapshotCopyConfiguration... snapshotCopyConfigurations) All of the returned snapshot copy configurations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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 ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken
- IfnextToken
is returned, there are more results available. The value ofnextToken
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.
-
snapshotCopyConfigurations
ListSnapshotCopyConfigurationsResponse.Builder snapshotCopyConfigurations(Collection<SnapshotCopyConfiguration> snapshotCopyConfigurations) All of the returned snapshot copy configurations.
- Parameters:
snapshotCopyConfigurations
- All of the returned snapshot copy configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyConfigurations
ListSnapshotCopyConfigurationsResponse.Builder snapshotCopyConfigurations(SnapshotCopyConfiguration... snapshotCopyConfigurations) All of the returned snapshot copy configurations.
- Parameters:
snapshotCopyConfigurations
- All of the returned snapshot copy configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyConfigurations
ListSnapshotCopyConfigurationsResponse.Builder snapshotCopyConfigurations(Consumer<SnapshotCopyConfiguration.Builder>... snapshotCopyConfigurations) All of the returned snapshot copy configurations.
This is a convenience method that creates an instance of theSnapshotCopyConfiguration.Builder
avoiding the need to create one manually viaSnapshotCopyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotCopyConfigurations(List<SnapshotCopyConfiguration>)
.- Parameters:
snapshotCopyConfigurations
- a consumer that will call methods onSnapshotCopyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-