@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()
Token to retrieve the next page of results
|
List<Offering> |
getOfferings()
List of offerings
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Token to retrieve the next page of results
|
void |
setOfferings(Collection<Offering> offerings)
List of offerings
|
String |
toString()
Returns a string representation of this object.
|
ListOfferingsResult |
withNextToken(String nextToken)
Token to retrieve the next page of results
|
ListOfferingsResult |
withOfferings(Collection<Offering> offerings)
List of offerings
|
ListOfferingsResult |
withOfferings(Offering... offerings)
List of offerings
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- Token to retrieve the next page of resultspublic String getNextToken()
public ListOfferingsResult withNextToken(String nextToken)
nextToken
- Token to retrieve the next page of resultspublic void setOfferings(Collection<Offering> offerings)
offerings
- List of offeringspublic 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
- List of offeringspublic ListOfferingsResult withOfferings(Collection<Offering> offerings)
offerings
- List of offeringspublic String toString()
toString
in class Object
Object.toString()
public ListOfferingsResult clone()