Class ModifyDBClusterRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.ModifyDBClusterRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyDBClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyDBClusterRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Boolean
getApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of thePreferredMaintenanceWindow
setting for the DB cluster.Integer
getBackupRetentionPeriod()
The number of days for which automated backups are retained.String
getDBClusterIdentifier()
The DB cluster identifier for the cluster being modified.String
getDBClusterParameterGroupName()
The name of the DB cluster parameter group to use for the DB cluster.String
getMasterUserPassword()
The new password for the master database user.String
getNewDBClusterIdentifier()
The new DB cluster identifier for the DB cluster when renaming a DB cluster.String
getOptionGroupName()
A value that indicates that the DB cluster should be associated with the specified option group.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 theBackupRetentionPeriod
parameter.String
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).List<String>
getVpcSecurityGroupIds()
A lst of VPC security groups that the DB cluster will belong to.int
hashCode()
Boolean
isApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of thePreferredMaintenanceWindow
setting for the DB cluster.void
setApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of thePreferredMaintenanceWindow
setting for the DB cluster.void
setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.void
setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified.void
setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.void
setMasterUserPassword(String masterUserPassword)
The new 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
setOptionGroupName(String optionGroupName)
A value that indicates that the DB cluster should be associated with the specified option group.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 theBackupRetentionPeriod
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 lst of VPC security groups that the DB cluster will belong to.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyDBClusterRequest
withApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of thePreferredMaintenanceWindow
setting for the DB cluster.ModifyDBClusterRequest
withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.ModifyDBClusterRequest
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified.ModifyDBClusterRequest
withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.ModifyDBClusterRequest
withMasterUserPassword(String masterUserPassword)
The new 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
withOptionGroupName(String optionGroupName)
A value that indicates that the DB cluster should be associated with the specified option group.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 theBackupRetentionPeriod
parameter.ModifyDBClusterRequest
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).ModifyDBClusterRequest
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A lst of VPC security groups that the DB cluster will belong to.ModifyDBClusterRequest
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A lst of VPC security groups that the DB cluster will belong to.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDBClusterIdentifier
public void setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
- Must be the identifier for an existing DB cluster.
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Parameters:
dBClusterIdentifier
- The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.Constraints:
- Must be the identifier for an existing DB cluster.
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
-
getDBClusterIdentifier
public String getDBClusterIdentifier()
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
- Must be the identifier for an existing DB cluster.
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Returns:
- The DB cluster identifier for the cluster being modified. This
parameter is not case-sensitive.
Constraints:
- Must be the identifier for an existing DB cluster.
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
-
withDBClusterIdentifier
public ModifyDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
- Must be the identifier for an existing DB cluster.
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Parameters:
dBClusterIdentifier
- The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.Constraints:
- Must be the identifier for an existing DB cluster.
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNewDBClusterIdentifier
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
- Parameters:
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
-
getNewDBClusterIdentifier
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
- Returns:
- 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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
-
withNewDBClusterIdentifier
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
- Parameters:
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplyImmediately
public void setApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
- Parameters:
applyImmediately
- A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of thePreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
-
getApplyImmediately
public Boolean getApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
- Returns:
- A value that specifies whether the modifications in this request
and any pending modifications are asynchronously applied as soon
as possible, regardless of the
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
-
withApplyImmediately
public ModifyDBClusterRequest withApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
- Parameters:
applyImmediately
- A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of thePreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isApplyImmediately
public Boolean isApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
- Returns:
- A value that specifies whether the modifications in this request
and any pending modifications are asynchronously applied as soon
as possible, regardless of the
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set tofalse
, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediately
parameter only affects theNewDBClusterIdentifier
andMasterUserPassword
values. If you set theApplyImmediately
parameter value to false, then changes to theNewDBClusterIdentifier
andMasterUserPassword
values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediately
parameter.Default:
false
-
setBackupRetentionPeriod
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
- Parameters:
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
-
getBackupRetentionPeriod
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
- Returns:
- 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
-
withBackupRetentionPeriod
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBClusterParameterGroupName
public void setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
- Parameters:
dBClusterParameterGroupName
- The name of the DB cluster parameter group to use for the DB cluster.
-
getDBClusterParameterGroupName
public String getDBClusterParameterGroupName()
The name of the DB cluster parameter group to use for the DB cluster.
- Returns:
- The name of the DB cluster parameter group to use for the DB cluster.
-
withDBClusterParameterGroupName
public ModifyDBClusterRequest withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
- Parameters:
dBClusterParameterGroupName
- The name of the DB cluster parameter group to use for the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVpcSecurityGroupIds
public List<String> getVpcSecurityGroupIds()
A lst of VPC security groups that the DB cluster will belong to.
- Returns:
- A lst of VPC security groups that the DB cluster will belong to.
-
setVpcSecurityGroupIds
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A lst of VPC security groups that the DB cluster will belong to.
- Parameters:
vpcSecurityGroupIds
- A lst of VPC security groups that the DB cluster will belong to.
-
withVpcSecurityGroupIds
public ModifyDBClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A lst of 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)
orwithVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.- Parameters:
vpcSecurityGroupIds
- A lst of VPC security groups that the DB cluster will belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcSecurityGroupIds
public ModifyDBClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A lst of VPC security groups that the DB cluster will belong to.
- Parameters:
vpcSecurityGroupIds
- A lst of VPC security groups that the DB cluster will belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
public void setPort(Integer port)
The port number on which the DB cluster accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB cluster.
- Parameters:
port
- The port number on which the DB cluster accepts connections.Constraints: Value must be
1150-65535
Default: The same port as the original DB cluster.
-
getPort
public Integer getPort()
The port number on which the DB cluster accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB cluster.
- Returns:
- The port number on which the DB cluster accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB cluster.
-
withPort
public ModifyDBClusterRequest withPort(Integer port)
The port number on which the DB cluster accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB cluster.
- Parameters:
port
- The port number on which the DB cluster accepts connections.Constraints: Value must be
1150-65535
Default: The same port as the original DB cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMasterUserPassword
public void setMasterUserPassword(String masterUserPassword)
The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".
Constraints: Must contain from 8 to 41 characters.
- Parameters:
masterUserPassword
- The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".Constraints: Must contain from 8 to 41 characters.
-
getMasterUserPassword
public String getMasterUserPassword()
The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".
Constraints: Must contain from 8 to 41 characters.
- Returns:
- The new password for the master database user. This password can
contain any printable ASCII character except "/", """, or "@".
Constraints: Must contain from 8 to 41 characters.
-
withMasterUserPassword
public ModifyDBClusterRequest withMasterUserPassword(String masterUserPassword)
The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".
Constraints: Must contain from 8 to 41 characters.
- Parameters:
masterUserPassword
- The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".Constraints: Must contain from 8 to 41 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptionGroupName
public void setOptionGroupName(String optionGroupName)
A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set totrue
for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.
- Parameters:
optionGroupName
- A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless theApplyImmediately
parameter is set totrue
for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.
-
getOptionGroupName
public String getOptionGroupName()
A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set totrue
for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.
- Returns:
- A value that indicates that the DB cluster should be associated
with the specified option group. Changing this parameter does not
result in an outage except in the following case, and the change
is applied during the next maintenance window unless the
ApplyImmediately
parameter is set totrue
for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.
-
withOptionGroupName
public ModifyDBClusterRequest withOptionGroupName(String optionGroupName)
A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set totrue
for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.
- Parameters:
optionGroupName
- A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless theApplyImmediately
parameter is set totrue
for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredBackupWindow
public void setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
- Must be in the format
hh24:mi-hh24:mi
. - Times should be in Universal Coordinated Time (UTC).
- Must not conflict with the preferred maintenance window.
- Must be at least 30 minutes.
- Parameters:
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, using theBackupRetentionPeriod
parameter.Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
- Must be in the format
hh24:mi-hh24:mi
. - Times should be in Universal Coordinated Time (UTC).
- Must not conflict with the preferred maintenance window.
- Must be at least 30 minutes.
- Must be in the format
- Must be in the format
-
getPreferredBackupWindow
public String getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
- Must be in the format
hh24:mi-hh24:mi
. - Times should be in Universal Coordinated Time (UTC).
- Must not conflict with the preferred maintenance window.
- Must be at least 30 minutes.
- Returns:
- The daily time range during which automated backups are created
if automated backups are enabled, using the
BackupRetentionPeriod
parameter.Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
- Must be in the format
hh24:mi-hh24:mi
. - Times should be in Universal Coordinated Time (UTC).
- Must not conflict with the preferred maintenance window.
- Must be at least 30 minutes.
- Must be in the format
- Must be in the format
-
withPreferredBackupWindow
public ModifyDBClusterRequest withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
- Must be in the format
hh24:mi-hh24:mi
. - Times should be in Universal Coordinated Time (UTC).
- Must not conflict with the preferred maintenance window.
- Must be at least 30 minutes.
- Parameters:
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, using theBackupRetentionPeriod
parameter.Default: A 30-minute window selected at random from an 8-hour block of time per region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
- Must be in the format
hh24:mi-hh24:mi
. - Times should be in Universal Coordinated Time (UTC).
- Must not conflict with the preferred maintenance window.
- Must be at least 30 minutes.
- Must be in the format
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- Must be in the format
-
setPreferredMaintenanceWindow
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
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
- Parameters:
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
-
getPreferredMaintenanceWindow
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
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
- Returns:
- The weekly time range during which system maintenance can occur,
in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
-
withPreferredMaintenanceWindow
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
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
- Parameters:
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).Format:
ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyDBClusterRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-