Struct aws_sdk_comprehend::operation::stop_dominant_language_detection_job::builders::StopDominantLanguageDetectionJobOutputBuilder
source · #[non_exhaustive]pub struct StopDominantLanguageDetectionJobOutputBuilder { /* private fields */ }Expand description
A builder for StopDominantLanguageDetectionJobOutput.
Implementations§
source§impl StopDominantLanguageDetectionJobOutputBuilder
impl StopDominantLanguageDetectionJobOutputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The identifier of the dominant language 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 dominant language detection job to stop.
sourcepub fn job_status(self, input: JobStatus) -> Self
pub fn job_status(self, input: JobStatus) -> Self
Either STOP_REQUESTED if the job is currently running, or STOPPED if the job was previously stopped with the StopDominantLanguageDetectionJob operation.
sourcepub fn set_job_status(self, input: Option<JobStatus>) -> Self
pub fn set_job_status(self, input: Option<JobStatus>) -> Self
Either STOP_REQUESTED if the job is currently running, or STOPPED if the job was previously stopped with the StopDominantLanguageDetectionJob operation.
sourcepub fn build(self) -> StopDominantLanguageDetectionJobOutput
pub fn build(self) -> StopDominantLanguageDetectionJobOutput
Consumes the builder and constructs a StopDominantLanguageDetectionJobOutput.
Trait Implementations§
source§impl Clone for StopDominantLanguageDetectionJobOutputBuilder
impl Clone for StopDominantLanguageDetectionJobOutputBuilder
source§fn clone(&self) -> StopDominantLanguageDetectionJobOutputBuilder
fn clone(&self) -> StopDominantLanguageDetectionJobOutputBuilder
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 StopDominantLanguageDetectionJobOutputBuilder
impl Default for StopDominantLanguageDetectionJobOutputBuilder
source§fn default() -> StopDominantLanguageDetectionJobOutputBuilder
fn default() -> StopDominantLanguageDetectionJobOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<StopDominantLanguageDetectionJobOutputBuilder> for StopDominantLanguageDetectionJobOutputBuilder
impl PartialEq<StopDominantLanguageDetectionJobOutputBuilder> for StopDominantLanguageDetectionJobOutputBuilder
source§fn eq(&self, other: &StopDominantLanguageDetectionJobOutputBuilder) -> bool
fn eq(&self, other: &StopDominantLanguageDetectionJobOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.