Interface ListUseCasesResponse.Builder

    • Method Detail

      • useCaseSummaryList

        ListUseCasesResponse.Builder useCaseSummaryList​(Collection<UseCase> useCaseSummaryList)

        The use cases.

        Parameters:
        useCaseSummaryList - The use cases.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • useCaseSummaryList

        ListUseCasesResponse.Builder useCaseSummaryList​(UseCase... useCaseSummaryList)

        The use cases.

        Parameters:
        useCaseSummaryList - The use cases.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • useCaseSummaryList

        ListUseCasesResponse.Builder useCaseSummaryList​(Consumer<UseCase.Builder>... useCaseSummaryList)

        The use cases.

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

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

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

        ListUseCasesResponse.Builder nextToken​(String nextToken)

        If there are additional results, this is the token for the next set of results.

        Parameters:
        nextToken - If there are additional results, this is the token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.