Class PurchaseScheduledInstancesRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<PurchaseScheduledInstancesRequest>
,Serializable
,Cloneable
Contains the parameters for PurchaseScheduledInstances.
- 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.boolean
Unique, case-sensitive identifier that ensures the idempotency of the request.This method is intended for internal use only.One or more purchase requests.int
hashCode()
void
setClientToken
(String clientToken) Unique, case-sensitive identifier that ensures the idempotency of the request.void
setPurchaseRequests
(Collection<PurchaseRequest> purchaseRequests) One or more purchase requests.toString()
Returns a string representation of this object; useful for testing and debugging.withClientToken
(String clientToken) Unique, case-sensitive identifier that ensures the idempotency of the request.withPurchaseRequests
(PurchaseRequest... purchaseRequests) One or more purchase requests.withPurchaseRequests
(Collection<PurchaseRequest> purchaseRequests) One or more purchase requests.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
-
PurchaseScheduledInstancesRequest
public PurchaseScheduledInstancesRequest()
-
-
Method Details
-
setClientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
-
getClientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
- Returns:
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
-
withClientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPurchaseRequests
One or more purchase requests.
- Returns:
- One or more purchase requests.
-
setPurchaseRequests
One or more purchase requests.
- Parameters:
purchaseRequests
- One or more purchase requests.
-
withPurchaseRequests
One or more purchase requests.
NOTE: This method appends the values to the existing list (if any). Use
setPurchaseRequests(java.util.Collection)
orwithPurchaseRequests(java.util.Collection)
if you want to override the existing values.- Parameters:
purchaseRequests
- One or more purchase requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPurchaseRequests
public PurchaseScheduledInstancesRequest withPurchaseRequests(Collection<PurchaseRequest> purchaseRequests) One or more purchase requests.
- Parameters:
purchaseRequests
- One or more purchase requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<PurchaseScheduledInstancesRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-