Struct aws_sdk_wafv2::types::builders::RuleGroupSummaryBuilder
source · #[non_exhaustive]pub struct RuleGroupSummaryBuilder { /* private fields */ }
Expand description
A builder for RuleGroupSummary
.
Implementations§
source§impl RuleGroupSummaryBuilder
impl RuleGroupSummaryBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data type instance. You cannot change the name after you create the instance.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the data type instance. You cannot change the name after you create the instance.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the data type instance. You cannot change the name after you create the instance.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the rule group that helps with identification.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the rule group that helps with identification.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the rule group that helps with identification.
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 arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the entity.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the entity.
sourcepub fn build(self) -> RuleGroupSummary
pub fn build(self) -> RuleGroupSummary
Consumes the builder and constructs a RuleGroupSummary
.
Trait Implementations§
source§impl Clone for RuleGroupSummaryBuilder
impl Clone for RuleGroupSummaryBuilder
source§fn clone(&self) -> RuleGroupSummaryBuilder
fn clone(&self) -> RuleGroupSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleGroupSummaryBuilder
impl Debug for RuleGroupSummaryBuilder
source§impl Default for RuleGroupSummaryBuilder
impl Default for RuleGroupSummaryBuilder
source§fn default() -> RuleGroupSummaryBuilder
fn default() -> RuleGroupSummaryBuilder
source§impl PartialEq for RuleGroupSummaryBuilder
impl PartialEq for RuleGroupSummaryBuilder
source§fn eq(&self, other: &RuleGroupSummaryBuilder) -> bool
fn eq(&self, other: &RuleGroupSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.