Struct aws_sdk_wafv2::operation::get_managed_rule_set::builders::GetManagedRuleSetOutputBuilder
source · #[non_exhaustive]pub struct GetManagedRuleSetOutputBuilder { /* private fields */ }
Expand description
A builder for GetManagedRuleSetOutput
.
Implementations§
source§impl GetManagedRuleSetOutputBuilder
impl GetManagedRuleSetOutputBuilder
sourcepub fn managed_rule_set(self, input: ManagedRuleSet) -> Self
pub fn managed_rule_set(self, input: ManagedRuleSet) -> Self
The managed rule set that you requested.
sourcepub fn set_managed_rule_set(self, input: Option<ManagedRuleSet>) -> Self
pub fn set_managed_rule_set(self, input: Option<ManagedRuleSet>) -> Self
The managed rule set that you requested.
sourcepub fn get_managed_rule_set(&self) -> &Option<ManagedRuleSet>
pub fn get_managed_rule_set(&self) -> &Option<ManagedRuleSet>
The managed rule set that you requested.
sourcepub fn lock_token(self, input: impl Into<String>) -> Self
pub fn 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_lock_token(self, input: Option<String>) -> Self
pub fn set_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_lock_token(&self) -> &Option<String>
pub fn get_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) -> GetManagedRuleSetOutput
pub fn build(self) -> GetManagedRuleSetOutput
Consumes the builder and constructs a GetManagedRuleSetOutput
.
Trait Implementations§
source§impl Clone for GetManagedRuleSetOutputBuilder
impl Clone for GetManagedRuleSetOutputBuilder
source§fn clone(&self) -> GetManagedRuleSetOutputBuilder
fn clone(&self) -> GetManagedRuleSetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetManagedRuleSetOutputBuilder
impl Default for GetManagedRuleSetOutputBuilder
source§fn default() -> GetManagedRuleSetOutputBuilder
fn default() -> GetManagedRuleSetOutputBuilder
source§impl PartialEq for GetManagedRuleSetOutputBuilder
impl PartialEq for GetManagedRuleSetOutputBuilder
source§fn eq(&self, other: &GetManagedRuleSetOutputBuilder) -> bool
fn eq(&self, other: &GetManagedRuleSetOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.