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 for StopTargetedSentimentDetectionJobOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for StopTargetedSentimentDetectionJobOutputBuilder
Auto Trait Implementations§
impl Freeze for StopTargetedSentimentDetectionJobOutputBuilder
impl RefUnwindSafe for StopTargetedSentimentDetectionJobOutputBuilder
impl Send for StopTargetedSentimentDetectionJobOutputBuilder
impl Sync for StopTargetedSentimentDetectionJobOutputBuilder
impl Unpin for StopTargetedSentimentDetectionJobOutputBuilder
impl UnwindSafe for StopTargetedSentimentDetectionJobOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more