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 Summary
ConstructorsConstructorDescriptionCreates an instance of SiteLogsConfigProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationLogs property: Application logs configuration.Get the detailedErrorMessages property: Detailed error messages configuration.Get the failedRequestsTracing property: Failed requests tracing configuration.static SiteLogsConfigProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SiteLogsConfigProperties from the JsonReader.httpLogs()
Get the httpLogs property: HTTP logs configuration.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withApplicationLogs
(ApplicationLogsConfig applicationLogs) Set the applicationLogs property: Application logs configuration.withDetailedErrorMessages
(EnabledConfig detailedErrorMessages) Set the detailedErrorMessages property: Detailed error messages configuration.withFailedRequestsTracing
(EnabledConfig failedRequestsTracing) Set the failedRequestsTracing property: Failed requests tracing configuration.withHttpLogs
(HttpLogsConfig httpLogs) Set the httpLogs property: HTTP logs configuration.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
-
SiteLogsConfigProperties
public SiteLogsConfigProperties()Creates an instance of SiteLogsConfigProperties class.
-
-
Method Details
-
applicationLogs
Get the applicationLogs property: Application logs configuration.- Returns:
- the applicationLogs value.
-
withApplicationLogs
Set the applicationLogs property: Application logs configuration.- Parameters:
applicationLogs
- the applicationLogs value to set.- Returns:
- the SiteLogsConfigProperties object itself.
-
httpLogs
Get the httpLogs property: HTTP logs configuration.- Returns:
- the httpLogs value.
-
withHttpLogs
Set the httpLogs property: HTTP logs configuration.- Parameters:
httpLogs
- the httpLogs value to set.- Returns:
- the SiteLogsConfigProperties object itself.
-
failedRequestsTracing
Get the failedRequestsTracing property: Failed requests tracing configuration.- Returns:
- the failedRequestsTracing value.
-
withFailedRequestsTracing
Set the failedRequestsTracing property: Failed requests tracing configuration.- Parameters:
failedRequestsTracing
- the failedRequestsTracing value to set.- Returns:
- the SiteLogsConfigProperties object itself.
-
detailedErrorMessages
Get the detailedErrorMessages property: Detailed error messages configuration.- Returns:
- the detailedErrorMessages value.
-
withDetailedErrorMessages
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
- Specified by:
toJson
in interfacecom.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.
-