SyncGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SyncGroupInner
- com.
- com.
public final class SyncGroupInner
extends ProxyResource
An Azure SQL Database sync group.
Constructor Summary
Constructor | Description |
---|---|
SyncGroupInner() |
Creates an instance of Sync |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
conflictLoggingRetentionInDays()
Get the conflict |
Sync |
conflictResolutionPolicy()
Get the conflict |
Boolean |
enableConflictLogging()
Get the enable |
static
Sync |
fromJson(JsonReader jsonReader)
Reads an instance of Sync |
String |
hubDatabasePassword()
Get the hub |
String |
hubDatabaseUsername()
Get the hub |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Integer |
interval()
Get the interval property: Sync interval of the sync group. |
Offset |
lastSyncTime()
Get the last |
String |
name()
Get the name property: The name of the resource. |
String |
privateEndpointName()
Get the private |
Sync |
schema()
Get the schema property: Sync schema of the sync group. |
Sku |
sku()
Get the sku property: The name and capacity of the SKU. |
String |
syncDatabaseId()
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 |
void |
validate()
Validates the instance. |
Sync |
withConflictLoggingRetentionInDays(Integer conflictLoggingRetentionInDays)
Set the conflict |
Sync |
withConflictResolutionPolicy(SyncConflictResolutionPolicy conflictResolutionPolicy)
Set the conflict |
Sync |
withEnableConflictLogging(Boolean enableConflictLogging)
Set the enable |
Sync |
withHubDatabasePassword(String hubDatabasePassword)
Set the hub |
Sync |
withHubDatabaseUsername(String hubDatabaseUsername)
Set the hub |
Sync |
withInterval(Integer interval)
Set the interval property: Sync interval of the sync group. |
Sync |
withSchema(SyncGroupSchema schema)
Set the schema property: Sync schema of the sync group. |
Sync |
withSku(Sku sku)
Set the sku property: The name and capacity of the SKU. |
Sync |
withSyncDatabaseId(String syncDatabaseId)
Set the sync |
Sync |
withUsePrivateLinkConnection(Boolean usePrivateLinkConnection)
Set the use |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SyncGroupInner
public SyncGroupInner()
Creates an instance of SyncGroupInner class.
Method Details
conflictLoggingRetentionInDays
public Integer conflictLoggingRetentionInDays()
Get the conflictLoggingRetentionInDays property: Conflict logging retention period.
Returns:
conflictResolutionPolicy
public SyncConflictResolutionPolicy conflictResolutionPolicy()
Get the conflictResolutionPolicy property: Conflict resolution policy of the sync group.
Returns:
enableConflictLogging
public Boolean enableConflictLogging()
Get the enableConflictLogging property: If conflict logging is enabled.
Returns:
fromJson
public static SyncGroupInner fromJson(JsonReader jsonReader)
Reads an instance of SyncGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
hubDatabasePassword
public String hubDatabasePassword()
Get the hubDatabasePassword property: Password for the sync group hub database credential.
Returns:
hubDatabaseUsername
public String hubDatabaseUsername()
Get the hubDatabaseUsername property: User name for the sync group hub database credential.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SyncGroupInner.id()Returns:
interval
public Integer interval()
Get the interval property: Sync interval of the sync group.
Returns:
lastSyncTime
public OffsetDateTime lastSyncTime()
Get the lastSyncTime property: Last sync time of the sync group.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SyncGroupInner.name()Returns:
privateEndpointName
public String privateEndpointName()
Get the privateEndpointName property: Private endpoint name of the sync group if use private link connection is enabled.
Returns:
schema
public SyncGroupSchema schema()
Get the schema property: Sync schema of the sync group.
Returns:
sku
public Sku sku()
Get the sku property: The name and capacity of the SKU.
Returns:
syncDatabaseId
public String syncDatabaseId()
Get the syncDatabaseId property: ARM resource id of the sync database in the sync group.
Returns:
syncState
public SyncGroupState syncState()
Get the syncState property: Sync state of the sync group.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SyncGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SyncGroupInner.type()Returns:
usePrivateLinkConnection
public Boolean usePrivateLinkConnection()
Get the usePrivateLinkConnection property: If use private link connection is enabled.
Returns:
validate
public void validate()
Validates the instance.
withConflictLoggingRetentionInDays
public SyncGroupInner withConflictLoggingRetentionInDays(Integer conflictLoggingRetentionInDays)
Set the conflictLoggingRetentionInDays property: Conflict logging retention period.
Parameters:
Returns:
withConflictResolutionPolicy
public SyncGroupInner withConflictResolutionPolicy(SyncConflictResolutionPolicy conflictResolutionPolicy)
Set the conflictResolutionPolicy property: Conflict resolution policy of the sync group.
Parameters:
Returns:
withEnableConflictLogging
public SyncGroupInner withEnableConflictLogging(Boolean enableConflictLogging)
Set the enableConflictLogging property: If conflict logging is enabled.
Parameters:
Returns:
withHubDatabasePassword
public SyncGroupInner withHubDatabasePassword(String hubDatabasePassword)
Set the hubDatabasePassword property: Password for the sync group hub database credential.
Parameters:
Returns:
withHubDatabaseUsername
public SyncGroupInner withHubDatabaseUsername(String hubDatabaseUsername)
Set the hubDatabaseUsername property: User name for the sync group hub database credential.
Parameters:
Returns:
withInterval
public SyncGroupInner withInterval(Integer interval)
Set the interval property: Sync interval of the sync group.
Parameters:
Returns:
withSchema
public SyncGroupInner withSchema(SyncGroupSchema schema)
Set the schema property: Sync schema of the sync group.
Parameters:
Returns:
withSku
public SyncGroupInner withSku(Sku sku)
Set the sku property: The name and capacity of the SKU.
Parameters:
Returns:
withSyncDatabaseId
public SyncGroupInner withSyncDatabaseId(String syncDatabaseId)
Set the syncDatabaseId property: ARM resource id of the sync database in the sync group.
Parameters:
Returns:
withUsePrivateLinkConnection
public SyncGroupInner withUsePrivateLinkConnection(Boolean usePrivateLinkConnection)
Set the usePrivateLinkConnection property: If use private link connection is enabled.
Parameters:
Returns:
Applies to
Azure SDK for Java