com.pulumi.azurenative.sql.inputs.GetManagedDatabaseSensitivityLabelArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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 GetManagedDatabaseSensitivityLabelArgs extends com.pulumi.resources.InvokeArgs {
public static final GetManagedDatabaseSensitivityLabelArgs Empty = new GetManagedDatabaseSensitivityLabelArgs();
/**
* 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 name of the database.
*
*/
@Import(name="databaseName", required=true)
private Output databaseName;
/**
* @return The name of the database.
*
*/
public Output databaseName() {
return this.databaseName;
}
/**
* The name of the managed instance.
*
*/
@Import(name="managedInstanceName", required=true)
private Output managedInstanceName;
/**
* @return The name of the managed instance.
*
*/
public Output managedInstanceName() {
return this.managedInstanceName;
}
/**
* 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 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", required=true)
private Output sensitivityLabelSource;
/**
* @return The source of the sensitivity label.
*
*/
public Output sensitivityLabelSource() {
return this.sensitivityLabelSource;
}
/**
* 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;
}
private GetManagedDatabaseSensitivityLabelArgs() {}
private GetManagedDatabaseSensitivityLabelArgs(GetManagedDatabaseSensitivityLabelArgs $) {
this.columnName = $.columnName;
this.databaseName = $.databaseName;
this.managedInstanceName = $.managedInstanceName;
this.resourceGroupName = $.resourceGroupName;
this.schemaName = $.schemaName;
this.sensitivityLabelSource = $.sensitivityLabelSource;
this.tableName = $.tableName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetManagedDatabaseSensitivityLabelArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetManagedDatabaseSensitivityLabelArgs $;
public Builder() {
$ = new GetManagedDatabaseSensitivityLabelArgs();
}
public Builder(GetManagedDatabaseSensitivityLabelArgs defaults) {
$ = new GetManagedDatabaseSensitivityLabelArgs(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 databaseName The name of the database.
*
* @return builder
*
*/
public Builder databaseName(Output databaseName) {
$.databaseName = databaseName;
return this;
}
/**
* @param databaseName The name of the database.
*
* @return builder
*
*/
public Builder databaseName(String databaseName) {
return databaseName(Output.of(databaseName));
}
/**
* @param managedInstanceName The name of the managed instance.
*
* @return builder
*
*/
public Builder managedInstanceName(Output managedInstanceName) {
$.managedInstanceName = managedInstanceName;
return this;
}
/**
* @param managedInstanceName The name of the managed instance.
*
* @return builder
*
*/
public Builder managedInstanceName(String managedInstanceName) {
return managedInstanceName(Output.of(managedInstanceName));
}
/**
* @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 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(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 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));
}
public GetManagedDatabaseSensitivityLabelArgs build() {
if ($.columnName == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "columnName");
}
if ($.databaseName == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "databaseName");
}
if ($.managedInstanceName == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "managedInstanceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "resourceGroupName");
}
if ($.schemaName == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "schemaName");
}
if ($.sensitivityLabelSource == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "sensitivityLabelSource");
}
if ($.tableName == null) {
throw new MissingRequiredPropertyException("GetManagedDatabaseSensitivityLabelArgs", "tableName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy