Class SyncGroupSchemaTableColumn
java.lang.Object
com.azure.resourcemanager.sql.models.SyncGroupSchemaTableColumn
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SyncGroupSchemaTableColumn>
public final class SyncGroupSchemaTableColumn
extends Object
implements com.azure.json.JsonSerializable<SyncGroupSchemaTableColumn>
Properties of column in sync group table.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SyncGroupSchemaTableColumn class. -
Method Summary
Modifier and TypeMethodDescriptiondataSize()Get the dataSize property: Data size of the column.dataType()Get the dataType property: Data type of the column.static SyncGroupSchemaTableColumnfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SyncGroupSchemaTableColumn from the JsonReader.Get the quotedName property: Quoted name of sync group table column.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDataSize(String dataSize) Set the dataSize property: Data size of the column.withDataType(String dataType) Set the dataType property: Data type of the column.withQuotedName(String quotedName) Set the quotedName property: Quoted name of sync group table column.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
-
SyncGroupSchemaTableColumn
public SyncGroupSchemaTableColumn()Creates an instance of SyncGroupSchemaTableColumn class.
-
-
Method Details
-
quotedName
Get the quotedName property: Quoted name of sync group table column.- Returns:
- the quotedName value.
-
withQuotedName
Set the quotedName property: Quoted name of sync group table column.- Parameters:
quotedName- the quotedName value to set.- Returns:
- the SyncGroupSchemaTableColumn object itself.
-
dataSize
Get the dataSize property: Data size of the column.- Returns:
- the dataSize value.
-
withDataSize
Set the dataSize property: Data size of the column.- Parameters:
dataSize- the dataSize value to set.- Returns:
- the SyncGroupSchemaTableColumn 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 SyncGroupSchemaTableColumn 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<SyncGroupSchemaTableColumn>- Throws:
IOException
-
fromJson
public static SyncGroupSchemaTableColumn fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SyncGroupSchemaTableColumn from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SyncGroupSchemaTableColumn 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 SyncGroupSchemaTableColumn.
-