public class SyncMemberInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
SyncMemberInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
databaseName()
Get the databaseName property: Database name of the member database in the sync member.
|
SyncMemberDbType |
databaseType()
Get the databaseType property: Database type of the sync member.
|
String |
password()
Get the password property: Password of the member database in the sync member.
|
String |
serverName()
Get the serverName property: Server name of the member database in the sync member.
|
UUID |
sqlServerDatabaseId()
Get the sqlServerDatabaseId property: SQL Server database id of the sync member.
|
String |
syncAgentId()
Get the syncAgentId property: ARM resource id of the sync agent in the sync member.
|
SyncDirection |
syncDirection()
Get the syncDirection property: Sync direction of the sync member.
|
SyncMemberState |
syncState()
Get the syncState property: Sync state of the sync member.
|
String |
username()
Get the username property: User name of the member database in the sync member.
|
void |
validate()
Validates the instance.
|
SyncMemberInner |
withDatabaseName(String databaseName)
Set the databaseName property: Database name of the member database in the sync member.
|
SyncMemberInner |
withDatabaseType(SyncMemberDbType databaseType)
Set the databaseType property: Database type of the sync member.
|
SyncMemberInner |
withPassword(String password)
Set the password property: Password of the member database in the sync member.
|
SyncMemberInner |
withServerName(String serverName)
Set the serverName property: Server name of the member database in the sync member.
|
SyncMemberInner |
withSqlServerDatabaseId(UUID sqlServerDatabaseId)
Set the sqlServerDatabaseId property: SQL Server database id of the sync member.
|
SyncMemberInner |
withSyncAgentId(String syncAgentId)
Set the syncAgentId property: ARM resource id of the sync agent in the sync member.
|
SyncMemberInner |
withSyncDirection(SyncDirection syncDirection)
Set the syncDirection property: Sync direction of the sync member.
|
SyncMemberInner |
withUsername(String username)
Set the username property: User name of the member database in the sync member.
|
public SyncMemberDbType databaseType()
public SyncMemberInner withDatabaseType(SyncMemberDbType databaseType)
databaseType - the databaseType value to set.public String syncAgentId()
public SyncMemberInner withSyncAgentId(String syncAgentId)
syncAgentId - the syncAgentId value to set.public UUID sqlServerDatabaseId()
public SyncMemberInner withSqlServerDatabaseId(UUID sqlServerDatabaseId)
sqlServerDatabaseId - the sqlServerDatabaseId value to set.public String serverName()
public SyncMemberInner withServerName(String serverName)
serverName - the serverName value to set.public String databaseName()
public SyncMemberInner withDatabaseName(String databaseName)
databaseName - the databaseName value to set.public String username()
public SyncMemberInner withUsername(String username)
username - the username value to set.public String password()
public SyncMemberInner withPassword(String password)
password - the password value to set.public SyncDirection syncDirection()
public SyncMemberInner withSyncDirection(SyncDirection syncDirection)
syncDirection - the syncDirection value to set.public SyncMemberState syncState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.