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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanInformation about the Reserved Instance listing.inthashCode()voidsetReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Reserved Instance listing.toString()Returns a string representation of this object; useful for testing and debugging.withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings) Information about the Reserved Instance listing.withReservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Reserved Instance listing.
-
Constructor Details
-
DescribeReservedInstancesListingsResult
public DescribeReservedInstancesListingsResult()
-
-
Method Details
-
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
-
equals
-
hashCode
-
clone
-