Class HostingEnvironmentDiagnosticsInner

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.HostingEnvironmentDiagnosticsInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<HostingEnvironmentDiagnosticsInner>

public final class HostingEnvironmentDiagnosticsInner extends Object implements com.azure.json.JsonSerializable<HostingEnvironmentDiagnosticsInner>
Diagnostics for an App Service Environment.
  • Constructor Details

    • HostingEnvironmentDiagnosticsInner

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

    • name

      public String name()
      Get the name property: Name/identifier of the diagnostics.
      Returns:
      the name value.
    • withName

      Set the name property: Name/identifier of the diagnostics.
      Parameters:
      name - the name value to set.
      Returns:
      the HostingEnvironmentDiagnosticsInner object itself.
    • diagnosticsOutput

      public String diagnosticsOutput()
      Get the diagnosticsOutput property: Diagnostics output.
      Returns:
      the diagnosticsOutput value.
    • withDiagnosticsOutput

      public HostingEnvironmentDiagnosticsInner withDiagnosticsOutput(String diagnosticsOutput)
      Set the diagnosticsOutput property: Diagnostics output.
      Parameters:
      diagnosticsOutput - the diagnosticsOutput value to set.
      Returns:
      the HostingEnvironmentDiagnosticsInner 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<HostingEnvironmentDiagnosticsInner>
      Throws:
      IOException
    • fromJson

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