Class SensitivityLabel
java.lang.Object
com.azure.resourcemanager.security.models.SensitivityLabel
The sensitivity label.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the sensitivity label.Get the displayName property: The name of the sensitivity label.enabled()
Get the enabled property: Indicates whether the label is enabled or not.order()
Get the order property: The order of the sensitivity label.rank()
Get the rank property: The rank of the sensitivity label.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description of the sensitivity label.withDisplayName
(String displayName) Set the displayName property: The name of the sensitivity label.withEnabled
(Boolean enabled) Set the enabled property: Indicates whether the label is enabled or not.Set the order property: The order of the sensitivity label.Set the rank property: The rank of the sensitivity label.
-
Constructor Details
-
SensitivityLabel
public SensitivityLabel()Creates an instance of SensitivityLabel class.
-
-
Method Details
-
displayName
Get the displayName property: The name of the sensitivity label.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The name of the sensitivity label.- Parameters:
displayName
- the displayName value to set.- Returns:
- the SensitivityLabel object itself.
-
description
Get the description property: The description of the sensitivity label.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the sensitivity label.- Parameters:
description
- the description value to set.- Returns:
- the SensitivityLabel object itself.
-
rank
Get the rank property: The rank of the sensitivity label.- Returns:
- the rank value.
-
withRank
Set the rank property: The rank of the sensitivity label.- Parameters:
rank
- the rank value to set.- Returns:
- the SensitivityLabel object itself.
-
order
Get the order property: The order of the sensitivity label.- Returns:
- the order value.
-
withOrder
Set the order property: The order of the sensitivity label.- Parameters:
order
- the order value to set.- Returns:
- the SensitivityLabel object itself.
-
enabled
Get the enabled property: Indicates whether the label is enabled or not.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Indicates whether the label is enabled or not.- Parameters:
enabled
- the enabled value to set.- Returns:
- the SensitivityLabel object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-