public static interface GlobalCluster.Builder extends SdkPojo, CopyableBuilder<GlobalCluster.Builder,GlobalCluster>
Modifier and Type | Method and Description |
---|---|
GlobalCluster.Builder |
databaseName(String databaseName)
The default database name within the new global database cluster.
|
GlobalCluster.Builder |
deletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
|
GlobalCluster.Builder |
engine(String engine)
The Aurora database engine used by the global database cluster.
|
GlobalCluster.Builder |
engineVersion(String engineVersion)
Indicates the database engine version.
|
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).
|
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).
|
GlobalCluster.Builder |
globalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
|
GlobalCluster.Builder |
globalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier.
|
GlobalCluster.Builder |
globalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
|
GlobalCluster.Builder |
globalClusterMembers(Consumer<GlobalClusterMember.Builder>... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
|
GlobalCluster.Builder |
globalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
|
GlobalCluster.Builder |
globalClusterResourceId(String globalClusterResourceId)
The Amazon Web Services Region-unique, immutable identifier for the global database cluster.
|
GlobalCluster.Builder |
status(String status)
Specifies the current state of this global database cluster.
|
GlobalCluster.Builder |
storageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
globalClusterIdentifier
- Contains a user-supplied global database cluster identifier. This identifier is the unique key that
identifies a global database cluster.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.
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.GlobalCluster.Builder globalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
globalClusterArn
- The Amazon Resource Name (ARN) for the global database cluster.GlobalCluster.Builder status(String status)
Specifies the current state of this global database cluster.
status
- Specifies the current state of this global database cluster.GlobalCluster.Builder engine(String engine)
The Aurora database engine used by the global database cluster.
engine
- The Aurora database engine used by the global database cluster.GlobalCluster.Builder engineVersion(String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.GlobalCluster.Builder databaseName(String databaseName)
The default database name within the new global database cluster.
databaseName
- The default database name within the new global database cluster.GlobalCluster.Builder storageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
storageEncrypted
- The storage encryption setting for the global database cluster.GlobalCluster.Builder deletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
deletionProtection
- The deletion protection setting for the new global database cluster.GlobalCluster.Builder globalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
globalClusterMembers
- The list of primary and secondary clusters within the global database cluster.GlobalCluster.Builder globalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
globalClusterMembers
- The list of primary and secondary clusters within the global database cluster.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.Builder
avoiding the need to create one
manually via GlobalClusterMember.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #globalClusterMembers(List
.
globalClusterMembers
- a consumer that will call methods on
GlobalClusterMember.Builder
#globalClusterMembers(java.util.Collection)
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
SwitchoverGlobalCluster
or FailoverGlobalCluster
operation was called on this
global cluster.
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
SwitchoverGlobalCluster
or FailoverGlobalCluster
operation was called on
this global cluster.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
SwitchoverGlobalCluster
or FailoverGlobalCluster
operation was called on this
global cluster.
FailoverState.Builder
avoiding the need
to create one manually via FailoverState.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to failoverState(FailoverState)
.
failoverState
- a consumer that will call methods on FailoverState.Builder
failoverState(FailoverState)
Copyright © 2023. All rights reserved.