public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
nodeCount
The number of reserved nodes that you want to purchase.
|
private java.lang.String |
reservedNodeOfferingId
The unique identifier of the reserved node offering you want to purchase.
|
NOOP
Constructor and Description |
---|
PurchaseReservedNodeOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedNodeOfferingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getNodeCount()
The number of reserved nodes that you want to purchase.
|
java.lang.String |
getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to purchase.
|
int |
hashCode() |
void |
setNodeCount(java.lang.Integer nodeCount)
The number of reserved nodes that you want to purchase.
|
void |
setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PurchaseReservedNodeOfferingRequest |
withNodeCount(java.lang.Integer nodeCount)
The number of reserved nodes that you want to purchase.
|
PurchaseReservedNodeOfferingRequest |
withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String reservedNodeOfferingId
The unique identifier of the reserved node offering you want to purchase.
private java.lang.Integer nodeCount
The number of reserved nodes that you want to purchase.
Default: 1
public void setReservedNodeOfferingId(java.lang.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 java.lang.String getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to purchase.
public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(java.lang.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(java.lang.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 java.lang.Integer getNodeCount()
The number of reserved nodes that you want to purchase.
Default: 1
Default: 1
public PurchaseReservedNodeOfferingRequest withNodeCount(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PurchaseReservedNodeOfferingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()