public class DescribeReservedInstancesOfferingsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeReservedInstancesOfferings.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use to retrieve the next page of results.
|
private SdkInternalList<ReservedInstancesOffering> |
reservedInstancesOfferings
A list of Reserved Instances offerings.
|
Constructor and Description |
---|
DescribeReservedInstancesOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesOfferingsResult |
clone() |
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.
|
private SdkInternalList<ReservedInstancesOffering> reservedInstancesOfferings
A list of Reserved Instances offerings.
private java.lang.String 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()
public java.util.List<ReservedInstancesOffering> getReservedInstancesOfferings()
A list of Reserved Instances offerings.
public void setReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
reservedInstancesOfferings
- A list of Reserved Instances offerings.public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
A list of Reserved Instances offerings.
NOTE: This method appends the values to the existing list (if
any). Use setReservedInstancesOfferings(java.util.Collection)
or
withReservedInstancesOfferings(java.util.Collection)
if you want
to override the existing values.
reservedInstancesOfferings
- A list of Reserved Instances offerings.public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
reservedInstancesOfferings
- A list of Reserved Instances offerings.public void setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results. This value is
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 java.lang.String getNextToken()
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
null
when there are no more results to return.public DescribeReservedInstancesOfferingsResult withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results. This value is
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 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 DescribeReservedInstancesOfferingsResult clone()
clone
in class java.lang.Object