Class DiagnosticDataTableResponseColumn
java.lang.Object
com.azure.resourcemanager.appcontainers.models.DiagnosticDataTableResponseColumn
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnosticDataTableResponseColumn>
public final class DiagnosticDataTableResponseColumn
extends Object
implements com.azure.json.JsonSerializable<DiagnosticDataTableResponseColumn>
Diagnostics data column.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiagnosticDataTableResponseColumn class. -
Method Summary
Modifier and TypeMethodDescriptionGet the columnName property: Column name.Get the columnType property: Column type.dataType()Get the dataType property: Data type of the column.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnosticDataTableResponseColumn from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withColumnName(String columnName) Set the columnName property: Column name.withColumnType(String columnType) Set the columnType property: Column type.withDataType(String dataType) Set the dataType property: Data type of the column.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DiagnosticDataTableResponseColumn
public DiagnosticDataTableResponseColumn()Creates an instance of DiagnosticDataTableResponseColumn class.
-
-
Method Details
-
columnName
Get the columnName property: Column name.- Returns:
- the columnName value.
-
withColumnName
Set the columnName property: Column name.- Parameters:
columnName- the columnName value to set.- Returns:
- the DiagnosticDataTableResponseColumn object itself.
-
dataType
Get the dataType property: Data type of the column.- Returns:
- the dataType value.
-
withDataType
Set the dataType property: Data type of the column.- Parameters:
dataType- the dataType value to set.- Returns:
- the DiagnosticDataTableResponseColumn object itself.
-
columnType
Get the columnType property: Column type.- Returns:
- the columnType value.
-
withColumnType
Set the columnType property: Column type.- Parameters:
columnType- the columnType value to set.- Returns:
- the DiagnosticDataTableResponseColumn object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DiagnosticDataTableResponseColumn>- Throws:
IOException
-
fromJson
public static DiagnosticDataTableResponseColumn fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DiagnosticDataTableResponseColumn from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DiagnosticDataTableResponseColumn 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 DiagnosticDataTableResponseColumn.
-