Interface UpdateRuleGroupRequest.Builder

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

public static interface UpdateRuleGroupRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleGroupRequest.Builder,UpdateRuleGroupRequest>
  • Method Details

    • ruleGroupId

      UpdateRuleGroupRequest.Builder ruleGroupId(String ruleGroupId)

      The RuleGroupId of the RuleGroup that you want to update. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

      Parameters:
      ruleGroupId - The RuleGroupId of the RuleGroup that you want to update. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updates

      An array of RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup.

      You can only insert REGULAR rules into a rule group.

      ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

      Parameters:
      updates - An array of RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup.

      You can only insert REGULAR rules into a rule group.

      ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updates

      An array of RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup.

      You can only insert REGULAR rules into a rule group.

      ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

      Parameters:
      updates - An array of RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup.

      You can only insert REGULAR rules into a rule group.

      ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updates

      An array of RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup.

      You can only insert REGULAR rules into a rule group.

      ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

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

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

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

      UpdateRuleGroupRequest.Builder changeToken(String changeToken)

      The value returned by the most recent call to GetChangeToken.

      Parameters:
      changeToken - The value returned by the most recent call to GetChangeToken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateRuleGroupRequest.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.