SensitivityLabelProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. SensitivityLabelProperties
- com.
Implements
public final class SensitivityLabelProperties
implements JsonSerializable<SensitivityLabelProperties>
Properties of a sensitivity label.
Constructor Summary
| Constructor | Description |
|---|---|
| SensitivityLabelProperties() |
Creates an instance of Sensitivity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
columnName()
Get the column |
|
static
Sensitivity |
fromJson(JsonReader jsonReader)
Reads an instance of Sensitivity |
| String |
informationType()
Get the information |
| String |
informationTypeId()
Get the information |
| Boolean |
isDisabled()
Get the is |
| String |
labelId()
Get the label |
| String |
labelName()
Get the label |
|
Sensitivity |
rank()
Get the rank property: The rank property. |
| String |
schemaName()
Get the schema |
| String |
tableName()
Get the table |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sensitivity |
withInformationType(String informationType)
Set the information |
|
Sensitivity |
withInformationTypeId(String informationTypeId)
Set the information |
|
Sensitivity |
withLabelId(String labelId)
Set the label |
|
Sensitivity |
withLabelName(String labelName)
Set the label |
|
Sensitivity |
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:
fromJson
public static SensitivityLabelProperties fromJson(JsonReader jsonReader)
Reads an instance of SensitivityLabelProperties from the JsonReader.
Parameters:
Returns:
Throws:
informationType
public String informationType()
Get the informationType property: The information type.
Returns:
informationTypeId
public String informationTypeId()
Get the informationTypeId property: The information type ID.
Returns:
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:
labelId
public String labelId()
Get the labelId property: The label ID.
Returns:
labelName
public String labelName()
Get the labelName property: The label name.
Returns:
rank
public SensitivityLabelRank rank()
Get the rank property: The rank property.
Returns:
schemaName
public String schemaName()
Get the schemaName property: The schema name.
Returns:
tableName
public String tableName()
Get the tableName property: The table name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInformationType
public SensitivityLabelProperties withInformationType(String informationType)
Set the informationType property: The information type.
Parameters:
Returns:
withInformationTypeId
public SensitivityLabelProperties withInformationTypeId(String informationTypeId)
Set the informationTypeId property: The information type ID.
Parameters:
Returns:
withLabelId
public SensitivityLabelProperties withLabelId(String labelId)
Set the labelId property: The label ID.
Parameters:
Returns:
withLabelName
public SensitivityLabelProperties withLabelName(String labelName)
Set the labelName property: The label name.
Parameters:
Returns:
withRank
public SensitivityLabelProperties withRank(SensitivityLabelRank rank)
Set the rank property: The rank property.
Parameters:
Returns: