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