Interface ManagedRuleSetSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedRuleSetSummary.Builder,
,ManagedRuleSetSummary> SdkBuilder<ManagedRuleSetSummary.Builder,
,ManagedRuleSetSummary> SdkPojo
- Enclosing class:
ManagedRuleSetSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the entity.description
(String description) A description of the set that helps with identification.A unique identifier for the managed rule set.labelNamespace
(String labelNamespace) The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set.A token used for optimistic locking.The name of the managed rule set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
- Parameters:
name
- The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.This name is assigned to the corresponding managed rule group, which your customers can access and use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
A unique identifier for the managed rule set. The ID is returned in the responses to commands like
list
. You provide it to operations likeget
andupdate
.- Parameters:
id
- A unique identifier for the managed rule set. The ID is returned in the responses to commands likelist
. You provide it to operations likeget
andupdate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the set that helps with identification.
- Parameters:
description
- A description of the set that helps with identification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockToken
A token used for optimistic locking. WAF returns a token to your
get
andlist
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdate
anddelete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException
. If this happens, perform anotherget
, and use the new token returned by that operation.- Parameters:
lockToken
- A token used for optimistic locking. WAF returns a token to yourget
andlist
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdate
anddelete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException
. If this happens, perform anotherget
, and use the new token returned by that operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the entity.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelNamespace
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.
-
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
: -
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
- Parameters:
labelNamespace
- The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.-
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
: -
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-