Struct aws_sdk_waf::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetInputBuilder
source · #[non_exhaustive]pub struct UpdateRegexPatternSetInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRegexPatternSetInput
.
Implementations§
source§impl UpdateRegexPatternSetInputBuilder
impl UpdateRegexPatternSetInputBuilder
sourcepub fn regex_pattern_set_id(self, input: impl Into<String>) -> Self
pub fn regex_pattern_set_id(self, input: impl Into<String>) -> Self
The RegexPatternSetId
of the RegexPatternSet
that you want to update. RegexPatternSetId
is returned by CreateRegexPatternSet
and by ListRegexPatternSets
.
sourcepub fn set_regex_pattern_set_id(self, input: Option<String>) -> Self
pub fn set_regex_pattern_set_id(self, input: Option<String>) -> Self
The RegexPatternSetId
of the RegexPatternSet
that you want to update. RegexPatternSetId
is returned by CreateRegexPatternSet
and by ListRegexPatternSets
.
sourcepub fn get_regex_pattern_set_id(&self) -> &Option<String>
pub fn get_regex_pattern_set_id(&self) -> &Option<String>
The RegexPatternSetId
of the RegexPatternSet
that you want to update. RegexPatternSetId
is returned by CreateRegexPatternSet
and by ListRegexPatternSets
.
sourcepub fn updates(self, input: RegexPatternSetUpdate) -> Self
pub fn updates(self, input: RegexPatternSetUpdate) -> Self
Appends an item to updates
.
To override the contents of this collection use set_updates
.
An array of RegexPatternSetUpdate
objects that you want to insert into or delete from a RegexPatternSet
.
sourcepub fn set_updates(self, input: Option<Vec<RegexPatternSetUpdate>>) -> Self
pub fn set_updates(self, input: Option<Vec<RegexPatternSetUpdate>>) -> Self
An array of RegexPatternSetUpdate
objects that you want to insert into or delete from a RegexPatternSet
.
sourcepub fn get_updates(&self) -> &Option<Vec<RegexPatternSetUpdate>>
pub fn get_updates(&self) -> &Option<Vec<RegexPatternSetUpdate>>
An array of RegexPatternSetUpdate
objects that you want to insert into or delete from a RegexPatternSet
.
sourcepub fn change_token(self, input: impl Into<String>) -> Self
pub fn change_token(self, input: impl Into<String>) -> Self
The value returned by the most recent call to GetChangeToken
.
sourcepub fn set_change_token(self, input: Option<String>) -> Self
pub fn set_change_token(self, input: Option<String>) -> Self
The value returned by the most recent call to GetChangeToken
.
sourcepub fn get_change_token(&self) -> &Option<String>
pub fn get_change_token(&self) -> &Option<String>
The value returned by the most recent call to GetChangeToken
.
sourcepub fn build(self) -> Result<UpdateRegexPatternSetInput, BuildError>
pub fn build(self) -> Result<UpdateRegexPatternSetInput, BuildError>
Consumes the builder and constructs a UpdateRegexPatternSetInput
.
source§impl UpdateRegexPatternSetInputBuilder
impl UpdateRegexPatternSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRegexPatternSetOutput, SdkError<UpdateRegexPatternSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRegexPatternSetOutput, SdkError<UpdateRegexPatternSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRegexPatternSetInputBuilder
impl Clone for UpdateRegexPatternSetInputBuilder
source§fn clone(&self) -> UpdateRegexPatternSetInputBuilder
fn clone(&self) -> UpdateRegexPatternSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRegexPatternSetInputBuilder
impl Default for UpdateRegexPatternSetInputBuilder
source§fn default() -> UpdateRegexPatternSetInputBuilder
fn default() -> UpdateRegexPatternSetInputBuilder
source§impl PartialEq for UpdateRegexPatternSetInputBuilder
impl PartialEq for UpdateRegexPatternSetInputBuilder
source§fn eq(&self, other: &UpdateRegexPatternSetInputBuilder) -> bool
fn eq(&self, other: &UpdateRegexPatternSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRegexPatternSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRegexPatternSetInputBuilder
impl RefUnwindSafe for UpdateRegexPatternSetInputBuilder
impl Send for UpdateRegexPatternSetInputBuilder
impl Sync for UpdateRegexPatternSetInputBuilder
impl Unpin for UpdateRegexPatternSetInputBuilder
impl UnwindSafe for UpdateRegexPatternSetInputBuilder
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