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

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

// *** 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 GetSystemTopicEventSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSystemTopicEventSubscriptionPlainArgs Empty = new GetSystemTopicEventSubscriptionPlainArgs();

    /**
     * Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
     * 
     */
    @Import(name="eventSubscriptionName", required=true)
    private String eventSubscriptionName;

    /**
     * @return Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
     * 
     */
    public String eventSubscriptionName() {
        return this.eventSubscriptionName;
    }

    /**
     * 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 GetSystemTopicEventSubscriptionPlainArgs() {}

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

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

    public static final class Builder {
        private GetSystemTopicEventSubscriptionPlainArgs $;

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

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

        /**
         * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
         * 
         * @return builder
         * 
         */
        public Builder eventSubscriptionName(String eventSubscriptionName) {
            $.eventSubscriptionName = eventSubscriptionName;
            return this;
        }

        /**
         * @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 GetSystemTopicEventSubscriptionPlainArgs build() {
            if ($.eventSubscriptionName == null) {
                throw new MissingRequiredPropertyException("GetSystemTopicEventSubscriptionPlainArgs", "eventSubscriptionName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetSystemTopicEventSubscriptionPlainArgs", "resourceGroupName");
            }
            if ($.systemTopicName == null) {
                throw new MissingRequiredPropertyException("GetSystemTopicEventSubscriptionPlainArgs", "systemTopicName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy