Class ClusterLogAnalyticsApplicationLogs

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterLogAnalyticsApplicationLogs
All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterLogAnalyticsApplicationLogs>

public final class ClusterLogAnalyticsApplicationLogs extends Object implements com.azure.json.JsonSerializable<ClusterLogAnalyticsApplicationLogs>
Collection of logs to be enabled or disabled for log analytics.
  • Constructor Details

    • ClusterLogAnalyticsApplicationLogs

      public ClusterLogAnalyticsApplicationLogs()
      Creates an instance of ClusterLogAnalyticsApplicationLogs class.
  • Method Details

    • stdOutEnabled

      public Boolean stdOutEnabled()
      Get the stdOutEnabled property: True if stdout is enabled, otherwise false.
      Returns:
      the stdOutEnabled value.
    • withStdOutEnabled

      public ClusterLogAnalyticsApplicationLogs withStdOutEnabled(Boolean stdOutEnabled)
      Set the stdOutEnabled property: True if stdout is enabled, otherwise false.
      Parameters:
      stdOutEnabled - the stdOutEnabled value to set.
      Returns:
      the ClusterLogAnalyticsApplicationLogs object itself.
    • stdErrorEnabled

      public Boolean stdErrorEnabled()
      Get the stdErrorEnabled property: True if stderror is enabled, otherwise false.
      Returns:
      the stdErrorEnabled value.
    • withStdErrorEnabled

      public ClusterLogAnalyticsApplicationLogs withStdErrorEnabled(Boolean stdErrorEnabled)
      Set the stdErrorEnabled property: True if stderror is enabled, otherwise false.
      Parameters:
      stdErrorEnabled - the stdErrorEnabled value to set.
      Returns:
      the ClusterLogAnalyticsApplicationLogs object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ClusterLogAnalyticsApplicationLogs>
      Throws:
      IOException
    • fromJson

      public static ClusterLogAnalyticsApplicationLogs fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ClusterLogAnalyticsApplicationLogs from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ClusterLogAnalyticsApplicationLogs 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 ClusterLogAnalyticsApplicationLogs.