Struct aws_sdk_comprehend::operation::stop_pii_entities_detection_job::builders::StopPiiEntitiesDetectionJobFluentBuilder
source · pub struct StopPiiEntitiesDetectionJobFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StopPiiEntitiesDetectionJob.
Stops a PII entities detection job in progress.
Implementations§
source§impl StopPiiEntitiesDetectionJobFluentBuilder
impl StopPiiEntitiesDetectionJobFluentBuilder
sourcepub fn as_input(&self) -> &StopPiiEntitiesDetectionJobInputBuilder
pub fn as_input(&self) -> &StopPiiEntitiesDetectionJobInputBuilder
Access the StopPiiEntitiesDetectionJob as a reference.
sourcepub async fn send(
self
) -> Result<StopPiiEntitiesDetectionJobOutput, SdkError<StopPiiEntitiesDetectionJobError, HttpResponse>>
pub async fn send( self ) -> Result<StopPiiEntitiesDetectionJobOutput, SdkError<StopPiiEntitiesDetectionJobError, 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 async fn customize(
self
) -> Result<CustomizableOperation<StopPiiEntitiesDetectionJobOutput, StopPiiEntitiesDetectionJobError>, SdkError<StopPiiEntitiesDetectionJobError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StopPiiEntitiesDetectionJobOutput, StopPiiEntitiesDetectionJobError>, SdkError<StopPiiEntitiesDetectionJobError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The identifier of the PII entities detection job to stop.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The identifier of the PII entities detection job to stop.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The identifier of the PII entities detection job to stop.
Trait Implementations§
source§impl Clone for StopPiiEntitiesDetectionJobFluentBuilder
impl Clone for StopPiiEntitiesDetectionJobFluentBuilder
source§fn clone(&self) -> StopPiiEntitiesDetectionJobFluentBuilder
fn clone(&self) -> StopPiiEntitiesDetectionJobFluentBuilder
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for StopPiiEntitiesDetectionJobFluentBuilder
impl Send for StopPiiEntitiesDetectionJobFluentBuilder
impl Sync for StopPiiEntitiesDetectionJobFluentBuilder
impl Unpin for StopPiiEntitiesDetectionJobFluentBuilder
impl !UnwindSafe for StopPiiEntitiesDetectionJobFluentBuilder
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