Struct aws_sdk_frauddetector::operation::update_rule_version::builders::UpdateRuleVersionInputBuilder
source · #[non_exhaustive]pub struct UpdateRuleVersionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRuleVersionInput
.
Implementations§
source§impl UpdateRuleVersionInputBuilder
impl UpdateRuleVersionInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
sourcepub fn expression(self, input: impl Into<String>) -> Self
pub fn expression(self, input: impl Into<String>) -> Self
The rule expression.
This field is required.sourcepub fn set_expression(self, input: Option<String>) -> Self
pub fn set_expression(self, input: Option<String>) -> Self
The rule expression.
sourcepub fn get_expression(&self) -> &Option<String>
pub fn get_expression(&self) -> &Option<String>
The rule expression.
sourcepub fn set_language(self, input: Option<Language>) -> Self
pub fn set_language(self, input: Option<Language>) -> Self
The language.
sourcepub fn get_language(&self) -> &Option<Language>
pub fn get_language(&self) -> &Option<Language>
The language.
sourcepub fn outcomes(self, input: impl Into<String>) -> Self
pub fn outcomes(self, input: impl Into<String>) -> Self
Appends an item to outcomes
.
To override the contents of this collection use set_outcomes
.
The outcomes.
sourcepub fn set_outcomes(self, input: Option<Vec<String>>) -> Self
pub fn set_outcomes(self, input: Option<Vec<String>>) -> Self
The outcomes.
sourcepub fn get_outcomes(&self) -> &Option<Vec<String>>
pub fn get_outcomes(&self) -> &Option<Vec<String>>
The outcomes.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags to assign to the rule version.
The tags to assign to the rule version.
The tags to assign to the rule version.
sourcepub fn build(self) -> Result<UpdateRuleVersionInput, BuildError>
pub fn build(self) -> Result<UpdateRuleVersionInput, BuildError>
Consumes the builder and constructs a UpdateRuleVersionInput
.
source§impl UpdateRuleVersionInputBuilder
impl UpdateRuleVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRuleVersionOutput, SdkError<UpdateRuleVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRuleVersionOutput, SdkError<UpdateRuleVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRuleVersionInputBuilder
impl Clone for UpdateRuleVersionInputBuilder
source§fn clone(&self) -> UpdateRuleVersionInputBuilder
fn clone(&self) -> UpdateRuleVersionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateRuleVersionInputBuilder
impl Default for UpdateRuleVersionInputBuilder
source§fn default() -> UpdateRuleVersionInputBuilder
fn default() -> UpdateRuleVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRuleVersionInputBuilder
impl PartialEq for UpdateRuleVersionInputBuilder
source§fn eq(&self, other: &UpdateRuleVersionInputBuilder) -> bool
fn eq(&self, other: &UpdateRuleVersionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRuleVersionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRuleVersionInputBuilder
impl RefUnwindSafe for UpdateRuleVersionInputBuilder
impl Send for UpdateRuleVersionInputBuilder
impl Sync for UpdateRuleVersionInputBuilder
impl Unpin for UpdateRuleVersionInputBuilder
impl UnwindSafe for UpdateRuleVersionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.