Class PromoteReadReplicaRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The number of days to retain automated backups.The DB instance identifier.The daily time range during which automated backups are created if automated backups are enabled, using theBackupRetentionPeriod
parameter.int
hashCode()
void
setBackupRetentionPeriod
(Integer backupRetentionPeriod) The number of days to retain automated backups.void
setDBInstanceIdentifier
(String dBInstanceIdentifier) The DB instance identifier.void
setPreferredBackupWindow
(String preferredBackupWindow) The daily time range during which automated backups are created if automated backups are enabled, using theBackupRetentionPeriod
parameter.toString()
Returns a string representation of this object; useful for testing and debugging.withBackupRetentionPeriod
(Integer backupRetentionPeriod) The number of days to retain automated backups.withDBInstanceIdentifier
(String dBInstanceIdentifier) The DB instance identifier.withPreferredBackupWindow
(String preferredBackupWindow) The daily time range during which automated backups are created if automated backups are enabled, using theBackupRetentionPeriod
parameter.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
-
Constructor Details
-
PromoteReadReplicaRequest
public PromoteReadReplicaRequest()
-
-
Method Details
-
setDBInstanceIdentifier
The DB instance identifier. This value is stored as a lowercase string.
Constraints:
- Must be the identifier for an existing Read Replica DB instance
- 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:
mydbinstance
- Parameters:
dBInstanceIdentifier
- The DB instance identifier. This value is stored as a lowercase string.Constraints:
- Must be the identifier for an existing Read Replica DB instance
- 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:
mydbinstance
-
getDBInstanceIdentifier
The DB instance identifier. This value is stored as a lowercase string.
Constraints:
- Must be the identifier for an existing Read Replica DB instance
- 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:
mydbinstance
- Returns:
- The DB instance identifier. This value is stored as a lowercase
string.
Constraints:
- Must be the identifier for an existing Read Replica DB instance
- 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:
mydbinstance
-
withDBInstanceIdentifier
The DB instance identifier. This value is stored as a lowercase string.
Constraints:
- Must be the identifier for an existing Read Replica DB instance
- 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:
mydbinstance
- Parameters:
dBInstanceIdentifier
- The DB instance identifier. This value is stored as a lowercase string.Constraints:
- Must be the identifier for an existing Read Replica DB instance
- 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:
mydbinstance
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBackupRetentionPeriod
The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.
Default: 1
Constraints:
- Must be a value from 0 to 8
- Parameters:
backupRetentionPeriod
- The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.Default: 1
Constraints:
- Must be a value from 0 to 8
-
getBackupRetentionPeriod
The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.
Default: 1
Constraints:
- Must be a value from 0 to 8
- Returns:
- The number of days to retain automated backups. Setting this
parameter to a positive number enables backups. Setting this
parameter to 0 disables automated backups.
Default: 1
Constraints:
- Must be a value from 0 to 8
-
withBackupRetentionPeriod
The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.
Default: 1
Constraints:
- Must be a value from 0 to 8
- Parameters:
backupRetentionPeriod
- The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.Default: 1
Constraints:
- Must be a value from 0 to 8
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredBackupWindow
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
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
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
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-