Class DataTableResponseObject
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.DataTableResponseObject
-
public final class DataTableResponseObject extends Object
Data Table which defines columns and raw row values.
-
-
Constructor Summary
Constructors Constructor Description DataTableResponseObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataTableResponseColumn>columns()Get the columns property: List of columns with data types.List<List<String>>rows()Get the rows property: Raw row values.StringtableName()Get the tableName property: Name of the table.voidvalidate()Validates the instance.DataTableResponseObjectwithColumns(List<DataTableResponseColumn> columns)Set the columns property: List of columns with data types.DataTableResponseObjectwithRows(List<List<String>> rows)Set the rows property: Raw row values.DataTableResponseObjectwithTableName(String tableName)Set the tableName property: Name of the table.
-
-
-
Method Detail
-
tableName
public String tableName()
Get the tableName property: Name of the table.- Returns:
- the tableName value.
-
withTableName
public DataTableResponseObject withTableName(String tableName)
Set the tableName property: Name of the table.- Parameters:
tableName- the tableName value to set.- Returns:
- the DataTableResponseObject object itself.
-
columns
public List<DataTableResponseColumn> columns()
Get the columns property: List of columns with data types.- Returns:
- the columns value.
-
withColumns
public DataTableResponseObject withColumns(List<DataTableResponseColumn> columns)
Set the columns property: List of columns with data types.- Parameters:
columns- the columns value to set.- Returns:
- the DataTableResponseObject object itself.
-
rows
public List<List<String>> rows()
Get the rows property: Raw row values.- Returns:
- the rows value.
-
withRows
public DataTableResponseObject withRows(List<List<String>> rows)
Set the rows property: Raw row values.- Parameters:
rows- the rows value to set.- Returns:
- the DataTableResponseObject object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-