Interface GetCatalogsResponse.Builder

  • Method Details

    • catalogList

      GetCatalogsResponse.Builder catalogList(Collection<Catalog> catalogList)

      An array of Catalog objects. A list of Catalog objects from the specified parent catalog.

      Parameters:
      catalogList - An array of Catalog objects. A list of Catalog objects from the specified parent catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • catalogList

      GetCatalogsResponse.Builder catalogList(Catalog... catalogList)

      An array of Catalog objects. A list of Catalog objects from the specified parent catalog.

      Parameters:
      catalogList - An array of Catalog objects. A list of Catalog objects from the specified parent catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • catalogList

      An array of Catalog objects. A list of Catalog objects from the specified parent catalog.

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

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

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

      GetCatalogsResponse.Builder nextToken(String nextToken)

      A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

      Parameters:
      nextToken - A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
      Returns:
      Returns a reference to this object so that method calls can be chained together.