Interface ListApisResponse.Builder

    • Method Detail

      • apis

        ListApisResponse.Builder apis​(Collection<Api> apis)

        The Api objects.

        Parameters:
        apis - The Api objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • apis

        ListApisResponse.Builder apis​(Api... apis)

        The Api objects.

        Parameters:
        apis - The Api objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • apis

        ListApisResponse.Builder apis​(Consumer<Api.Builder>... apis)

        The Api objects.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #apis(List).

        Parameters:
        apis - a consumer that will call methods on Api.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #apis(java.util.Collection)
      • nextToken

        ListApisResponse.Builder nextToken​(String nextToken)

        An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

        Parameters:
        nextToken - An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.