|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateReservedInstancesListingRequest
public class CreateReservedInstancesListingRequest
Container for the parameters to the CreateReservedInstancesListing operation.
AmazonEC2.createReservedInstancesListing(CreateReservedInstancesListingRequest),
Serialized Form| Constructor Summary | |
|---|---|
CreateReservedInstancesListingRequest()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateReservedInstancesListingRequest()
| Method Detail |
|---|
public 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 in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||