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