@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 |
getEngineVersion()
Indicates the database engine version.
|
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 cluster IDs for secondary clusters within the global database cluster.
|
String |
getGlobalClusterResourceId()
The AWS 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 |
setEngineVersion(String engineVersion)
Indicates the database engine version.
|
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 cluster IDs for secondary clusters within the global database cluster.
|
void |
setGlobalClusterResourceId(String globalClusterResourceId)
The AWS 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 |
withEngineVersion(String engineVersion)
Indicates the database engine version.
|
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 cluster IDs for secondary clusters within the global database cluster.
|
GlobalCluster |
withGlobalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of cluster IDs for secondary clusters within the global database cluster.
|
GlobalCluster |
withGlobalClusterResourceId(String globalClusterResourceId)
The AWS 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 AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) for the DB cluster is accessed.
globalClusterResourceId
- The AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in
AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) for the DB cluster is accessed.public String getGlobalClusterResourceId()
The AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) for the DB cluster is accessed.
public GlobalCluster withGlobalClusterResourceId(String globalClusterResourceId)
The AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) for the DB cluster is accessed.
globalClusterResourceId
- The AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in
AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) 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 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 cluster IDs for secondary clusters within the global database cluster. Currently limited to 1 item.
public void setGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of cluster IDs for secondary clusters within the global database cluster. Currently limited to 1 item.
globalClusterMembers
- The list of cluster IDs for secondary clusters within the global database cluster. Currently limited to 1
item.public GlobalCluster withGlobalClusterMembers(GlobalClusterMember... globalClusterMembers)
The list of cluster IDs for secondary clusters within the global database cluster. Currently limited to 1 item.
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 cluster IDs for secondary clusters within the global database cluster. Currently limited to 1
item.public GlobalCluster withGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
The list of cluster IDs for secondary clusters within the global database cluster. Currently limited to 1 item.
globalClusterMembers
- The list of cluster IDs for secondary clusters within the global database cluster. Currently limited to 1
item.public String toString()
toString
in class Object
Object.toString()
public GlobalCluster clone()