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

com.pulumi.azurenative.deviceregistry.SchemaRegistryArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.deviceregistry;

import com.pulumi.azurenative.deviceregistry.inputs.SystemAssignedServiceIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SchemaRegistryArgs extends com.pulumi.resources.ResourceArgs {

    public static final SchemaRegistryArgs Empty = new SchemaRegistryArgs();

    /**
     * Human-readable description of the schema registry.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Human-readable description of the schema registry.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Human-readable display name.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Human-readable display name.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * The managed service identities assigned to this resource.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return The managed service identities assigned to this resource.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Schema registry namespace. Uniquely identifies a schema registry within a tenant.
     * 
     */
    @Import(name="namespace", required=true)
    private Output namespace;

    /**
     * @return Schema registry namespace. Uniquely identifies a schema registry within a tenant.
     * 
     */
    public Output namespace() {
        return this.namespace;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Schema registry name parameter.
     * 
     */
    @Import(name="schemaRegistryName")
    private @Nullable Output schemaRegistryName;

    /**
     * @return Schema registry name parameter.
     * 
     */
    public Optional> schemaRegistryName() {
        return Optional.ofNullable(this.schemaRegistryName);
    }

    /**
     * The Storage Account's Container URL where schemas will be stored.
     * 
     */
    @Import(name="storageAccountContainerUrl", required=true)
    private Output storageAccountContainerUrl;

    /**
     * @return The Storage Account's Container URL where schemas will be stored.
     * 
     */
    public Output storageAccountContainerUrl() {
        return this.storageAccountContainerUrl;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private SchemaRegistryArgs() {}

    private SchemaRegistryArgs(SchemaRegistryArgs $) {
        this.description = $.description;
        this.displayName = $.displayName;
        this.identity = $.identity;
        this.location = $.location;
        this.namespace = $.namespace;
        this.resourceGroupName = $.resourceGroupName;
        this.schemaRegistryName = $.schemaRegistryName;
        this.storageAccountContainerUrl = $.storageAccountContainerUrl;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private SchemaRegistryArgs $;

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

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

        /**
         * @param description Human-readable description of the schema registry.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Human-readable description of the schema registry.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName Human-readable display name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Human-readable display name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param identity The managed service identities assigned to this resource.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity The managed service identities assigned to this resource.
         * 
         * @return builder
         * 
         */
        public Builder identity(SystemAssignedServiceIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param namespace Schema registry namespace. Uniquely identifies a schema registry within a tenant.
         * 
         * @return builder
         * 
         */
        public Builder namespace(Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace Schema registry namespace. Uniquely identifies a schema registry within a tenant.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param schemaRegistryName Schema registry name parameter.
         * 
         * @return builder
         * 
         */
        public Builder schemaRegistryName(@Nullable Output schemaRegistryName) {
            $.schemaRegistryName = schemaRegistryName;
            return this;
        }

        /**
         * @param schemaRegistryName Schema registry name parameter.
         * 
         * @return builder
         * 
         */
        public Builder schemaRegistryName(String schemaRegistryName) {
            return schemaRegistryName(Output.of(schemaRegistryName));
        }

        /**
         * @param storageAccountContainerUrl The Storage Account's Container URL where schemas will be stored.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountContainerUrl(Output storageAccountContainerUrl) {
            $.storageAccountContainerUrl = storageAccountContainerUrl;
            return this;
        }

        /**
         * @param storageAccountContainerUrl The Storage Account's Container URL where schemas will be stored.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountContainerUrl(String storageAccountContainerUrl) {
            return storageAccountContainerUrl(Output.of(storageAccountContainerUrl));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public SchemaRegistryArgs build() {
            if ($.namespace == null) {
                throw new MissingRequiredPropertyException("SchemaRegistryArgs", "namespace");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SchemaRegistryArgs", "resourceGroupName");
            }
            if ($.storageAccountContainerUrl == null) {
                throw new MissingRequiredPropertyException("SchemaRegistryArgs", "storageAccountContainerUrl");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy