Struct aws_sdk_elastictranscoder::operation::update_pipeline_status::builders::UpdatePipelineStatusFluentBuilder
source · pub struct UpdatePipelineStatusFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdatePipelineStatus
.
The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.
Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob
request.
Implementations§
source§impl UpdatePipelineStatusFluentBuilder
impl UpdatePipelineStatusFluentBuilder
sourcepub fn as_input(&self) -> &UpdatePipelineStatusInputBuilder
pub fn as_input(&self) -> &UpdatePipelineStatusInputBuilder
Access the UpdatePipelineStatus as a reference.
sourcepub async fn send(
self
) -> Result<UpdatePipelineStatusOutput, SdkError<UpdatePipelineStatusError, HttpResponse>>
pub async fn send( self ) -> Result<UpdatePipelineStatusOutput, SdkError<UpdatePipelineStatusError, 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 fn customize(
self
) -> CustomizableOperation<UpdatePipelineStatusOutput, UpdatePipelineStatusError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdatePipelineStatusOutput, UpdatePipelineStatusError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The desired status of the pipeline:
-
Active
: The pipeline is processing jobs. -
Paused
: The pipeline is not currently processing jobs.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The desired status of the pipeline:
-
Active
: The pipeline is processing jobs. -
Paused
: The pipeline is not currently processing jobs.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The desired status of the pipeline:
-
Active
: The pipeline is processing jobs. -
Paused
: The pipeline is not currently processing jobs.
Trait Implementations§
source§impl Clone for UpdatePipelineStatusFluentBuilder
impl Clone for UpdatePipelineStatusFluentBuilder
source§fn clone(&self) -> UpdatePipelineStatusFluentBuilder
fn clone(&self) -> UpdatePipelineStatusFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdatePipelineStatusFluentBuilder
impl !RefUnwindSafe for UpdatePipelineStatusFluentBuilder
impl Send for UpdatePipelineStatusFluentBuilder
impl Sync for UpdatePipelineStatusFluentBuilder
impl Unpin for UpdatePipelineStatusFluentBuilder
impl !UnwindSafe for UpdatePipelineStatusFluentBuilder
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> 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