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

com.pulumi.azurenative.sql.inputs.GetSensitivityLabelPlainArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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 GetSensitivityLabelPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSensitivityLabelPlainArgs Empty = new GetSensitivityLabelPlainArgs();

    /**
     * The name of the column.
     * 
     */
    @Import(name="columnName", required=true)
    private String columnName;

    /**
     * @return The name of the column.
     * 
     */
    public String columnName() {
        return this.columnName;
    }

    /**
     * The name of the database.
     * 
     */
    @Import(name="databaseName", required=true)
    private String databaseName;

    /**
     * @return The name of the database.
     * 
     */
    public String databaseName() {
        return this.databaseName;
    }

    /**
     * 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 schema.
     * 
     */
    @Import(name="schemaName", required=true)
    private String schemaName;

    /**
     * @return The name of the schema.
     * 
     */
    public String schemaName() {
        return this.schemaName;
    }

    /**
     * The source of the sensitivity label.
     * 
     */
    @Import(name="sensitivityLabelSource", required=true)
    private String sensitivityLabelSource;

    /**
     * @return The source of the sensitivity label.
     * 
     */
    public String sensitivityLabelSource() {
        return this.sensitivityLabelSource;
    }

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

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

    /**
     * The name of the table.
     * 
     */
    @Import(name="tableName", required=true)
    private String tableName;

    /**
     * @return The name of the table.
     * 
     */
    public String tableName() {
        return this.tableName;
    }

    private GetSensitivityLabelPlainArgs() {}

    private GetSensitivityLabelPlainArgs(GetSensitivityLabelPlainArgs $) {
        this.columnName = $.columnName;
        this.databaseName = $.databaseName;
        this.resourceGroupName = $.resourceGroupName;
        this.schemaName = $.schemaName;
        this.sensitivityLabelSource = $.sensitivityLabelSource;
        this.serverName = $.serverName;
        this.tableName = $.tableName;
    }

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

    public static final class Builder {
        private GetSensitivityLabelPlainArgs $;

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

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

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

        /**
         * @param databaseName The name of the database.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            $.databaseName = databaseName;
            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 schemaName The name of the schema.
         * 
         * @return builder
         * 
         */
        public Builder schemaName(String schemaName) {
            $.schemaName = schemaName;
            return this;
        }

        /**
         * @param sensitivityLabelSource The source of the sensitivity label.
         * 
         * @return builder
         * 
         */
        public Builder sensitivityLabelSource(String sensitivityLabelSource) {
            $.sensitivityLabelSource = sensitivityLabelSource;
            return this;
        }

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

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

        public GetSensitivityLabelPlainArgs build() {
            if ($.columnName == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "columnName");
            }
            if ($.databaseName == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "databaseName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "resourceGroupName");
            }
            if ($.schemaName == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "schemaName");
            }
            if ($.sensitivityLabelSource == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "sensitivityLabelSource");
            }
            if ($.serverName == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "serverName");
            }
            if ($.tableName == null) {
                throw new MissingRequiredPropertyException("GetSensitivityLabelPlainArgs", "tableName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy