@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalCluster extends Object implements Serializable, Cloneable
A data type representing an Aurora global database.
Constructor and Description |
---|
GlobalCluster() |
Modifier and Type | Method and Description |
---|---|
GlobalCluster |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The default database name within the new global database cluster.
|
Boolean |
getDeletionProtection()
The deletion protection setting for the new global database cluster.
|
String |
getEngine()
The Aurora database engine used by the global database cluster.
|
String |
getEngineLifecycleSupport()
The life cycle type for the global cluster.
|
String |
getEngineVersion()
Indicates the database engine version.
|
FailoverState |
getFailoverState()
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).
|
String |
getGlobalClusterArn()
The Amazon Resource Name (ARN) for the global database cluster.
|
String |
getGlobalClusterIdentifier()
Contains a user-supplied global database cluster identifier.
|
List<GlobalClusterMember> |
getGlobalClusterMembers()
The list of primary and secondary clusters within the global database cluster.
|
String |
getGlobalClusterResourceId()
The Amazon Web Services Region-unique, immutable identifier for the global database cluster.
|
String |
getStatus()
Specifies the current state of this global database cluster.
|
Boolean |
getStorageEncrypted()
The storage encryption setting for the global database cluster.
|
int |
hashCode() |
Boolean |
isDeletionProtection()
The deletion protection setting for the new global database cluster.
|
Boolean |
isStorageEncrypted()
The storage encryption setting for the global database cluster.
|
void |
setDatabaseName(String databaseName)
The default database name within the new global database cluster.
|
void |
setDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
|
void |
setEngine(String engine)
The Aurora database engine used by the global database cluster.
|
void |
setEngineLifecycleSupport(String engineLifecycleSupport)
The life cycle type for the global cluster.
|
void |
setEngineVersion(String engineVersion)
Indicates the database engine version.
|
void |
setFailoverState(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).
|
void |
setGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier.
|
void |
setGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
|
void |
setGlobalClusterResourceId(String globalClusterResourceId)
The Amazon Web Services Region-unique, immutable identifier for the global database cluster.
|
void |
setStatus(String status)
Specifies the current state of this global database cluster.
|
void |
setStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
|
String |
toString()
Returns a string representation of this object.
|
GlobalCluster |
withDatabaseName(String databaseName)
The default database name within the new global database cluster.
|
GlobalCluster |
withDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
|
GlobalCluster |
withEngine(String engine)
The Aurora database engine used by the global database cluster.
|
GlobalCluster |
withEngineLifecycleSupport(String engineLifecycleSupport)
The life cycle type for the global cluster.
|
GlobalCluster |
withEngineVersion(String engineVersion)
Indicates the database engine version.
|
GlobalCluster |
withFailoverState(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 |
withGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
|
GlobalCluster |
withGlobalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier.
|
GlobalCluster |
withGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
|
GlobalCluster |
withGlobalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
|
GlobalCluster |
withGlobalClusterResourceId(String globalClusterResourceId)
The Amazon Web Services Region-unique, immutable identifier for the global database cluster.
|
GlobalCluster |
withStatus(String status)
Specifies the current state of this global database cluster.
|
GlobalCluster |
withStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
|
public void setGlobalClusterIdentifier(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.public String getGlobalClusterIdentifier()
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.
public GlobalCluster withGlobalClusterIdentifier(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.public void setGlobalClusterResourceId(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.public String getGlobalClusterResourceId()
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.
public GlobalCluster withGlobalClusterResourceId(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.public void setGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
globalClusterArn
- The Amazon Resource Name (ARN) for the global database cluster.public String getGlobalClusterArn()
The Amazon Resource Name (ARN) for the global database cluster.
public GlobalCluster withGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database cluster.
globalClusterArn
- The Amazon Resource Name (ARN) for the global database cluster.public void setStatus(String status)
Specifies the current state of this global database cluster.
status
- Specifies the current state of this global database cluster.public String getStatus()
Specifies the current state of this global database cluster.
public GlobalCluster withStatus(String status)
Specifies the current state of this global database cluster.
status
- Specifies the current state of this global database cluster.public void setEngine(String engine)
The Aurora database engine used by the global database cluster.
engine
- The Aurora database engine used by the global database cluster.public String getEngine()
The Aurora database engine used by the global database cluster.
public GlobalCluster withEngine(String engine)
The Aurora database engine used by the global database cluster.
engine
- The Aurora database engine used by the global database cluster.public void setEngineVersion(String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.public String getEngineVersion()
Indicates the database engine version.
public GlobalCluster withEngineVersion(String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.public void setEngineLifecycleSupport(String engineLifecycleSupport)
The life cycle type for the global cluster.
For more information, see CreateGlobalCluster.
engineLifecycleSupport
- The life cycle type for the global cluster.
For more information, see CreateGlobalCluster.
public String getEngineLifecycleSupport()
The life cycle type for the global cluster.
For more information, see CreateGlobalCluster.
For more information, see CreateGlobalCluster.
public GlobalCluster withEngineLifecycleSupport(String engineLifecycleSupport)
The life cycle type for the global cluster.
For more information, see CreateGlobalCluster.
engineLifecycleSupport
- The life cycle type for the global cluster.
For more information, see CreateGlobalCluster.
public void setDatabaseName(String databaseName)
The default database name within the new global database cluster.
databaseName
- The default database name within the new global database cluster.public String getDatabaseName()
The default database name within the new global database cluster.
public GlobalCluster withDatabaseName(String databaseName)
The default database name within the new global database cluster.
databaseName
- The default database name within the new global database cluster.public void setStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
storageEncrypted
- The storage encryption setting for the global database cluster.public Boolean getStorageEncrypted()
The storage encryption setting for the global database cluster.
public GlobalCluster withStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
storageEncrypted
- The storage encryption setting for the global database cluster.public Boolean isStorageEncrypted()
The storage encryption setting for the global database cluster.
public void setDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
deletionProtection
- The deletion protection setting for the new global database cluster.public Boolean getDeletionProtection()
The deletion protection setting for the new global database cluster.
public GlobalCluster withDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the new global database cluster.
deletionProtection
- The deletion protection setting for the new global database cluster.public Boolean isDeletionProtection()
The deletion protection setting for the new global database cluster.
public List<GlobalClusterMember> getGlobalClusterMembers()
The list of primary and secondary clusters within the global database cluster.
public void setGlobalClusterMembers(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.public GlobalCluster withGlobalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of primary and secondary clusters within the global database cluster.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalClusterMembers(java.util.Collection)
or withGlobalClusterMembers(java.util.Collection)
if you want to override the existing values.
globalClusterMembers
- The list of primary and secondary clusters within the global database cluster.public GlobalCluster withGlobalClusterMembers(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.public void setFailoverState(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.public FailoverState getFailoverState()
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.
SwitchoverGlobalCluster
or FailoverGlobalCluster
operation was called on this
global cluster.public GlobalCluster withFailoverState(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.public String toString()
toString
in class Object
Object.toString()
public GlobalCluster clone()