Class SensitivityLabelProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.SensitivityLabelProperties
-
public final class SensitivityLabelProperties extends Object
Properties of a sensitivity label.
-
-
Constructor Summary
Constructors Constructor Description SensitivityLabelProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
columnName()
Get the columnName property: The column name.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.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.
-
-
-
Method Detail
-
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.
-
columnName
public String columnName()
Get the columnName property: The column name.- Returns:
- the columnName value.
-
labelName
public String labelName()
Get the labelName property: The label name.- Returns:
- the labelName value.
-
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.
-
labelId
public String labelId()
Get the labelId property: The label ID.- Returns:
- the labelId value.
-
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.
-
informationType
public String informationType()
Get the informationType property: The information type.- Returns:
- the informationType value.
-
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.
-
informationTypeId
public String informationTypeId()
Get the informationTypeId property: The information type ID.- Returns:
- the informationTypeId value.
-
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.
-
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.
-
rank
public SensitivityLabelRank rank()
Get the rank property: The rank property.- Returns:
- the rank value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-