@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstanceOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for results of a DescribeReservedInstanceOfferings request.
| Constructor and Description |
|---|
DescribeReservedInstanceOfferingsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeReservedInstanceOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When
nextToken is returned, there are more results available. |
List<ReservedInstanceOffering> |
getReservedInstanceOfferings()
List of Reserved Instance offerings.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
void |
setReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of Reserved Instance offerings.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedInstanceOfferingsResult |
withNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
DescribeReservedInstanceOfferingsResult |
withReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of Reserved Instance offerings.
|
DescribeReservedInstanceOfferingsResult |
withReservedInstanceOfferings(ReservedInstanceOffering... reservedInstanceOfferings)
List of Reserved Instance offerings.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic DescribeReservedInstanceOfferingsResult()
public void setNextToken(String nextToken)
When nextToken is returned, there are more results available. The value of nextToken is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken - When nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public String getNextToken()
When nextToken is returned, there are more results available. The value of nextToken is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public DescribeReservedInstanceOfferingsResult withNextToken(String nextToken)
When nextToken is returned, there are more results available. The value of nextToken is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken - When nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public List<ReservedInstanceOffering> getReservedInstanceOfferings()
List of Reserved Instance offerings.
public void setReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of Reserved Instance offerings.
reservedInstanceOfferings - List of Reserved Instance offerings.public DescribeReservedInstanceOfferingsResult withReservedInstanceOfferings(ReservedInstanceOffering... reservedInstanceOfferings)
List of Reserved Instance offerings.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstanceOfferings(java.util.Collection) or
withReservedInstanceOfferings(java.util.Collection) if you want to override the existing values.
reservedInstanceOfferings - List of Reserved Instance offerings.public DescribeReservedInstanceOfferingsResult withReservedInstanceOfferings(Collection<ReservedInstanceOffering> reservedInstanceOfferings)
List of Reserved Instance offerings.
reservedInstanceOfferings - List of Reserved Instance offerings.public String toString()
toString in class ObjectObject.toString()public DescribeReservedInstanceOfferingsResult clone()