#[non_exhaustive]pub struct UpdateRuleSetInputBuilder { /* private fields */ }Expand description
A builder for UpdateRuleSetInput.
Implementations§
source§impl UpdateRuleSetInputBuilder
impl UpdateRuleSetInputBuilder
sourcepub fn rule_set_id(self, input: impl Into<String>) -> Self
pub fn rule_set_id(self, input: impl Into<String>) -> Self
The identifier of a rule set you want to update.
This field is required.sourcepub fn set_rule_set_id(self, input: Option<String>) -> Self
pub fn set_rule_set_id(self, input: Option<String>) -> Self
The identifier of a rule set you want to update.
sourcepub fn get_rule_set_id(&self) -> &Option<String>
pub fn get_rule_set_id(&self) -> &Option<String>
The identifier of a rule set you want to update.
sourcepub fn rule_set_name(self, input: impl Into<String>) -> Self
pub fn rule_set_name(self, input: impl Into<String>) -> Self
A user-friendly name for the rule set resource.
sourcepub fn set_rule_set_name(self, input: Option<String>) -> Self
pub fn set_rule_set_name(self, input: Option<String>) -> Self
A user-friendly name for the rule set resource.
sourcepub fn get_rule_set_name(&self) -> &Option<String>
pub fn get_rule_set_name(&self) -> &Option<String>
A user-friendly name for the rule set resource.
sourcepub fn rules(self, input: Rule) -> Self
pub fn rules(self, input: Rule) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
sourcepub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
pub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
sourcepub fn get_rules(&self) -> &Option<Vec<Rule>>
pub fn get_rules(&self) -> &Option<Vec<Rule>>
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
sourcepub fn build(self) -> Result<UpdateRuleSetInput, BuildError>
pub fn build(self) -> Result<UpdateRuleSetInput, BuildError>
Consumes the builder and constructs a UpdateRuleSetInput.
source§impl UpdateRuleSetInputBuilder
impl UpdateRuleSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateRuleSetOutput, SdkError<UpdateRuleSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateRuleSetOutput, SdkError<UpdateRuleSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRuleSetInputBuilder
impl Clone for UpdateRuleSetInputBuilder
source§fn clone(&self) -> UpdateRuleSetInputBuilder
fn clone(&self) -> UpdateRuleSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateRuleSetInputBuilder
impl Debug for UpdateRuleSetInputBuilder
source§impl Default for UpdateRuleSetInputBuilder
impl Default for UpdateRuleSetInputBuilder
source§fn default() -> UpdateRuleSetInputBuilder
fn default() -> UpdateRuleSetInputBuilder
source§impl PartialEq for UpdateRuleSetInputBuilder
impl PartialEq for UpdateRuleSetInputBuilder
source§fn eq(&self, other: &UpdateRuleSetInputBuilder) -> bool
fn eq(&self, other: &UpdateRuleSetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRuleSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRuleSetInputBuilder
impl RefUnwindSafe for UpdateRuleSetInputBuilder
impl Send for UpdateRuleSetInputBuilder
impl Sync for UpdateRuleSetInputBuilder
impl Unpin for UpdateRuleSetInputBuilder
impl UnwindSafe for UpdateRuleSetInputBuilder
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