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

com.pulumi.azurenative.sql.inputs.GetServerTrustGroupArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetServerTrustGroupArgs Empty = new GetServerTrustGroupArgs();

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

    /**
     * @return The name of the region where the resource is located.
     * 
     */
    public Output 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 Output 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 Output resourceGroupName() {
        return this.resourceGroupName;
    }

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

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

    private GetServerTrustGroupArgs() {}

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

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

    public static final class Builder {
        private GetServerTrustGroupArgs $;

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

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

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

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

        /**
         * @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(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            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) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy