@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstancesOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeReservedInstancesOfferings.
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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeReservedInstancesOfferingsResult()
public List<ReservedInstancesOffering> getReservedInstancesOfferings()
A list of Reserved Instances offerings.
public void setReservedInstancesOfferings(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(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.
reservedInstancesOfferings
- A list of Reserved Instances offerings.public void setNextToken(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 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(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 String toString()
toString
in class Object
Object.toString()
public DescribeReservedInstancesOfferingsResult clone()