com.amazonaws.services.rds.model
Class PurchaseReservedDBInstancesOfferingRequest

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

public class PurchaseReservedDBInstancesOfferingRequest
extends AmazonWebServiceRequest

Container for the parameters to the PurchaseReservedDBInstancesOffering operation.

See Also:
AmazonRDS.purchaseReservedDBInstancesOffering(PurchaseReservedDBInstancesOfferingRequest)

Constructor Summary
PurchaseReservedDBInstancesOfferingRequest()
          Default constructor for a new PurchaseReservedDBInstancesOfferingRequest object.
PurchaseReservedDBInstancesOfferingRequest(String reservedDBInstancesOfferingId)
          Constructs a new PurchaseReservedDBInstancesOfferingRequest object.
 
Method Summary
 Integer getDBInstanceCount()
          Returns the value of the DBInstanceCount property for this object.
 String getReservedDBInstanceId()
          Returns the value of the ReservedDBInstanceId property for this object.
 String getReservedDBInstancesOfferingId()
          Returns the value of the ReservedDBInstancesOfferingId property for this object.
 void setDBInstanceCount(Integer dBInstanceCount)
          Sets the value of the DBInstanceCount property for this object.
 void setReservedDBInstanceId(String reservedDBInstanceId)
          Sets the value of the ReservedDBInstanceId property for this object.
 void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          Sets the value of the ReservedDBInstancesOfferingId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PurchaseReservedDBInstancesOfferingRequest withDBInstanceCount(Integer dBInstanceCount)
          Sets the value of the DBInstanceCount property for this object.
 PurchaseReservedDBInstancesOfferingRequest withReservedDBInstanceId(String reservedDBInstanceId)
          Sets the value of the ReservedDBInstanceId property for this object.
 PurchaseReservedDBInstancesOfferingRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          Sets the value of the ReservedDBInstancesOfferingId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PurchaseReservedDBInstancesOfferingRequest

public PurchaseReservedDBInstancesOfferingRequest()
Default constructor for a new PurchaseReservedDBInstancesOfferingRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


PurchaseReservedDBInstancesOfferingRequest

public PurchaseReservedDBInstancesOfferingRequest(String reservedDBInstancesOfferingId)
Constructs a new PurchaseReservedDBInstancesOfferingRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
reservedDBInstancesOfferingId -
Method Detail

getReservedDBInstancesOfferingId

public String getReservedDBInstancesOfferingId()
Returns the value of the ReservedDBInstancesOfferingId property for this object.

Returns:
The value of the ReservedDBInstancesOfferingId property for this object.

setReservedDBInstancesOfferingId

public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Sets the value of the ReservedDBInstancesOfferingId property for this object.

Parameters:
reservedDBInstancesOfferingId - The new value for the ReservedDBInstancesOfferingId property for this object.

withReservedDBInstancesOfferingId

public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Sets the value of the ReservedDBInstancesOfferingId property for this object.

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

Parameters:
reservedDBInstancesOfferingId - The new value for the ReservedDBInstancesOfferingId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getReservedDBInstanceId

public String getReservedDBInstanceId()
Returns the value of the ReservedDBInstanceId property for this object.

Returns:
The value of the ReservedDBInstanceId property for this object.

setReservedDBInstanceId

public void setReservedDBInstanceId(String reservedDBInstanceId)
Sets the value of the ReservedDBInstanceId property for this object.

Parameters:
reservedDBInstanceId - The new value for the ReservedDBInstanceId property for this object.

withReservedDBInstanceId

public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstanceId(String reservedDBInstanceId)
Sets the value of the ReservedDBInstanceId property for this object.

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

Parameters:
reservedDBInstanceId - The new value for the ReservedDBInstanceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBInstanceCount

public Integer getDBInstanceCount()
Returns the value of the DBInstanceCount property for this object.

Returns:
The value of the DBInstanceCount property for this object.

setDBInstanceCount

public void setDBInstanceCount(Integer dBInstanceCount)
Sets the value of the DBInstanceCount property for this object.

Parameters:
dBInstanceCount - The new value for the DBInstanceCount property for this object.

withDBInstanceCount

public PurchaseReservedDBInstancesOfferingRequest withDBInstanceCount(Integer dBInstanceCount)
Sets the value of the DBInstanceCount property for this object.

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

Parameters:
dBInstanceCount - The new value for the DBInstanceCount property for this object.
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()


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