|
|||||||
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)
Constructor Summary | |
---|---|
CreateReservedInstancesListingRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateReservedInstancesListingRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |