Interface ModifyDbClusterGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyDbClusterGroupResponse.Builder,,ModifyDbClusterGroupResponse> RdsResponse.Builder,SdkBuilder<ModifyDbClusterGroupResponse.Builder,,ModifyDbClusterGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyDbClusterGroupResponse
@Mutable
@NotThreadSafe
public static interface ModifyDbClusterGroupResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<ModifyDbClusterGroupResponse.Builder,ModifyDbClusterGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterGroup(Consumer<DBClusterGroup.Builder> dbClusterGroup) Sets the value of the DBClusterGroup property for this object.dbClusterGroup(DBClusterGroup dbClusterGroup) Sets the value of the DBClusterGroup property for this object.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
-
dbClusterGroup
Sets the value of the DBClusterGroup property for this object.- Parameters:
dbClusterGroup- The new value for the DBClusterGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroup
default ModifyDbClusterGroupResponse.Builder dbClusterGroup(Consumer<DBClusterGroup.Builder> dbClusterGroup) Sets the value of the DBClusterGroup property for this object. This is a convenience method that creates an instance of theDBClusterGroup.Builderavoiding the need to create one manually viaDBClusterGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbClusterGroup(DBClusterGroup).- Parameters:
dbClusterGroup- a consumer that will call methods onDBClusterGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-