Class IntelligencePackInner
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.IntelligencePackInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IntelligencePackInner>
public final class IntelligencePackInner
extends Object
implements com.azure.json.JsonSerializable<IntelligencePackInner>
Intelligence Pack containing a string name and boolean indicating if it's enabled.
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The display name of the intelligence pack.enabled()Get the enabled property: The enabled boolean for the intelligence pack.static IntelligencePackInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IntelligencePackInner from the JsonReader.name()Get the name property: The name of the intelligence pack.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
name
Get the name property: The name of the intelligence pack.- Returns:
- the name value.
-
enabled
Get the enabled property: The enabled boolean for the intelligence pack.- Returns:
- the enabled value.
-
displayName
Get the displayName property: The display name of the intelligence pack.- Returns:
- the displayName value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IntelligencePackInner>- Throws:
IOException
-
fromJson
public static IntelligencePackInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of IntelligencePackInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IntelligencePackInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the IntelligencePackInner.
-