Interface GlobalAuroraConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalAuroraConfiguration.Builder,,GlobalAuroraConfiguration> SdkBuilder<GlobalAuroraConfiguration.Builder,,GlobalAuroraConfiguration> SdkPojo
- Enclosing class:
GlobalAuroraConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe behavior for a global database, that is, only allow switchover or also allow failover.behavior(GlobalAuroraDefaultBehavior behavior) The behavior for a global database, that is, only allow switchover or also allow failover.crossAccountRole(String crossAccountRole) The cross account role for the configuration.databaseClusterArns(String... databaseClusterArns) The database cluster Amazon Resource Names (ARNs) for a global database.databaseClusterArns(Collection<String> databaseClusterArns) The database cluster Amazon Resource Names (ARNs) for a global database.externalId(String externalId) The external ID (secret key) for the configuration.globalClusterIdentifier(String globalClusterIdentifier) The global cluster identifier for a global database.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<GlobalAuroraUngraceful.Builder> ungraceful) The settings for ungraceful execution.ungraceful(GlobalAuroraUngraceful ungraceful) The settings for ungraceful execution.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.
-
behavior
The behavior for a global database, that is, only allow switchover or also allow failover.
- Parameters:
behavior- The behavior for a global database, that is, only allow switchover or also allow failover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
behavior
The behavior for a global database, that is, only allow switchover or also allow failover.
- Parameters:
behavior- The behavior for a global database, that is, only allow switchover or also allow failover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ungraceful
The settings for ungraceful execution.
- Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
default GlobalAuroraConfiguration.Builder ungraceful(Consumer<GlobalAuroraUngraceful.Builder> ungraceful) The settings for ungraceful execution.
This is a convenience method that creates an instance of theGlobalAuroraUngraceful.Builderavoiding the need to create one manually viaGlobalAuroraUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(GlobalAuroraUngraceful).- Parameters:
ungraceful- a consumer that will call methods onGlobalAuroraUngraceful.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
globalClusterIdentifier
The global cluster identifier for a global database.
- Parameters:
globalClusterIdentifier- The global cluster identifier for a global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseClusterArns
The database cluster Amazon Resource Names (ARNs) for a global database.
- Parameters:
databaseClusterArns- The database cluster Amazon Resource Names (ARNs) for a global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseClusterArns
The database cluster Amazon Resource Names (ARNs) for a global database.
- Parameters:
databaseClusterArns- The database cluster Amazon Resource Names (ARNs) for a global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-