@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
ListOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token that identifies which batch of results that you want to see.
|
List<Offering> |
getOfferings()
A list of offerings that are available to this account in the current AWS Region.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
void |
setOfferings(Collection<Offering> offerings)
A list of offerings that are available to this account in the current AWS Region.
|
String |
toString()
Returns a string representation of this object.
|
ListOfferingsResult |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
ListOfferingsResult |
withOfferings(Collection<Offering> offerings)
A list of offerings that are available to this account in the current AWS Region.
|
ListOfferingsResult |
withOfferings(Offering... offerings)
A list of offerings that are available to this account in the current AWS Region.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5)
and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second
time and specify the NextToken value.public String getNextToken()
public ListOfferingsResult withNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5)
and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second
time and specify the NextToken value.public List<Offering> getOfferings()
public void setOfferings(Collection<Offering> offerings)
offerings
- A list of offerings that are available to this account in the current AWS Region.public ListOfferingsResult withOfferings(Offering... offerings)
NOTE: This method appends the values to the existing list (if any). Use
setOfferings(java.util.Collection)
or withOfferings(java.util.Collection)
if you want to
override the existing values.
offerings
- A list of offerings that are available to this account in the current AWS Region.public ListOfferingsResult withOfferings(Collection<Offering> offerings)
offerings
- A list of offerings that are available to this account in the current AWS Region.public String toString()
toString
in class Object
Object.toString()
public ListOfferingsResult clone()