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 Summary
ConstructorsConstructorDescriptionCreates an instance of SitePhpErrorLogFlagProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SitePhpErrorLogFlagProperties from the JsonReader.Get the localLogErrors property: Local log_errors setting.Get the localLogErrorsMaxLength property: Local log_errors_max_len setting.Get the masterLogErrors property: Master log_errors setting.Get the masterLogErrorsMaxLength property: Master log_errors_max_len setting.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withLocalLogErrors
(String localLogErrors) Set the localLogErrors property: Local log_errors setting.withLocalLogErrorsMaxLength
(String localLogErrorsMaxLength) Set the localLogErrorsMaxLength property: Local log_errors_max_len setting.withMasterLogErrors
(String masterLogErrors) Set the masterLogErrors property: Master log_errors setting.withMasterLogErrorsMaxLength
(String masterLogErrorsMaxLength) Set the masterLogErrorsMaxLength property: Master log_errors_max_len setting.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SitePhpErrorLogFlagProperties
public SitePhpErrorLogFlagProperties()Creates an instance of SitePhpErrorLogFlagProperties class.
-
-
Method Details
-
localLogErrors
Get the localLogErrors property: Local log_errors setting.- Returns:
- the localLogErrors value.
-
withLocalLogErrors
Set the localLogErrors property: Local log_errors setting.- Parameters:
localLogErrors
- the localLogErrors value to set.- Returns:
- the SitePhpErrorLogFlagProperties object itself.
-
masterLogErrors
Get the masterLogErrors property: Master log_errors setting.- Returns:
- the masterLogErrors value.
-
withMasterLogErrors
Set the masterLogErrors property: Master log_errors setting.- Parameters:
masterLogErrors
- the masterLogErrors value to set.- Returns:
- the SitePhpErrorLogFlagProperties object itself.
-
localLogErrorsMaxLength
Get the localLogErrorsMaxLength property: Local log_errors_max_len setting.- Returns:
- the localLogErrorsMaxLength value.
-
withLocalLogErrorsMaxLength
Set the localLogErrorsMaxLength property: Local log_errors_max_len setting.- Parameters:
localLogErrorsMaxLength
- the localLogErrorsMaxLength value to set.- Returns:
- the SitePhpErrorLogFlagProperties object itself.
-
masterLogErrorsMaxLength
Get the masterLogErrorsMaxLength property: Master log_errors_max_len setting.- Returns:
- the masterLogErrorsMaxLength value.
-
withMasterLogErrorsMaxLength
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
- Specified by:
toJson
in interfacecom.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.
-