@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGlobalClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGlobalClusterRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGlobalClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatabaseName()
The name for your database of up to 64 alphanumeric characters.
|
Boolean |
getDeletionProtection()
Specifies whether to enable deletion protection for the new global database cluster.
|
String |
getEngine()
The database engine to use for this global database cluster.
|
String |
getEngineVersion()
The engine version to use for this global database cluster.
|
String |
getGlobalClusterIdentifier()
The cluster identifier for this global database cluster.
|
String |
getSourceDBClusterIdentifier()
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
Boolean |
getStorageEncrypted()
Specifies whether to enable storage encryption for the new global database cluster.
|
int |
hashCode() |
Boolean |
isDeletionProtection()
Specifies whether to enable deletion protection for the new global database cluster.
|
Boolean |
isStorageEncrypted()
Specifies whether to enable storage encryption for the new global database cluster.
|
void |
setDatabaseName(String databaseName)
The name for your database of up to 64 alphanumeric characters.
|
void |
setDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the new global database cluster.
|
void |
setEngine(String engine)
The database engine to use for this global database cluster.
|
void |
setEngineVersion(String engineVersion)
The engine version to use for this global database cluster.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for this global database cluster.
|
void |
setSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
void |
setStorageEncrypted(Boolean storageEncrypted)
Specifies whether to enable storage encryption for the new global database cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateGlobalClusterRequest |
withDatabaseName(String databaseName)
The name for your database of up to 64 alphanumeric characters.
|
CreateGlobalClusterRequest |
withDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the new global database cluster.
|
CreateGlobalClusterRequest |
withEngine(String engine)
The database engine to use for this global database cluster.
|
CreateGlobalClusterRequest |
withEngineVersion(String engineVersion)
The engine version to use for this global database cluster.
|
CreateGlobalClusterRequest |
withGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for this global database cluster.
|
CreateGlobalClusterRequest |
withSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
CreateGlobalClusterRequest |
withStorageEncrypted(Boolean storageEncrypted)
Specifies whether to enable storage encryption for the new global database cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
globalClusterIdentifier
- The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.public String getGlobalClusterIdentifier()
The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
public CreateGlobalClusterRequest withGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
globalClusterIdentifier
- The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.public void setSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
sourceDBClusterIdentifier
- The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
public String getSourceDBClusterIdentifier()
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
public CreateGlobalClusterRequest withSourceDBClusterIdentifier(String sourceDBClusterIdentifier)
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
sourceDBClusterIdentifier
- The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
public void setEngine(String engine)
The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
engine of the source DB cluster.
engine
- The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the engine of the source DB cluster.
public String getEngine()
The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
engine of the source DB cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the engine of the source DB cluster.
public CreateGlobalClusterRequest withEngine(String engine)
The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
engine of the source DB cluster.
engine
- The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the engine of the source DB cluster.
public void setEngineVersion(String engineVersion)
The engine version to use for this global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
engine version of the source DB cluster.
engineVersion
- The engine version to use for this global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the engine version of the source DB cluster.
public String getEngineVersion()
The engine version to use for this global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
engine version of the source DB cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the engine version of the source DB cluster.
public CreateGlobalClusterRequest withEngineVersion(String engineVersion)
The engine version to use for this global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
engine version of the source DB cluster.
engineVersion
- The engine version to use for this global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the engine version of the source DB cluster.
public void setDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
deletionProtection
- Specifies whether to enable deletion protection for the new global database cluster. The global database
can't be deleted when deletion protection is enabled.public Boolean getDeletionProtection()
Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
public CreateGlobalClusterRequest withDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
deletionProtection
- Specifies whether to enable deletion protection for the new global database cluster. The global database
can't be deleted when deletion protection is enabled.public Boolean isDeletionProtection()
Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
public void setDatabaseName(String databaseName)
The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
database name from the source DB cluster.
databaseName
- The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora
doesn't create a database in the global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the database name from the source DB cluster.
public String getDatabaseName()
The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
database name from the source DB cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the database name from the source DB cluster.
public CreateGlobalClusterRequest withDatabaseName(String databaseName)
The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
database name from the source DB cluster.
databaseName
- The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora
doesn't create a database in the global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the database name from the source DB cluster.
public void setStorageEncrypted(Boolean storageEncrypted)
Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
setting from the source DB cluster.
storageEncrypted
- Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the setting from the source DB cluster.
public Boolean getStorageEncrypted()
Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
setting from the source DB cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the setting from the source DB cluster.
public CreateGlobalClusterRequest withStorageEncrypted(Boolean storageEncrypted)
Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
setting from the source DB cluster.
storageEncrypted
- Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the setting from the source DB cluster.
public Boolean isStorageEncrypted()
Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the
setting from the source DB cluster.
Constraints:
Can't be specified if SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora
uses the setting from the source DB cluster.
public String toString()
toString
in class Object
Object.toString()
public CreateGlobalClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()