Class SensitivityLabelInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.SensitivityLabelInner
-
public class SensitivityLabelInner extends com.azure.core.management.ProxyResourceA sensitivity label.
-
-
Constructor Summary
Constructors Constructor Description SensitivityLabelInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringinformationType()Get the informationType property: The information type.StringinformationTypeId()Get the informationTypeId property: The information type ID.BooleanisDisabled()Get the isDisabled property: Is sensitivity recommendation disabled.StringlabelId()Get the labelId property: The label ID.StringlabelName()Get the labelName property: The label name.SensitivityLabelRankrank()Get the rank property: The rank property.voidvalidate()Validates the instance.SensitivityLabelInnerwithInformationType(String informationType)Set the informationType property: The information type.SensitivityLabelInnerwithInformationTypeId(String informationTypeId)Set the informationTypeId property: The information type ID.SensitivityLabelInnerwithLabelId(String labelId)Set the labelId property: The label ID.SensitivityLabelInnerwithLabelName(String labelName)Set the labelName property: The label name.SensitivityLabelInnerwithRank(SensitivityLabelRank rank)Set the rank property: The rank property.
-
-
-
Method Detail
-
labelName
public String labelName()
Get the labelName property: The label name.- Returns:
- the labelName value.
-
withLabelName
public SensitivityLabelInner withLabelName(String labelName)
Set the labelName property: The label name.- Parameters:
labelName- the labelName value to set.- Returns:
- the SensitivityLabelInner object itself.
-
labelId
public String labelId()
Get the labelId property: The label ID.- Returns:
- the labelId value.
-
withLabelId
public SensitivityLabelInner withLabelId(String labelId)
Set the labelId property: The label ID.- Parameters:
labelId- the labelId value to set.- Returns:
- the SensitivityLabelInner object itself.
-
informationType
public String informationType()
Get the informationType property: The information type.- Returns:
- the informationType value.
-
withInformationType
public SensitivityLabelInner withInformationType(String informationType)
Set the informationType property: The information type.- Parameters:
informationType- the informationType value to set.- Returns:
- the SensitivityLabelInner object itself.
-
informationTypeId
public String informationTypeId()
Get the informationTypeId property: The information type ID.- Returns:
- the informationTypeId value.
-
withInformationTypeId
public SensitivityLabelInner withInformationTypeId(String informationTypeId)
Set the informationTypeId property: The information type ID.- Parameters:
informationTypeId- the informationTypeId value to set.- Returns:
- the SensitivityLabelInner 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 SensitivityLabelInner withRank(SensitivityLabelRank rank)
Set the rank property: The rank property.- Parameters:
rank- the rank value to set.- Returns:
- the SensitivityLabelInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-