Interface FailoverGlobalClusterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<FailoverGlobalClusterResponse.Builder,FailoverGlobalClusterResponse>
,RdsResponse.Builder
,SdkBuilder<FailoverGlobalClusterResponse.Builder,FailoverGlobalClusterResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- FailoverGlobalClusterResponse
public static interface FailoverGlobalClusterResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<FailoverGlobalClusterResponse.Builder,FailoverGlobalClusterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FailoverGlobalClusterResponse.Builder
globalCluster(Consumer<GlobalCluster.Builder> globalCluster)
Sets the value of the GlobalCluster property for this object.FailoverGlobalClusterResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
globalCluster
FailoverGlobalClusterResponse.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 FailoverGlobalClusterResponse.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)
-
-