Class SyncGroupSchemaTable
java.lang.Object
com.azure.resourcemanager.sql.models.SyncGroupSchemaTable
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SyncGroupSchemaTable>
public final class SyncGroupSchemaTable
extends Object
implements com.azure.json.JsonSerializable<SyncGroupSchemaTable>
Properties of table in sync group schema.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Get the columns property: List of columns in sync group schema.static SyncGroupSchemaTablefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SyncGroupSchemaTable from the JsonReader.Get the quotedName property: Quoted name of sync group schema table.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withColumns(List<SyncGroupSchemaTableColumn> columns) Set the columns property: List of columns in sync group schema.withQuotedName(String quotedName) Set the quotedName property: Quoted name of sync group schema table.Methods inherited from class 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
-
SyncGroupSchemaTable
public SyncGroupSchemaTable()Creates an instance of SyncGroupSchemaTable class.
-
-
Method Details
-
columns
Get the columns property: List of columns in sync group schema.- Returns:
- the columns value.
-
withColumns
Set the columns property: List of columns in sync group schema.- Parameters:
columns- the columns value to set.- Returns:
- the SyncGroupSchemaTable object itself.
-
quotedName
Get the quotedName property: Quoted name of sync group schema table.- Returns:
- the quotedName value.
-
withQuotedName
Set the quotedName property: Quoted name of sync group schema table.- Parameters:
quotedName- the quotedName value to set.- Returns:
- the SyncGroupSchemaTable 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<SyncGroupSchemaTable>- Throws:
IOException
-
fromJson
public static SyncGroupSchemaTable fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SyncGroupSchemaTable from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SyncGroupSchemaTable 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 SyncGroupSchemaTable.
-