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 PurchaseReservedNodeOfferingRequest
clone()
Creates a shallow clone of this request.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.-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PurchaseReservedNodeOfferingRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-