Class PurchaseReservedNodeOfferingRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.PurchaseReservedNodeOfferingRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class PurchaseReservedNodeOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PurchaseReservedNodeOfferingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurchaseReservedNodeOfferingRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetNodeCount()The number of reserved nodes that you want to purchase.StringgetReservedNodeOfferingId()The unique identifier of the reserved node offering you want to purchase.inthashCode()voidsetNodeCount(Integer nodeCount)The number of reserved nodes that you want to purchase.voidsetReservedNodeOfferingId(String reservedNodeOfferingId)The unique identifier of the reserved node offering you want to purchase.StringtoString()Returns a string representation of this object; useful for testing and debugging.PurchaseReservedNodeOfferingRequestwithNodeCount(Integer nodeCount)The number of reserved nodes that you want to purchase.PurchaseReservedNodeOfferingRequestwithReservedNodeOfferingId(String reservedNodeOfferingId)The unique identifier of the reserved node offering you want to purchase.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setReservedNodeOfferingId
public void setReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
- Parameters:
reservedNodeOfferingId- The unique identifier of the reserved node offering you want to purchase.
-
getReservedNodeOfferingId
public String getReservedNodeOfferingId()
The unique identifier of the reserved node offering you want to purchase.
- Returns:
- The unique identifier of the reserved node offering you want to purchase.
-
withReservedNodeOfferingId
public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier of the reserved node offering you want to purchase.
- Parameters:
reservedNodeOfferingId- The unique identifier of the reserved node offering you want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNodeCount
public void setNodeCount(Integer nodeCount)
The number of reserved nodes that you want to purchase.
Default:
1- Parameters:
nodeCount- The number of reserved nodes that you want to purchase.Default:
1
-
getNodeCount
public Integer getNodeCount()
The number of reserved nodes that you want to purchase.
Default:
1- Returns:
- The number of reserved nodes that you want to purchase.
Default:
1
-
withNodeCount
public PurchaseReservedNodeOfferingRequest withNodeCount(Integer nodeCount)
The number of reserved nodes that you want to purchase.
Default:
1- Parameters:
nodeCount- The number of reserved nodes that you want to purchase.Default:
1- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PurchaseReservedNodeOfferingRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-