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

com.pulumi.aws.scheduler.inputs.ScheduleTargetDeadLetterConfigArgs 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.scheduler.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ScheduleTargetDeadLetterConfigArgs Empty = new ScheduleTargetDeadLetterConfigArgs();

    /**
     * ARN of the SQS queue specified as the destination for the dead-letter queue.
     * 
     */
    @Import(name="arn", required=true)
    private Output arn;

    /**
     * @return ARN of the SQS queue specified as the destination for the dead-letter queue.
     * 
     */
    public Output arn() {
        return this.arn;
    }

    private ScheduleTargetDeadLetterConfigArgs() {}

    private ScheduleTargetDeadLetterConfigArgs(ScheduleTargetDeadLetterConfigArgs $) {
        this.arn = $.arn;
    }

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

    public static final class Builder {
        private ScheduleTargetDeadLetterConfigArgs $;

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

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

        /**
         * @param arn ARN of the SQS queue specified as the destination for the dead-letter queue.
         * 
         * @return builder
         * 
         */
        public Builder arn(Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the SQS queue specified as the destination for the dead-letter queue.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        public ScheduleTargetDeadLetterConfigArgs build() {
            if ($.arn == null) {
                throw new MissingRequiredPropertyException("ScheduleTargetDeadLetterConfigArgs", "arn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy