PurviewSensitivityLabelInfo Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. PurviewSensitivityLabelInfo
- com.
Implements
public final class PurviewSensitivityLabelInfo
implements JsonSerializable<PurviewSensitivityLabelInfo>
Information about the sensitivity label applied to a document.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Purview |
fromJson(JsonReader jsonReader)
Reads an instance of Purview |
| String |
getColor()
Get the color property: The color that the UI should display for the label, if configured. |
| String |
getDisplayName()
Get the display |
| Integer |
getPriority()
Get the priority property: The priority in which the sensitivity label is applied. |
| String |
getSensitivityLabelId()
Get the sensitivity |
| String |
getToolTip()
Get the tool |
| Boolean |
isEncrypted()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static PurviewSensitivityLabelInfo fromJson(JsonReader jsonReader)
Reads an instance of PurviewSensitivityLabelInfo from the JsonReader.
Parameters:
Returns:
Throws:
getColor
public String getColor()
Get the color property: The color that the UI should display for the label, if configured.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: The display name for the sensitivity label.
Returns:
getPriority
public Integer getPriority()
Get the priority property: The priority in which the sensitivity label is applied.
Returns:
getSensitivityLabelId
public String getSensitivityLabelId()
Get the sensitivityLabelId property: The ID of the sensitivity label.
Returns:
getToolTip
public String getToolTip()
Get the toolTip property: The tooltip that should be displayed for the label in a UI.
Returns:
isEncrypted
public Boolean isEncrypted()
Get the isEncrypted property: Indicates whether the sensitivity label enforces encryption.
Returns: