Interface RdsSwitchoverReadReplicaConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RdsSwitchoverReadReplicaConfiguration.Builder,,RdsSwitchoverReadReplicaConfiguration> SdkBuilder<RdsSwitchoverReadReplicaConfiguration.Builder,,RdsSwitchoverReadReplicaConfiguration> SdkPojo
- Enclosing class:
RdsSwitchoverReadReplicaConfiguration
@Mutable
@NotThreadSafe
public static interface RdsSwitchoverReadReplicaConfiguration.Builder
extends SdkPojo, CopyableBuilder<RdsSwitchoverReadReplicaConfiguration.Builder,RdsSwitchoverReadReplicaConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncrossAccountRole(String crossAccountRole) The cross-account role for the configuration.dbInstanceArnMap(Map<String, String> dbInstanceArnMap) A map of database instance ARNs for each Region in the plan.externalId(String externalId) The external ID (secret key) for the configuration.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<RdsUngraceful.Builder> ungraceful) The ungraceful execution settings for the configuration.ungraceful(RdsUngraceful ungraceful) The ungraceful execution settings for the configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timeoutMinutes
The timeout value specified for the configuration.
- Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountRole
The cross-account role for the configuration.
- Parameters:
crossAccountRole- The cross-account role for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID (secret key) for the configuration.
- Parameters:
externalId- The external ID (secret key) for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceArnMap
A map of database instance ARNs for each Region in the plan.
- Parameters:
dbInstanceArnMap- A map of database instance ARNs for each Region in the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
The ungraceful execution settings for the configuration.
- Parameters:
ungraceful- The ungraceful execution settings for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
default RdsSwitchoverReadReplicaConfiguration.Builder ungraceful(Consumer<RdsUngraceful.Builder> ungraceful) The ungraceful execution settings for the configuration.
This is a convenience method that creates an instance of theRdsUngraceful.Builderavoiding the need to create one manually viaRdsUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(RdsUngraceful).- Parameters:
ungraceful- a consumer that will call methods onRdsUngraceful.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-