SensitivityLabel
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.ISensitivityLabel
public final class SensitivityLabel implements ISensitivityLabel
Represents the sensitivity label from Microsoft Purview Information Protection.
Methods
| Method | Description |
|---|---|
| getId() | Returns or sets the id of sensitivity label. |
| setId(String value) | Returns or sets the id of sensitivity label. |
| getSiteId() | Returns or sets the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| setSiteId(UUID value) | Returns or sets the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| isEnabled() | Indicates whether the sensitivity label is enabled. |
| setEnabled(boolean value) | Indicates whether the sensitivity label is enabled. |
| isRemoved() | Indicates whether the sensitivity label was removed. |
| setRemoved(boolean value) | Indicates whether the sensitivity label was removed. |
| getAssignmentMethodType() | Returns or sets the assignment method for the sensitivity label. |
| setAssignmentMethodType(int value) | Returns or sets the assignment method for the sensitivity label. |
| getContentMarkTypes() | Returns the list of types of content marking that ought to be applied to a file. |
getId()
public final String getId()
Returns or sets the id of sensitivity label. Read/write String.
Returns: java.lang.String
setId(String value)
public final void setId(String value)
Returns or sets the id of sensitivity label. Read/write String.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
getSiteId()
public final UUID 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: java.util.UUID
setSiteId(UUID value)
public final void setSiteId(UUID value)
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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.UUID |
isEnabled()
public final boolean isEnabled()
Indicates whether the sensitivity label is enabled.
Returns: boolean
setEnabled(boolean value)
public final void setEnabled(boolean value)
Indicates whether the sensitivity label is enabled.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
isRemoved()
public final boolean isRemoved()
Indicates whether the sensitivity label was removed.
Returns: boolean
setRemoved(boolean value)
public final void setRemoved(boolean value)
Indicates whether the sensitivity label was removed.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
getAssignmentMethodType()
public final int getAssignmentMethodType()
Returns or sets the assignment method for the sensitivity label. Read/write SensitivityLabelAssignmentType.
Returns: int
setAssignmentMethodType(int value)
public final void setAssignmentMethodType(int value)
Returns or sets the assignment method for the sensitivity label. Read/write SensitivityLabelAssignmentType.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getContentMarkTypes()
public final System.Collections.Generic.IGenericList<Integer> getContentMarkTypes()
Returns the list of types of content marking that ought to be applied to a file.
Returns: com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.Integer> - A list of content types SensitivityLabelContentType