Class DiagnosticDataTableResponseObject
java.lang.Object
com.azure.resourcemanager.appcontainers.models.DiagnosticDataTableResponseObject
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnosticDataTableResponseObject>
public final class DiagnosticDataTableResponseObject
extends Object
implements com.azure.json.JsonSerializable<DiagnosticDataTableResponseObject>
Diagnostics data table.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiagnosticDataTableResponseObject class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()
Get the columns property: Columns in the table.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnosticDataTableResponseObject from the JsonReader.rows()
Get the rows property: Rows in the table.Get the tableName property: Table name.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withColumns
(List<DiagnosticDataTableResponseColumn> columns) Set the columns property: Columns in the table.Set the rows property: Rows in the table.withTableName
(String tableName) Set the tableName property: Table name.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
-
DiagnosticDataTableResponseObject
public DiagnosticDataTableResponseObject()Creates an instance of DiagnosticDataTableResponseObject class.
-
-
Method Details
-
tableName
Get the tableName property: Table name.- Returns:
- the tableName value.
-
withTableName
Set the tableName property: Table name.- Parameters:
tableName
- the tableName value to set.- Returns:
- the DiagnosticDataTableResponseObject object itself.
-
columns
Get the columns property: Columns in the table.- Returns:
- the columns value.
-
withColumns
public DiagnosticDataTableResponseObject withColumns(List<DiagnosticDataTableResponseColumn> columns) Set the columns property: Columns in the table.- Parameters:
columns
- the columns value to set.- Returns:
- the DiagnosticDataTableResponseObject object itself.
-
rows
Get the rows property: Rows in the table.- Returns:
- the rows value.
-
withRows
Set the rows property: Rows in the table.- Parameters:
rows
- the rows value to set.- Returns:
- the DiagnosticDataTableResponseObject 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<DiagnosticDataTableResponseObject>
- Throws:
IOException
-
fromJson
public static DiagnosticDataTableResponseObject fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DiagnosticDataTableResponseObject from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DiagnosticDataTableResponseObject 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 DiagnosticDataTableResponseObject.
-