Del via


SensitivityLabelProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.SensitivityLabelProperties

Implements

public final class SensitivityLabelProperties
implements JsonSerializable<SensitivityLabelProperties>

Properties of a sensitivity label.

Constructor Summary

Constructor Description
SensitivityLabelProperties()

Creates an instance of SensitivityLabelProperties class.

Method Summary

Modifier and Type Method and Description
String columnName()

Get the columnName property: The column name.

static SensitivityLabelProperties fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelProperties from the JsonReader.

String informationType()

Get the informationType property: The information type.

String informationTypeId()

Get the informationTypeId property: The information type ID.

Boolean isDisabled()

Get the isDisabled property: Is sensitivity recommendation disabled.

String labelId()

Get the labelId property: The label ID.

String labelName()

Get the labelName property: The label name.

SensitivityLabelRank rank()

Get the rank property: The rank property.

String schemaName()

Get the schemaName property: The schema name.

String tableName()

Get the tableName property: The table name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SensitivityLabelProperties withInformationType(String informationType)

Set the informationType property: The information type.

SensitivityLabelProperties withInformationTypeId(String informationTypeId)

Set the informationTypeId property: The information type ID.

SensitivityLabelProperties withLabelId(String labelId)

Set the labelId property: The label ID.

SensitivityLabelProperties withLabelName(String labelName)

Set the labelName property: The label name.

SensitivityLabelProperties withRank(SensitivityLabelRank rank)

Set the rank property: The rank property.

Methods inherited from java.lang.Object

Constructor Details

SensitivityLabelProperties

public SensitivityLabelProperties()

Creates an instance of SensitivityLabelProperties class.

Method Details

columnName

public String columnName()

Get the columnName property: The column name.

Returns:

the columnName value.

fromJson

public static SensitivityLabelProperties fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SensitivityLabelProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SensitivityLabelProperties.

informationType

public String informationType()

Get the informationType property: The information type.

Returns:

the informationType value.

informationTypeId

public String informationTypeId()

Get the informationTypeId property: The information type ID.

Returns:

the informationTypeId value.

isDisabled

public Boolean isDisabled()

Get the isDisabled property: Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.

Returns:

the isDisabled value.

labelId

public String labelId()

Get the labelId property: The label ID.

Returns:

the labelId value.

labelName

public String labelName()

Get the labelName property: The label name.

Returns:

the labelName value.

rank

public SensitivityLabelRank rank()

Get the rank property: The rank property.

Returns:

the rank value.

schemaName

public String schemaName()

Get the schemaName property: The schema name.

Returns:

the schemaName value.

tableName

public String tableName()

Get the tableName property: The table name.

Returns:

the tableName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withInformationType

public SensitivityLabelProperties withInformationType(String informationType)

Set the informationType property: The information type.

Parameters:

informationType - the informationType value to set.

Returns:

the SensitivityLabelProperties object itself.

withInformationTypeId

public SensitivityLabelProperties withInformationTypeId(String informationTypeId)

Set the informationTypeId property: The information type ID.

Parameters:

informationTypeId - the informationTypeId value to set.

Returns:

the SensitivityLabelProperties object itself.

withLabelId

public SensitivityLabelProperties withLabelId(String labelId)

Set the labelId property: The label ID.

Parameters:

labelId - the labelId value to set.

Returns:

the SensitivityLabelProperties object itself.

withLabelName

public SensitivityLabelProperties withLabelName(String labelName)

Set the labelName property: The label name.

Parameters:

labelName - the labelName value to set.

Returns:

the SensitivityLabelProperties object itself.

withRank

public SensitivityLabelProperties withRank(SensitivityLabelRank rank)

Set the rank property: The rank property.

Parameters:

rank - the rank value to set.

Returns:

the SensitivityLabelProperties object itself.

Applies to