public class DescribeReservedInstancesOfferingsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeReservedInstancesOfferings.
| Constructor and Description |
|---|
DescribeReservedInstancesOfferingsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use to retrieve the next page of results.
|
java.util.List<ReservedInstancesOffering> |
getReservedInstancesOfferings()
A list of Reserved Instances offerings.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
void |
setReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesOfferingsResult |
withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
DescribeReservedInstancesOfferingsResult |
withReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
|
DescribeReservedInstancesOfferingsResult |
withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
A list of Reserved Instances offerings.
|
public DescribeReservedInstancesOfferingsResult()
public java.util.List<ReservedInstancesOffering> getReservedInstancesOfferings()
public void setReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
reservedInstancesOfferings - A list of Reserved Instances offerings.public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferings - A list of Reserved Instances offerings.public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferings - A list of Reserved Instances offerings.public java.lang.String getNextToken()
null when there are no more results to return.null when there are no more results to return.public void setNextToken(java.lang.String nextToken)
null when there are no more results to return.nextToken - The token to use to retrieve the next page of results. This value is
null when there are no more results to return.public DescribeReservedInstancesOfferingsResult withNextToken(java.lang.String nextToken)
null when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to use to retrieve the next page of results. This value is
null when there are no more results to return.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.