public static interface ListContainersResponse.Builder extends MediaStoreResponse.Builder, CopyableBuilder<ListContainersResponse.Builder,ListContainersResponse>
Modifier and Type | Method and Description |
---|---|
ListContainersResponse.Builder |
containers(Collection<Container> containers)
The names of the containers.
|
ListContainersResponse.Builder |
containers(Consumer<Container.Builder>... containers)
The names of the containers.
|
ListContainersResponse.Builder |
containers(Container... containers)
The names of the containers.
|
ListContainersResponse.Builder |
nextToken(String nextToken)
NextToken is the token to use in the next call to ListContainers . |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListContainersResponse.Builder containers(Collection<Container> containers)
The names of the containers.
containers
- The names of the containers.ListContainersResponse.Builder containers(Container... containers)
The names of the containers.
containers
- The names of the containers.ListContainersResponse.Builder containers(Consumer<Container.Builder>... containers)
The names of the containers.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #containers(List)
.containers
- a consumer that will call methods on List.Builder
#containers(List)
ListContainersResponse.Builder nextToken(String nextToken)
NextToken
is the token to use in the next call to ListContainers
. This token is
returned only if you included the MaxResults
tag in the original command, and only if there are
still containers to return.
nextToken
- NextToken
is the token to use in the next call to ListContainers
. This token
is returned only if you included the MaxResults
tag in the original command, and only if
there are still containers to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.