Label Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. Label
- com.
Implements
public final class Label
implements JsonSerializable<Label>
Microsoft information protection sensitivity label.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Label |
fromJson(JsonReader jsonReader)
Reads an instance of Label from the Json |
| String |
id()
Get the id property: The ID of the label. |
| String |
name()
Get the name property: The display name of the label. |
| Float |
order()
Get the order property: Labels are ordered by sensitivity level. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static Label fromJson(JsonReader jsonReader)
Reads an instance of Label from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the label.
Returns:
name
public String name()
Get the name property: The display name of the label.
Returns:
order
public Float order()
Get the order property: Labels are ordered by sensitivity level. The higher the order of the label, the more sensitive it is.
Returns:
toJson
validate
public void validate()
Validates the instance.