public static interface ListContainersResponse.Builder extends MediaStoreResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListContainersResponse.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 method that creates an instance of theContainer.Builder avoiding the need to create one
manually via Container.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #containers(List.
containers - a consumer that will call methods on
Container.Builder#containers(java.util.Collection) 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 © 2023. All rights reserved.