@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseReservedNodesOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PurchaseReservedNodesOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedNodesOfferingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getNodeCount()
The number of node instances to reserve.
|
String |
getReservationId()
A customer-specified identifier to track this reservation.
|
String |
getReservedNodesOfferingId()
The ID of the reserved node offering to purchase.
|
List<Tag> |
getTags()
A list of tags to be added to this resource.
|
int |
hashCode() |
void |
setNodeCount(Integer nodeCount)
The number of node instances to reserve.
|
void |
setReservationId(String reservationId)
A customer-specified identifier to track this reservation.
|
void |
setReservedNodesOfferingId(String reservedNodesOfferingId)
The ID of the reserved node offering to purchase.
|
void |
setTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
String |
toString()
Returns a string representation of this object.
|
PurchaseReservedNodesOfferingRequest |
withNodeCount(Integer nodeCount)
The number of node instances to reserve.
|
PurchaseReservedNodesOfferingRequest |
withReservationId(String reservationId)
A customer-specified identifier to track this reservation.
|
PurchaseReservedNodesOfferingRequest |
withReservedNodesOfferingId(String reservedNodesOfferingId)
The ID of the reserved node offering to purchase.
|
PurchaseReservedNodesOfferingRequest |
withTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
PurchaseReservedNodesOfferingRequest |
withTags(Tag... tags)
A list of tags to be added to this resource.
|
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 PurchaseReservedNodesOfferingRequest()
public void setReservedNodesOfferingId(String reservedNodesOfferingId)
The ID of the reserved node offering to purchase.
reservedNodesOfferingId
- The ID of the reserved node offering to purchase.public String getReservedNodesOfferingId()
The ID of the reserved node offering to purchase.
public PurchaseReservedNodesOfferingRequest withReservedNodesOfferingId(String reservedNodesOfferingId)
The ID of the reserved node offering to purchase.
reservedNodesOfferingId
- The ID of the reserved node offering to purchase.public void setReservationId(String reservationId)
A customer-specified identifier to track this reservation.
reservationId
- A customer-specified identifier to track this reservation.public String getReservationId()
A customer-specified identifier to track this reservation.
public PurchaseReservedNodesOfferingRequest withReservationId(String reservationId)
A customer-specified identifier to track this reservation.
reservationId
- A customer-specified identifier to track this reservation.public void setNodeCount(Integer nodeCount)
The number of node instances to reserve.
nodeCount
- The number of node instances to reserve.public Integer getNodeCount()
The number of node instances to reserve.
public PurchaseReservedNodesOfferingRequest withNodeCount(Integer nodeCount)
The number of node instances to reserve.
nodeCount
- The number of node instances to reserve.public List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public PurchaseReservedNodesOfferingRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
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
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public PurchaseReservedNodesOfferingRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public String toString()
toString
in class Object
Object.toString()
public PurchaseReservedNodesOfferingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()