Package com.amazonaws.services.ec2.model
Class CancelReservedInstancesListingResult
java.lang.Object
com.amazonaws.services.ec2.model.CancelReservedInstancesListingResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of CancelReservedInstancesListing.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Reserved Instance listing.int
hashCode()
void
setReservedInstancesListings
(Collection<ReservedInstancesListing> reservedInstancesListings) The Reserved Instance listing.toString()
Returns a string representation of this object; useful for testing and debugging.withReservedInstancesListings
(ReservedInstancesListing... reservedInstancesListings) The Reserved Instance listing.withReservedInstancesListings
(Collection<ReservedInstancesListing> reservedInstancesListings) The Reserved Instance listing.
-
Constructor Details
-
CancelReservedInstancesListingResult
public CancelReservedInstancesListingResult()
-
-
Method Details
-
getReservedInstancesListings
The Reserved Instance listing.
- Returns:
- The Reserved Instance listing.
-
setReservedInstancesListings
public void setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) The Reserved Instance listing.
- Parameters:
reservedInstancesListings
- The Reserved Instance listing.
-
withReservedInstancesListings
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)
orwithReservedInstancesListings(java.util.Collection)
if you want to override the existing values.- Parameters:
reservedInstancesListings
- The Reserved Instance listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedInstancesListings
public CancelReservedInstancesListingResult withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) The Reserved Instance listing.
- Parameters:
reservedInstancesListings
- The Reserved Instance listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-