Struct aws_sdk_frauddetector::operation::update_rule_version::builders::UpdateRuleVersionFluentBuilder
source · pub struct UpdateRuleVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRuleVersion
.
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
Implementations§
source§impl UpdateRuleVersionFluentBuilder
impl UpdateRuleVersionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRuleVersionInputBuilder
pub fn as_input(&self) -> &UpdateRuleVersionInputBuilder
Access the UpdateRuleVersion as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRuleVersionOutput, SdkError<UpdateRuleVersionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRuleVersionOutput, SdkError<UpdateRuleVersionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateRuleVersionOutput, UpdateRuleVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRuleVersionOutput, UpdateRuleVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for UpdateRuleVersionFluentBuilder
impl Clone for UpdateRuleVersionFluentBuilder
source§fn clone(&self) -> UpdateRuleVersionFluentBuilder
fn clone(&self) -> UpdateRuleVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more