
**Inheritance:**
java.lang.Object
```
public class SensitivityLabel
```

Represents the sensitivity label.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAssignmentType()](#getAssignmentType--) | Gets the assignment method for the sensitivity label. |
| [getClass()](#getClass--) |  |
| [getContentMarkType()](#getContentMarkType--) | Gets the types of content marking that ought to be applied to a file. |
| [getId()](#getId--) | Gets the id of sensitivity label. |
| [getSiteId()](#getSiteId--) | Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| [hashCode()](#hashCode--) |  |
| [isEnabled()](#isEnabled--) | Indicates whether the sensitivity label is enabled |
| [isRemoved()](#isRemoved--) | Indicates whether the sensitivity label was removed. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAssignmentType(int value)](#setAssignmentType-int-) | Sets the assignment method for the sensitivity label. |
| [setContentMarkType(int value)](#setContentMarkType-int-) | Sets the types of content marking that ought to be applied to a file. |
| [setEnabled(boolean value)](#setEnabled-boolean-) | Indicates whether the sensitivity label is enabled |
| [setId(String value)](#setId-java.lang.String-) | Sets the id of sensitivity label. |
| [setRemoved(boolean value)](#setRemoved-boolean-) | Indicates whether the sensitivity label was removed. |
| [setSiteId(String value)](#setSiteId-java.lang.String-) | Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAssignmentType() {#getAssignmentType--}
```
public int getAssignmentType()
```


Gets the assignment method for the sensitivity label.

See [SensitivityLabelAssignmentType](../../com.aspose.cells/sensitivitylabelassignmenttype).

**Returns:**
int
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getContentMarkType() {#getContentMarkType--}
```
public int getContentMarkType()
```


Gets the types of content marking that ought to be applied to a file.

See [SensitivityLabelMarkType](../../com.aspose.cells/sensitivitylabelmarktype).

**Returns:**
int
### getId() {#getId--}
```
public String getId()
```


Gets the id of sensitivity label.

**Returns:**
java.lang.String
### getSiteId() {#getSiteId--}
```
public String getSiteId()
```


Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label.

**Returns:**
java.lang.String
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isEnabled() {#isEnabled--}
```
public boolean isEnabled()
```


Indicates whether the sensitivity label is enabled

**Returns:**
boolean
### isRemoved() {#isRemoved--}
```
public boolean isRemoved()
```


Indicates whether the sensitivity label was removed.

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAssignmentType(int value) {#setAssignmentType-int-}
```
public void setAssignmentType(int value)
```


Sets the assignment method for the sensitivity label.

See [SensitivityLabelAssignmentType](../../com.aspose.cells/sensitivitylabelassignmenttype).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setContentMarkType(int value) {#setContentMarkType-int-}
```
public void setContentMarkType(int value)
```


Sets the types of content marking that ought to be applied to a file.

See [SensitivityLabelMarkType](../../com.aspose.cells/sensitivitylabelmarktype).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setEnabled(boolean value) {#setEnabled-boolean-}
```
public void setEnabled(boolean value)
```


Indicates whether the sensitivity label is enabled

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setId(String value) {#setId-java.lang.String-}
```
public void setId(String value)
```


Sets the id of sensitivity label.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setRemoved(boolean value) {#setRemoved-boolean-}
```
public void setRemoved(boolean value)
```


Indicates whether the sensitivity label was removed.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setSiteId(String value) {#setSiteId-java.lang.String-}
```
public void setSiteId(String value)
```


Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

