Interface GetIpSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetIpSetResponse.Builder,
,GetIpSetResponse> SdkBuilder<GetIpSetResponse.Builder,
,GetIpSetResponse> SdkPojo
,SdkResponse.Builder
,Wafv2Response.Builder
- Enclosing class:
GetIpSetResponse
public static interface GetIpSetResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<GetIpSetResponse.Builder,GetIpSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetIpSetResponse.Builder
ipSet
(Consumer<IPSet.Builder> ipSet) This is a convenience method that creates an instance of theIPSet.Builder
avoiding the need to create one manually viaIPSet.builder()
.A token used for optimistic locking.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
ipSet
- Parameters:
ipSet
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSet
This is a convenience method that creates an instance of theIPSet.Builder
avoiding the need to create one manually viaIPSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipSet(IPSet)
.- Parameters:
ipSet
- a consumer that will call methods onIPSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-