@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListItemsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListItemsResult |
clone() |
boolean |
equals(Object obj) |
List<Item> |
getItems()
Metadata entries for the folders and objects at the requested path.
|
String |
getNextToken()
The
NextToken used to request the next page of results using ListItems. |
int |
hashCode() |
void |
setItems(Collection<Item> items)
Metadata entries for the folders and objects at the requested path.
|
void |
setNextToken(String nextToken)
The
NextToken used to request the next page of results using ListItems. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListItemsResult |
withItems(Collection<Item> items)
Metadata entries for the folders and objects at the requested path.
|
ListItemsResult |
withItems(Item... items)
Metadata entries for the folders and objects at the requested path.
|
ListItemsResult |
withNextToken(String nextToken)
The
NextToken used to request the next page of results using ListItems. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Item> getItems()
Metadata entries for the folders and objects at the requested path.
public void setItems(Collection<Item> items)
Metadata entries for the folders and objects at the requested path.
items - Metadata entries for the folders and objects at the requested path.public ListItemsResult withItems(Item... items)
Metadata entries for the folders and objects at the requested path.
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 - Metadata entries for the folders and objects at the requested path.public ListItemsResult withItems(Collection<Item> items)
Metadata entries for the folders and objects at the requested path.
items - Metadata entries for the folders and objects at the requested path.public void setNextToken(String nextToken)
The NextToken used to request the next page of results using ListItems.
nextToken - The NextToken used to request the next page of results using ListItems.public String getNextToken()
The NextToken used to request the next page of results using ListItems.
NextToken used to request the next page of results using ListItems.public ListItemsResult withNextToken(String nextToken)
The NextToken used to request the next page of results using ListItems.
nextToken - The NextToken used to request the next page of results using ListItems.public String toString()
toString in class ObjectObject.toString()public ListItemsResult clone()
Copyright © 2018. All rights reserved.