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

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

    public static final GetServerTrustGroupPlainArgs Empty = new GetServerTrustGroupPlainArgs();

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

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

    /**
     * @return The name of the server trust group.
     * 
     */
    public String serverTrustGroupName() {
        return this.serverTrustGroupName;
    }

    private GetServerTrustGroupPlainArgs() {}

    private GetServerTrustGroupPlainArgs(GetServerTrustGroupPlainArgs $) {
        this.locationName = $.locationName;
        this.resourceGroupName = $.resourceGroupName;
        this.serverTrustGroupName = $.serverTrustGroupName;
    }

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

    public static final class Builder {
        private GetServerTrustGroupPlainArgs $;

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy