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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSnapshotCopyConfigurationsResponse.BuildernextToken(String nextToken)IfnextTokenis returned, there are more results available.ListSnapshotCopyConfigurationsResponse.BuildersnapshotCopyConfigurations(Collection<SnapshotCopyConfiguration> snapshotCopyConfigurations)All of the returned snapshot copy configurations.ListSnapshotCopyConfigurationsResponse.BuildersnapshotCopyConfigurations(Consumer<SnapshotCopyConfiguration.Builder>... snapshotCopyConfigurations)All of the returned snapshot copy configurations.ListSnapshotCopyConfigurationsResponse.BuildersnapshotCopyConfigurations(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListSnapshotCopyConfigurationsResponse.Builder nextToken(String 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 to#snapshotCopyConfigurations(List.) - 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:
#snapshotCopyConfigurations(java.util.Collection)
-
-