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