SensitivityLabel
SensitivityLabel class
Represents the sensitivity label from Microsoft Purview Information Protection.
getAssignmentMethodType
| Name | Description |
|---|
| getAssignmentMethodType() | Returns or sets the assignment method for the sensitivity label. Read/write SensitivityLabelAssignmentType. |
Returns:
int
getContentMarkTypes
| Name | Description |
|---|
| getContentMarkTypes() | Returns the list of types of content marking that ought to be applied to a file. |
Returns:
Collection, List, ReadOnlyCollection, KeyedCollection, BehaviorPropertyCollection
getId
| Name | Description |
|---|
| getId() | Returns or sets the id of sensitivity label. Read/write String. |
Returns:
String
getSiteId
| Name | Description |
|---|
| getSiteId() | Returns or sets the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. Read/write java.util.UUID. |
Returns:
UUID
isEnabled
| Name | Description |
|---|
| isEnabled() | Indicates whether the sensitivity label is enabled. |
Returns:
boolean
isRemoved
| Name | Description |
|---|
| isRemoved() | Indicates whether the sensitivity label was removed. |
Returns:
boolean
setAssignmentMethodType
| Name | Description |
|---|
| setAssignmentMethodType(int) | Returns or sets the assignment method for the sensitivity label. Read/write SensitivityLabelAssignmentType. |
setEnabled
| Name | Description |
|---|
| setEnabled(boolean) | Indicates whether the sensitivity label is enabled. |
setId
| Name | Description |
|---|
| setId(String) | Returns or sets the id of sensitivity label. Read/write String. |
setRemoved
| Name | Description |
|---|
| setRemoved(boolean) | Indicates whether the sensitivity label was removed. |
setSiteId
| Name | Description |
|---|
| setSiteId(UUID) | Returns or sets the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. Read/write java.util.UUID. |