Interface UpdatePipelineNotificationsRequest.Builder

    • Method Detail

      • id

        UpdatePipelineNotificationsRequest.Builder id​(String id)

        The identifier of the pipeline for which you want to change notification settings.

        Parameters:
        id - The identifier of the pipeline for which you want to change notification settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notifications

        UpdatePipelineNotificationsRequest.Builder notifications​(Notifications 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notifications

        default UpdatePipelineNotificationsRequest.Builder notifications​(Consumer<Notifications.Builder> 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.

        This is a convenience method that creates an instance of the Notifications.Builder avoiding the need to create one manually via Notifications.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to notifications(Notifications).

        Parameters:
        notifications - a consumer that will call methods on Notifications.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        notifications(Notifications)