public class ReservedInstancesListing extends Object implements Serializable
Constructor and Description |
---|
ReservedInstancesListing() |
Modifier and Type | Method and Description |
---|---|
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(ListingStatus status)
Sets the value of the Status 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(ListingStatus status)
Sets the value of the Status 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.
|
public String getReservedInstancesListingId()
public void setReservedInstancesListingId(String reservedInstancesListingId)
reservedInstancesListingId
- The new value for the ReservedInstancesListingId property for this
object.public ReservedInstancesListing withReservedInstancesListingId(String reservedInstancesListingId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesListingId
- The new value for the ReservedInstancesListingId property for this
object.public String getReservedInstancesId()
public void setReservedInstancesId(String reservedInstancesId)
reservedInstancesId
- The new value for the ReservedInstancesId property for this object.public ReservedInstancesListing 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 Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The new value for the CreateDate property for this object.public ReservedInstancesListing withCreateDate(Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate
- The new value for the CreateDate property for this object.public Date getUpdateDate()
public void setUpdateDate(Date updateDate)
updateDate
- The new value for the UpdateDate property for this object.public ReservedInstancesListing withUpdateDate(Date updateDate)
Returns a reference to this object so that method calls can be chained together.
updateDate
- The new value for the UpdateDate property for this object.public String getStatus()
Constraints:
Allowed Values: active, pending, cancelled, closed
ListingStatus
public void setStatus(String status)
Constraints:
Allowed Values: active, pending, cancelled, closed
status
- The new value for the Status property for this object.ListingStatus
public ReservedInstancesListing withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, pending, cancelled, closed
status
- The new value for the Status property for this object.ListingStatus
public void setStatus(ListingStatus status)
Constraints:
Allowed Values: active, pending, cancelled, closed
status
- The new value for the Status property for this object.ListingStatus
public ReservedInstancesListing withStatus(ListingStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, pending, cancelled, closed
status
- The new value for the Status property for this object.ListingStatus
public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- The new value for the StatusMessage property for this object.public ReservedInstancesListing withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- The new value for the StatusMessage property for this object.public List<InstanceCount> getInstanceCounts()
public void setInstanceCounts(Collection<InstanceCount> instanceCounts)
instanceCounts
- The new value for the InstanceCounts property for this object.public ReservedInstancesListing withInstanceCounts(InstanceCount... instanceCounts)
Returns a reference to this object so that method calls can be chained together.
instanceCounts
- The new value for the InstanceCounts property for this object.public ReservedInstancesListing withInstanceCounts(Collection<InstanceCount> instanceCounts)
Returns a reference to this object so that method calls can be chained together.
instanceCounts
- The new value for the InstanceCounts property for this object.public List<PriceSchedule> getPriceSchedules()
public void setPriceSchedules(Collection<PriceSchedule> priceSchedules)
priceSchedules
- The new value for the PriceSchedules property for this object.public ReservedInstancesListing withPriceSchedules(PriceSchedule... 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 ReservedInstancesListing withPriceSchedules(Collection<PriceSchedule> 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 List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.public ReservedInstancesListing withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The new value for the Tags property for this object.public ReservedInstancesListing withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The new value for the Tags property for this object.public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- The new value for the ClientToken property for this object.public ReservedInstancesListing 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.