Interface DeleteSnapshotCopyConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteSnapshotCopyConfigurationResponse.Builder,
,DeleteSnapshotCopyConfigurationResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<DeleteSnapshotCopyConfigurationResponse.Builder,
,DeleteSnapshotCopyConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteSnapshotCopyConfigurationResponse
public static interface DeleteSnapshotCopyConfigurationResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<DeleteSnapshotCopyConfigurationResponse.Builder,DeleteSnapshotCopyConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsnapshotCopyConfiguration
(Consumer<SnapshotCopyConfiguration.Builder> snapshotCopyConfiguration) The deleted snapshot copy configuration object.snapshotCopyConfiguration
(SnapshotCopyConfiguration snapshotCopyConfiguration) The deleted snapshot copy configuration object.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 Details
-
snapshotCopyConfiguration
DeleteSnapshotCopyConfigurationResponse.Builder snapshotCopyConfiguration(SnapshotCopyConfiguration snapshotCopyConfiguration) The deleted snapshot copy configuration object.
- Parameters:
snapshotCopyConfiguration
- The deleted snapshot copy configuration object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyConfiguration
default DeleteSnapshotCopyConfigurationResponse.Builder snapshotCopyConfiguration(Consumer<SnapshotCopyConfiguration.Builder> snapshotCopyConfiguration) The deleted snapshot copy configuration object.
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 tosnapshotCopyConfiguration(SnapshotCopyConfiguration)
.- Parameters:
snapshotCopyConfiguration
- 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:
-