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

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

    public static final GetReplicaArgs Empty = new GetReplicaArgs();

    /**
     * The name of the configuration store.
     * 
     */
    @Import(name="configStoreName", required=true)
    private Output configStoreName;

    /**
     * @return The name of the configuration store.
     * 
     */
    public Output configStoreName() {
        return this.configStoreName;
    }

    /**
     * The name of the replica.
     * 
     */
    @Import(name="replicaName", required=true)
    private Output replicaName;

    /**
     * @return The name of the replica.
     * 
     */
    public Output replicaName() {
        return this.replicaName;
    }

    /**
     * The name of the resource group to which the container registry belongs.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group to which the container registry belongs.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetReplicaArgs() {}

    private GetReplicaArgs(GetReplicaArgs $) {
        this.configStoreName = $.configStoreName;
        this.replicaName = $.replicaName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetReplicaArgs $;

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

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

        /**
         * @param configStoreName The name of the configuration store.
         * 
         * @return builder
         * 
         */
        public Builder configStoreName(Output configStoreName) {
            $.configStoreName = configStoreName;
            return this;
        }

        /**
         * @param configStoreName The name of the configuration store.
         * 
         * @return builder
         * 
         */
        public Builder configStoreName(String configStoreName) {
            return configStoreName(Output.of(configStoreName));
        }

        /**
         * @param replicaName The name of the replica.
         * 
         * @return builder
         * 
         */
        public Builder replicaName(Output replicaName) {
            $.replicaName = replicaName;
            return this;
        }

        /**
         * @param replicaName The name of the replica.
         * 
         * @return builder
         * 
         */
        public Builder replicaName(String replicaName) {
            return replicaName(Output.of(replicaName));
        }

        /**
         * @param resourceGroupName The name of the resource group to which the container registry belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group to which the container registry belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetReplicaArgs build() {
            if ($.configStoreName == null) {
                throw new MissingRequiredPropertyException("GetReplicaArgs", "configStoreName");
            }
            if ($.replicaName == null) {
                throw new MissingRequiredPropertyException("GetReplicaArgs", "replicaName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetReplicaArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy