Interface DeleteDbClusterSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteDbClusterSnapshotResponse.Builder,,DeleteDbClusterSnapshotResponse> NeptuneResponse.Builder,SdkBuilder<DeleteDbClusterSnapshotResponse.Builder,,DeleteDbClusterSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteDbClusterSnapshotResponse
@Mutable
@NotThreadSafe
public static interface DeleteDbClusterSnapshotResponse.Builder
extends NeptuneResponse.Builder, SdkPojo, CopyableBuilder<DeleteDbClusterSnapshotResponse.Builder,DeleteDbClusterSnapshotResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterSnapshot(Consumer<DBClusterSnapshot.Builder> dbClusterSnapshot) Sets the value of the DBClusterSnapshot property for this object.dbClusterSnapshot(DBClusterSnapshot dbClusterSnapshot) Sets the value of the DBClusterSnapshot property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbClusterSnapshot
Sets the value of the DBClusterSnapshot property for this object.- Parameters:
dbClusterSnapshot- The new value for the DBClusterSnapshot property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshot
default DeleteDbClusterSnapshotResponse.Builder dbClusterSnapshot(Consumer<DBClusterSnapshot.Builder> dbClusterSnapshot) Sets the value of the DBClusterSnapshot property for this object. This is a convenience method that creates an instance of theDBClusterSnapshot.Builderavoiding the need to create one manually viaDBClusterSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbClusterSnapshot(DBClusterSnapshot).- Parameters:
dbClusterSnapshot- a consumer that will call methods onDBClusterSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-