#[non_exhaustive]pub struct GetRuleGroupOutputBuilder { /* private fields */ }
Expand description
A builder for GetRuleGroupOutput
.
Implementations§
source§impl GetRuleGroupOutputBuilder
impl GetRuleGroupOutputBuilder
sourcepub fn rule_group(self, input: RuleGroup) -> Self
pub fn rule_group(self, input: RuleGroup) -> Self
sourcepub fn set_rule_group(self, input: Option<RuleGroup>) -> Self
pub fn set_rule_group(self, input: Option<RuleGroup>) -> Self
sourcepub fn get_rule_group(&self) -> &Option<RuleGroup>
pub fn get_rule_group(&self) -> &Option<RuleGroup>
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) -> GetRuleGroupOutput
pub fn build(self) -> GetRuleGroupOutput
Consumes the builder and constructs a GetRuleGroupOutput
.
Trait Implementations§
source§impl Clone for GetRuleGroupOutputBuilder
impl Clone for GetRuleGroupOutputBuilder
source§fn clone(&self) -> GetRuleGroupOutputBuilder
fn clone(&self) -> GetRuleGroupOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRuleGroupOutputBuilder
impl Debug for GetRuleGroupOutputBuilder
source§impl Default for GetRuleGroupOutputBuilder
impl Default for GetRuleGroupOutputBuilder
source§fn default() -> GetRuleGroupOutputBuilder
fn default() -> GetRuleGroupOutputBuilder
source§impl PartialEq for GetRuleGroupOutputBuilder
impl PartialEq for GetRuleGroupOutputBuilder
source§fn eq(&self, other: &GetRuleGroupOutputBuilder) -> bool
fn eq(&self, other: &GetRuleGroupOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.