Struct aws_sdk_wafv2::operation::put_managed_rule_set_versions::builders::PutManagedRuleSetVersionsOutputBuilder
source · #[non_exhaustive]pub struct PutManagedRuleSetVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for PutManagedRuleSetVersionsOutput
.
Implementations§
source§impl PutManagedRuleSetVersionsOutputBuilder
impl PutManagedRuleSetVersionsOutputBuilder
sourcepub fn next_lock_token(self, input: impl Into<String>) -> Self
pub fn next_lock_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_next_lock_token(self, input: Option<String>) -> Self
pub fn set_next_lock_token(self, input: Option<String>) -> Self
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.
sourcepub fn get_next_lock_token(&self) -> &Option<String>
pub fn get_next_lock_token(&self) -> &Option<String>
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.
sourcepub fn build(self) -> PutManagedRuleSetVersionsOutput
pub fn build(self) -> PutManagedRuleSetVersionsOutput
Consumes the builder and constructs a PutManagedRuleSetVersionsOutput
.
Trait Implementations§
source§impl Clone for PutManagedRuleSetVersionsOutputBuilder
impl Clone for PutManagedRuleSetVersionsOutputBuilder
source§fn clone(&self) -> PutManagedRuleSetVersionsOutputBuilder
fn clone(&self) -> PutManagedRuleSetVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutManagedRuleSetVersionsOutputBuilder
impl Default for PutManagedRuleSetVersionsOutputBuilder
source§fn default() -> PutManagedRuleSetVersionsOutputBuilder
fn default() -> PutManagedRuleSetVersionsOutputBuilder
source§impl PartialEq for PutManagedRuleSetVersionsOutputBuilder
impl PartialEq for PutManagedRuleSetVersionsOutputBuilder
source§fn eq(&self, other: &PutManagedRuleSetVersionsOutputBuilder) -> bool
fn eq(&self, other: &PutManagedRuleSetVersionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.