@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the return values of the list of offerings.
Constructor and Description |
---|
ListOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
ListOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
List<Offering> |
getOfferings()
A value representing the list offering results.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
void |
setOfferings(Collection<Offering> offerings)
A value representing the list offering results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListOfferingsResult |
withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
ListOfferingsResult |
withOfferings(Collection<Offering> offerings)
A value representing the list offering results.
|
ListOfferingsResult |
withOfferings(Offering... offerings)
A value representing the list offering results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Offering> getOfferings()
A value representing the list offering results.
public void setOfferings(Collection<Offering> offerings)
A value representing the list offering results.
offerings
- A value representing the list offering results.public ListOfferingsResult withOfferings(Offering... offerings)
A value representing the list offering results.
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 value representing the list offering results.public ListOfferingsResult withOfferings(Collection<Offering> offerings)
A value representing the list offering results.
offerings
- A value representing the list offering results.public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public ListOfferingsResult withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.public String toString()
toString
in class Object
Object.toString()
public ListOfferingsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.