Class DiagnosticData
java.lang.Object
com.azure.resourcemanager.appservice.models.DiagnosticData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnosticData>
public final class DiagnosticData
extends Object
implements com.azure.json.JsonSerializable<DiagnosticData>
Set of data with rendering instructions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiagnosticData
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnosticData from the JsonReader.Get the renderingProperties property: Properties that describe how the table should be rendered.table()
Get the table property: Data in table form.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withRenderingProperties
(Rendering renderingProperties) Set the renderingProperties property: Properties that describe how the table should be rendered.withTable
(DataTableResponseObject table) Set the table property: Data in table form.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
-
DiagnosticData
public DiagnosticData()Creates an instance of DiagnosticData class.
-
-
Method Details
-
table
Get the table property: Data in table form.- Returns:
- the table value.
-
withTable
Set the table property: Data in table form.- Parameters:
table
- the table value to set.- Returns:
- the DiagnosticData object itself.
-
renderingProperties
Get the renderingProperties property: Properties that describe how the table should be rendered.- Returns:
- the renderingProperties value.
-
withRenderingProperties
Set the renderingProperties property: Properties that describe how the table should be rendered.- Parameters:
renderingProperties
- the renderingProperties value to set.- Returns:
- the DiagnosticData 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<DiagnosticData>
- Throws:
IOException
-
fromJson
Reads an instance of DiagnosticData from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DiagnosticData 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 DiagnosticData.
-