Class SyncMemberInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.SyncMemberInner
-
public class SyncMemberInner extends com.azure.core.management.ProxyResourceAn Azure SQL Database sync member.
-
-
Constructor Summary
Constructors Constructor Description SyncMemberInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdatabaseName()Get the databaseName property: Database name of the member database in the sync member.SyncMemberDbTypedatabaseType()Get the databaseType property: Database type of the sync member.Stringpassword()Get the password property: Password of the member database in the sync member.StringserverName()Get the serverName property: Server name of the member database in the sync member.UUIDsqlServerDatabaseId()Get the sqlServerDatabaseId property: SQL Server database id of the sync member.StringsyncAgentId()Get the syncAgentId property: ARM resource id of the sync agent in the sync member.SyncDirectionsyncDirection()Get the syncDirection property: Sync direction of the sync member.SyncMemberStatesyncState()Get the syncState property: Sync state of the sync member.Stringusername()Get the username property: User name of the member database in the sync member.voidvalidate()Validates the instance.SyncMemberInnerwithDatabaseName(String databaseName)Set the databaseName property: Database name of the member database in the sync member.SyncMemberInnerwithDatabaseType(SyncMemberDbType databaseType)Set the databaseType property: Database type of the sync member.SyncMemberInnerwithPassword(String password)Set the password property: Password of the member database in the sync member.SyncMemberInnerwithServerName(String serverName)Set the serverName property: Server name of the member database in the sync member.SyncMemberInnerwithSqlServerDatabaseId(UUID sqlServerDatabaseId)Set the sqlServerDatabaseId property: SQL Server database id of the sync member.SyncMemberInnerwithSyncAgentId(String syncAgentId)Set the syncAgentId property: ARM resource id of the sync agent in the sync member.SyncMemberInnerwithSyncDirection(SyncDirection syncDirection)Set the syncDirection property: Sync direction of the sync member.SyncMemberInnerwithUsername(String username)Set the username property: User name of the member database in the sync member.
-
-
-
Method Detail
-
databaseType
public SyncMemberDbType databaseType()
Get the databaseType property: Database type of the sync member.- Returns:
- the databaseType value.
-
withDatabaseType
public SyncMemberInner withDatabaseType(SyncMemberDbType databaseType)
Set the databaseType property: Database type of the sync member.- Parameters:
databaseType- the databaseType value to set.- Returns:
- the SyncMemberInner object itself.
-
syncAgentId
public String syncAgentId()
Get the syncAgentId property: ARM resource id of the sync agent in the sync member.- Returns:
- the syncAgentId value.
-
withSyncAgentId
public SyncMemberInner withSyncAgentId(String syncAgentId)
Set the syncAgentId property: ARM resource id of the sync agent in the sync member.- Parameters:
syncAgentId- the syncAgentId value to set.- Returns:
- the SyncMemberInner object itself.
-
sqlServerDatabaseId
public UUID sqlServerDatabaseId()
Get the sqlServerDatabaseId property: SQL Server database id of the sync member.- Returns:
- the sqlServerDatabaseId value.
-
withSqlServerDatabaseId
public SyncMemberInner withSqlServerDatabaseId(UUID sqlServerDatabaseId)
Set the sqlServerDatabaseId property: SQL Server database id of the sync member.- Parameters:
sqlServerDatabaseId- the sqlServerDatabaseId value to set.- Returns:
- the SyncMemberInner object itself.
-
serverName
public String serverName()
Get the serverName property: Server name of the member database in the sync member.- Returns:
- the serverName value.
-
withServerName
public SyncMemberInner withServerName(String serverName)
Set the serverName property: Server name of the member database in the sync member.- Parameters:
serverName- the serverName value to set.- Returns:
- the SyncMemberInner object itself.
-
databaseName
public String databaseName()
Get the databaseName property: Database name of the member database in the sync member.- Returns:
- the databaseName value.
-
withDatabaseName
public SyncMemberInner withDatabaseName(String databaseName)
Set the databaseName property: Database name of the member database in the sync member.- Parameters:
databaseName- the databaseName value to set.- Returns:
- the SyncMemberInner object itself.
-
username
public String username()
Get the username property: User name of the member database in the sync member.- Returns:
- the username value.
-
withUsername
public SyncMemberInner withUsername(String username)
Set the username property: User name of the member database in the sync member.- Parameters:
username- the username value to set.- Returns:
- the SyncMemberInner object itself.
-
password
public String password()
Get the password property: Password of the member database in the sync member.- Returns:
- the password value.
-
withPassword
public SyncMemberInner withPassword(String password)
Set the password property: Password of the member database in the sync member.- Parameters:
password- the password value to set.- Returns:
- the SyncMemberInner object itself.
-
syncDirection
public SyncDirection syncDirection()
Get the syncDirection property: Sync direction of the sync member.- Returns:
- the syncDirection value.
-
withSyncDirection
public SyncMemberInner withSyncDirection(SyncDirection syncDirection)
Set the syncDirection property: Sync direction of the sync member.- Parameters:
syncDirection- the syncDirection value to set.- Returns:
- the SyncMemberInner object itself.
-
syncState
public SyncMemberState syncState()
Get the syncState property: Sync state of the sync member.- Returns:
- the syncState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-