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

com.pulumi.azurenative.eventhub.inputs.GetEventHubAuthorizationRulePlainArgs 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.eventhub.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetEventHubAuthorizationRulePlainArgs Empty = new GetEventHubAuthorizationRulePlainArgs();

    /**
     * The authorization rule name.
     * 
     */
    @Import(name="authorizationRuleName", required=true)
    private String authorizationRuleName;

    /**
     * @return The authorization rule name.
     * 
     */
    public String authorizationRuleName() {
        return this.authorizationRuleName;
    }

    /**
     * The Event Hub name
     * 
     */
    @Import(name="eventHubName", required=true)
    private String eventHubName;

    /**
     * @return The Event Hub name
     * 
     */
    public String eventHubName() {
        return this.eventHubName;
    }

    /**
     * The Namespace name
     * 
     */
    @Import(name="namespaceName", required=true)
    private String namespaceName;

    /**
     * @return The Namespace name
     * 
     */
    public String namespaceName() {
        return this.namespaceName;
    }

    /**
     * Name of the resource group within the azure subscription.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Name of the resource group within the azure subscription.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetEventHubAuthorizationRulePlainArgs() {}

    private GetEventHubAuthorizationRulePlainArgs(GetEventHubAuthorizationRulePlainArgs $) {
        this.authorizationRuleName = $.authorizationRuleName;
        this.eventHubName = $.eventHubName;
        this.namespaceName = $.namespaceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetEventHubAuthorizationRulePlainArgs $;

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

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

        /**
         * @param authorizationRuleName The authorization rule name.
         * 
         * @return builder
         * 
         */
        public Builder authorizationRuleName(String authorizationRuleName) {
            $.authorizationRuleName = authorizationRuleName;
            return this;
        }

        /**
         * @param eventHubName The Event Hub name
         * 
         * @return builder
         * 
         */
        public Builder eventHubName(String eventHubName) {
            $.eventHubName = eventHubName;
            return this;
        }

        /**
         * @param namespaceName The Namespace name
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(String namespaceName) {
            $.namespaceName = namespaceName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group within the azure subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetEventHubAuthorizationRulePlainArgs build() {
            if ($.authorizationRuleName == null) {
                throw new MissingRequiredPropertyException("GetEventHubAuthorizationRulePlainArgs", "authorizationRuleName");
            }
            if ($.eventHubName == null) {
                throw new MissingRequiredPropertyException("GetEventHubAuthorizationRulePlainArgs", "eventHubName");
            }
            if ($.namespaceName == null) {
                throw new MissingRequiredPropertyException("GetEventHubAuthorizationRulePlainArgs", "namespaceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetEventHubAuthorizationRulePlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy