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

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

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

    public static final GetDomainTopicArgs Empty = new GetDomainTopicArgs();

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

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

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

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

    /**
     * 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;
    }

    private GetDomainTopicArgs() {}

    private GetDomainTopicArgs(GetDomainTopicArgs $) {
        this.domainName = $.domainName;
        this.domainTopicName = $.domainTopicName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetDomainTopicArgs $;

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

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

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

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

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

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

        /**
         * @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));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy