@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()
A value that indicates whether major version upgrades are allowed.
|
Boolean |
getDeletionProtection()
Indicates whether the global database has deletion protection enabled.
|
String |
getEngineVersion()
The version number of the database engine to which you want to upgrade.
|
String |
getGlobalClusterIdentifier()
The DB cluster identifier for the global cluster being modified.
|
String |
getNewGlobalClusterIdentifier()
A new cluster identifier to assign to the global database.
|
int |
hashCode() |
Boolean |
isAllowMajorVersionUpgrade()
A value that indicates whether major version upgrades are allowed.
|
Boolean |
isDeletionProtection()
Indicates whether the global database has deletion protection enabled.
|
void |
setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether major version upgrades are allowed.
|
void |
setDeletionProtection(Boolean deletionProtection)
Indicates whether the global database has deletion protection enabled.
|
void |
setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
The DB cluster identifier for the global cluster being modified.
|
void |
setNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
A new cluster identifier to assign to the global database.
|
String |
toString()
Returns a string representation of this object.
|
ModifyGlobalClusterRequest |
withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether major version upgrades are allowed.
|
ModifyGlobalClusterRequest |
withDeletionProtection(Boolean deletionProtection)
Indicates whether the global database has deletion protection enabled.
|
ModifyGlobalClusterRequest |
withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
ModifyGlobalClusterRequest |
withGlobalClusterIdentifier(String globalClusterIdentifier)
The DB cluster identifier for the global cluster being modified.
|
ModifyGlobalClusterRequest |
withNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
A new cluster identifier to assign to the global database.
|
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 DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.
Constraints: Must match the identifier of an existing global database cluster.
globalClusterIdentifier
- The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.
Constraints: Must match the identifier of an existing global database cluster.
public String getGlobalClusterIdentifier()
The DB cluster identifier for the global cluster being modified. This parameter is not 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 DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.
Constraints: Must match the identifier of an existing global database cluster.
globalClusterIdentifier
- The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.
Constraints: Must match the identifier of an existing global database cluster.
public void setNewGlobalClusterIdentifier(String newGlobalClusterIdentifier)
A new cluster identifier to assign to the global database. 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
- A new cluster identifier to assign to the global database. 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()
A new cluster identifier to assign to the global database. 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)
A new cluster identifier to assign to the global database. 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
- A new cluster identifier to assign to the global database. 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)
Indicates whether the global database has deletion protection enabled. The global database cannot be deleted when deletion protection is enabled.
deletionProtection
- Indicates whether the global database has deletion protection enabled. The global database cannot be
deleted when deletion protection is enabled.public Boolean getDeletionProtection()
Indicates whether the global database has deletion protection enabled. The global database cannot be deleted when deletion protection is enabled.
public ModifyGlobalClusterRequest withDeletionProtection(Boolean deletionProtection)
Indicates whether the global database has deletion protection enabled. The global database cannot be deleted when deletion protection is enabled.
deletionProtection
- Indicates whether the global database has deletion protection enabled. The global database cannot be
deleted when deletion protection is enabled.public Boolean isDeletionProtection()
Indicates whether the global database has deletion protection enabled. The global database cannot 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. Changing this parameter will result in an
outage. The change is applied during the next maintenance window unless ApplyImmediately
is enabled.
To list all of the available Neptune engine versions, use the following command:
engineVersion
- The version number of the database engine to which you want to upgrade. Changing this parameter will
result in an outage. The change is applied during the next maintenance window unless
ApplyImmediately
is enabled.
To list all of the available Neptune engine versions, use the following command:
public String getEngineVersion()
The version number of the database engine to which you want to upgrade. Changing this parameter will result in an
outage. The change is applied during the next maintenance window unless ApplyImmediately
is enabled.
To list all of the available Neptune engine versions, use the following command:
ApplyImmediately
is enabled.
To list all of the available Neptune engine versions, use the following command:
public ModifyGlobalClusterRequest withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade. Changing this parameter will result in an
outage. The change is applied during the next maintenance window unless ApplyImmediately
is enabled.
To list all of the available Neptune engine versions, use the following command:
engineVersion
- The version number of the database engine to which you want to upgrade. Changing this parameter will
result in an outage. The change is applied during the next maintenance window unless
ApplyImmediately
is enabled.
To list all of the available Neptune engine versions, use the following command:
public void setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
allowMajorVersionUpgrade
- A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the
EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
public Boolean getAllowMajorVersionUpgrade()
A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
Constraints: You must allow major version upgrades if you specify a value for the
EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
public ModifyGlobalClusterRequest withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
allowMajorVersionUpgrade
- A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the
EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
public Boolean isAllowMajorVersionUpgrade()
A value that indicates whether major version upgrades are allowed.
Constraints: You must allow major version upgrades if you specify a value for the EngineVersion
parameter that is a different major version than the DB 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, so you will need to apply any custom parameter groups after completing the upgrade.
Constraints: You must allow major version upgrades if you specify a value for the
EngineVersion
parameter that is a different major version than the DB 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, so you will need to 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()