Class RebootDBInstanceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.RebootDBInstanceRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RebootDBInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RebootDBInstanceRequest()
Default constructor for RebootDBInstanceRequest object.RebootDBInstanceRequest(String dBInstanceIdentifier)
Constructs a new RebootDBInstanceRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RebootDBInstanceRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDBInstanceIdentifier()
The DB instance identifier.Boolean
getForceFailover()
Whentrue
, the reboot will be conducted through a MultiAZ failover.int
hashCode()
Boolean
isForceFailover()
Whentrue
, the reboot will be conducted through a MultiAZ failover.void
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier.void
setForceFailover(Boolean forceFailover)
Whentrue
, 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)
Whentrue
, the reboot will be conducted through a MultiAZ failover.-
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 Detail
-
RebootDBInstanceRequest
public RebootDBInstanceRequest()
Default constructor for RebootDBInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
RebootDBInstanceRequest
public RebootDBInstanceRequest(String dBInstanceIdentifier)
Constructs a new RebootDBInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
dBInstanceIdentifier
- The DB instance identifier. This parameter 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
-
-
Method Detail
-
setDBInstanceIdentifier
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier. This parameter 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
- Parameters:
dBInstanceIdentifier
- The DB instance identifier. This parameter 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
-
getDBInstanceIdentifier
public String getDBInstanceIdentifier()
The DB instance identifier. This parameter 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
- Returns:
- The DB instance identifier. This parameter 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
-
withDBInstanceIdentifier
public RebootDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier. This parameter 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
- Parameters:
dBInstanceIdentifier
- The DB instance identifier. This parameter 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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setForceFailover
public void setForceFailover(Boolean 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.- Parameters:
forceFailover
- Whentrue
, the reboot will be conducted through a MultiAZ failover.Constraint: You cannot specify
true
if the instance is not configured for MultiAZ.
-
getForceFailover
public Boolean getForceFailover()
When
true
, the reboot will be conducted through a MultiAZ failover.Constraint: You cannot specify
true
if the instance is not configured for MultiAZ.- Returns:
- When
true
, the reboot will be conducted through a MultiAZ failover.Constraint: You cannot specify
true
if the instance is not configured for MultiAZ.
-
withForceFailover
public RebootDBInstanceRequest withForceFailover(Boolean 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.- Parameters:
forceFailover
- Whentrue
, the reboot will be conducted through a MultiAZ failover.Constraint: You cannot specify
true
if the instance is not configured for MultiAZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isForceFailover
public Boolean isForceFailover()
When
true
, the reboot will be conducted through a MultiAZ failover.Constraint: You cannot specify
true
if the instance is not configured for MultiAZ.- Returns:
- When
true
, the reboot will be conducted through a MultiAZ failover.Constraint: You cannot specify
true
if the instance is not configured for MultiAZ.
-
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 RebootDBInstanceRequest 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()
-
-