Interface ListItemsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListItemsResponse.Builder,ListItemsResponse>, MediaStoreDataResponse.Builder, SdkBuilder<ListItemsResponse.Builder,ListItemsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListItemsResponse

public static interface ListItemsResponse.Builder extends MediaStoreDataResponse.Builder, SdkPojo, CopyableBuilder<ListItemsResponse.Builder,ListItemsResponse>
  • Method Details

    • items

      The metadata entries for the folders and objects at the requested path.

      Parameters:
      items - The metadata entries for the folders and objects at the requested path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The metadata entries for the folders and objects at the requested path.

      Parameters:
      items - The metadata entries for the folders and objects at the requested path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The metadata entries for the folders and objects at the requested path.

      This is a convenience method that creates an instance of the Item.Builder avoiding the need to create one manually via Item.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<Item>).

      Parameters:
      items - a consumer that will call methods on Item.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListItemsResponse.Builder nextToken(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.