SensitivityLabel Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. SensitivityLabel
- com.
public final class SensitivityLabel
The sensitivity label.
Constructor Summary
Constructor | Description |
---|---|
SensitivityLabel() |
Creates an instance of Sensitivity |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of the sensitivity label. |
String |
displayName()
Get the display |
Boolean |
enabled()
Get the enabled property: Indicates whether the label is enabled or not. |
Integer |
order()
Get the order property: The order of the sensitivity label. |
Rank |
rank()
Get the rank property: The rank of the sensitivity label. |
void |
validate()
Validates the instance. |
Sensitivity |
withDescription(String description)
Set the description property: The description of the sensitivity label. |
Sensitivity |
withDisplayName(String displayName)
Set the display |
Sensitivity |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the label is enabled or not. |
Sensitivity |
withOrder(Integer order)
Set the order property: The order of the sensitivity label. |
Sensitivity |
withRank(Rank rank)
Set the rank property: The rank of the sensitivity label. |
Methods inherited from java.lang.Object
Constructor Details
SensitivityLabel
public SensitivityLabel()
Creates an instance of SensitivityLabel class.
Method Details
description
public String description()
Get the description property: The description of the sensitivity label.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the sensitivity label.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Indicates whether the label is enabled or not.
Returns:
order
public Integer order()
Get the order property: The order of the sensitivity label.
Returns:
rank
public Rank rank()
Get the rank property: The rank of the sensitivity label.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public SensitivityLabel withDescription(String description)
Set the description property: The description of the sensitivity label.
Parameters:
Returns:
withDisplayName
public SensitivityLabel withDisplayName(String displayName)
Set the displayName property: The name of the sensitivity label.
Parameters:
Returns:
withEnabled
public SensitivityLabel withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the label is enabled or not.
Parameters:
Returns:
withOrder
public SensitivityLabel withOrder(Integer order)
Set the order property: The order of the sensitivity label.
Parameters:
Returns:
withRank
public SensitivityLabel withRank(Rank rank)
Set the rank property: The rank of the sensitivity label.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for