Interface ListTypesResponse.Builder

    • Method Detail

      • typeSummaries

        ListTypesResponse.Builder typeSummaries​(Collection<TypeSummary> typeSummaries)

        A list of TypeSummary structures that contain information about the specified extensions.

        Parameters:
        typeSummaries - A list of TypeSummary structures that contain information about the specified extensions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • typeSummaries

        ListTypesResponse.Builder typeSummaries​(TypeSummary... typeSummaries)

        A list of TypeSummary structures that contain information about the specified extensions.

        Parameters:
        typeSummaries - A list of TypeSummary structures that contain information about the specified extensions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • typeSummaries

        ListTypesResponse.Builder typeSummaries​(Consumer<TypeSummary.Builder>... typeSummaries)

        A list of TypeSummary structures that contain information about the specified extensions.

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

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

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

        ListTypesResponse.Builder nextToken​(String nextToken)

        If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

        Parameters:
        nextToken - If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.