Interface CreateDbClusterSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDbClusterSnapshotResponse.Builder,CreateDbClusterSnapshotResponse>
,RdsResponse.Builder
,SdkBuilder<CreateDbClusterSnapshotResponse.Builder,CreateDbClusterSnapshotResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateDbClusterSnapshotResponse
public static interface CreateDbClusterSnapshotResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbClusterSnapshotResponse.Builder,CreateDbClusterSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDbClusterSnapshotResponse.Builder
dbClusterSnapshot(Consumer<DBClusterSnapshot.Builder> dbClusterSnapshot)
Sets the value of the DBClusterSnapshot property for this object.CreateDbClusterSnapshotResponse.Builder
dbClusterSnapshot(DBClusterSnapshot dbClusterSnapshot)
Sets the value of the DBClusterSnapshot property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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 Detail
-
dbClusterSnapshot
CreateDbClusterSnapshotResponse.Builder dbClusterSnapshot(DBClusterSnapshot 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 CreateDbClusterSnapshotResponse.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.Builder
avoiding the need to create one manually viaDBClusterSnapshot.builder()
.When the
Consumer
completes,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:
dbClusterSnapshot(DBClusterSnapshot)
-
-