SyncGroupInner Class

public final class SyncGroupInner
extends ProxyResource

An Azure SQL Database sync group.

Constructor Summary

Constructor Description
SyncGroupInner()

Creates an instance of SyncGroupInner class.

Method Summary

Modifier and Type Method and Description
Integer conflictLoggingRetentionInDays()

Get the conflictLoggingRetentionInDays property: Conflict logging retention period.

SyncConflictResolutionPolicy conflictResolutionPolicy()

Get the conflictResolutionPolicy property: Conflict resolution policy of the sync group.

Boolean enableConflictLogging()

Get the enableConflictLogging property: If conflict logging is enabled.

String hubDatabasePassword()

Get the hubDatabasePassword property: Password for the sync group hub database credential.

String hubDatabaseUsername()

Get the hubDatabaseUsername property: User name for the sync group hub database credential.

Integer interval()

Get the interval property: Sync interval of the sync group.

OffsetDateTime lastSyncTime()

Get the lastSyncTime property: Last sync time of the sync group.

String privateEndpointName()

Get the privateEndpointName property: Private endpoint name of the sync group if use private link connection is enabled.

SyncGroupSchema 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 syncDatabaseId property: ARM resource id of the sync database in the sync group.

SyncGroupState syncState()

Get the syncState property: Sync state of the sync group.

Boolean usePrivateLinkConnection()

Get the usePrivateLinkConnection property: If use private link connection is enabled.

void validate()

Validates the instance.

SyncGroupInner withConflictLoggingRetentionInDays(Integer conflictLoggingRetentionInDays)

Set the conflictLoggingRetentionInDays property: Conflict logging retention period.

SyncGroupInner withConflictResolutionPolicy(SyncConflictResolutionPolicy conflictResolutionPolicy)

Set the conflictResolutionPolicy property: Conflict resolution policy of the sync group.

SyncGroupInner withEnableConflictLogging(Boolean enableConflictLogging)

Set the enableConflictLogging property: If conflict logging is enabled.

SyncGroupInner withHubDatabasePassword(String hubDatabasePassword)

Set the hubDatabasePassword property: Password for the sync group hub database credential.

SyncGroupInner withHubDatabaseUsername(String hubDatabaseUsername)

Set the hubDatabaseUsername property: User name for the sync group hub database credential.

SyncGroupInner withInterval(Integer interval)

Set the interval property: Sync interval of the sync group.

SyncGroupInner withSchema(SyncGroupSchema schema)

Set the schema property: Sync schema of the sync group.

SyncGroupInner withSku(Sku sku)

Set the sku property: The name and capacity of the SKU.

SyncGroupInner withSyncDatabaseId(String syncDatabaseId)

Set the syncDatabaseId property: ARM resource id of the sync database in the sync group.

SyncGroupInner withUsePrivateLinkConnection(Boolean usePrivateLinkConnection)

Set the usePrivateLinkConnection property: If use private link connection is enabled.

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:

the conflictLoggingRetentionInDays value.

conflictResolutionPolicy

public SyncConflictResolutionPolicy conflictResolutionPolicy()

Get the conflictResolutionPolicy property: Conflict resolution policy of the sync group.

Returns:

the conflictResolutionPolicy value.

enableConflictLogging

public Boolean enableConflictLogging()

Get the enableConflictLogging property: If conflict logging is enabled.

Returns:

the enableConflictLogging value.

hubDatabasePassword

public String hubDatabasePassword()

Get the hubDatabasePassword property: Password for the sync group hub database credential.

Returns:

the hubDatabasePassword value.

hubDatabaseUsername

public String hubDatabaseUsername()

Get the hubDatabaseUsername property: User name for the sync group hub database credential.

Returns:

the hubDatabaseUsername value.

interval

public Integer interval()

Get the interval property: Sync interval of the sync group.

Returns:

the interval value.

lastSyncTime

public OffsetDateTime lastSyncTime()

Get the lastSyncTime property: Last sync time of the sync group.

