public static interface GetRuleGroupResponse.Builder extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<GetRuleGroupResponse.Builder,GetRuleGroupResponse>
| Modifier and Type | Method and Description |
|---|---|
GetRuleGroupResponse.Builder |
lockToken(String lockToken)
A token used for optimistic locking.
|
default GetRuleGroupResponse.Builder |
ruleGroup(Consumer<RuleGroup.Builder> ruleGroup)
This is a convenience that creates an instance of the
RuleGroup.Builder avoiding the need to create
one manually via RuleGroup.builder(). |
GetRuleGroupResponse.Builder |
ruleGroup(RuleGroup ruleGroup)
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRuleGroupResponse.Builder ruleGroup(RuleGroup ruleGroup)
ruleGroup - default GetRuleGroupResponse.Builder ruleGroup(Consumer<RuleGroup.Builder> ruleGroup)
RuleGroup.Builder avoiding the need to create
one manually via RuleGroup.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to ruleGroup(RuleGroup).ruleGroup - a consumer that will call methods on RuleGroup.BuilderruleGroup(RuleGroup)GetRuleGroupResponse.Builder lockToken(String lockToken)
A token used for optimistic locking. AWS WAF returns a token to your get and list 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 like update and delete. AWS 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 a
WAFOptimisticLockException. If this happens, perform another get, and use the new token returned
by that operation.
lockToken - A token used for optimistic locking. AWS WAF returns a token to your get and list 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 like update and delete. AWS 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 a WAFOptimisticLockException. If this happens, perform another get,
and use the new token returned by that operation.Copyright © 2021. All rights reserved.