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