Interface ListSnapshotCopyConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSnapshotCopyConfigurationsResponse.Builder,,ListSnapshotCopyConfigurationsResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListSnapshotCopyConfigurationsResponse.Builder,,ListSnapshotCopyConfigurationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSnapshotCopyConfigurationsResponse
public static interface ListSnapshotCopyConfigurationsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListSnapshotCopyConfigurationsResponse.Builder,ListSnapshotCopyConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIfnextTokenis 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
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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- IfnextTokenis returned, there are more results available. The value ofnextTokenis 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.Builderavoiding the need to create one manually viaSnapshotCopyConfiguration.builder().When the
Consumercompletes,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:
-