SyncGroupSchema Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.SyncGroupSchema

Implements

public final class SyncGroupSchema
implements JsonSerializable<SyncGroupSchema>

Properties of sync group schema.

Constructor Summary

Constructor Description
SyncGroupSchema()

Creates an instance of SyncGroupSchema class.

Method Summary

Modifier and Type Method and Description
static SyncGroupSchema fromJson(JsonReader jsonReader)

Reads an instance of SyncGroupSchema from the JsonReader.

String masterSyncMemberName()

Get the masterSyncMemberName property: Name of master sync member where the schema is from.

List<SyncGroupSchemaTable> tables()

Get the tables property: List of tables in sync group schema.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SyncGroupSchema withMasterSyncMemberName(String masterSyncMemberName)

Set the masterSyncMemberName property: Name of master sync member where the schema is from.

SyncGroupSchema withTables(List<SyncGroupSchemaTable> tables)

Set the tables property: List of tables in sync group schema.

Methods inherited from java.lang.Object

Constructor Details

SyncGroupSchema

public SyncGroupSchema()

Creates an instance of SyncGroupSchema class.

Method Details

fromJson

public static SyncGroupSchema fromJson(JsonReader jsonReader)

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.

masterSyncMemberName

public String masterSyncMemberName()

Get the masterSyncMemberName property: Name of master sync member where the schema is from.

Returns:

the masterSyncMemberName value.

tables

public List tables()

Get the tables property: List of tables in sync group schema.

Returns:

the tables value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withTables

public SyncGroupSchema withTables(List tables)

Set the tables property: List of tables in sync group schema.

Parameters:

tables - the tables value to set.

Returns:

the SyncGroupSchema object itself.

Applies to