Struct aws_sdk_comprehend::operation::stop_targeted_sentiment_detection_job::builders::StopTargetedSentimentDetectionJobOutputBuilder
source · #[non_exhaustive]pub struct StopTargetedSentimentDetectionJobOutputBuilder { /* private fields */ }Expand description
A builder for StopTargetedSentimentDetectionJobOutput.
Implementations§
source§impl StopTargetedSentimentDetectionJobOutputBuilder
impl StopTargetedSentimentDetectionJobOutputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The identifier of the targeted sentiment 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 targeted sentiment detection job to stop.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The identifier of the targeted sentiment 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 StopSentimentDetectionJob 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 StopSentimentDetectionJob operation.
sourcepub fn get_job_status(&self) -> &Option<JobStatus>
pub fn get_job_status(&self) -> &Option<JobStatus>
Either STOP_REQUESTED if the job is currently running, or STOPPED if the job was previously stopped with the StopSentimentDetectionJob operation.
sourcepub fn build(self) -> StopTargetedSentimentDetectionJobOutput
pub fn build(self) -> StopTargetedSentimentDetectionJobOutput
Consumes the builder and constructs a StopTargetedSentimentDetectionJobOutput.
Trait Implementations§
source§impl Clone for StopTargetedSentimentDetectionJobOutputBuilder
impl Clone for StopTargetedSentimentDetectionJobOutputBuilder
source§fn clone(&self) -> StopTargetedSentimentDetectionJobOutputBuilder
fn clone(&self) -> StopTargetedSentimentDetectionJobOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StopTargetedSentimentDetectionJobOutputBuilder
impl Default for StopTargetedSentimentDetectionJobOutputBuilder
source§fn default() -> StopTargetedSentimentDetectionJobOutputBuilder
fn default() -> StopTargetedSentimentDetectionJobOutputBuilder
source§impl PartialEq<StopTargetedSentimentDetectionJobOutputBuilder> for StopTargetedSentimentDetectionJobOutputBuilder
impl PartialEq<StopTargetedSentimentDetectionJobOutputBuilder> for StopTargetedSentimentDetectionJobOutputBuilder
source§fn eq(&self, other: &StopTargetedSentimentDetectionJobOutputBuilder) -> bool
fn eq(&self, other: &StopTargetedSentimentDetectionJobOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.