Struct aws_sdk_frauddetector::operation::update_rule_metadata::builders::UpdateRuleMetadataInputBuilder
source · #[non_exhaustive]pub struct UpdateRuleMetadataInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRuleMetadataInput
.
Implementations§
source§impl UpdateRuleMetadataInputBuilder
impl UpdateRuleMetadataInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The rule description.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The rule description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The rule description.
sourcepub fn build(self) -> Result<UpdateRuleMetadataInput, BuildError>
pub fn build(self) -> Result<UpdateRuleMetadataInput, BuildError>
Consumes the builder and constructs a UpdateRuleMetadataInput
.
source§impl UpdateRuleMetadataInputBuilder
impl UpdateRuleMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRuleMetadataOutput, SdkError<UpdateRuleMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRuleMetadataOutput, SdkError<UpdateRuleMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRuleMetadataInputBuilder
impl Clone for UpdateRuleMetadataInputBuilder
source§fn clone(&self) -> UpdateRuleMetadataInputBuilder
fn clone(&self) -> UpdateRuleMetadataInputBuilder
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 UpdateRuleMetadataInputBuilder
impl Default for UpdateRuleMetadataInputBuilder
source§fn default() -> UpdateRuleMetadataInputBuilder
fn default() -> UpdateRuleMetadataInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRuleMetadataInputBuilder
impl PartialEq for UpdateRuleMetadataInputBuilder
source§fn eq(&self, other: &UpdateRuleMetadataInputBuilder) -> bool
fn eq(&self, other: &UpdateRuleMetadataInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRuleMetadataInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRuleMetadataInputBuilder
impl RefUnwindSafe for UpdateRuleMetadataInputBuilder
impl Send for UpdateRuleMetadataInputBuilder
impl Sync for UpdateRuleMetadataInputBuilder
impl Unpin for UpdateRuleMetadataInputBuilder
impl UnwindSafe for UpdateRuleMetadataInputBuilder
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.