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 ==
.