Interface ModifyGlobalClusterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyGlobalClusterResponse.Builder,ModifyGlobalClusterResponse>
,RdsResponse.Builder
,SdkBuilder<ModifyGlobalClusterResponse.Builder,ModifyGlobalClusterResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ModifyGlobalClusterResponse
public static interface ModifyGlobalClusterResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<ModifyGlobalClusterResponse.Builder,ModifyGlobalClusterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyGlobalClusterResponse.Builder
globalCluster(Consumer<GlobalCluster.Builder> globalCluster)
Sets the value of the GlobalCluster property for this object.ModifyGlobalClusterResponse.Builder
globalCluster(GlobalCluster globalCluster)
Sets the value of the GlobalCluster 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
globalCluster
ModifyGlobalClusterResponse.Builder globalCluster(GlobalCluster globalCluster)
Sets the value of the GlobalCluster property for this object.- Parameters:
globalCluster
- The new value for the GlobalCluster property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalCluster
default ModifyGlobalClusterResponse.Builder globalCluster(Consumer<GlobalCluster.Builder> globalCluster)
Sets the value of the GlobalCluster property for this object. This is a convenience method that creates an instance of theGlobalCluster.Builder
avoiding the need to create one manually viaGlobalCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalCluster(GlobalCluster)
.- Parameters:
globalCluster
- a consumer that will call methods onGlobalCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
globalCluster(GlobalCluster)
-
-