public static interface GetManagedRuleSetResponse.Builder extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<GetManagedRuleSetResponse.Builder,GetManagedRuleSetResponse>
| Modifier and Type | Method and Description |
|---|---|
GetManagedRuleSetResponse.Builder |
lockToken(String lockToken)
A token used for optimistic locking.
|
default GetManagedRuleSetResponse.Builder |
managedRuleSet(Consumer<ManagedRuleSet.Builder> managedRuleSet)
The managed rule set that you requested.
|
GetManagedRuleSetResponse.Builder |
managedRuleSet(ManagedRuleSet managedRuleSet)
The managed rule set that you requested.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetManagedRuleSetResponse.Builder managedRuleSet(ManagedRuleSet managedRuleSet)
The managed rule set that you requested.
managedRuleSet - The managed rule set that you requested.default GetManagedRuleSetResponse.Builder managedRuleSet(Consumer<ManagedRuleSet.Builder> managedRuleSet)
The managed rule set that you requested.
This is a convenience method that creates an instance of theManagedRuleSet.Builder avoiding the need
to create one manually via ManagedRuleSet.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to managedRuleSet(ManagedRuleSet).
managedRuleSet - a consumer that will call methods on ManagedRuleSet.BuildermanagedRuleSet(ManagedRuleSet)GetManagedRuleSetResponse.Builder lockToken(String lockToken)
A token used for optimistic locking. 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. 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. 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. 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 © 2023. All rights reserved.