Interface RuleGroupSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSummary.Builder,RuleGroupSummary>,SdkBuilder<RuleGroupSummary.Builder,RuleGroupSummary>,SdkPojo
- Enclosing class:
- RuleGroupSummary
public static interface RuleGroupSummary.Builder extends SdkPojo, CopyableBuilder<RuleGroupSummary.Builder,RuleGroupSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleGroupSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the entity.RuleGroupSummary.Builderdescription(String description)A description of the rule group that helps with identification.RuleGroupSummary.Builderid(String id)A unique identifier for the rule group.RuleGroupSummary.BuilderlockToken(String lockToken)A token used for optimistic locking.RuleGroupSummary.Buildername(String name)The name of the data type instance.-
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 Detail
-
name
RuleGroupSummary.Builder name(String name)
The name of the data type instance. You cannot change the name after you create the instance.
- Parameters:
name- The name of the data type instance. You cannot change the name after you create the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
RuleGroupSummary.Builder id(String id)
A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
- Parameters:
id- A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
RuleGroupSummary.Builder description(String description)
A description of the rule group that helps with identification.
- Parameters:
description- A description of the rule group that helps with identification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockToken
RuleGroupSummary.Builder lockToken(String lockToken)
A token used for optimistic locking. WAF returns a token to your
getandlistrequests, 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 likeupdateanddelete. 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 yourgetandlistrequests, 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 likeupdateanddelete. 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
RuleGroupSummary.Builder arn(String 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.
-
-