SyncMemberInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SyncMemberInner
- com.
- com.
public final class SyncMemberInner
extends ProxyResource
An Azure SQL Database sync member.
Constructor Summary
Constructor | Description |
---|---|
SyncMemberInner() |
Creates an instance of Sync |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseName()
Get the database |
Sync |
databaseType()
Get the 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 |
password()
Get the password property: Password of the member database in the sync member. |
String |
privateEndpointName()
Get the private |
String |
serverName()
Get the server |
UUID |
sqlServerDatabaseId()
Get the sql |
String |
syncAgentId()
Get the sync |
Sync |
syncDirection()
Get the sync |
String |
syncMemberAzureDatabaseResourceId()
Get the sync |
Sync |
syncState()
Get the sync |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
Boolean |
usePrivateLinkConnection()
Get the use |
String |
username()
Get the username property: User name of the member database in the sync member. |
void |
validate()
Validates the instance. |
Sync |
withDatabaseName(String databaseName)
Set the database |
Sync |
withDatabaseType(SyncMemberDbType databaseType)
Set the database |
Sync |
withPassword(String password)
Set the password property: Password of the member database in the sync member. |
Sync |
withServerName(String serverName)
Set the server |
Sync |
withSqlServerDatabaseId(UUID sqlServerDatabaseId)
Set the sql |
Sync |
withSyncAgentId(String syncAgentId)
Set the sync |
Sync |
withSyncDirection(SyncDirection syncDirection)
Set the sync |
Sync |
withSyncMemberAzureDatabaseResourceId(String syncMemberAzureDatabaseResourceId)
Set the sync |
Sync |
withUsePrivateLinkConnection(Boolean usePrivateLinkConnection)
Set the use |
Sync |
withUsername(String username)
Set the username property: User name of the member database in the sync member. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SyncMemberInner
public SyncMemberInner()
Creates an instance of SyncMemberInner class.
Method Details
databaseName
public String databaseName()
Get the databaseName property: Database name of the member database in the sync member.
Returns:
databaseType
public SyncMemberDbType databaseType()
Get the databaseType property: Database type of the sync member.
Returns:
fromJson
public static SyncMemberInner fromJson(JsonReader jsonReader)
Reads an instance of SyncMemberInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SyncMemberInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SyncMemberInner.name()Returns:
password
public String password()
Get the password property: Password of the member database in the sync member.
Returns:
privateEndpointName
public String privateEndpointName()
Get the privateEndpointName property: Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
Returns:
serverName
public String serverName()
Get the serverName property: Server name of the member database in the sync member.
Returns:
sqlServerDatabaseId
public UUID sqlServerDatabaseId()
Get the sqlServerDatabaseId property: SQL Server database id of the sync member.
Returns:
syncAgentId
public String syncAgentId()
Get the syncAgentId property: ARM resource id of the sync agent in the sync member.
Returns:
syncDirection
public SyncDirection syncDirection()
Get the syncDirection property: Sync direction of the sync member.
Returns:
syncMemberAzureDatabaseResourceId
public String syncMemberAzureDatabaseResourceId()
Get the syncMemberAzureDatabaseResourceId property: ARM resource id of the sync member logical database, for sync members in Azure.
Returns:
syncState
public SyncMemberState syncState()
Get the syncState property: Sync state of the sync member.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SyncMemberInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SyncMemberInner.type()Returns:
usePrivateLinkConnection
public Boolean usePrivateLinkConnection()
Get the usePrivateLinkConnection property: Whether to use private link connection.
Returns:
username
public String username()
Get the username property: User name of the member database in the sync member.
Returns:
validate
public void validate()
Validates the instance.
withDatabaseName
public SyncMemberInner withDatabaseName(String databaseName)
Set the databaseName property: Database name of the member database in the sync member.
Parameters:
Returns:
withDatabaseType
public SyncMemberInner withDatabaseType(SyncMemberDbType databaseType)
Set the databaseType property: Database type of the sync member.
Parameters:
Returns:
withPassword
public SyncMemberInner withPassword(String password)
Set the password property: Password of the member database in the sync member.
Parameters:
Returns:
withServerName
public SyncMemberInner withServerName(String serverName)
Set the serverName property: Server name of the member database in the sync member.
Parameters:
Returns:
withSqlServerDatabaseId
public SyncMemberInner withSqlServerDatabaseId(UUID sqlServerDatabaseId)
Set the sqlServerDatabaseId property: SQL Server database id of the sync member.
Parameters:
Returns:
withSyncAgentId
public SyncMemberInner withSyncAgentId(String syncAgentId)
Set the syncAgentId property: ARM resource id of the sync agent in the sync member.
Parameters:
Returns:
withSyncDirection
public SyncMemberInner withSyncDirection(SyncDirection syncDirection)
Set the syncDirection property: Sync direction of the sync member.
Parameters:
Returns:
withSyncMemberAzureDatabaseResourceId
public SyncMemberInner withSyncMemberAzureDatabaseResourceId(String syncMemberAzureDatabaseResourceId)
Set the syncMemberAzureDatabaseResourceId property: ARM resource id of the sync member logical database, for sync members in Azure.
Parameters:
Returns:
withUsePrivateLinkConnection
public SyncMemberInner withUsePrivateLinkConnection(Boolean usePrivateLinkConnection)
Set the usePrivateLinkConnection property: Whether to use private link connection.
Parameters:
Returns:
withUsername
public SyncMemberInner withUsername(String username)
Set the username property: User name of the member database in the sync member.
Parameters:
Returns:
Applies to
Azure SDK for Java