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

com.pulumi.azurenative.synapse.SqlPoolSensitivityLabelArgs 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.synapse;

import com.pulumi.azurenative.synapse.enums.SensitivityLabelRank;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SqlPoolSensitivityLabelArgs extends com.pulumi.resources.ResourceArgs {

    public static final SqlPoolSensitivityLabelArgs Empty = new SqlPoolSensitivityLabelArgs();

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

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

    /**
     * The information type.
     * 
     */
    @Import(name="informationType")
    private @Nullable Output informationType;

    /**
     * @return The information type.
     * 
     */
    public Optional> informationType() {
        return Optional.ofNullable(this.informationType);
    }

    /**
     * The information type ID.
     * 
     */
    @Import(name="informationTypeId")
    private @Nullable Output informationTypeId;

    /**
     * @return The information type ID.
     * 
     */
    public Optional> informationTypeId() {
        return Optional.ofNullable(this.informationTypeId);
    }

    /**
     * The label ID.
     * 
     */
    @Import(name="labelId")
    private @Nullable Output labelId;

    /**
     * @return The label ID.
     * 
     */
    public Optional> labelId() {
        return Optional.ofNullable(this.labelId);
    }

    /**
     * The label name.
     * 
     */
    @Import(name="labelName")
    private @Nullable Output labelName;

    /**
     * @return The label name.
     * 
     */
    public Optional> labelName() {
        return Optional.ofNullable(this.labelName);
    }

    @Import(name="rank")
    private @Nullable Output rank;

    public Optional> rank() {
        return Optional.ofNullable(this.rank);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

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

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

    /**
     * The source of the sensitivity label.
     * 
     */
    @Import(name="sensitivityLabelSource")
    private @Nullable Output sensitivityLabelSource;

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

    /**
     * SQL pool name
     * 
     */
    @Import(name="sqlPoolName", required=true)
    private Output sqlPoolName;

    /**
     * @return SQL pool name
     * 
     */
    public Output sqlPoolName() {
        return this.sqlPoolName;
    }

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

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

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

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

    private SqlPoolSensitivityLabelArgs() {}

    private SqlPoolSensitivityLabelArgs(SqlPoolSensitivityLabelArgs $) {
        this.columnName = $.columnName;
        this.informationType = $.informationType;
        this.informationTypeId = $.informationTypeId;
        this.labelId = $.labelId;
        this.labelName = $.labelName;
        this.rank = $.rank;
        this.resourceGroupName = $.resourceGroupName;
        this.schemaName = $.schemaName;
        this.sensitivityLabelSource = $.sensitivityLabelSource;
        this.sqlPoolName = $.sqlPoolName;
        this.tableName = $.tableName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private SqlPoolSensitivityLabelArgs $;

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

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

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

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

        /**
         * @param informationType The information type.
         * 
         * @return builder
         * 
         */
        public Builder informationType(@Nullable Output informationType) {
            $.informationType = informationType;
            return this;
        }

        /**
         * @param informationType The information type.
         * 
         * @return builder
         * 
         */
        public Builder informationType(String informationType) {
            return informationType(Output.of(informationType));
        }

        /**
         * @param informationTypeId The information type ID.
         * 
         * @return builder
         * 
         */
        public Builder informationTypeId(@Nullable Output informationTypeId) {
            $.informationTypeId = informationTypeId;
            return this;
        }

        /**
         * @param informationTypeId The information type ID.
         * 
         * @return builder
         * 
         */
        public Builder informationTypeId(String informationTypeId) {
            return informationTypeId(Output.of(informationTypeId));
        }

        /**
         * @param labelId The label ID.
         * 
         * @return builder
         * 
         */
        public Builder labelId(@Nullable Output labelId) {
            $.labelId = labelId;
            return this;
        }

        /**
         * @param labelId The label ID.
         * 
         * @return builder
         * 
         */
        public Builder labelId(String labelId) {
            return labelId(Output.of(labelId));
        }

        /**
         * @param labelName The label name.
         * 
         * @return builder
         * 
         */
        public Builder labelName(@Nullable Output labelName) {
            $.labelName = labelName;
            return this;
        }

        /**
         * @param labelName The label name.
         * 
         * @return builder
         * 
         */
        public Builder labelName(String labelName) {
            return labelName(Output.of(labelName));
        }

        public Builder rank(@Nullable Output rank) {
            $.rank = rank;
            return this;
        }

        public Builder rank(SensitivityLabelRank rank) {
            return rank(Output.of(rank));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

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

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

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

        /**
         * @param sqlPoolName SQL pool name
         * 
         * @return builder
         * 
         */
        public Builder sqlPoolName(Output sqlPoolName) {
            $.sqlPoolName = sqlPoolName;
            return this;
        }

        /**
         * @param sqlPoolName SQL pool name
         * 
         * @return builder
         * 
         */
        public Builder sqlPoolName(String sqlPoolName) {
            return sqlPoolName(Output.of(sqlPoolName));
        }

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

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

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

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

        public SqlPoolSensitivityLabelArgs build() {
            if ($.columnName == null) {
                throw new MissingRequiredPropertyException("SqlPoolSensitivityLabelArgs", "columnName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SqlPoolSensitivityLabelArgs", "resourceGroupName");
            }
            if ($.schemaName == null) {
                throw new MissingRequiredPropertyException("SqlPoolSensitivityLabelArgs", "schemaName");
            }
            if ($.sqlPoolName == null) {
                throw new MissingRequiredPropertyException("SqlPoolSensitivityLabelArgs", "sqlPoolName");
            }
            if ($.tableName == null) {
                throw new MissingRequiredPropertyException("SqlPoolSensitivityLabelArgs", "tableName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("SqlPoolSensitivityLabelArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy