public class CreateReservedInstancesListingRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateReservedInstancesListing operation.| コンストラクタと説明 |
|---|
CreateReservedInstancesListingRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
Returns the value of the ClientToken property for this object.
|
java.lang.Integer |
getInstanceCount()
Returns the value of the InstanceCount property for this object.
|
java.util.List<PriceScheduleSpecification> |
getPriceSchedules()
Returns the value of the PriceSchedules property for this object.
|
java.lang.String |
getReservedInstancesId()
Returns the value of the ReservedInstancesId property for this object.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
Sets the value of the ClientToken property for this object.
|
void |
setInstanceCount(java.lang.Integer instanceCount)
Sets the value of the InstanceCount property for this object.
|
void |
setPriceSchedules(java.util.Collection<PriceScheduleSpecification> priceSchedules)
Sets the value of the PriceSchedules property for this object.
|
void |
setReservedInstancesId(java.lang.String reservedInstancesId)
Sets the value of the ReservedInstancesId property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReservedInstancesListingRequest |
withClientToken(java.lang.String clientToken)
Sets the value of the ClientToken property for this object.
|
CreateReservedInstancesListingRequest |
withInstanceCount(java.lang.Integer instanceCount)
Sets the value of the InstanceCount property for this object.
|
CreateReservedInstancesListingRequest |
withPriceSchedules(java.util.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(java.lang.String reservedInstancesId)
Sets the value of the ReservedInstancesId property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getReservedInstancesId()
public void setReservedInstancesId(java.lang.String reservedInstancesId)
reservedInstancesId - The new value for the ReservedInstancesId property for this object.public CreateReservedInstancesListingRequest withReservedInstancesId(java.lang.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 java.lang.Integer getInstanceCount()
public void setInstanceCount(java.lang.Integer instanceCount)
instanceCount - The new value for the InstanceCount property for this object.public CreateReservedInstancesListingRequest withInstanceCount(java.lang.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 java.util.List<PriceScheduleSpecification> getPriceSchedules()
public void setPriceSchedules(java.util.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(java.util.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 java.lang.String getClientToken()
public void setClientToken(java.lang.String clientToken)
clientToken - The new value for the ClientToken property for this object.public CreateReservedInstancesListingRequest withClientToken(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object