Class SiteLogsConfigProperties

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

public final class SiteLogsConfigProperties extends Object implements com.azure.json.JsonSerializable<SiteLogsConfigProperties>
SiteLogsConfig resource specific properties.
  • Constructor Details

    • SiteLogsConfigProperties

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

    • applicationLogs

      public ApplicationLogsConfig applicationLogs()
      Get the applicationLogs property: Application logs configuration.
      Returns:
      the applicationLogs value.
    • withApplicationLogs

      public SiteLogsConfigProperties withApplicationLogs(ApplicationLogsConfig applicationLogs)
      Set the applicationLogs property: Application logs configuration.
      Parameters:
      applicationLogs - the applicationLogs value to set.
      Returns:
      the SiteLogsConfigProperties object itself.
    • httpLogs

      public HttpLogsConfig httpLogs()
      Get the httpLogs property: HTTP logs configuration.
      Returns:
      the httpLogs value.
    • withHttpLogs

      public SiteLogsConfigProperties withHttpLogs(HttpLogsConfig httpLogs)
      Set the httpLogs property: HTTP logs configuration.
      Parameters:
      httpLogs - the httpLogs value to set.
      Returns:
      the SiteLogsConfigProperties object itself.
    • failedRequestsTracing

      public EnabledConfig failedRequestsTracing()
      Get the failedRequestsTracing property: Failed requests tracing configuration.
      Returns:
      the failedRequestsTracing value.
    • withFailedRequestsTracing

      public SiteLogsConfigProperties withFailedRequestsTracing(EnabledConfig failedRequestsTracing)
      Set the failedRequestsTracing property: Failed requests tracing configuration.
      Parameters:
      failedRequestsTracing - the failedRequestsTracing value to set.
      Returns:
      the SiteLogsConfigProperties object itself.
    • detailedErrorMessages

      public EnabledConfig detailedErrorMessages()
      Get the detailedErrorMessages property: Detailed error messages configuration.
      Returns:
      the detailedErrorMessages value.
    • withDetailedErrorMessages

      public SiteLogsConfigProperties withDetailedErrorMessages(EnabledConfig detailedErrorMessages)
      Set the detailedErrorMessages property: Detailed error messages configuration.
      Parameters:
      detailedErrorMessages - the detailedErrorMessages value to set.
      Returns:
      the SiteLogsConfigProperties 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<SiteLogsConfigProperties>
      Throws:
      IOException
    • fromJson

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