Struct aws_sdk_frauddetector::operation::cancel_batch_import_job::builders::CancelBatchImportJobInputBuilder
source · #[non_exhaustive]pub struct CancelBatchImportJobInputBuilder { /* private fields */ }
Expand description
A builder for CancelBatchImportJobInput
.
Implementations§
source§impl CancelBatchImportJobInputBuilder
impl CancelBatchImportJobInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID of an in-progress batch import job to cancel.
Amazon Fraud Detector will throw an error if the batch import job is in FAILED
, CANCELED
, or COMPLETED
state.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID of an in-progress batch import job to cancel.
Amazon Fraud Detector will throw an error if the batch import job is in FAILED
, CANCELED
, or COMPLETED
state.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID of an in-progress batch import job to cancel.
Amazon Fraud Detector will throw an error if the batch import job is in FAILED
, CANCELED
, or COMPLETED
state.
sourcepub fn build(self) -> Result<CancelBatchImportJobInput, BuildError>
pub fn build(self) -> Result<CancelBatchImportJobInput, BuildError>
Consumes the builder and constructs a CancelBatchImportJobInput
.
source§impl CancelBatchImportJobInputBuilder
impl CancelBatchImportJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelBatchImportJobOutput, SdkError<CancelBatchImportJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelBatchImportJobOutput, SdkError<CancelBatchImportJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelBatchImportJobInputBuilder
impl Clone for CancelBatchImportJobInputBuilder
source§fn clone(&self) -> CancelBatchImportJobInputBuilder
fn clone(&self) -> CancelBatchImportJobInputBuilder
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 CancelBatchImportJobInputBuilder
impl Default for CancelBatchImportJobInputBuilder
source§fn default() -> CancelBatchImportJobInputBuilder
fn default() -> CancelBatchImportJobInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelBatchImportJobInputBuilder
impl PartialEq for CancelBatchImportJobInputBuilder
source§fn eq(&self, other: &CancelBatchImportJobInputBuilder) -> bool
fn eq(&self, other: &CancelBatchImportJobInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelBatchImportJobInputBuilder
Auto Trait Implementations§
impl Freeze for CancelBatchImportJobInputBuilder
impl RefUnwindSafe for CancelBatchImportJobInputBuilder
impl Send for CancelBatchImportJobInputBuilder
impl Sync for CancelBatchImportJobInputBuilder
impl Unpin for CancelBatchImportJobInputBuilder
impl UnwindSafe for CancelBatchImportJobInputBuilder
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.