All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.elastictranscoder.inputs.PipelineNotificationsArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.elastictranscoder.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PipelineNotificationsArgs extends com.pulumi.resources.ResourceArgs {

    public static final PipelineNotificationsArgs Empty = new PipelineNotificationsArgs();

    /**
     * The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.
     * 
     */
    @Import(name="completed")
    private @Nullable Output completed;

    /**
     * @return The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.
     * 
     */
    public Optional> completed() {
        return Optional.ofNullable(this.completed);
    }

    /**
     * The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.
     * 
     */
    @Import(name="error")
    private @Nullable Output error;

    /**
     * @return The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.
     * 
     */
    public Optional> error() {
        return Optional.ofNullable(this.error);
    }

    /**
     * The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.
     * 
     */
    @Import(name="progressing")
    private @Nullable Output progressing;

    /**
     * @return The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.
     * 
     */
    public Optional> progressing() {
        return Optional.ofNullable(this.progressing);
    }

    /**
     * The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.
     * 
     * The `thumbnail_config` object specifies information about the Amazon S3 bucket in
     * which you want Elastic Transcoder to save thumbnail files: which bucket to use,
     * which users you want to have access to the files, the type of access you want
     * users to have, and the storage class that you want to assign to the files. If
     * you specify values for `content_config`, you must also specify values for
     * `thumbnail_config` even if you don't want to create thumbnails. (You control
     * whether to create thumbnails when you create a job. For more information, see
     * ThumbnailPattern in the topic Create Job.) If you specify values for
     * `content_config` and `thumbnail_config`, omit the OutputBucket object.
     * 
     */
    @Import(name="warning")
    private @Nullable Output warning;

    /**
     * @return The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.
     * 
     * The `thumbnail_config` object specifies information about the Amazon S3 bucket in
     * which you want Elastic Transcoder to save thumbnail files: which bucket to use,
     * which users you want to have access to the files, the type of access you want
     * users to have, and the storage class that you want to assign to the files. If
     * you specify values for `content_config`, you must also specify values for
     * `thumbnail_config` even if you don't want to create thumbnails. (You control
     * whether to create thumbnails when you create a job. For more information, see
     * ThumbnailPattern in the topic Create Job.) If you specify values for
     * `content_config` and `thumbnail_config`, omit the OutputBucket object.
     * 
     */
    public Optional> warning() {
        return Optional.ofNullable(this.warning);
    }

    private PipelineNotificationsArgs() {}

    private PipelineNotificationsArgs(PipelineNotificationsArgs $) {
        this.completed = $.completed;
        this.error = $.error;
        this.progressing = $.progressing;
        this.warning = $.warning;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PipelineNotificationsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PipelineNotificationsArgs $;

        public Builder() {
            $ = new PipelineNotificationsArgs();
        }

        public Builder(PipelineNotificationsArgs defaults) {
            $ = new PipelineNotificationsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param completed The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.
         * 
         * @return builder
         * 
         */
        public Builder completed(@Nullable Output completed) {
            $.completed = completed;
            return this;
        }

        /**
         * @param completed The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.
         * 
         * @return builder
         * 
         */
        public Builder completed(String completed) {
            return completed(Output.of(completed));
        }

        /**
         * @param error The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.
         * 
         * @return builder
         * 
         */
        public Builder error(@Nullable Output error) {
            $.error = error;
            return this;
        }

        /**
         * @param error The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.
         * 
         * @return builder
         * 
         */
        public Builder error(String error) {
            return error(Output.of(error));
        }

        /**
         * @param 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 a job in this pipeline.
         * 
         * @return builder
         * 
         */
        public Builder progressing(@Nullable Output progressing) {
            $.progressing = progressing;
            return this;
        }

        /**
         * @param 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 a job in this pipeline.
         * 
         * @return builder
         * 
         */
        public Builder progressing(String progressing) {
            return progressing(Output.of(progressing));
        }

        /**
         * @param warning The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.
         * 
         * The `thumbnail_config` object specifies information about the Amazon S3 bucket in
         * which you want Elastic Transcoder to save thumbnail files: which bucket to use,
         * which users you want to have access to the files, the type of access you want
         * users to have, and the storage class that you want to assign to the files. If
         * you specify values for `content_config`, you must also specify values for
         * `thumbnail_config` even if you don't want to create thumbnails. (You control
         * whether to create thumbnails when you create a job. For more information, see
         * ThumbnailPattern in the topic Create Job.) If you specify values for
         * `content_config` and `thumbnail_config`, omit the OutputBucket object.
         * 
         * @return builder
         * 
         */
        public Builder warning(@Nullable Output warning) {
            $.warning = warning;
            return this;
        }

        /**
         * @param warning The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.
         * 
         * The `thumbnail_config` object specifies information about the Amazon S3 bucket in
         * which you want Elastic Transcoder to save thumbnail files: which bucket to use,
         * which users you want to have access to the files, the type of access you want
         * users to have, and the storage class that you want to assign to the files. If
         * you specify values for `content_config`, you must also specify values for
         * `thumbnail_config` even if you don't want to create thumbnails. (You control
         * whether to create thumbnails when you create a job. For more information, see
         * ThumbnailPattern in the topic Create Job.) If you specify values for
         * `content_config` and `thumbnail_config`, omit the OutputBucket object.
         * 
         * @return builder
         * 
         */
        public Builder warning(String warning) {
            return warning(Output.of(warning));
        }

        public PipelineNotificationsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy