Interface DeleteClusterSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteClusterSnapshotResponse.Builder,
,DeleteClusterSnapshotResponse> DocDbElasticResponse.Builder
,SdkBuilder<DeleteClusterSnapshotResponse.Builder,
,DeleteClusterSnapshotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteClusterSnapshotResponse
@Mutable
@NotThreadSafe
public static interface DeleteClusterSnapshotResponse.Builder
extends DocDbElasticResponse.Builder, SdkPojo, CopyableBuilder<DeleteClusterSnapshotResponse.Builder,DeleteClusterSnapshotResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsnapshot
(Consumer<ClusterSnapshot.Builder> snapshot) Returns information about the newly deleted elastic cluster snapshot.snapshot
(ClusterSnapshot snapshot) Returns information about the newly deleted elastic cluster snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.docdbelastic.model.DocDbElasticResponse.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
-
snapshot
Returns information about the newly deleted elastic cluster snapshot.
- Parameters:
snapshot
- Returns information about the newly deleted elastic cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshot
Returns information about the newly deleted elastic cluster snapshot.
This is a convenience method that creates an instance of theClusterSnapshot.Builder
avoiding the need to create one manually viaClusterSnapshot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshot(ClusterSnapshot)
.- Parameters:
snapshot
- a consumer that will call methods onClusterSnapshot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-