public class DescribeReservedInstancesOfferingsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeReservedInstancesOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ReservedInstancesOffering> |
getReservedInstancesOfferings()
A list of Reserved Instances offerings.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesOfferingsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeReservedInstancesOfferingsResult |
withReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
|
DescribeReservedInstancesOfferingsResult |
withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
A list of Reserved Instances offerings.
|
public DescribeReservedInstancesOfferingsResult()
public List<ReservedInstancesOffering> getReservedInstancesOfferings()
public void setReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
reservedInstancesOfferings
- A list of Reserved Instances offerings.public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
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.
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferings
- A list of Reserved Instances offerings.public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(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 String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(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(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 String toString()
toString
in class Object
Object.toString()
public DescribeReservedInstancesOfferingsResult clone()
Copyright © 2015. All rights reserved.