@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateReservedInstancesListingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateReservedInstancesListingRequest>
Contains the parameters for CreateReservedInstancesListing.
NOOP
Constructor and Description |
---|
CreateReservedInstancesListingRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReservedInstancesListingRequest |
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 you provide to ensure idempotency of your listings.
|
Request<CreateReservedInstancesListingRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getInstanceCount()
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance
Marketplace.
|
List<PriceScheduleSpecification> |
getPriceSchedules()
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance
term.
|
String |
getReservedInstancesId()
The ID of the active Standard Reserved Instance.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of your listings.
|
void |
setInstanceCount(Integer instanceCount)
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance
Marketplace.
|
void |
setPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance
term.
|
void |
setReservedInstancesId(String reservedInstancesId)
The ID of the active Standard Reserved Instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateReservedInstancesListingRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of your listings.
|
CreateReservedInstancesListingRequest |
withInstanceCount(Integer instanceCount)
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance
Marketplace.
|
CreateReservedInstancesListingRequest |
withPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance
term.
|
CreateReservedInstancesListingRequest |
withPriceSchedules(PriceScheduleSpecification... priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance
term.
|
CreateReservedInstancesListingRequest |
withReservedInstancesId(String reservedInstancesId)
The ID of the active Standard Reserved Instance.
|
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 CreateReservedInstancesListingRequest()
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid
duplicate listings. For more information, see Ensuring
Idempotency.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
public CreateReservedInstancesListingRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid
duplicate listings. For more information, see Ensuring
Idempotency.public void setInstanceCount(Integer instanceCount)
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
instanceCount
- The number of instances that are a part of a Reserved Instance account to be listed in the Reserved
Instance Marketplace. This number should be less than or equal to the instance count associated with the
Reserved Instance ID specified in this call.public Integer getInstanceCount()
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
public CreateReservedInstancesListingRequest withInstanceCount(Integer instanceCount)
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
instanceCount
- The number of instances that are a part of a Reserved Instance account to be listed in the Reserved
Instance Marketplace. This number should be less than or equal to the instance count associated with the
Reserved Instance ID specified in this call.public List<PriceScheduleSpecification> getPriceSchedules()
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
public void setPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
priceSchedules
- A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.public CreateReservedInstancesListingRequest withPriceSchedules(PriceScheduleSpecification... priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
NOTE: This method appends the values to the existing list (if any). Use
setPriceSchedules(java.util.Collection)
or withPriceSchedules(java.util.Collection)
if you want
to override the existing values.
priceSchedules
- A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.public CreateReservedInstancesListingRequest withPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
priceSchedules
- A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.public void setReservedInstancesId(String reservedInstancesId)
The ID of the active Standard Reserved Instance.
reservedInstancesId
- The ID of the active Standard Reserved Instance.public String getReservedInstancesId()
The ID of the active Standard Reserved Instance.
public CreateReservedInstancesListingRequest withReservedInstancesId(String reservedInstancesId)
The ID of the active Standard Reserved Instance.
reservedInstancesId
- The ID of the active Standard Reserved Instance.public Request<CreateReservedInstancesListingRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateReservedInstancesListingRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateReservedInstancesListingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.