Interface UpdateManagedRuleSetVersionExpiryDateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateManagedRuleSetVersionExpiryDateResponse.Builder,
,UpdateManagedRuleSetVersionExpiryDateResponse> SdkBuilder<UpdateManagedRuleSetVersionExpiryDateResponse.Builder,
,UpdateManagedRuleSetVersionExpiryDateResponse> SdkPojo
,SdkResponse.Builder
,Wafv2Response.Builder
- Enclosing class:
UpdateManagedRuleSetVersionExpiryDateResponse
-
Method Summary
Modifier and TypeMethodDescriptionexpiringVersion
(String expiringVersion) The version that is set to expire.expiryTimestamp
(Instant expiryTimestamp) The time that the version will expire.nextLockToken
(String nextLockToken) 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
-
expiringVersion
The version that is set to expire.
- Parameters:
expiringVersion
- The version that is set to expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiryTimestamp
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
- Parameters:
expiryTimestamp
- The time that the version will expire.Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextLockToken
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:
nextLockToken
- 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.
-