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

com.pulumi.azurenative.eventgrid.inputs.GetDomainTopicEventSubscriptionFullUrlArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.eventgrid.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 GetDomainTopicEventSubscriptionFullUrlArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDomainTopicEventSubscriptionFullUrlArgs Empty = new GetDomainTopicEventSubscriptionFullUrlArgs();

    /**
     * Name of the top level domain.
     * 
     */
    @Import(name="domainName", required=true)
    private Output domainName;

    /**
     * @return Name of the top level domain.
     * 
     */
    public Output domainName() {
        return this.domainName;
    }

    /**
     * Name of the event subscription.
     * 
     */
    @Import(name="eventSubscriptionName", required=true)
    private Output eventSubscriptionName;

    /**
     * @return Name of the event subscription.
     * 
     */
    public Output eventSubscriptionName() {
        return this.eventSubscriptionName;
    }

    /**
     * The name of the resource group within the user's subscription.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group within the user's subscription.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Name of the domain topic.
     * 
     */
    @Import(name="topicName", required=true)
    private Output topicName;

    /**
     * @return Name of the domain topic.
     * 
     */
    public Output topicName() {
        return this.topicName;
    }

    private GetDomainTopicEventSubscriptionFullUrlArgs() {}

    private GetDomainTopicEventSubscriptionFullUrlArgs(GetDomainTopicEventSubscriptionFullUrlArgs $) {
        this.domainName = $.domainName;
        this.eventSubscriptionName = $.eventSubscriptionName;
        this.resourceGroupName = $.resourceGroupName;
        this.topicName = $.topicName;
    }

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

    public static final class Builder {
        private GetDomainTopicEventSubscriptionFullUrlArgs $;

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

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

        /**
         * @param domainName Name of the top level domain.
         * 
         * @return builder
         * 
         */
        public Builder domainName(Output domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param domainName Name of the top level domain.
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            return domainName(Output.of(domainName));
        }

        /**
         * @param eventSubscriptionName Name of the event subscription.
         * 
         * @return builder
         * 
         */
        public Builder eventSubscriptionName(Output eventSubscriptionName) {
            $.eventSubscriptionName = eventSubscriptionName;
            return this;
        }

        /**
         * @param eventSubscriptionName Name of the event subscription.
         * 
         * @return builder
         * 
         */
        public Builder eventSubscriptionName(String eventSubscriptionName) {
            return eventSubscriptionName(Output.of(eventSubscriptionName));
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param topicName Name of the domain topic.
         * 
         * @return builder
         * 
         */
        public Builder topicName(Output topicName) {
            $.topicName = topicName;
            return this;
        }

        /**
         * @param topicName Name of the domain topic.
         * 
         * @return builder
         * 
         */
        public Builder topicName(String topicName) {
            return topicName(Output.of(topicName));
        }

        public GetDomainTopicEventSubscriptionFullUrlArgs build() {
            if ($.domainName == null) {
                throw new MissingRequiredPropertyException("GetDomainTopicEventSubscriptionFullUrlArgs", "domainName");
            }
            if ($.eventSubscriptionName == null) {
                throw new MissingRequiredPropertyException("GetDomainTopicEventSubscriptionFullUrlArgs", "eventSubscriptionName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetDomainTopicEventSubscriptionFullUrlArgs", "resourceGroupName");
            }
            if ($.topicName == null) {
                throw new MissingRequiredPropertyException("GetDomainTopicEventSubscriptionFullUrlArgs", "topicName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy