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

com.pulumi.aws.devopsguru.inputs.GetNotificationChannelSnArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.devopsguru.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 GetNotificationChannelSnArgs extends com.pulumi.resources.ResourceArgs {

    public static final GetNotificationChannelSnArgs Empty = new GetNotificationChannelSnArgs();

    /**
     * Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
     * 
     */
    @Import(name="topicArn", required=true)
    private Output topicArn;

    /**
     * @return Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
     * 
     */
    public Output topicArn() {
        return this.topicArn;
    }

    private GetNotificationChannelSnArgs() {}

    private GetNotificationChannelSnArgs(GetNotificationChannelSnArgs $) {
        this.topicArn = $.topicArn;
    }

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

    public static final class Builder {
        private GetNotificationChannelSnArgs $;

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

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

        /**
         * @param topicArn Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
         * 
         * @return builder
         * 
         */
        public Builder topicArn(Output topicArn) {
            $.topicArn = topicArn;
            return this;
        }

        /**
         * @param topicArn Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
         * 
         * @return builder
         * 
         */
        public Builder topicArn(String topicArn) {
            return topicArn(Output.of(topicArn));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy