@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHostReservationOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeHostReservationOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeHostReservationOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<HostOffering> |
getOfferingSet()
Information about the offerings.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setOfferingSet(Collection<HostOffering> offeringSet)
Information about the offerings.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeHostReservationOfferingsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeHostReservationOfferingsResult |
withOfferingSet(Collection<HostOffering> offeringSet)
Information about the offerings.
|
DescribeHostReservationOfferingsResult |
withOfferingSet(HostOffering... offeringSet)
Information about the offerings.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeHostReservationOfferingsResult()
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 DescribeHostReservationOfferingsResult 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 List<HostOffering> getOfferingSet()
Information about the offerings.
public void setOfferingSet(Collection<HostOffering> offeringSet)
Information about the offerings.
offeringSet
- Information about the offerings.public DescribeHostReservationOfferingsResult withOfferingSet(HostOffering... offeringSet)
Information about the offerings.
NOTE: This method appends the values to the existing list (if any). Use
setOfferingSet(java.util.Collection)
or withOfferingSet(java.util.Collection)
if you want to
override the existing values.
offeringSet
- Information about the offerings.public DescribeHostReservationOfferingsResult withOfferingSet(Collection<HostOffering> offeringSet)
Information about the offerings.
offeringSet
- Information about the offerings.public String toString()
toString
in class Object
Object.toString()
public DescribeHostReservationOfferingsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.