Package com.amazonaws.services.ec2.model
Class DescribeReservedInstancesListingsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeReservedInstancesListingsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeReservedInstancesListingsResult extends Object implements Serializable, Cloneable
Contains the output of DescribeReservedInstancesListings.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedInstancesListingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedInstancesListingsResult
clone()
boolean
equals(Object obj)
List<ReservedInstancesListing>
getReservedInstancesListings()
Information about the Reserved Instance listing.int
hashCode()
void
setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeReservedInstancesListingsResult
withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
Information about the Reserved Instance listing.DescribeReservedInstancesListingsResult
withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
-
-
-
Method Detail
-
getReservedInstancesListings
public List<ReservedInstancesListing> getReservedInstancesListings()
Information about the Reserved Instance listing.
- Returns:
- Information about the Reserved Instance listing.
-
setReservedInstancesListings
public void setReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
- Parameters:
reservedInstancesListings
- Information about the Reserved Instance listing.
-
withReservedInstancesListings
public DescribeReservedInstancesListingsResult withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
Information about 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
- Information about the Reserved Instance listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedInstancesListings
public DescribeReservedInstancesListingsResult withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
- Parameters:
reservedInstancesListings
- Information about the Reserved Instance listing.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedInstancesListingsResult clone()
-
-