public class PromoteReadReplicaRequest extends AmazonWebServiceRequest implements java.io.Serializable
PromoteReadReplica operation.
Promotes a Read Replica DB Instance to a standalone DB Instance.
| コンストラクタと説明 |
|---|
PromoteReadReplicaRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getBackupRetentionPeriod()
The number of days to retain automated backups.
|
java.lang.String |
getDBInstanceIdentifier()
The DB Instance identifier.
|
java.lang.String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if
automated backups are enabled, using the
BackupRetentionPeriod parameter. |
int |
hashCode() |
void |
setBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
The number of days to retain automated backups.
|
void |
setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB Instance identifier.
|
void |
setPreferredBackupWindow(java.lang.String preferredBackupWindow)
The daily time range during which automated backups are created if
automated backups are enabled, using the
BackupRetentionPeriod parameter. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PromoteReadReplicaRequest |
withBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
The number of days to retain automated backups.
|
PromoteReadReplicaRequest |
withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB Instance identifier.
|
PromoteReadReplicaRequest |
withPreferredBackupWindow(java.lang.String preferredBackupWindow)
The daily time range during which automated backups are created if
automated backups are enabled, using the
BackupRetentionPeriod parameter. |
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getDBInstanceIdentifier()
Constraints:
Example:
Constraints:
Example:
public void setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Constraints:
Example:
dBInstanceIdentifier - The DB Instance identifier. This value is stored as a lowercase
string. Constraints:
Example:
public PromoteReadReplicaRequest withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Constraints:
Example:
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier - The DB Instance identifier. This value is stored as a lowercase
string. Constraints:
Example:
public java.lang.Integer getBackupRetentionPeriod()
Default: 1
Constraints:
Default: 1
Constraints:
public void setBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
Default: 1
Constraints:
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:
public PromoteReadReplicaRequest withBackupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
Default: 1
Constraints:
Returns a reference to this object so that method calls can be chained together.
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:
public java.lang.String getPreferredBackupWindow()
BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.
Constraints: Must be in the format
hh24:mi-hh24:mi. Times should be Universal Time
Coordinated (UTC). Must not conflict with the preferred maintenance
window. Must be at least 30 minutes.
BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.
Constraints: Must be in the format
hh24:mi-hh24:mi. Times should be Universal Time
Coordinated (UTC). Must not conflict with the preferred maintenance
window. Must be at least 30 minutes.
public void setPreferredBackupWindow(java.lang.String preferredBackupWindow)
BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.
Constraints: Must be in the format
hh24:mi-hh24:mi. Times should be Universal Time
Coordinated (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. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.
Constraints: Must be in the format
hh24:mi-hh24:mi. Times should be Universal Time
Coordinated (UTC). Must not conflict with the preferred maintenance
window. Must be at least 30 minutes.
public PromoteReadReplicaRequest withPreferredBackupWindow(java.lang.String preferredBackupWindow)
BackupRetentionPeriod parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.
Constraints: Must be in the format
hh24:mi-hh24:mi. Times should be Universal Time
Coordinated (UTC). Must not conflict with the preferred maintenance
window. Must be at least 30 minutes.
Returns a reference to this object so that method calls can be chained together.
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. The following list shows the time blocks for each region from which the default backup windows are assigned.
Constraints: Must be in the format
hh24:mi-hh24:mi. Times should be Universal Time
Coordinated (UTC). Must not conflict with the preferred maintenance
window. Must be at least 30 minutes.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object