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

com.pulumi.azurenative.sql.inputs.GetInstanceFailoverGroupPlainArgs 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.sql.inputs;

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


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

    public static final GetInstanceFailoverGroupPlainArgs Empty = new GetInstanceFailoverGroupPlainArgs();

    /**
     * The name of the failover group.
     * 
     */
    @Import(name="failoverGroupName", required=true)
    private String failoverGroupName;

    /**
     * @return The name of the failover group.
     * 
     */
    public String failoverGroupName() {
        return this.failoverGroupName;
    }

    /**
     * The name of the region where the resource is located.
     * 
     */
    @Import(name="locationName", required=true)
    private String locationName;

    /**
     * @return The name of the region where the resource is located.
     * 
     */
    public String locationName() {
        return this.locationName;
    }

    /**
     * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetInstanceFailoverGroupPlainArgs() {}

    private GetInstanceFailoverGroupPlainArgs(GetInstanceFailoverGroupPlainArgs $) {
        this.failoverGroupName = $.failoverGroupName;
        this.locationName = $.locationName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetInstanceFailoverGroupPlainArgs $;

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

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

        /**
         * @param failoverGroupName The name of the failover group.
         * 
         * @return builder
         * 
         */
        public Builder failoverGroupName(String failoverGroupName) {
            $.failoverGroupName = failoverGroupName;
            return this;
        }

        /**
         * @param locationName The name of the region where the resource is located.
         * 
         * @return builder
         * 
         */
        public Builder locationName(String locationName) {
            $.locationName = locationName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetInstanceFailoverGroupPlainArgs build() {
            if ($.failoverGroupName == null) {
                throw new MissingRequiredPropertyException("GetInstanceFailoverGroupPlainArgs", "failoverGroupName");
            }
            if ($.locationName == null) {
                throw new MissingRequiredPropertyException("GetInstanceFailoverGroupPlainArgs", "locationName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetInstanceFailoverGroupPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy