ISensitivityLabel
public interface 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 abstract String getId()
Returns or sets the id of sensitivity label. Read/write String.
Returns: java.lang.String
setId(String value)
public abstract 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 abstract 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 abstract 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 abstract boolean isEnabled()
Indicates whether the sensitivity label is enabled.
Returns: boolean
setEnabled(boolean value)
public abstract void setEnabled(boolean value)
Indicates whether the sensitivity label is enabled.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
isRemoved()
public abstract boolean isRemoved()
Indicates whether the sensitivity label was removed.
Returns: boolean
setRemoved(boolean value)
public abstract void setRemoved(boolean value)
Indicates whether the sensitivity label was removed.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
getAssignmentMethodType()
public abstract int getAssignmentMethodType()
Returns or sets the assignment method for the sensitivity label. Read/write SensitivityLabelAssignmentType.
Returns: int
setAssignmentMethodType(int value)
public abstract 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 abstract 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