Struct aws_sdk_waf::operation::update_regex_match_set::builders::UpdateRegexMatchSetInputBuilder
source · #[non_exhaustive]pub struct UpdateRegexMatchSetInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRegexMatchSetInput
.
Implementations§
source§impl UpdateRegexMatchSetInputBuilder
impl UpdateRegexMatchSetInputBuilder
sourcepub fn regex_match_set_id(self, input: impl Into<String>) -> Self
pub fn regex_match_set_id(self, input: impl Into<String>) -> Self
The RegexMatchSetId
of the RegexMatchSet
that you want to update. RegexMatchSetId
is returned by CreateRegexMatchSet
and by ListRegexMatchSets
.
sourcepub fn set_regex_match_set_id(self, input: Option<String>) -> Self
pub fn set_regex_match_set_id(self, input: Option<String>) -> Self
The RegexMatchSetId
of the RegexMatchSet
that you want to update. RegexMatchSetId
is returned by CreateRegexMatchSet
and by ListRegexMatchSets
.
sourcepub fn get_regex_match_set_id(&self) -> &Option<String>
pub fn get_regex_match_set_id(&self) -> &Option<String>
The RegexMatchSetId
of the RegexMatchSet
that you want to update. RegexMatchSetId
is returned by CreateRegexMatchSet
and by ListRegexMatchSets
.
sourcepub fn updates(self, input: RegexMatchSetUpdate) -> Self
pub fn updates(self, input: RegexMatchSetUpdate) -> Self
Appends an item to updates
.
To override the contents of this collection use set_updates
.
An array of RegexMatchSetUpdate
objects that you want to insert into or delete from a RegexMatchSet
. For more information, see RegexMatchTuple
.
sourcepub fn set_updates(self, input: Option<Vec<RegexMatchSetUpdate>>) -> Self
pub fn set_updates(self, input: Option<Vec<RegexMatchSetUpdate>>) -> Self
An array of RegexMatchSetUpdate
objects that you want to insert into or delete from a RegexMatchSet
. For more information, see RegexMatchTuple
.
sourcepub fn get_updates(&self) -> &Option<Vec<RegexMatchSetUpdate>>
pub fn get_updates(&self) -> &Option<Vec<RegexMatchSetUpdate>>
An array of RegexMatchSetUpdate
objects that you want to insert into or delete from a RegexMatchSet
. For more information, see RegexMatchTuple
.
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<UpdateRegexMatchSetInput, BuildError>
pub fn build(self) -> Result<UpdateRegexMatchSetInput, BuildError>
Consumes the builder and constructs a UpdateRegexMatchSetInput
.
source§impl UpdateRegexMatchSetInputBuilder
impl UpdateRegexMatchSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRegexMatchSetOutput, SdkError<UpdateRegexMatchSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRegexMatchSetOutput, SdkError<UpdateRegexMatchSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRegexMatchSetInputBuilder
impl Clone for UpdateRegexMatchSetInputBuilder
source§fn clone(&self) -> UpdateRegexMatchSetInputBuilder
fn clone(&self) -> UpdateRegexMatchSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRegexMatchSetInputBuilder
impl Default for UpdateRegexMatchSetInputBuilder
source§fn default() -> UpdateRegexMatchSetInputBuilder
fn default() -> UpdateRegexMatchSetInputBuilder
source§impl PartialEq for UpdateRegexMatchSetInputBuilder
impl PartialEq for UpdateRegexMatchSetInputBuilder
source§fn eq(&self, other: &UpdateRegexMatchSetInputBuilder) -> bool
fn eq(&self, other: &UpdateRegexMatchSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRegexMatchSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRegexMatchSetInputBuilder
impl RefUnwindSafe for UpdateRegexMatchSetInputBuilder
impl Send for UpdateRegexMatchSetInputBuilder
impl Sync for UpdateRegexMatchSetInputBuilder
impl Unpin for UpdateRegexMatchSetInputBuilder
impl UnwindSafe for UpdateRegexMatchSetInputBuilder
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