@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAddonsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListAddonsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAddonsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAddons()
A list of available add-ons.
|
String |
getNextToken()
The
nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. |
int |
hashCode() |
void |
setAddons(Collection<String> addons)
A list of available add-ons.
|
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. |
String |
toString()
Returns a string representation of this object.
|
ListAddonsResult |
withAddons(Collection<String> addons)
A list of available add-ons.
|
ListAddonsResult |
withAddons(String... addons)
A list of available add-ons.
|
ListAddonsResult |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getAddons()
A list of available add-ons.
public void setAddons(Collection<String> addons)
A list of available add-ons.
addons - A list of available add-ons.public ListAddonsResult withAddons(String... addons)
A list of available add-ons.
NOTE: This method appends the values to the existing list (if any). Use
setAddons(java.util.Collection) or withAddons(java.util.Collection) if you want to override the
existing values.
addons - A list of available add-ons.public ListAddonsResult withAddons(Collection<String> addons)
A list of available add-ons.
addons - A list of available add-ons.public void setNextToken(String nextToken)
The nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken - The nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken value. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken value. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public ListAddonsResult withNextToken(String nextToken)
The nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken - The nextToken value returned from a previous paginated ListAddonsResponse where
maxResults was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken value. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString in class ObjectObject.toString()public ListAddonsResult clone()