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

com.pulumi.azurenative.awsconnector.inputs.AwsSnsSubscriptionPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show 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.azurenative.awsconnector.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;


/**
 * Definition of awsSnsSubscription
 * 
 */
public final class AwsSnsSubscriptionPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsSnsSubscriptionPropertiesArgs Empty = new AwsSnsSubscriptionPropertiesArgs();

    /**
     * <p>The subscription's endpoint (format depends on the protocol).</p>
     * 
     */
    @Import(name="endpoint")
    private @Nullable Output endpoint;

    /**
     * @return <p>The subscription's endpoint (format depends on the protocol).</p>
     * 
     */
    public Optional> endpoint() {
        return Optional.ofNullable(this.endpoint);
    }

    /**
     * <p>The subscription's owner.</p>
     * 
     */
    @Import(name="owner")
    private @Nullable Output owner;

    /**
     * @return <p>The subscription's owner.</p>
     * 
     */
    public Optional> owner() {
        return Optional.ofNullable(this.owner);
    }

    /**
     * <p>The subscription's protocol.</p>
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return <p>The subscription's protocol.</p>
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

    /**
     * <p>The subscription's ARN.</p>
     * 
     */
    @Import(name="subscriptionArn")
    private @Nullable Output subscriptionArn;

    /**
     * @return <p>The subscription's ARN.</p>
     * 
     */
    public Optional> subscriptionArn() {
        return Optional.ofNullable(this.subscriptionArn);
    }

    /**
     * <p>The ARN of the subscription's topic.</p>
     * 
     */
    @Import(name="topicArn")
    private @Nullable Output topicArn;

    /**
     * @return <p>The ARN of the subscription's topic.</p>
     * 
     */
    public Optional> topicArn() {
        return Optional.ofNullable(this.topicArn);
    }

    private AwsSnsSubscriptionPropertiesArgs() {}

    private AwsSnsSubscriptionPropertiesArgs(AwsSnsSubscriptionPropertiesArgs $) {
        this.endpoint = $.endpoint;
        this.owner = $.owner;
        this.protocol = $.protocol;
        this.subscriptionArn = $.subscriptionArn;
        this.topicArn = $.topicArn;
    }

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

    public static final class Builder {
        private AwsSnsSubscriptionPropertiesArgs $;

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

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

        /**
         * @param endpoint <p>The subscription's endpoint (format depends on the protocol).</p>
         * 
         * @return builder
         * 
         */
        public Builder endpoint(@Nullable Output endpoint) {
            $.endpoint = endpoint;
            return this;
        }

        /**
         * @param endpoint <p>The subscription's endpoint (format depends on the protocol).</p>
         * 
         * @return builder
         * 
         */
        public Builder endpoint(String endpoint) {
            return endpoint(Output.of(endpoint));
        }

        /**
         * @param owner <p>The subscription's owner.</p>
         * 
         * @return builder
         * 
         */
        public Builder owner(@Nullable Output owner) {
            $.owner = owner;
            return this;
        }

        /**
         * @param owner <p>The subscription's owner.</p>
         * 
         * @return builder
         * 
         */
        public Builder owner(String owner) {
            return owner(Output.of(owner));
        }

        /**
         * @param protocol <p>The subscription's protocol.</p>
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol <p>The subscription's protocol.</p>
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        /**
         * @param subscriptionArn <p>The subscription's ARN.</p>
         * 
         * @return builder
         * 
         */
        public Builder subscriptionArn(@Nullable Output subscriptionArn) {
            $.subscriptionArn = subscriptionArn;
            return this;
        }

        /**
         * @param subscriptionArn <p>The subscription's ARN.</p>
         * 
         * @return builder
         * 
         */
        public Builder subscriptionArn(String subscriptionArn) {
            return subscriptionArn(Output.of(subscriptionArn));
        }

        /**
         * @param topicArn <p>The ARN of the subscription's topic.</p>
         * 
         * @return builder
         * 
         */
        public Builder topicArn(@Nullable Output topicArn) {
            $.topicArn = topicArn;
            return this;
        }

        /**
         * @param topicArn <p>The ARN of the subscription's topic.</p>
         * 
         * @return builder
         * 
         */
        public Builder topicArn(String topicArn) {
            return topicArn(Output.of(topicArn));
        }

        public AwsSnsSubscriptionPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy