Interface RestoreDbClusterToPointInTimeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RestoreDbClusterToPointInTimeResponse.Builder,,RestoreDbClusterToPointInTimeResponse> DocDbResponse.Builder,SdkBuilder<RestoreDbClusterToPointInTimeResponse.Builder,,RestoreDbClusterToPointInTimeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RestoreDbClusterToPointInTimeResponse
@Mutable
@NotThreadSafe
public static interface RestoreDbClusterToPointInTimeResponse.Builder
extends DocDbResponse.Builder, SdkPojo, CopyableBuilder<RestoreDbClusterToPointInTimeResponse.Builder,RestoreDbClusterToPointInTimeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbCluster(Consumer<DBCluster.Builder> dbCluster) Sets the value of the DBCluster property for this object.Sets the value of the DBCluster property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbResponse.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
-
dbCluster
Sets the value of the DBCluster property for this object.- Parameters:
dbCluster- The new value for the DBCluster property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbCluster
default RestoreDbClusterToPointInTimeResponse.Builder dbCluster(Consumer<DBCluster.Builder> dbCluster) Sets the value of the DBCluster property for this object. This is a convenience method that creates an instance of theDBCluster.Builderavoiding the need to create one manually viaDBCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbCluster(DBCluster).- Parameters:
dbCluster- a consumer that will call methods onDBCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-