public class DescribeReservedInstancesListingsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeReservedInstancesListings.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ReservedInstancesListing> |
reservedInstancesListings
Information about the Reserved Instance listing.
|
Constructor and Description |
---|
DescribeReservedInstancesListingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesListingsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ReservedInstancesListing> |
getReservedInstancesListings()
Information about the Reserved Instance listing.
|
int |
hashCode() |
void |
setReservedInstancesListings(java.util.Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesListingsResult |
withReservedInstancesListings(java.util.Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
|
DescribeReservedInstancesListingsResult |
withReservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
Information about the Reserved Instance listing.
|
private SdkInternalList<ReservedInstancesListing> reservedInstancesListings
Information about the Reserved Instance listing.
public DescribeReservedInstancesListingsResult()
public java.util.List<ReservedInstancesListing> getReservedInstancesListings()
Information about the Reserved Instance listing.
public void setReservedInstancesListings(java.util.Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
reservedInstancesListings
- Information about the Reserved Instance listing.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)
or
withReservedInstancesListings(java.util.Collection)
if you want
to override the existing values.
reservedInstancesListings
- Information about the Reserved Instance listing.public DescribeReservedInstancesListingsResult withReservedInstancesListings(java.util.Collection<ReservedInstancesListing> reservedInstancesListings)
Information about the Reserved Instance listing.
reservedInstancesListings
- Information about the Reserved Instance listing.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReservedInstancesListingsResult clone()
clone
in class java.lang.Object