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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe number of reserved nodes that you want to purchase.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.toString()Returns a string representation of this object; useful for testing and debugging.withNodeCount(Integer nodeCount) The number of reserved nodes that you want to purchase.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
-
Constructor Details
-
PurchaseReservedNodeOfferingRequest
public PurchaseReservedNodeOfferingRequest()
-
-
Method Details
-
setReservedNodeOfferingId
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-