@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseScheduledInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<PurchaseScheduledInstancesRequest>
Contains the parameters for PurchaseScheduledInstances.
NOOP
Constructor and Description |
---|
PurchaseScheduledInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
PurchaseScheduledInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that ensures the idempotency of the request.
|
Request<PurchaseScheduledInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<PurchaseRequest> |
getPurchaseRequests()
The purchase requests.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the request.
|
void |
setPurchaseRequests(Collection<PurchaseRequest> purchaseRequests)
The purchase requests.
|
String |
toString()
Returns a string representation of this object.
|
PurchaseScheduledInstancesRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the request.
|
PurchaseScheduledInstancesRequest |
withPurchaseRequests(Collection<PurchaseRequest> purchaseRequests)
The purchase requests.
|
PurchaseScheduledInstancesRequest |
withPurchaseRequests(PurchaseRequest... purchaseRequests)
The purchase requests.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
clientToken
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see
Ensuring
Idempotency.public String getClientToken()
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
public PurchaseScheduledInstancesRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
clientToken
- Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see
Ensuring
Idempotency.public List<PurchaseRequest> getPurchaseRequests()
The purchase requests.
public void setPurchaseRequests(Collection<PurchaseRequest> purchaseRequests)
The purchase requests.
purchaseRequests
- The purchase requests.public PurchaseScheduledInstancesRequest withPurchaseRequests(PurchaseRequest... purchaseRequests)
The purchase requests.
NOTE: This method appends the values to the existing list (if any). Use
setPurchaseRequests(java.util.Collection)
or withPurchaseRequests(java.util.Collection)
if you
want to override the existing values.
purchaseRequests
- The purchase requests.public PurchaseScheduledInstancesRequest withPurchaseRequests(Collection<PurchaseRequest> purchaseRequests)
The purchase requests.
purchaseRequests
- The purchase requests.public Request<PurchaseScheduledInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<PurchaseScheduledInstancesRequest>
public String toString()
toString
in class Object
Object.toString()
public PurchaseScheduledInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()