Interface ListRuleGroupsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListRuleGroupsResponse.Builder,ListRuleGroupsResponse>, SdkBuilder<ListRuleGroupsResponse.Builder,ListRuleGroupsResponse>, SdkPojo, SdkResponse.Builder, Wafv2Response.Builder
Enclosing class:
ListRuleGroupsResponse

public static interface ListRuleGroupsResponse.Builder extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<ListRuleGroupsResponse.Builder,ListRuleGroupsResponse>
  • Method Details

    • nextMarker

      ListRuleGroupsResponse.Builder nextMarker(String nextMarker)

      When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

      Parameters:
      nextMarker - When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleGroups

      Array of rule groups. If you specified a Limit in your request, this might not be the full list.

      Parameters:
      ruleGroups - Array of rule groups. If you specified a Limit in your request, this might not be the full list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleGroups

      Array of rule groups. If you specified a Limit in your request, this might not be the full list.

      Parameters:
      ruleGroups - Array of rule groups. If you specified a Limit in your request, this might not be the full list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleGroups

      Array of rule groups. If you specified a Limit in your request, this might not be the full list.

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

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

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