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

com.pulumi.azure.eventhub.inputs.GetConsumeGroupPlainArgs 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.azure.eventhub.inputs;

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


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

    public static final GetConsumeGroupPlainArgs Empty = new GetConsumeGroupPlainArgs();

    /**
     * Specifies the name of the EventHub.
     * 
     */
    @Import(name="eventhubName", required=true)
    private String eventhubName;

    /**
     * @return Specifies the name of the EventHub.
     * 
     */
    public String eventhubName() {
        return this.eventhubName;
    }

    /**
     * Specifies the name of the EventHub Consumer Group resource.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return Specifies the name of the EventHub Consumer Group resource.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * Specifies the name of the grandparent EventHub Namespace.
     * 
     */
    @Import(name="namespaceName", required=true)
    private String namespaceName;

    /**
     * @return Specifies the name of the grandparent EventHub Namespace.
     * 
     */
    public String namespaceName() {
        return this.namespaceName;
    }

    /**
     * The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetConsumeGroupPlainArgs() {}

    private GetConsumeGroupPlainArgs(GetConsumeGroupPlainArgs $) {
        this.eventhubName = $.eventhubName;
        this.name = $.name;
        this.namespaceName = $.namespaceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetConsumeGroupPlainArgs $;

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

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

        /**
         * @param eventhubName Specifies the name of the EventHub.
         * 
         * @return builder
         * 
         */
        public Builder eventhubName(String eventhubName) {
            $.eventhubName = eventhubName;
            return this;
        }

        /**
         * @param name Specifies the name of the EventHub Consumer Group resource.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param namespaceName Specifies the name of the grandparent EventHub Namespace.
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(String namespaceName) {
            $.namespaceName = namespaceName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetConsumeGroupPlainArgs build() {
            if ($.eventhubName == null) {
                throw new MissingRequiredPropertyException("GetConsumeGroupPlainArgs", "eventhubName");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetConsumeGroupPlainArgs", "name");
            }
            if ($.namespaceName == null) {
                throw new MissingRequiredPropertyException("GetConsumeGroupPlainArgs", "namespaceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetConsumeGroupPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy