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

com.pulumi.azurenative.eventhub.inputs.GetConsumerGroupArgs Maven / Gradle / Ivy

The 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetConsumerGroupArgs Empty = new GetConsumerGroupArgs();

    /**
     * The consumer group name
     * 
     */
    @Import(name="consumerGroupName", required=true)
    private Output consumerGroupName;

    /**
     * @return The consumer group name
     * 
     */
    public Output consumerGroupName() {
        return this.consumerGroupName;
    }

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

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

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

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

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

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

    private GetConsumerGroupArgs() {}

    private GetConsumerGroupArgs(GetConsumerGroupArgs $) {
        this.consumerGroupName = $.consumerGroupName;
        this.eventHubName = $.eventHubName;
        this.namespaceName = $.namespaceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetConsumerGroupArgs $;

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

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

        /**
         * @param consumerGroupName The consumer group name
         * 
         * @return builder
         * 
         */
        public Builder consumerGroupName(Output consumerGroupName) {
            $.consumerGroupName = consumerGroupName;
            return this;
        }

        /**
         * @param consumerGroupName The consumer group name
         * 
         * @return builder
         * 
         */
        public Builder consumerGroupName(String consumerGroupName) {
            return consumerGroupName(Output.of(consumerGroupName));
        }

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

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

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

        /**
         * @param namespaceName The Namespace name
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(String namespaceName) {
            return namespaceName(Output.of(namespaceName));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy