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 Type
    Method
    Description
    Get the displayName property: The display name of the intelligence pack.
    Get the enabled property: The enabled boolean for the intelligence pack.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of IntelligencePackInner from the JsonReader.
    Get the name property: The name of the intelligence pack.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • name

      public String name()
      Get the name property: The name of the intelligence pack.
      Returns:
      the name value.
    • enabled

      public Boolean enabled()
      Get the enabled property: The enabled boolean for the intelligence pack.
      Returns:
      the enabled value.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the intelligence pack.
      Returns:
      the displayName value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.