@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelReservedInstancesListingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CancelReservedInstancesListing.
Constructor and Description |
---|
CancelReservedInstancesListingResult() |
Modifier and Type | Method and Description |
---|---|
CancelReservedInstancesListingResult |
clone() |
boolean |
equals(Object obj) |
List<ReservedInstancesListing> |
getReservedInstancesListings()
The Reserved Instance listing.
|
int |
hashCode() |
void |
setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
The Reserved Instance listing.
|
String |
toString()
Returns a string representation of this object.
|
CancelReservedInstancesListingResult |
withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
The Reserved Instance listing.
|
CancelReservedInstancesListingResult |
withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
The Reserved Instance listing.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CancelReservedInstancesListingResult()
public List<ReservedInstancesListing> getReservedInstancesListings()
The Reserved Instance listing.
public void setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
The Reserved Instance listing.
reservedInstancesListings
- The Reserved Instance listing.public CancelReservedInstancesListingResult withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
The Reserved Instance listing.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesListings(java.util.Collection)
or
withReservedInstancesListings(java.util.Collection)
if you want to override the existing values.
reservedInstancesListings
- The Reserved Instance listing.public CancelReservedInstancesListingResult withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
The Reserved Instance listing.
reservedInstancesListings
- The Reserved Instance listing.public String toString()
toString
in class Object
Object.toString()
public CancelReservedInstancesListingResult clone()