Struct aws_sdk_elastictranscoder::operation::update_pipeline_notifications::builders::UpdatePipelineNotificationsInputBuilder
source · #[non_exhaustive]pub struct UpdatePipelineNotificationsInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePipelineNotificationsInput
.
Implementations§
source§impl UpdatePipelineNotificationsInputBuilder
impl UpdatePipelineNotificationsInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the pipeline for which you want to change notification settings.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the pipeline for which you want to change notification settings.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the pipeline for which you want to change notification settings.
sourcepub fn notifications(self, input: Notifications) -> Self
pub fn notifications(self, input: Notifications) -> Self
The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Complete: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
sourcepub fn set_notifications(self, input: Option<Notifications>) -> Self
pub fn set_notifications(self, input: Option<Notifications>) -> Self
The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Complete: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
sourcepub fn get_notifications(&self) -> &Option<Notifications>
pub fn get_notifications(&self) -> &Option<Notifications>
The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Complete: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
sourcepub fn build(self) -> Result<UpdatePipelineNotificationsInput, BuildError>
pub fn build(self) -> Result<UpdatePipelineNotificationsInput, BuildError>
Consumes the builder and constructs a UpdatePipelineNotificationsInput
.
source§impl UpdatePipelineNotificationsInputBuilder
impl UpdatePipelineNotificationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdatePipelineNotificationsOutput, SdkError<UpdatePipelineNotificationsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdatePipelineNotificationsOutput, SdkError<UpdatePipelineNotificationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePipelineNotificationsInputBuilder
impl Clone for UpdatePipelineNotificationsInputBuilder
source§fn clone(&self) -> UpdatePipelineNotificationsInputBuilder
fn clone(&self) -> UpdatePipelineNotificationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePipelineNotificationsInputBuilder
impl Default for UpdatePipelineNotificationsInputBuilder
source§fn default() -> UpdatePipelineNotificationsInputBuilder
fn default() -> UpdatePipelineNotificationsInputBuilder
source§impl PartialEq for UpdatePipelineNotificationsInputBuilder
impl PartialEq for UpdatePipelineNotificationsInputBuilder
source§fn eq(&self, other: &UpdatePipelineNotificationsInputBuilder) -> bool
fn eq(&self, other: &UpdatePipelineNotificationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePipelineNotificationsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePipelineNotificationsInputBuilder
impl RefUnwindSafe for UpdatePipelineNotificationsInputBuilder
impl Send for UpdatePipelineNotificationsInputBuilder
impl Sync for UpdatePipelineNotificationsInputBuilder
impl Unpin for UpdatePipelineNotificationsInputBuilder
impl UnwindSafe for UpdatePipelineNotificationsInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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