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 Details

    • SyncGroupSchemaTableColumn

      public SyncGroupSchemaTableColumn()
      Creates an instance of SyncGroupSchemaTableColumn class.
  • Method Details

    • quotedName

      public String quotedName()
      Get the quotedName property: Quoted name of sync group table column.
      Returns:
      the quotedName value.
    • withQuotedName

      public SyncGroupSchemaTableColumn withQuotedName(String quotedName)
      Set the quotedName property: Quoted name of sync group table column.
      Parameters:
      quotedName - the quotedName value to set.
      Returns:
      the SyncGroupSchemaTableColumn object itself.
    • dataSize

      public String dataSize()
      Get the dataSize property: Data size of the column.
      Returns:
      the dataSize value.
    • withDataSize

      public SyncGroupSchemaTableColumn withDataSize(String dataSize)
      Set the dataSize property: Data size of the column.
      Parameters:
      dataSize - the dataSize value to set.
      Returns:
      the SyncGroupSchemaTableColumn object itself.
    • dataType

      public String dataType()
      Get the dataType property: Data type of the column.
      Returns:
      the dataType value.
    • withDataType

      public SyncGroupSchemaTableColumn withDataType(String dataType)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.