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

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

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

    public static final GetSystemTopicPlainArgs Empty = new GetSystemTopicPlainArgs();

    /**
     * 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 system topic.
     * 
     */
    @Import(name="systemTopicName", required=true)
    private String systemTopicName;

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

    private GetSystemTopicPlainArgs() {}

    private GetSystemTopicPlainArgs(GetSystemTopicPlainArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.systemTopicName = $.systemTopicName;
    }

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

    public static final class Builder {
        private GetSystemTopicPlainArgs $;

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

        public Builder(GetSystemTopicPlainArgs defaults) {
            $ = new GetSystemTopicPlainArgs(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 systemTopicName Name of the system topic.
         * 
         * @return builder
         * 
         */
        public Builder systemTopicName(String systemTopicName) {
            $.systemTopicName = systemTopicName;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy