com.amazonaws.services.ec2.model
Class ReservedInstancesListing

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ReservedInstancesListing

public class ReservedInstancesListing
extends Object

Reserved Instances Listing


Constructor Summary
ReservedInstancesListing()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClientToken()
          Returns the value of the ClientToken property for this object.
 Date getCreateDate()
          Returns the value of the CreateDate property for this object.
 List<InstanceCount> getInstanceCounts()
          Returns the value of the InstanceCounts property for this object.
 List<PriceSchedule> getPriceSchedules()
          Returns the value of the PriceSchedules property for this object.
 String getReservedInstancesId()
          Returns the value of the ReservedInstancesId property for this object.
 String getReservedInstancesListingId()
          Returns the value of the ReservedInstancesListingId property for this object.
 String getStatus()
          Returns the value of the Status property for this object.
 String getStatusMessage()
          Returns the value of the StatusMessage property for this object.
 List<Tag> getTags()
          Returns the value of the Tags property for this object.
 Date getUpdateDate()
          Returns the value of the UpdateDate property for this object.
 int hashCode()
           
 void setClientToken(String clientToken)
          Sets the value of the ClientToken property for this object.
 void setCreateDate(Date createDate)
          Sets the value of the CreateDate property for this object.
 void setInstanceCounts(Collection<InstanceCount> instanceCounts)
          Sets the value of the InstanceCounts property for this object.
 void setPriceSchedules(Collection<PriceSchedule> 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.
 void setReservedInstancesListingId(String reservedInstancesListingId)
          Sets the value of the ReservedInstancesListingId property for this object.
 void setStatus(String status)
          Sets the value of the Status property for this object.
 void setStatusMessage(String statusMessage)
          Sets the value of the StatusMessage property for this object.
 void setTags(Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 void setUpdateDate(Date updateDate)
          Sets the value of the UpdateDate property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedInstancesListing withClientToken(String clientToken)
          Sets the value of the ClientToken property for this object.
 ReservedInstancesListing withCreateDate(Date createDate)
          Sets the value of the CreateDate property for this object.
 ReservedInstancesListing withInstanceCounts(Collection<InstanceCount> instanceCounts)
          Sets the value of the InstanceCounts property for this object.
 ReservedInstancesListing withInstanceCounts(InstanceCount... instanceCounts)
          Sets the value of the InstanceCounts property for this object.
 ReservedInstancesListing withPriceSchedules(Collection<PriceSchedule> priceSchedules)
          Sets the value of the PriceSchedules property for this object.
 ReservedInstancesListing withPriceSchedules(PriceSchedule... priceSchedules)
          Sets the value of the PriceSchedules property for this object.
 ReservedInstancesListing withReservedInstancesId(String reservedInstancesId)
          Sets the value of the ReservedInstancesId property for this object.
 ReservedInstancesListing withReservedInstancesListingId(String reservedInstancesListingId)
          Sets the value of the ReservedInstancesListingId property for this object.
 ReservedInstancesListing withStatus(String status)
          Sets the value of the Status property for this object.
 ReservedInstancesListing withStatusMessage(String statusMessage)
          Sets the value of the StatusMessage property for this object.
 ReservedInstancesListing withTags(Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 ReservedInstancesListing withTags(Tag... tags)
          Sets the value of the Tags property for this object.
 ReservedInstancesListing withUpdateDate(Date updateDate)
          Sets the value of the UpdateDate property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedInstancesListing

public ReservedInstancesListing()
Method Detail

getReservedInstancesListingId

public String getReservedInstancesListingId()
Returns the value of the ReservedInstancesListingId property for this object.

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

setReservedInstancesListingId

public void setReservedInstancesListingId(String reservedInstancesListingId)
Sets the value of the ReservedInstancesListingId property for this object.

Parameters:
reservedInstancesListingId - The new value for the ReservedInstancesListingId property for this object.

withReservedInstancesListingId

public ReservedInstancesListing withReservedInstancesListingId(String reservedInstancesListingId)
Sets the value of the ReservedInstancesListingId property for this object.

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

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

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 ReservedInstancesListing 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.

getCreateDate

public Date getCreateDate()
Returns the value of the CreateDate property for this object.

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

setCreateDate

public void setCreateDate(Date createDate)
Sets the value of the CreateDate property for this object.

Parameters:
createDate - The new value for the CreateDate property for this object.

withCreateDate

public ReservedInstancesListing withCreateDate(Date createDate)
Sets the value of the CreateDate property for this object.

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

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

getUpdateDate

public Date getUpdateDate()
Returns the value of the UpdateDate property for this object.

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

setUpdateDate

public void setUpdateDate(Date updateDate)
Sets the value of the UpdateDate property for this object.

Parameters:
updateDate - The new value for the UpdateDate property for this object.

withUpdateDate

public ReservedInstancesListing withUpdateDate(Date updateDate)
Sets the value of the UpdateDate property for this object.

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

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

getStatus

public String getStatus()
Returns the value of the Status property for this object.

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

setStatus

public void setStatus(String status)
Sets the value of the Status property for this object.

Parameters:
status - The new value for the Status property for this object.

withStatus

public ReservedInstancesListing withStatus(String status)
Sets the value of the Status property for this object.

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

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

getStatusMessage

public String getStatusMessage()
Returns the value of the StatusMessage property for this object.

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

setStatusMessage

public void setStatusMessage(String statusMessage)
Sets the value of the StatusMessage property for this object.

Parameters:
statusMessage - The new value for the StatusMessage property for this object.

withStatusMessage

public ReservedInstancesListing withStatusMessage(String statusMessage)
Sets the value of the StatusMessage property for this object.

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

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

getInstanceCounts

public List<InstanceCount> getInstanceCounts()
Returns the value of the InstanceCounts property for this object.

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

setInstanceCounts

public void setInstanceCounts(Collection<InstanceCount> instanceCounts)
Sets the value of the InstanceCounts property for this object.

Parameters:
instanceCounts - The new value for the InstanceCounts property for this object.

withInstanceCounts

public ReservedInstancesListing withInstanceCounts(InstanceCount... instanceCounts)
Sets the value of the InstanceCounts property for this object.

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

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

withInstanceCounts

public ReservedInstancesListing withInstanceCounts(Collection<InstanceCount> instanceCounts)
Sets the value of the InstanceCounts property for this object.

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

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

getPriceSchedules

public List<PriceSchedule> 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<PriceSchedule> 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 ReservedInstancesListing withPriceSchedules(PriceSchedule... 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 ReservedInstancesListing withPriceSchedules(Collection<PriceSchedule> 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.

getTags

public List<Tag> getTags()
Returns the value of the Tags property for this object.

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

setTags

public void setTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

Parameters:
tags - The new value for the Tags property for this object.

withTags

public ReservedInstancesListing withTags(Tag... tags)
Sets the value of the Tags property for this object.

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

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

withTags

public ReservedInstancesListing withTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

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

Parameters:
tags - The new value for the Tags 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 ReservedInstancesListing 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.