
com.pulumi.azurenative.sql.outputs.GetSensitivityLabelResult 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetSensitivityLabelResult {
/**
* @return The column name.
*
*/
private String columnName;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return The information type.
*
*/
private @Nullable String informationType;
/**
* @return The information type ID.
*
*/
private @Nullable String informationTypeId;
/**
* @return Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
*
*/
private Boolean isDisabled;
/**
* @return The label ID.
*
*/
private @Nullable String labelId;
/**
* @return The label name.
*
*/
private @Nullable String labelName;
/**
* @return Resource that manages the sensitivity label.
*
*/
private String managedBy;
/**
* @return Resource name.
*
*/
private String name;
private @Nullable String rank;
/**
* @return The schema name.
*
*/
private String schemaName;
/**
* @return The table name.
*
*/
private String tableName;
/**
* @return Resource type.
*
*/
private String type;
private GetSensitivityLabelResult() {}
/**
* @return The column name.
*
*/
public String columnName() {
return this.columnName;
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return The information type.
*
*/
public Optional informationType() {
return Optional.ofNullable(this.informationType);
}
/**
* @return The information type ID.
*
*/
public Optional informationTypeId() {
return Optional.ofNullable(this.informationTypeId);
}
/**
* @return Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
*
*/
public Boolean isDisabled() {
return this.isDisabled;
}
/**
* @return The label ID.
*
*/
public Optional labelId() {
return Optional.ofNullable(this.labelId);
}
/**
* @return The label name.
*
*/
public Optional labelName() {
return Optional.ofNullable(this.labelName);
}
/**
* @return Resource that manages the sensitivity label.
*
*/
public String managedBy() {
return this.managedBy;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
public Optional rank() {
return Optional.ofNullable(this.rank);
}
/**
* @return The schema name.
*
*/
public String schemaName() {
return this.schemaName;
}
/**
* @return The table name.
*
*/
public String tableName() {
return this.tableName;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSensitivityLabelResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String columnName;
private String id;
private @Nullable String informationType;
private @Nullable String informationTypeId;
private Boolean isDisabled;
private @Nullable String labelId;
private @Nullable String labelName;
private String managedBy;
private String name;
private @Nullable String rank;
private String schemaName;
private String tableName;
private String type;
public Builder() {}
public Builder(GetSensitivityLabelResult defaults) {
Objects.requireNonNull(defaults);
this.columnName = defaults.columnName;
this.id = defaults.id;
this.informationType = defaults.informationType;
this.informationTypeId = defaults.informationTypeId;
this.isDisabled = defaults.isDisabled;
this.labelId = defaults.labelId;
this.labelName = defaults.labelName;
this.managedBy = defaults.managedBy;
this.name = defaults.name;
this.rank = defaults.rank;
this.schemaName = defaults.schemaName;
this.tableName = defaults.tableName;
this.type = defaults.type;
}
@CustomType.Setter
public Builder columnName(String columnName) {
if (columnName == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "columnName");
}
this.columnName = columnName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder informationType(@Nullable String informationType) {
this.informationType = informationType;
return this;
}
@CustomType.Setter
public Builder informationTypeId(@Nullable String informationTypeId) {
this.informationTypeId = informationTypeId;
return this;
}
@CustomType.Setter
public Builder isDisabled(Boolean isDisabled) {
if (isDisabled == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "isDisabled");
}
this.isDisabled = isDisabled;
return this;
}
@CustomType.Setter
public Builder labelId(@Nullable String labelId) {
this.labelId = labelId;
return this;
}
@CustomType.Setter
public Builder labelName(@Nullable String labelName) {
this.labelName = labelName;
return this;
}
@CustomType.Setter
public Builder managedBy(String managedBy) {
if (managedBy == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "managedBy");
}
this.managedBy = managedBy;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder rank(@Nullable String rank) {
this.rank = rank;
return this;
}
@CustomType.Setter
public Builder schemaName(String schemaName) {
if (schemaName == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "schemaName");
}
this.schemaName = schemaName;
return this;
}
@CustomType.Setter
public Builder tableName(String tableName) {
if (tableName == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "tableName");
}
this.tableName = tableName;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetSensitivityLabelResult", "type");
}
this.type = type;
return this;
}
public GetSensitivityLabelResult build() {
final var _resultValue = new GetSensitivityLabelResult();
_resultValue.columnName = columnName;
_resultValue.id = id;
_resultValue.informationType = informationType;
_resultValue.informationTypeId = informationTypeId;
_resultValue.isDisabled = isDisabled;
_resultValue.labelId = labelId;
_resultValue.labelName = labelName;
_resultValue.managedBy = managedBy;
_resultValue.name = name;
_resultValue.rank = rank;
_resultValue.schemaName = schemaName;
_resultValue.tableName = tableName;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy