Interface ListRuleSetsResponse.Builder

  • Method Details

    • nextToken

      ListRuleSetsResponse.Builder nextToken(String nextToken)

      If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

      Parameters:
      nextToken - If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleSets

      The list of rule sets.

      Parameters:
      ruleSets - The list of rule sets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleSets

      ListRuleSetsResponse.Builder ruleSets(RuleSet... ruleSets)

      The list of rule sets.

      Parameters:
      ruleSets - The list of rule sets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleSets

      The list of rule sets.

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

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

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