@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListExtensionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListExtensionsResult() |
Modifier and Type | Method and Description |
---|---|
ListExtensionsResult |
clone() |
boolean |
equals(Object obj) |
List<ExtensionSummary> |
getItems()
The list of available extensions.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setItems(Collection<ExtensionSummary> items)
The list of available extensions.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
ListExtensionsResult |
withItems(Collection<ExtensionSummary> items)
The list of available extensions.
|
ListExtensionsResult |
withItems(ExtensionSummary... items)
The list of available extensions.
|
ListExtensionsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ExtensionSummary> getItems()
The list of available extensions. The list includes Amazon Web Services authored and user-created extensions.
public void setItems(Collection<ExtensionSummary> items)
The list of available extensions. The list includes Amazon Web Services authored and user-created extensions.
items
- The list of available extensions. The list includes Amazon Web Services authored and user-created
extensions.public ListExtensionsResult withItems(ExtensionSummary... items)
The list of available extensions. The list includes Amazon Web Services authored and user-created extensions.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The list of available extensions. The list includes Amazon Web Services authored and user-created
extensions.public ListExtensionsResult withItems(Collection<ExtensionSummary> items)
The list of available extensions. The list includes Amazon Web Services authored and user-created extensions.
items
- The list of available extensions. The list includes Amazon Web Services authored and user-created
extensions.public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public ListExtensionsResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListExtensionsResult clone()