Interface ListFiltersResponse.Builder

    • Method Detail

      • filters

        ListFiltersResponse.Builder filters​(Collection<Filter> filters)

        Contains details on the filters associated with your account.

        Parameters:
        filters - Contains details on the filters associated with your account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListFiltersResponse.Builder filters​(Filter... filters)

        Contains details on the filters associated with your account.

        Parameters:
        filters - Contains details on the filters associated with your account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListFiltersResponse.Builder filters​(Consumer<Filter.Builder>... filters)

        Contains details on the filters associated with your account.

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

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

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

        ListFiltersResponse.Builder nextToken​(String nextToken)

        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

        Parameters:
        nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.