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

com.pulumi.azurenative.eventgrid.inputs.GetTopicPlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetTopicPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTopicPlainArgs Empty = new GetTopicPlainArgs();

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

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

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

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

    private GetTopicPlainArgs() {}

    private GetTopicPlainArgs(GetTopicPlainArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.topicName = $.topicName;
    }

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

    public static final class Builder {
        private GetTopicPlainArgs $;

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy