Class SitePhpErrorLogFlagProperties

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

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

    • SitePhpErrorLogFlagProperties

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

    • localLogErrors

      public String localLogErrors()
      Get the localLogErrors property: Local log_errors setting.
      Returns:
      the localLogErrors value.
    • withLocalLogErrors

      public SitePhpErrorLogFlagProperties withLocalLogErrors(String localLogErrors)
      Set the localLogErrors property: Local log_errors setting.
      Parameters:
      localLogErrors - the localLogErrors value to set.
      Returns:
      the SitePhpErrorLogFlagProperties object itself.
    • masterLogErrors

      public String masterLogErrors()
      Get the masterLogErrors property: Master log_errors setting.
      Returns:
      the masterLogErrors value.
    • withMasterLogErrors

      public SitePhpErrorLogFlagProperties withMasterLogErrors(String masterLogErrors)
      Set the masterLogErrors property: Master log_errors setting.
      Parameters:
      masterLogErrors - the masterLogErrors value to set.
      Returns:
      the SitePhpErrorLogFlagProperties object itself.
    • localLogErrorsMaxLength

      public String localLogErrorsMaxLength()
      Get the localLogErrorsMaxLength property: Local log_errors_max_len setting.
      Returns:
      the localLogErrorsMaxLength value.
    • withLocalLogErrorsMaxLength

      public SitePhpErrorLogFlagProperties withLocalLogErrorsMaxLength(String localLogErrorsMaxLength)
      Set the localLogErrorsMaxLength property: Local log_errors_max_len setting.
      Parameters:
      localLogErrorsMaxLength - the localLogErrorsMaxLength value to set.
      Returns:
      the SitePhpErrorLogFlagProperties object itself.
    • masterLogErrorsMaxLength

      public String masterLogErrorsMaxLength()
      Get the masterLogErrorsMaxLength property: Master log_errors_max_len setting.
      Returns:
      the masterLogErrorsMaxLength value.
    • withMasterLogErrorsMaxLength

      public SitePhpErrorLogFlagProperties withMasterLogErrorsMaxLength(String masterLogErrorsMaxLength)
      Set the masterLogErrorsMaxLength property: Master log_errors_max_len setting.
      Parameters:
      masterLogErrorsMaxLength - the masterLogErrorsMaxLength value to set.
      Returns:
      the SitePhpErrorLogFlagProperties 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<SitePhpErrorLogFlagProperties>
      Throws:
      IOException
    • fromJson

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