public class RebootDBInstanceRequest extends AmazonWebServiceRequest implements Serializable
RebootDBInstance operation
.
Rebooting a DB instance restarts the database engine service. A reboot also applies to the DB instance any modifications to the associated DB parameter group that were pending. Rebooting a DB instance results in a momentary outage of the instance, during which the DB instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot will be conducted through a failover. An Amazon RDS event is created when the reboot is completed.
If your DB instance is deployed in multiple Availability Zones, you can force a failover from one AZ to the other during the reboot. You might force a failover to test the availability of your DB instance deployment or to restore operations to the original AZ after a failover occurs.
The time required to reboot is a function of the specific database engine's crash recovery process. To improve the reboot time, we recommend that you reduce database activities as much as possible during the reboot process to reduce rollback activity for in-transit transactions.
NOOP
Constructor and Description |
---|
RebootDBInstanceRequest()
Default constructor for a new RebootDBInstanceRequest object.
|
RebootDBInstanceRequest(String dBInstanceIdentifier)
Constructs a new RebootDBInstanceRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDBInstanceIdentifier()
The DB instance identifier.
|
Boolean |
getForceFailover()
When
true , the reboot will be conducted through a MultiAZ
failover. |
int |
hashCode() |
Boolean |
isForceFailover()
When
true , the reboot will be conducted through a MultiAZ
failover. |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier.
|
void |
setForceFailover(Boolean forceFailover)
When
true , the reboot will be conducted through a MultiAZ
failover. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RebootDBInstanceRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier.
|
RebootDBInstanceRequest |
withForceFailover(Boolean forceFailover)
When
true , the reboot will be conducted through a MultiAZ
failover. |
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public RebootDBInstanceRequest()
public RebootDBInstanceRequest(String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB instance identifier. This parameter
is stored as a lowercase string. Constraints:
public String getDBInstanceIdentifier()
Constraints:
Constraints:
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
dBInstanceIdentifier
- The DB instance identifier. This parameter is stored as a lowercase
string. Constraints:
public RebootDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The DB instance identifier. This parameter is stored as a lowercase
string. Constraints:
public Boolean isForceFailover()
true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
public void setForceFailover(Boolean forceFailover)
true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
forceFailover
- When true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
public RebootDBInstanceRequest withForceFailover(Boolean forceFailover)
true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
Returns a reference to this object so that method calls can be chained together.
forceFailover
- When true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
public Boolean getForceFailover()
true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
true
, the reboot will be conducted through a MultiAZ
failover. Constraint: You cannot specify true
if the
instance is not configured for MultiAZ.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.