public class CreateReservedInstancesListingRequest extends AmazonWebServiceRequest implements Serializable
CreateReservedInstancesListing operation
.Constructor and Description |
---|
CreateReservedInstancesListingRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClientToken()
Returns the value of the ClientToken property for this object.
|
Integer |
getInstanceCount()
Returns the value of the InstanceCount property for this object.
|
List<PriceScheduleSpecification> |
getPriceSchedules()
Returns the value of the PriceSchedules property for this object.
|
String |
getReservedInstancesId()
Returns the value of the ReservedInstancesId property for this object.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Sets the value of the ClientToken property for this object.
|
void |
setInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.
|
void |
setPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
Sets the value of the PriceSchedules property for this object.
|
void |
setReservedInstancesId(String reservedInstancesId)
Sets the value of the ReservedInstancesId property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReservedInstancesListingRequest |
withClientToken(String clientToken)
Sets the value of the ClientToken property for this object.
|
CreateReservedInstancesListingRequest |
withInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.
|
CreateReservedInstancesListingRequest |
withPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
Sets the value of the PriceSchedules property for this object.
|
CreateReservedInstancesListingRequest |
withPriceSchedules(PriceScheduleSpecification... priceSchedules)
Sets the value of the PriceSchedules property for this object.
|
CreateReservedInstancesListingRequest |
withReservedInstancesId(String reservedInstancesId)
Sets the value of the ReservedInstancesId property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public CreateReservedInstancesListingRequest()
public String getReservedInstancesId()
public void setReservedInstancesId(String reservedInstancesId)
reservedInstancesId
- The new value for the ReservedInstancesId property for this object.public CreateReservedInstancesListingRequest withReservedInstancesId(String reservedInstancesId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesId
- The new value for the ReservedInstancesId property for this object.public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
instanceCount
- The new value for the InstanceCount property for this object.public CreateReservedInstancesListingRequest withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount
- The new value for the InstanceCount property for this object.public List<PriceScheduleSpecification> getPriceSchedules()
public void setPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
priceSchedules
- The new value for the PriceSchedules property for this object.public CreateReservedInstancesListingRequest withPriceSchedules(PriceScheduleSpecification... priceSchedules)
Returns a reference to this object so that method calls can be chained together.
priceSchedules
- The new value for the PriceSchedules property for this object.public CreateReservedInstancesListingRequest withPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
Returns a reference to this object so that method calls can be chained together.
priceSchedules
- The new value for the PriceSchedules property for this object.public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- The new value for the ClientToken property for this object.public CreateReservedInstancesListingRequest withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- The new value for the ClientToken property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.