public class RebootDBInstanceRequest extends AmazonWebServiceRequest implements Serializable
RebootDBInstance operation
.
Reboots a previously provisioned RDS instance. This API results in the application of modified DBParameterGroup parameters with ApplyStatus of pending-reboot to the RDS instance. This action is taken as soon as possible, and results in a momentary outage to the RDS instance during which the RDS 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. A DBInstance event is created when the reboot is completed.
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, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.