SyncAgentLinkedDatabaseInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SyncAgentLinkedDatabaseInner
- com.
- com.
public final class SyncAgentLinkedDatabaseInner
extends ProxyResource
An Azure SQL Database sync agent linked database.
Constructor Summary
Constructor | Description |
---|---|
SyncAgentLinkedDatabaseInner() |
Creates an instance of Sync |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseId()
Get the database |
String |
databaseName()
Get the database |
Sync |
databaseType()
Get the database |
String |
description()
Get the description property: Description of the sync agent linked database. |
static
Sync |
fromJson(JsonReader jsonReader)
Reads an instance of Sync |
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 server |
Json |
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:
databaseName
public String databaseName()
Get the databaseName property: Database name of the sync agent linked database.
Returns:
databaseType
public SyncMemberDbType databaseType()
Get the databaseType property: Type of the sync agent linked database.
Returns:
description
public String description()
Get the description property: Description of the sync agent linked database.
Returns:
fromJson
public static SyncAgentLinkedDatabaseInner fromJson(JsonReader jsonReader)
Reads an instance of SyncAgentLinkedDatabaseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SyncAgentLinkedDatabaseInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SyncAgentLinkedDatabaseInner.name()Returns:
serverName
public String serverName()
Get the serverName property: Server name of the sync agent linked database.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SyncAgentLinkedDatabaseInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SyncAgentLinkedDatabaseInner.type()Returns:
username
public String username()
Get the username property: User name of the sync agent linked database.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java