Returns:

the lastSyncTime value.

privateEndpointName

public String privateEndpointName()

Get the privateEndpointName property: Private endpoint name of the sync group if use private link connection is enabled.

Returns:

the privateEndpointName value.

schema

public SyncGroupSchema schema()

Get the schema property: Sync schema of the sync group.

Returns:

the schema value.

sku

public Sku sku()

Get the sku property: The name and capacity of the SKU.

Returns:

the sku value.

syncDatabaseId

public String syncDatabaseId()

Get the syncDatabaseId property: ARM resource id of the sync database in the sync group.

Returns:

the syncDatabaseId value.

syncState

public SyncGroupState syncState()

Get the syncState property: Sync state of the sync group.

Returns:

the syncState value.

usePrivateLinkConnection

public Boolean usePrivateLinkConnection()

Get the usePrivateLinkConnection property: If use private link connection is enabled.

Returns:

the usePrivateLinkConnection value.

validate

public void validate()

Validates the instance.

withConflictLoggingRetentionInDays

public SyncGroupInner withConflictLoggingRetentionInDays(Integer conflictLoggingRetentionInDays)

Set the conflictLoggingRetentionInDays property: Conflict logging retention period.

Parameters:

conflictLoggingRetentionInDays - the conflictLoggingRetentionInDays value to set.

Returns:

the SyncGroupInner object itself.

withConflictResolutionPolicy

public SyncGroupInner withConflictResolutionPolicy(SyncConflictResolutionPolicy conflictResolutionPolicy)

Set the conflictResolutionPolicy property: Conflict resolution policy of the sync group.

Parameters:

conflictResolutionPolicy - the conflictResolutionPolicy value to set.

Returns:

the SyncGroupInner object itself.

withEnableConflictLogging

public SyncGroupInner withEnableConflictLogging(Boolean enableConflictLogging)

Set the enableConflictLogging property: If conflict logging is enabled.

Parameters:

enableConflictLogging - the enableConflictLogging value to set.

Returns:

the SyncGroupInner object itself.

withHubDatabasePassword

public SyncGroupInner withHubDatabasePassword(String hubDatabasePassword)

Set the hubDatabasePassword property: Password for the sync group hub database credential.

Parameters:

hubDatabasePassword - the hubDatabasePassword value to set.

Returns:

the SyncGroupInner object itself.

withHubDatabaseUsername

public SyncGroupInner withHubDatabaseUsername(String hubDatabaseUsername)

Set the hubDatabaseUsername property: User name for the sync group hub database credential.

Parameters:

hubDatabaseUsername - the hubDatabaseUsername value to set.

Returns:

the SyncGroupInner object itself.

withInterval

public SyncGroupInner withInterval(Integer interval)

Set the interval property: Sync interval of the sync group.

Parameters:

interval - the interval value to set.

Returns:

the SyncGroupInner object itself.

withSchema

public SyncGroupInner withSchema(SyncGroupSchema schema)

Set the schema property: Sync schema of the sync group.

Parameters:

schema - the schema value to set.

Returns:

the SyncGroupInner object itself.

withSku

public SyncGroupInner withSku(Sku sku)

Set the sku property: The name and capacity of the SKU.

Parameters:

sku - the sku value to set.

Returns:

the SyncGroupInner object itself.

withSyncDatabaseId

public SyncGroupInner withSyncDatabaseId(String syncDatabaseId)

Set the syncDatabaseId property: ARM resource id of the sync database in the sync group.

Parameters:

syncDatabaseId - the syncDatabaseId value to set.

Returns:

the SyncGroupInner object itself.

withUsePrivateLinkConnection

public SyncGroupInner withUsePrivateLinkConnection(Boolean usePrivateLinkConnection)

Set the usePrivateLinkConnection property: If use private link connection is enabled.

Parameters:

usePrivateLinkConnection - the usePrivateLinkConnection value to set.

Returns:

the SyncGroupInner object itself.

Applies to