Struct aws_sdk_wafv2::operation::get_regex_pattern_set::builders::GetRegexPatternSetOutputBuilder
source · #[non_exhaustive]pub struct GetRegexPatternSetOutputBuilder { /* private fields */ }
Expand description
A builder for GetRegexPatternSetOutput
.
Implementations§
source§impl GetRegexPatternSetOutputBuilder
impl GetRegexPatternSetOutputBuilder
sourcepub fn regex_pattern_set(self, input: RegexPatternSet) -> Self
pub fn regex_pattern_set(self, input: RegexPatternSet) -> Self
sourcepub fn set_regex_pattern_set(self, input: Option<RegexPatternSet>) -> Self
pub fn set_regex_pattern_set(self, input: Option<RegexPatternSet>) -> Self
sourcepub fn get_regex_pattern_set(&self) -> &Option<RegexPatternSet>
pub fn get_regex_pattern_set(&self) -> &Option<RegexPatternSet>
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) -> GetRegexPatternSetOutput
pub fn build(self) -> GetRegexPatternSetOutput
Consumes the builder and constructs a GetRegexPatternSetOutput
.
Trait Implementations§
source§impl Clone for GetRegexPatternSetOutputBuilder
impl Clone for GetRegexPatternSetOutputBuilder
source§fn clone(&self) -> GetRegexPatternSetOutputBuilder
fn clone(&self) -> GetRegexPatternSetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRegexPatternSetOutputBuilder
impl Default for GetRegexPatternSetOutputBuilder
source§fn default() -> GetRegexPatternSetOutputBuilder
fn default() -> GetRegexPatternSetOutputBuilder
source§impl PartialEq for GetRegexPatternSetOutputBuilder
impl PartialEq for GetRegexPatternSetOutputBuilder
source§fn eq(&self, other: &GetRegexPatternSetOutputBuilder) -> bool
fn eq(&self, other: &GetRegexPatternSetOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRegexPatternSetOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRegexPatternSetOutputBuilder
impl RefUnwindSafe for GetRegexPatternSetOutputBuilder
impl Send for GetRegexPatternSetOutputBuilder
impl Sync for GetRegexPatternSetOutputBuilder
impl Unpin for GetRegexPatternSetOutputBuilder
impl UnwindSafe for GetRegexPatternSetOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more