@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyGlobalClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyGlobalClusterRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyGlobalClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowMajorVersionUpgrade()
Specifies whether to allow major version upgrades.
|
Boolean |
getDeletionProtection()
Specifies whether to enable deletion protection for the global database cluster.
|
String |
getEngineVersion()
The version number of the database engine to which you want to upgrade.
|
String |
getGlobalClusterIdentifier()
The cluster identifier for the global cluster to modify.
|
String |
getNewGlobalClusterIdentifier()
The new cluster identifier for the global database cluster.
|
int |
hashCode() |
Boolean |
isAllowMajorVersionUpgrade()
Specifies whether to allow major version upgrades.
|
Boolean |
isDeletionProtection()
Specifies whether to enable deletion protection for the global database cluster.
|
void |
setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Specifies whether to allow major version upgrades.
|
void |
setDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the global database cluster.
|
void |
setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for the global cluster to modify.
|
void |
setNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
The new cluster identifier for the global database cluster.
|
String |
toString()
Returns a string representation of this object.
|
ModifyGlobalClusterRequest |
withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Specifies whether to allow major version upgrades.
|
ModifyGlobalClusterRequest |
withDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the global database cluster.
|
ModifyGlobalClusterRequest |
withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
ModifyGlobalClusterRequest |
withGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for the global cluster to modify.
|
ModifyGlobalClusterRequest |
withNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
The new cluster identifier for the 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 the global cluster to modify. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster.
globalClusterIdentifier
- The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster.
public String getGlobalClusterIdentifier()
The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster.
Constraints:
Must match the identifier of an existing global database cluster.
public ModifyGlobalClusterRequest withGlobalClusterIdentifier(String globalClusterIdentifier)
The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster.
globalClusterIdentifier
- The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster.
public void setNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
The new cluster identifier for the global database cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
newGlobalClusterIdentifier
- The new cluster identifier for the global database cluster. This value is stored as a lowercase
string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
public String getNewGlobalClusterIdentifier()
The new cluster identifier for the global database cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
public ModifyGlobalClusterRequest withNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
The new cluster identifier for the global database cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
newGlobalClusterIdentifier
- The new cluster identifier for the global database cluster. This value is stored as a lowercase
string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
public void setDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the global database cluster. The global database cluster can't be deleted when deletion protection is enabled.
deletionProtection
- Specifies whether to enable deletion protection for the global database cluster. The global database
cluster can't be deleted when deletion protection is enabled.public Boolean getDeletionProtection()
Specifies whether to enable deletion protection for the global database cluster. The global database cluster can't be deleted when deletion protection is enabled.
public ModifyGlobalClusterRequest withDeletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the global database cluster. The global database cluster can't be deleted when deletion protection is enabled.
deletionProtection
- Specifies whether to enable deletion protection for the global database cluster. The global database
cluster can't be deleted when deletion protection is enabled.public Boolean isDeletionProtection()
Specifies whether to enable deletion protection for the global database cluster. The global database cluster can't be deleted when deletion protection is enabled.
public void setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
To list all of the available engine versions for aurora-mysql
(for MySQL-based Aurora global
databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-postgresql
(for PostgreSQL-based Aurora
global databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
engineVersion
- The version number of the database engine to which you want to upgrade.
To list all of the available engine versions for aurora-mysql
(for MySQL-based Aurora global
databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-postgresql
(for PostgreSQL-based
Aurora global databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
public String getEngineVersion()
The version number of the database engine to which you want to upgrade.
To list all of the available engine versions for aurora-mysql
(for MySQL-based Aurora global
databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-postgresql
(for PostgreSQL-based Aurora
global databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-mysql
(for MySQL-based Aurora global
databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-postgresql
(for PostgreSQL-based
Aurora global databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
public ModifyGlobalClusterRequest withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
To list all of the available engine versions for aurora-mysql
(for MySQL-based Aurora global
databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-postgresql
(for PostgreSQL-based Aurora
global databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
engineVersion
- The version number of the database engine to which you want to upgrade.
To list all of the available engine versions for aurora-mysql
(for MySQL-based Aurora global
databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
To list all of the available engine versions for aurora-postgresql
(for PostgreSQL-based
Aurora global databases), use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'
public void setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Specifies whether to allow major version upgrades.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
allowMajorVersionUpgrade
- Specifies whether to allow major version upgrades.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
public Boolean getAllowMajorVersionUpgrade()
Specifies whether to allow major version upgrades.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
public ModifyGlobalClusterRequest withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Specifies whether to allow major version upgrades.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
allowMajorVersionUpgrade
- Specifies whether to allow major version upgrades.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
public Boolean isAllowMajorVersionUpgrade()
Specifies whether to allow major version upgrades.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
Constraints: Must be enabled if you specify a value for the EngineVersion
parameter that's a
different major version than the global cluster's current version.
If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade.
public String toString()
toString
in class Object
Object.toString()
public ModifyGlobalClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()