com.amazonaws.services.rds.model
Class RebootDBInstanceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.RebootDBInstanceRequest

public class RebootDBInstanceRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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. A DBInstance event is created when the reboot is completed.

See Also:
AmazonRDS.rebootDBInstance(RebootDBInstanceRequest)

Constructor Summary
RebootDBInstanceRequest()
          Default constructor for a new RebootDBInstanceRequest object.
RebootDBInstanceRequest(String dBInstanceIdentifier)
          Constructs a new RebootDBInstanceRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDBInstanceIdentifier()
          The DB Instance identifier.
 int hashCode()
           
 void setDBInstanceIdentifier(String dBInstanceIdentifier)
          The DB Instance identifier.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RebootDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
          The DB Instance identifier.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RebootDBInstanceRequest

public RebootDBInstanceRequest()
Default constructor for a new RebootDBInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

getDBInstanceIdentifier

public String getDBInstanceIdentifier()
The DB Instance identifier. This parameter is stored as a lowercase string.

Constraints:

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

setDBInstanceIdentifier

public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier. This parameter is stored as a lowercase string.

Constraints:

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

withDBInstanceIdentifier

public RebootDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier. This parameter is stored as a lowercase string.

Constraints:

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.