Interface CreateDbClusterGroupSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDbClusterGroupSnapshotResponse.Builder,,CreateDbClusterGroupSnapshotResponse> RdsResponse.Builder,SdkBuilder<CreateDbClusterGroupSnapshotResponse.Builder,,CreateDbClusterGroupSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDbClusterGroupSnapshotResponse
@Mutable
@NotThreadSafe
public static interface CreateDbClusterGroupSnapshotResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbClusterGroupSnapshotResponse.Builder,CreateDbClusterGroupSnapshotResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterGroupSnapshot(Consumer<DBClusterGroupSnapshot.Builder> dbClusterGroupSnapshot) The DB cluster group snapshot.dbClusterGroupSnapshot(DBClusterGroupSnapshot dbClusterGroupSnapshot) The DB cluster group snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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
-
dbClusterGroupSnapshot
CreateDbClusterGroupSnapshotResponse.Builder dbClusterGroupSnapshot(DBClusterGroupSnapshot dbClusterGroupSnapshot) The DB cluster group snapshot.
- Parameters:
dbClusterGroupSnapshot- The DB cluster group snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupSnapshot
default CreateDbClusterGroupSnapshotResponse.Builder dbClusterGroupSnapshot(Consumer<DBClusterGroupSnapshot.Builder> dbClusterGroupSnapshot) The DB cluster group snapshot.
This is a convenience method that creates an instance of theDBClusterGroupSnapshot.Builderavoiding the need to create one manually viaDBClusterGroupSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbClusterGroupSnapshot(DBClusterGroupSnapshot).- Parameters:
dbClusterGroupSnapshot- a consumer that will call methods onDBClusterGroupSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-