Class SyncGroupSchema

java.lang.Object
com.azure.resourcemanager.sql.models.SyncGroupSchema
All Implemented Interfaces:
com.azure.json.JsonSerializable<SyncGroupSchema>

public final class SyncGroupSchema extends Object implements com.azure.json.JsonSerializable<SyncGroupSchema>
Properties of sync group schema.
  • Constructor Details

    • SyncGroupSchema

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

    • tables

      public List<SyncGroupSchemaTable> tables()
      Get the tables property: List of tables in sync group schema.
      Returns:
      the tables value.
    • withTables

      public SyncGroupSchema withTables(List<SyncGroupSchemaTable> tables)
      Set the tables property: List of tables in sync group schema.
      Parameters:
      tables - the tables value to set.
      Returns:
      the SyncGroupSchema object itself.
    • masterSyncMemberName

      public String masterSyncMemberName()
      Get the masterSyncMemberName property: Name of master sync member where the schema is from.
      Returns:
      the masterSyncMemberName value.
    • withMasterSyncMemberName

      public SyncGroupSchema withMasterSyncMemberName(String masterSyncMemberName)
      Set the masterSyncMemberName property: Name of master sync member where the schema is from.
      Parameters:
      masterSyncMemberName - the masterSyncMemberName value to set.
      Returns:
      the SyncGroupSchema 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<SyncGroupSchema>
      Throws:
      IOException
    • fromJson

      public static SyncGroupSchema fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SyncGroupSchema from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SyncGroupSchema 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 SyncGroupSchema.