@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalCluster extends Object implements Serializable, Cloneable
Contains the details of an Amazon Neptune global database.
This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.
Constructor and Description |
---|
GlobalCluster() |
Modifier and Type | Method and Description |
---|---|
GlobalCluster |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeletionProtection()
The deletion protection setting for the global database.
|
String |
getEngine()
The Neptune database engine used by the global database (
"neptune" ). |
String |
getEngineVersion()
The Neptune engine version used by the global database.
|
String |
getGlobalClusterArn()
The Amazon Resource Name (ARN) for the global database.
|
String |
getGlobalClusterIdentifier()
Contains a user-supplied global database cluster identifier.
|
List<GlobalClusterMember> |
getGlobalClusterMembers()
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
|
String |
getGlobalClusterResourceId()
An immutable identifier for the global database that is unique within in all regions.
|
String |
getStatus()
Specifies the current state of this global database.
|
Boolean |
getStorageEncrypted()
The storage encryption setting for the global database.
|
int |
hashCode() |
Boolean |
isDeletionProtection()
The deletion protection setting for the global database.
|
Boolean |
isStorageEncrypted()
The storage encryption setting for the global database.
|
void |
setDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the global database.
|
void |
setEngine(String engine)
The Neptune database engine used by the global database (
"neptune" ). |
void |
setEngineVersion(String engineVersion)
The Neptune engine version used by the global database.
|
void |
setGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier.
|
void |
setGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
|
void |
setGlobalClusterResourceId(String globalClusterResourceId)
An immutable identifier for the global database that is unique within in all regions.
|
void |
setStatus(String status)
Specifies the current state of this global database.
|
void |
setStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database.
|
String |
toString()
Returns a string representation of this object.
|
GlobalCluster |
withDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the global database.
|
GlobalCluster |
withEngine(String engine)
The Neptune database engine used by the global database (
"neptune" ). |
GlobalCluster |
withEngineVersion(String engineVersion)
The Neptune engine version used by the global database.
|
GlobalCluster |
withGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database.
|
GlobalCluster |
withGlobalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier.
|
GlobalCluster |
withGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
|
GlobalCluster |
withGlobalClusterMembers(GlobalClusterMember... globalClusterMembers)
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
|
GlobalCluster |
withGlobalClusterResourceId(String globalClusterResourceId)
An immutable identifier for the global database that is unique within in all regions.
|
GlobalCluster |
withStatus(String status)
Specifies the current state of this global database.
|
GlobalCluster |
withStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database.
|
public void setGlobalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
globalClusterIdentifier
- Contains a user-supplied global database cluster identifier. This identifier is the unique key that
identifies a global database.public String getGlobalClusterIdentifier()
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
public GlobalCluster withGlobalClusterIdentifier(String globalClusterIdentifier)
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
globalClusterIdentifier
- Contains a user-supplied global database cluster identifier. This identifier is the unique key that
identifies a global database.public void setGlobalClusterResourceId(String globalClusterResourceId)
An immutable identifier for the global database that is unique within in all regions. This identifier is found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
globalClusterResourceId
- An immutable identifier for the global database that is unique within in all regions. This identifier is
found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.public String getGlobalClusterResourceId()
An immutable identifier for the global database that is unique within in all regions. This identifier is found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
public GlobalCluster withGlobalClusterResourceId(String globalClusterResourceId)
An immutable identifier for the global database that is unique within in all regions. This identifier is found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
globalClusterResourceId
- An immutable identifier for the global database that is unique within in all regions. This identifier is
found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.public void setGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database.
globalClusterArn
- The Amazon Resource Name (ARN) for the global database.public String getGlobalClusterArn()
The Amazon Resource Name (ARN) for the global database.
public GlobalCluster withGlobalClusterArn(String globalClusterArn)
The Amazon Resource Name (ARN) for the global database.
globalClusterArn
- The Amazon Resource Name (ARN) for the global database.public void setStatus(String status)
Specifies the current state of this global database.
status
- Specifies the current state of this global database.public String getStatus()
Specifies the current state of this global database.
public GlobalCluster withStatus(String status)
Specifies the current state of this global database.
status
- Specifies the current state of this global database.public void setEngine(String engine)
The Neptune database engine used by the global database ("neptune"
).
engine
- The Neptune database engine used by the global database ("neptune"
).public String getEngine()
The Neptune database engine used by the global database ("neptune"
).
"neptune"
).public GlobalCluster withEngine(String engine)
The Neptune database engine used by the global database ("neptune"
).
engine
- The Neptune database engine used by the global database ("neptune"
).public void setEngineVersion(String engineVersion)
The Neptune engine version used by the global database.
engineVersion
- The Neptune engine version used by the global database.public String getEngineVersion()
The Neptune engine version used by the global database.
public GlobalCluster withEngineVersion(String engineVersion)
The Neptune engine version used by the global database.
engineVersion
- The Neptune engine version used by the global database.public void setStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database.
storageEncrypted
- The storage encryption setting for the global database.public Boolean getStorageEncrypted()
The storage encryption setting for the global database.
public GlobalCluster withStorageEncrypted(Boolean storageEncrypted)
The storage encryption setting for the global database.
storageEncrypted
- The storage encryption setting for the global database.public Boolean isStorageEncrypted()
The storage encryption setting for the global database.
public void setDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the global database.
deletionProtection
- The deletion protection setting for the global database.public Boolean getDeletionProtection()
The deletion protection setting for the global database.
public GlobalCluster withDeletionProtection(Boolean deletionProtection)
The deletion protection setting for the global database.
deletionProtection
- The deletion protection setting for the global database.public Boolean isDeletionProtection()
The deletion protection setting for the global database.
public List<GlobalClusterMember> getGlobalClusterMembers()
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
public void setGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
globalClusterMembers
- A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.public GlobalCluster withGlobalClusterMembers(GlobalClusterMember... globalClusterMembers)
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
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
- A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.public GlobalCluster withGlobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
globalClusterMembers
- A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.public String toString()
toString
in class Object
Object.toString()
public GlobalCluster clone()