Interface ListRuleGroupsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListRuleGroupsRequest.Builder,ListRuleGroupsRequest>, NetworkFirewallRequest.Builder, SdkBuilder<ListRuleGroupsRequest.Builder,ListRuleGroupsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListRuleGroupsRequest

public static interface ListRuleGroupsRequest.Builder extends NetworkFirewallRequest.Builder, SdkPojo, CopyableBuilder<ListRuleGroupsRequest.Builder,ListRuleGroupsRequest>
  • Method Details

    • nextToken

      ListRuleGroupsRequest.Builder nextToken(String nextToken)

      When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

      Parameters:
      nextToken - When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListRuleGroupsRequest.Builder maxResults(Integer maxResults)

      The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

      Parameters:
      maxResults - The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The scope of the request. The default setting of ACCOUNT or a setting of NULL returns all of the rule groups in your account. A setting of MANAGED returns all available managed rule groups.

      Parameters:
      scope - The scope of the request. The default setting of ACCOUNT or a setting of NULL returns all of the rule groups in your account. A setting of MANAGED returns all available managed rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The scope of the request. The default setting of ACCOUNT or a setting of NULL returns all of the rule groups in your account. A setting of MANAGED returns all available managed rule groups.

      Parameters:
      scope - The scope of the request. The default setting of ACCOUNT or a setting of NULL returns all of the rule groups in your account. A setting of MANAGED returns all available managed rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedType

      ListRuleGroupsRequest.Builder managedType(String managedType)

      Indicates the general category of the Amazon Web Services managed rule group.

      Parameters:
      managedType - Indicates the general category of the Amazon Web Services managed rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedType

      Indicates the general category of the Amazon Web Services managed rule group.

      Parameters:
      managedType - Indicates the general category of the Amazon Web Services managed rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

      Parameters:
      type - Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

      Parameters:
      type - Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      ListRuleGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.