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 Summary
ConstructorsConstructorDescriptionCreates an instance of HostingEnvironmentDiagnosticsInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the diagnosticsOutput property: Diagnostics output.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of HostingEnvironmentDiagnosticsInner from the JsonReader.name()
Get the name property: Name/identifier of the diagnostics.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDiagnosticsOutput
(String diagnosticsOutput) Set the diagnosticsOutput property: Diagnostics output.Set the name property: Name/identifier of the diagnostics.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
-
HostingEnvironmentDiagnosticsInner
public HostingEnvironmentDiagnosticsInner()Creates an instance of HostingEnvironmentDiagnosticsInner class.
-
-
Method Details
-
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
Get the diagnosticsOutput property: Diagnostics output.- Returns:
- the diagnosticsOutput value.
-
withDiagnosticsOutput
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
- Specified by:
toJson
in interfacecom.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.
-