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: BehaviorPropertyCollection, KeyedCollection, Collection, ReadOnlyCollection, List
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. |
Returns: void
setEnabled
| Name | Description |
|---|---|
| setEnabled (boolean) | Indicates whether the sensitivity label is enabled. |
Returns: void
setId
| Name | Description |
|---|---|
| setId (String) | Returns or sets the id of sensitivity label. Read/write String. |
Returns: void
setRemoved
| Name | Description |
|---|---|
| setRemoved (boolean) | Indicates whether the sensitivity label was removed. |
Returns: void
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. |
Returns: void