@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseReservedDBInstancesOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PurchaseReservedDBInstancesOfferingRequest()
Default constructor for PurchaseReservedDBInstancesOfferingRequest object.
|
PurchaseReservedDBInstancesOfferingRequest(String reservedDBInstancesOfferingId)
Constructs a new PurchaseReservedDBInstancesOfferingRequest object.
|
Modifier and Type | Method and Description |
---|---|
PurchaseReservedDBInstancesOfferingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getDBInstanceCount()
The number of instances to reserve.
|
String |
getReservedDBInstanceId()
Customer-specified identifier to track this reservation.
|
String |
getReservedDBInstancesOfferingId()
The ID of the Reserved DB instance offering to purchase.
|
List<Tag> |
getTags() |
int |
hashCode() |
void |
setDBInstanceCount(Integer dBInstanceCount)
The number of instances to reserve.
|
void |
setReservedDBInstanceId(String reservedDBInstanceId)
Customer-specified identifier to track this reservation.
|
void |
setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The ID of the Reserved DB instance offering to purchase.
|
void |
setTags(Collection<Tag> tags) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PurchaseReservedDBInstancesOfferingRequest |
withDBInstanceCount(Integer dBInstanceCount)
The number of instances to reserve.
|
PurchaseReservedDBInstancesOfferingRequest |
withReservedDBInstanceId(String reservedDBInstanceId)
Customer-specified identifier to track this reservation.
|
PurchaseReservedDBInstancesOfferingRequest |
withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The ID of the Reserved DB instance offering to purchase.
|
PurchaseReservedDBInstancesOfferingRequest |
withTags(Collection<Tag> tags) |
PurchaseReservedDBInstancesOfferingRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PurchaseReservedDBInstancesOfferingRequest()
public PurchaseReservedDBInstancesOfferingRequest(String reservedDBInstancesOfferingId)
reservedDBInstancesOfferingId
- The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
reservedDBInstancesOfferingId
- The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public String getReservedDBInstancesOfferingId()
The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
reservedDBInstancesOfferingId
- The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedDBInstanceId(String reservedDBInstanceId)
Customer-specified identifier to track this reservation.
Example: myreservationID
reservedDBInstanceId
- Customer-specified identifier to track this reservation.
Example: myreservationID
public String getReservedDBInstanceId()
Customer-specified identifier to track this reservation.
Example: myreservationID
Example: myreservationID
public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstanceId(String reservedDBInstanceId)
Customer-specified identifier to track this reservation.
Example: myreservationID
reservedDBInstanceId
- Customer-specified identifier to track this reservation.
Example: myreservationID
public void setDBInstanceCount(Integer dBInstanceCount)
The number of instances to reserve.
Default: 1
dBInstanceCount
- The number of instances to reserve.
Default: 1
public Integer getDBInstanceCount()
The number of instances to reserve.
Default: 1
Default: 1
public PurchaseReservedDBInstancesOfferingRequest withDBInstanceCount(Integer dBInstanceCount)
The number of instances to reserve.
Default: 1
dBInstanceCount
- The number of instances to reserve.
Default: 1
public void setTags(Collection<Tag> tags)
tags
- public PurchaseReservedDBInstancesOfferingRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- public PurchaseReservedDBInstancesOfferingRequest withTags(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public PurchaseReservedDBInstancesOfferingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.