Interface ListContainersResponse.Builder

  • Method Details

    • containers

      The names of the containers.

      Parameters:
      containers - The names of the containers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      ListContainersResponse.Builder containers(Container... containers)

      The names of the containers.

      Parameters:
      containers - The names of the containers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      The names of the containers.

      This is a convenience method that creates an instance of the Container.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<Container>).

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

      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.

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