com.amazonaws.services.ec2.model
Class CreateReservedInstancesListingRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateReservedInstancesListingRequest

public class CreateReservedInstancesListingRequest
extends AmazonWebServiceRequest

Container for the parameters to the CreateReservedInstancesListing operation.

See Also:
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

CreateReservedInstancesListingRequest

public CreateReservedInstancesListingRequest()
Method Detail

getReservedInstancesId

public String getReservedInstancesId()
Returns the value of the ReservedInstancesId property for this object.

Returns:
The value of the ReservedInstancesId property for this object.

setReservedInstancesId

public void setReservedInstancesId(String reservedInstancesId)
Sets the value of the ReservedInstancesId property for this object.

Parameters:
reservedInstancesId - The new value for the ReservedInstancesId property for this object.

withReservedInstancesId

public CreateReservedInstancesListingRequest withReservedInstancesId(String reservedInstancesId)
Sets the value of the ReservedInstancesId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedInstancesId - The new value for the ReservedInstancesId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceCount

public Integer getInstanceCount()
Returns the value of the InstanceCount property for this object.

Returns:
The value of the InstanceCount property for this object.

setInstanceCount

public void setInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.

Parameters:
instanceCount - The new value for the InstanceCount property for this object.

withInstanceCount

public CreateReservedInstancesListingRequest withInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceCount - The new value for the InstanceCount property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPriceSchedules

public List<PriceScheduleSpecification> getPriceSchedules()
Returns the value of the PriceSchedules property for this object.

Returns:
The value of the PriceSchedules property for this object.

setPriceSchedules

public void setPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
Sets the value of the PriceSchedules property for this object.

Parameters:
priceSchedules - The new value for the PriceSchedules property for this object.

withPriceSchedules

public CreateReservedInstancesListingRequest withPriceSchedules(PriceScheduleSpecification... priceSchedules)
Sets the value of the PriceSchedules property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
priceSchedules - The new value for the PriceSchedules property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withPriceSchedules

public CreateReservedInstancesListingRequest withPriceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
Sets the value of the PriceSchedules property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
priceSchedules - The new value for the PriceSchedules property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getClientToken

public String getClientToken()
Returns the value of the ClientToken property for this object.

Returns:
The value of the ClientToken property for this object.

setClientToken

public void setClientToken(String clientToken)
Sets the value of the ClientToken property for this object.

Parameters:
clientToken - The new value for the ClientToken property for this object.

withClientToken

public CreateReservedInstancesListingRequest withClientToken(String clientToken)
Sets the value of the ClientToken property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clientToken - The new value for the ClientToken property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.