@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()
 The metadata entries for the folders and objects at the requested path. | 
| String | getNextToken()
 The token that can be used in a request to view the next set of results. | 
| int | hashCode() | 
| void | setItems(Collection<Item> items)
 The metadata entries for the folders and objects at the requested path. | 
| void | setNextToken(String nextToken)
 The token that can be used in a request to view the next set of results. | 
| String | toString()Returns a string representation of this object. | 
| ListItemsResult | withItems(Collection<Item> items)
 The metadata entries for the folders and objects at the requested path. | 
| ListItemsResult | withItems(Item... items)
 The metadata entries for the folders and objects at the requested path. | 
| ListItemsResult | withNextToken(String nextToken)
 The token that can be used in a request to view the next set of results. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Item> getItems()
The metadata entries for the folders and objects at the requested path.
public void setItems(Collection<Item> items)
The metadata entries for the folders and objects at the requested path.
items - The metadata entries for the folders and objects at the requested path.public ListItemsResult withItems(Item... items)
The 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 - The metadata entries for the folders and objects at the requested path.public ListItemsResult withItems(Collection<Item> items)
The metadata entries for the folders and objects at the requested path.
items - The metadata entries for the folders and objects at the requested path.public void setNextToken(String nextToken)
 The token that can be used in a request to view the next set of results. For example, you submit a
 ListItems request that matches 2,000 items with MaxResults set at 500. The service
 returns the first batch of results (up to 500) and a NextToken value that can be used to fetch the
 next batch of results.
 
nextToken - The token that can be used in a request to view the next set of results. For example, you submit a
        ListItems request that matches 2,000 items with MaxResults set at 500. The
        service returns the first batch of results (up to 500) and a NextToken value that can be used
        to fetch the next batch of results.public String getNextToken()
 The token that can be used in a request to view the next set of results. For example, you submit a
 ListItems request that matches 2,000 items with MaxResults set at 500. The service
 returns the first batch of results (up to 500) and a NextToken value that can be used to fetch the
 next batch of results.
 
ListItems request that matches 2,000 items with MaxResults set at 500. The
         service returns the first batch of results (up to 500) and a NextToken value that can be
         used to fetch the next batch of results.public ListItemsResult withNextToken(String nextToken)
 The token that can be used in a request to view the next set of results. For example, you submit a
 ListItems request that matches 2,000 items with MaxResults set at 500. The service
 returns the first batch of results (up to 500) and a NextToken value that can be used to fetch the
 next batch of results.
 
nextToken - The token that can be used in a request to view the next set of results. For example, you submit a
        ListItems request that matches 2,000 items with MaxResults set at 500. The
        service returns the first batch of results (up to 500) and a NextToken value that can be used
        to fetch the next batch of results.public String toString()
toString in class ObjectObject.toString()public ListItemsResult clone()