Interface NeptuneGlobalDatabaseConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NeptuneGlobalDatabaseConfiguration.Builder,,NeptuneGlobalDatabaseConfiguration> SdkBuilder<NeptuneGlobalDatabaseConfiguration.Builder,,NeptuneGlobalDatabaseConfiguration> SdkPojo
- Enclosing class:
NeptuneGlobalDatabaseConfiguration
@Mutable
@NotThreadSafe
public static interface NeptuneGlobalDatabaseConfiguration.Builder
extends SdkPojo, CopyableBuilder<NeptuneGlobalDatabaseConfiguration.Builder,NeptuneGlobalDatabaseConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe behavior for a global database, that is, only allow switchover or also allow failover.behavior(NeptuneDefaultBehavior 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.externalId(String externalId) The external ID (secret key) for the configuration.globalClusterIdentifier(String globalClusterIdentifier) The global cluster identifier for a Neptune global database.regionDatabaseClusterArns(Map<String, String> regionDatabaseClusterArns) The database cluster Amazon Resource Names (ARNs) for a Neptune global database.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<NeptuneUngraceful.Builder> ungraceful) The settings for ungraceful execution.ungraceful(NeptuneUngraceful 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 NeptuneGlobalDatabaseConfiguration.Builder ungraceful(Consumer<NeptuneUngraceful.Builder> ungraceful) The settings for ungraceful execution.
This is a convenience method that creates an instance of theNeptuneUngraceful.Builderavoiding the need to create one manually viaNeptuneUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(NeptuneUngraceful).- Parameters:
ungraceful- a consumer that will call methods onNeptuneUngraceful.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 Neptune global database.
- Parameters:
globalClusterIdentifier- The global cluster identifier for a Neptune global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionDatabaseClusterArns
NeptuneGlobalDatabaseConfiguration.Builder regionDatabaseClusterArns(Map<String, String> regionDatabaseClusterArns) The database cluster Amazon Resource Names (ARNs) for a Neptune global database.
- Parameters:
regionDatabaseClusterArns- The database cluster Amazon Resource Names (ARNs) for a Neptune global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-