SyncAgentLinkedDatabaseInner Class

public final class SyncAgentLinkedDatabaseInner
extends ProxyResource

An Azure SQL Database sync agent linked database.

Constructor Summary

Constructor Description
SyncAgentLinkedDatabaseInner()

Creates an instance of SyncAgentLinkedDatabaseInner class.

Method Summary

Modifier and Type Method and Description
String databaseId()

Get the databaseId property: Id of the sync agent linked database.

String databaseName()

Get the databaseName property: Database name of the sync agent linked database.

SyncMemberDbType databaseType()

Get the databaseType property: Type of the sync agent linked database.

String description()

Get the description property: Description of the sync agent linked database.

static SyncAgentLinkedDatabaseInner fromJson(JsonReader jsonReader)

Reads an instance of SyncAgentLinkedDatabaseInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String serverName()

Get the serverName property: Server name of the sync agent linked database.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String username()

Get the username property: User name of the sync agent linked database.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SyncAgentLinkedDatabaseInner

public SyncAgentLinkedDatabaseInner()

Creates an instance of SyncAgentLinkedDatabaseInner class.

Method Details

databaseId

public String databaseId()

Get the databaseId property: Id of the sync agent linked database.

Returns:

the databaseId value.

databaseName

public String databaseName()

Get the databaseName property: Database name of the sync agent linked database.

Returns:

the databaseName value.

databaseType

public SyncMemberDbType databaseType()

Get the databaseType property: Type of the sync agent linked database.

Returns:

the databaseType value.

description

public String description()

Get the description property: Description of the sync agent linked database.

Returns:

the description value.

fromJson

public static SyncAgentLinkedDatabaseInner fromJson(JsonReader jsonReader)

Reads an instance of SyncAgentLinkedDatabaseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SyncAgentLinkedDatabaseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SyncAgentLinkedDatabaseInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SyncAgentLinkedDatabaseInner.name()

Returns:

the name value.

serverName

public String serverName()

Get the serverName property: Server name of the sync agent linked database.

Returns:

the serverName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SyncAgentLinkedDatabaseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SyncAgentLinkedDatabaseInner.type()

Returns:

the type value.

username

public String username()

Get the username property: User name of the sync agent linked database.

Returns:

the username value.

validate

public void validate()

Validates the instance.

Applies to