@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to ModifyDBCluster.
NOOP
Constructor and Description |
---|
ModifyDBClusterRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyDBClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB cluster. |
Integer |
getBackupRetentionPeriod()
The number of days for which automated backups are retained.
|
CloudwatchLogsExportConfiguration |
getCloudwatchLogsExportConfiguration()
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB
instance or DB cluster.
|
String |
getDBClusterIdentifier()
The DB cluster identifier for the cluster that is being modified.
|
String |
getDBClusterParameterGroupName()
The name of the DB cluster parameter group to use for the DB cluster.
|
Boolean |
getDeletionProtection()
Specifies whether this cluster can be deleted.
|
String |
getEngineVersion()
The version number of the database engine to which you want to upgrade.
|
String |
getMasterUserPassword()
The password for the master database user.
|
String |
getNewDBClusterIdentifier()
The new DB cluster identifier for the DB cluster when renaming a DB cluster.
|
Integer |
getPort()
The port number on which the DB cluster accepts connections.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod parameter. |
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
List<String> |
getVpcSecurityGroupIds()
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
|
int |
hashCode() |
Boolean |
isApplyImmediately()
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB cluster. |
Boolean |
isDeletionProtection()
Specifies whether this cluster can be deleted.
|
void |
setApplyImmediately(Boolean applyImmediately)
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB cluster. |
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.
|
void |
setCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB
instance or DB cluster.
|
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster that is being modified.
|
void |
setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
|
void |
setDeletionProtection(Boolean deletionProtection)
Specifies whether this cluster can be deleted.
|
void |
setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
void |
setMasterUserPassword(String masterUserPassword)
The password for the master database user.
|
void |
setNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB cluster.
|
void |
setPort(Integer port)
The port number on which the DB cluster accepts connections.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod parameter. |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
|
String |
toString()
Returns a string representation of this object.
|
ModifyDBClusterRequest |
withApplyImmediately(Boolean applyImmediately)
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB cluster. |
ModifyDBClusterRequest |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.
|
ModifyDBClusterRequest |
withCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB
instance or DB cluster.
|
ModifyDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster that is being modified.
|
ModifyDBClusterRequest |
withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
|
ModifyDBClusterRequest |
withDeletionProtection(Boolean deletionProtection)
Specifies whether this cluster can be deleted.
|
ModifyDBClusterRequest |
withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
ModifyDBClusterRequest |
withMasterUserPassword(String masterUserPassword)
The password for the master database user.
|
ModifyDBClusterRequest |
withNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB cluster.
|
ModifyDBClusterRequest |
withPort(Integer port)
The port number on which the DB cluster accepts connections.
|
ModifyDBClusterRequest |
withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod parameter. |
ModifyDBClusterRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
ModifyDBClusterRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
|
ModifyDBClusterRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
|
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 setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster that is being modified. This parameter is not case sensitive.
Constraints:
Must match the identifier of an existing DBCluster
.
dBClusterIdentifier
- The DB cluster identifier for the cluster that is being modified. This parameter is not case
sensitive.
Constraints:
Must match the identifier of an existing DBCluster
.
public String getDBClusterIdentifier()
The DB cluster identifier for the cluster that is being modified. This parameter is not case sensitive.
Constraints:
Must match the identifier of an existing DBCluster
.
Constraints:
Must match the identifier of an existing DBCluster
.
public ModifyDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster that is being modified. This parameter is not case sensitive.
Constraints:
Must match the identifier of an existing DBCluster
.
dBClusterIdentifier
- The DB cluster identifier for the cluster that is being modified. This parameter is not case
sensitive.
Constraints:
Must match the identifier of an existing DBCluster
.
public void setNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB 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.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
newDBClusterIdentifier
- The new DB cluster identifier for the DB cluster when renaming a DB 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.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
public String getNewDBClusterIdentifier()
The new DB cluster identifier for the DB cluster when renaming a DB 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.
Cannot 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.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
public ModifyDBClusterRequest withNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB 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.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
newDBClusterIdentifier
- The new DB cluster identifier for the DB cluster when renaming a DB 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.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster2
public void setApplyImmediately(Boolean applyImmediately)
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB cluster. If this
parameter is set to false
, changes to the DB cluster are applied during the next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the changes to the
NewDBClusterIdentifier
and MasterUserPassword
values are applied during the next
maintenance window. All other changes are applied immediately, regardless of the value of the
ApplyImmediately
parameter.
Default: false
applyImmediately
- A value that specifies whether the changes in this request and any pending changes are asynchronously
applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the
next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the changes
to the NewDBClusterIdentifier
and MasterUserPassword
values are applied during
the next maintenance window. All other changes are applied immediately, regardless of the value of the
ApplyImmediately
parameter.
Default: false
public Boolean getApplyImmediately()
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB cluster. If this
parameter is set to false
, changes to the DB cluster are applied during the next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the changes to the
NewDBClusterIdentifier
and MasterUserPassword
values are applied during the next
maintenance window. All other changes are applied immediately, regardless of the value of the
ApplyImmediately
parameter.
Default: false
PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the
next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the
changes to the NewDBClusterIdentifier
and MasterUserPassword
values are applied
during the next maintenance window. All other changes are applied immediately, regardless of the value of
the ApplyImmediately
parameter.
Default: false
public ModifyDBClusterRequest withApplyImmediately(Boolean applyImmediately)
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB cluster. If this
parameter is set to false
, changes to the DB cluster are applied during the next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the changes to the
NewDBClusterIdentifier
and MasterUserPassword
values are applied during the next
maintenance window. All other changes are applied immediately, regardless of the value of the
ApplyImmediately
parameter.
Default: false
applyImmediately
- A value that specifies whether the changes in this request and any pending changes are asynchronously
applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the
next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the changes
to the NewDBClusterIdentifier
and MasterUserPassword
values are applied during
the next maintenance window. All other changes are applied immediately, regardless of the value of the
ApplyImmediately
parameter.
Default: false
public Boolean isApplyImmediately()
A value that specifies whether the changes in this request and any pending changes are asynchronously applied as
soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB cluster. If this
parameter is set to false
, changes to the DB cluster are applied during the next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the changes to the
NewDBClusterIdentifier
and MasterUserPassword
values are applied during the next
maintenance window. All other changes are applied immediately, regardless of the value of the
ApplyImmediately
parameter.
Default: false
PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the
next maintenance window.
The ApplyImmediately
parameter affects only the NewDBClusterIdentifier
and
MasterUserPassword
values. If you set this parameter value to false
, the
changes to the NewDBClusterIdentifier
and MasterUserPassword
values are applied
during the next maintenance window. All other changes are applied immediately, regardless of the value of
the ApplyImmediately
parameter.
Default: false
public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
backupRetentionPeriod
- The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
public Integer getBackupRetentionPeriod()
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
Default: 1
Constraints:
Must be a value from 1 to 35.
public ModifyDBClusterRequest withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
backupRetentionPeriod
- The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
public void setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
dBClusterParameterGroupName
- The name of the DB cluster parameter group to use for the DB cluster.public String getDBClusterParameterGroupName()
The name of the DB cluster parameter group to use for the DB cluster.
public ModifyDBClusterRequest withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
dBClusterParameterGroupName
- The name of the DB cluster parameter group to use for the DB cluster.public List<String> getVpcSecurityGroupIds()
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
vpcSecurityGroupIds
- A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.public ModifyDBClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.public ModifyDBClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
vpcSecurityGroupIds
- A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.public void setPort(Integer port)
The port number on which the DB cluster accepts connections.
Constraints: Must be a value from 1150
to 65535
.
Default: The same port as the original DB cluster.
port
- The port number on which the DB cluster accepts connections.
Constraints: Must be a value from 1150
to 65535
.
Default: The same port as the original DB cluster.
public Integer getPort()
The port number on which the DB cluster accepts connections.
Constraints: Must be a value from 1150
to 65535
.
Default: The same port as the original DB cluster.
Constraints: Must be a value from 1150
to 65535
.
Default: The same port as the original DB cluster.
public ModifyDBClusterRequest withPort(Integer port)
The port number on which the DB cluster accepts connections.
Constraints: Must be a value from 1150
to 65535
.
Default: The same port as the original DB cluster.
port
- The port number on which the DB cluster accepts connections.
Constraints: Must be a value from 1150
to 65535
.
Default: The same port as the original DB cluster.
public void setMasterUserPassword(String masterUserPassword)
The password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
masterUserPassword
- The password for the master database user. This password can contain any printable ASCII character except
forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
public String getMasterUserPassword()
The password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
Constraints: Must contain from 8 to 100 characters.
public ModifyDBClusterRequest withMasterUserPassword(String masterUserPassword)
The password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
masterUserPassword
- The password for the master database user. This password can contain any printable ASCII character except
forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
public void setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, using
the BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public String getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public ModifyDBClusterRequest withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, using
the BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
public String getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
public ModifyDBClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
public void setCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB
instance or DB cluster. The EnableLogTypes
and DisableLogTypes
arrays determine which
logs are exported (or not exported) to CloudWatch Logs.
cloudwatchLogsExportConfiguration
- The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a
specific DB instance or DB cluster. The EnableLogTypes
and DisableLogTypes
arrays determine which logs are exported (or not exported) to CloudWatch Logs.public CloudwatchLogsExportConfiguration getCloudwatchLogsExportConfiguration()
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB
instance or DB cluster. The EnableLogTypes
and DisableLogTypes
arrays determine which
logs are exported (or not exported) to CloudWatch Logs.
EnableLogTypes
and DisableLogTypes
arrays determine which logs are exported (or not exported) to CloudWatch Logs.public ModifyDBClusterRequest withCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB
instance or DB cluster. The EnableLogTypes
and DisableLogTypes
arrays determine which
logs are exported (or not exported) to CloudWatch Logs.
cloudwatchLogsExportConfiguration
- The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a
specific DB instance or DB cluster. The EnableLogTypes
and DisableLogTypes
arrays determine which logs are exported (or not exported) to CloudWatch Logs.public void setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade. Changing this parameter results in an
outage. The change is applied during the next maintenance window unless the ApplyImmediately
parameter is set to true
.
engineVersion
- The version number of the database engine to which you want to upgrade. Changing this parameter results in
an outage. The change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set to true
.public String getEngineVersion()
The version number of the database engine to which you want to upgrade. Changing this parameter results in an
outage. The change is applied during the next maintenance window unless the ApplyImmediately
parameter is set to true
.
ApplyImmediately
parameter is set to true
.public ModifyDBClusterRequest withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade. Changing this parameter results in an
outage. The change is applied during the next maintenance window unless the ApplyImmediately
parameter is set to true
.
engineVersion
- The version number of the database engine to which you want to upgrade. Changing this parameter results in
an outage. The change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set to true
.public void setDeletionProtection(Boolean deletionProtection)
Specifies whether this cluster can be deleted. If DeletionProtection
is enabled, the cluster cannot
be deleted unless it is modified and DeletionProtection
is disabled. DeletionProtection
protects clusters from being accidentally deleted.
deletionProtection
- Specifies whether this cluster can be deleted. If DeletionProtection
is enabled, the cluster
cannot be deleted unless it is modified and DeletionProtection
is disabled.
DeletionProtection
protects clusters from being accidentally deleted.public Boolean getDeletionProtection()
Specifies whether this cluster can be deleted. If DeletionProtection
is enabled, the cluster cannot
be deleted unless it is modified and DeletionProtection
is disabled. DeletionProtection
protects clusters from being accidentally deleted.
DeletionProtection
is enabled, the cluster
cannot be deleted unless it is modified and DeletionProtection
is disabled.
DeletionProtection
protects clusters from being accidentally deleted.public ModifyDBClusterRequest withDeletionProtection(Boolean deletionProtection)
Specifies whether this cluster can be deleted. If DeletionProtection
is enabled, the cluster cannot
be deleted unless it is modified and DeletionProtection
is disabled. DeletionProtection
protects clusters from being accidentally deleted.
deletionProtection
- Specifies whether this cluster can be deleted. If DeletionProtection
is enabled, the cluster
cannot be deleted unless it is modified and DeletionProtection
is disabled.
DeletionProtection
protects clusters from being accidentally deleted.public Boolean isDeletionProtection()
Specifies whether this cluster can be deleted. If DeletionProtection
is enabled, the cluster cannot
be deleted unless it is modified and DeletionProtection
is disabled. DeletionProtection
protects clusters from being accidentally deleted.
DeletionProtection
is enabled, the cluster
cannot be deleted unless it is modified and DeletionProtection
is disabled.
DeletionProtection
protects clusters from being accidentally deleted.public String toString()
toString
in class Object
Object.toString()
public ModifyDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.