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

com.pulumi.azurenative.eventhub.inputs.GetSchemaRegistryArgs 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 GetSchemaRegistryArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSchemaRegistryArgs Empty = new GetSchemaRegistryArgs();

    /**
     * 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;
    }

    /**
     * The Schema Group name
     * 
     */
    @Import(name="schemaGroupName", required=true)
    private Output schemaGroupName;

    /**
     * @return The Schema Group name
     * 
     */
    public Output schemaGroupName() {
        return this.schemaGroupName;
    }

    private GetSchemaRegistryArgs() {}

    private GetSchemaRegistryArgs(GetSchemaRegistryArgs $) {
        this.namespaceName = $.namespaceName;
        this.resourceGroupName = $.resourceGroupName;
        this.schemaGroupName = $.schemaGroupName;
    }

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

    public static final class Builder {
        private GetSchemaRegistryArgs $;

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

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

        /**
         * @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));
        }

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

        /**
         * @param schemaGroupName The Schema Group name
         * 
         * @return builder
         * 
         */
        public Builder schemaGroupName(String schemaGroupName) {
            return schemaGroupName(Output.of(schemaGroupName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy