Interface GlobalCluster.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalCluster.Builder,GlobalCluster>,SdkBuilder<GlobalCluster.Builder,GlobalCluster>,SdkPojo
- Enclosing class:
- GlobalCluster
public static interface GlobalCluster.Builder extends SdkPojo, CopyableBuilder<GlobalCluster.Builder,GlobalCluster>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GlobalCluster.BuilderdatabaseName(String databaseName)The default database name within the new global database cluster.GlobalCluster.BuilderdeletionProtection(Boolean deletionProtection)The deletion protection setting for the new global database cluster.GlobalCluster.Builderendpoint(String endpoint)The writer endpoint for the new global database cluster.GlobalCluster.Builderengine(String engine)The Aurora database engine used by the global database cluster.GlobalCluster.BuilderengineLifecycleSupport(String engineLifecycleSupport)The life cycle type for the global cluster.GlobalCluster.BuilderengineVersion(String engineVersion)Indicates the database engine version.default GlobalCluster.BuilderfailoverState(Consumer<FailoverState.Builder> failoverState)A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database).GlobalCluster.BuilderfailoverState(FailoverState failoverState)A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database).GlobalCluster.BuilderglobalClusterArn(String globalClusterArn)The Amazon Resource Name (ARN) for the global database cluster.GlobalCluster.BuilderglobalClusterIdentifier(String globalClusterIdentifier)Contains a user-supplied global database cluster identifier.GlobalCluster.BuilderglobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)The list of primary and secondary clusters within the global database cluster.GlobalCluster.BuilderglobalClusterMembers(Consumer<GlobalClusterMember.Builder>... globalClusterMembers)The list of primary and secondary clusters within the global database cluster.GlobalCluster.BuilderglobalClusterMembers(GlobalClusterMember... globalClusterMembers)The list of primary and secondary clusters within the global database cluster.GlobalCluster.BuilderglobalClusterResourceId(String globalClusterResourceId)The Amazon Web Services Region-unique, immutable identifier for the global database cluster.GlobalCluster.Builderstatus(String status)Specifies the current state of this global database cluster.GlobalCluster.BuilderstorageEncrypted(Boolean storageEncrypted)The storage encryption setting for the global database cluster.GlobalCluster.BuildertagList(Collection<Tag> tagList)Sets the value of the TagList property for this object.GlobalCluster.BuildertagList(Consumer<Tag.Builder>... tagList)Sets the value of the TagList property for this object.GlobalCluster.BuildertagList(Tag... tagList)Sets the value of the TagList property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
globalClusterIdentifier
GlobalCluster.Builder globalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.
- Parameters:
globalClusterIdentifier- Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterResourceId
GlobalCluster.Builder globalClusterResourceId(String globalClusterResourceId)
The Amazon Web Services Region-unique, immutable identifier for the global database cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon Web Services KMS key for the DB cluster is accessed.
- Parameters:
globalClusterResourceId- The Amazon Web Services Region-unique, immutable identifier for the global database cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon Web Services KMS key for the DB cluster is accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterArn
GlobalCluster.Builder globalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
- Parameters:
globalClusterArn- The Amazon Resource Name (ARN) for the global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GlobalCluster.Builder status(String status)
Specifies the current state of this global database cluster.
- Parameters:
status- Specifies the current state of this global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
GlobalCluster.Builder engine(String engine)
The Aurora database engine used by the global database cluster.
- Parameters:
engine- The Aurora database engine used by the global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
GlobalCluster.Builder engineVersion(String engineVersion)
Indicates the database engine version.
- Parameters:
engineVersion- Indicates the database engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineLifecycleSupport
GlobalCluster.Builder engineLifecycleSupport(String engineLifecycleSupport)
The life cycle type for the global cluster.
For more information, see CreateGlobalCluster.
- Parameters:
engineLifecycleSupport- The life cycle type for the global cluster.For more information, see CreateGlobalCluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
GlobalCluster.Builder databaseName(String databaseName)
The default database name within the new global database cluster.
- Parameters:
databaseName- The default database name within the new global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageEncrypted
GlobalCluster.Builder storageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
- Parameters:
storageEncrypted- The storage encryption setting for the global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
GlobalCluster.Builder deletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
- Parameters:
deletionProtection- The deletion protection setting for the new global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterMembers
GlobalCluster.Builder globalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
- Parameters:
globalClusterMembers- The list of primary and secondary clusters within the global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterMembers
GlobalCluster.Builder globalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
- Parameters:
globalClusterMembers- The list of primary and secondary clusters within the global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterMembers
GlobalCluster.Builder globalClusterMembers(Consumer<GlobalClusterMember.Builder>... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
This is a convenience method that creates an instance of theGlobalClusterMember.Builderavoiding the need to create one manually viaGlobalClusterMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#globalClusterMembers(List.) - Parameters:
globalClusterMembers- a consumer that will call methods onGlobalClusterMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#globalClusterMembers(java.util.Collection)
-
endpoint
GlobalCluster.Builder endpoint(String endpoint)
The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
- Parameters:
endpoint- The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failoverState
GlobalCluster.Builder failoverState(FailoverState failoverState)
A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database). This object is empty unless the
SwitchoverGlobalClusterorFailoverGlobalClusteroperation was called on this global cluster.- Parameters:
failoverState- A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database). This object is empty unless theSwitchoverGlobalClusterorFailoverGlobalClusteroperation was called on this global cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failoverState
default GlobalCluster.Builder failoverState(Consumer<FailoverState.Builder> failoverState)
A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database). This object is empty unless the
This is a convenience method that creates an instance of theSwitchoverGlobalClusterorFailoverGlobalClusteroperation was called on this global cluster.FailoverState.Builderavoiding the need to create one manually viaFailoverState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailoverState(FailoverState).- Parameters:
failoverState- a consumer that will call methods onFailoverState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failoverState(FailoverState)
-
tagList
GlobalCluster.Builder tagList(Collection<Tag> tagList)
Sets the value of the TagList property for this object.- Parameters:
tagList- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
GlobalCluster.Builder tagList(Tag... tagList)
Sets the value of the TagList property for this object.- Parameters:
tagList- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
GlobalCluster.Builder tagList(Consumer<Tag.Builder>... tagList)
Sets the value of the TagList property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagList(List.) - Parameters:
tagList- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagList(java.util.Collection)
-
-