Interface ListNamespacesResponse.Builder

  • Method Details

    • namespaces

      The list of returned namespaces.

      Parameters:
      namespaces - The list of returned namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      ListNamespacesResponse.Builder namespaces(Namespace... namespaces)

      The list of returned namespaces.

      Parameters:
      namespaces - The list of returned namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      The list of returned namespaces.

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

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

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

      ListNamespacesResponse.Builder nextToken(String nextToken)

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

      Parameters:
      nextToken - When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.