@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PurchaseReservedNodeOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedNodeOfferingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getNodeCount()
The number of reserved nodes that you want to purchase.
|
String |
getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to purchase.
|
int |
hashCode() |
void |
setNodeCount(Integer nodeCount)
The number of reserved nodes that you want to purchase.
|
void |
setReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PurchaseReservedNodeOfferingRequest |
withNodeCount(Integer nodeCount)
The number of reserved nodes that you want to purchase.
|
PurchaseReservedNodeOfferingRequest |
withReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
|
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 void setReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
reservedNodeOfferingId
- The unique identifier of the reserved node offering you want to purchase.public String getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to purchase.
public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
reservedNodeOfferingId
- The unique identifier of the reserved node offering you want to purchase.public void setNodeCount(Integer nodeCount)
The number of reserved nodes that you want to purchase.
Default: 1
nodeCount
- The number of reserved nodes that you want to purchase.
Default: 1
public Integer getNodeCount()
The number of reserved nodes that you want to purchase.
Default: 1
Default: 1
public PurchaseReservedNodeOfferingRequest withNodeCount(Integer nodeCount)
The number of reserved nodes that you want to purchase.
Default: 1
nodeCount
- The number of reserved nodes that you want to purchase.
Default: 1
public String toString()
toString
in class Object
Object.toString()
public PurchaseReservedNodeOfferingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.