Class SyncGroupInner


  • public class SyncGroupInner
    extends com.azure.core.management.ProxyResource
    An Azure SQL Database sync group.
    • Constructor Detail

      • SyncGroupInner

        public SyncGroupInner()
    • Method Detail

      • interval

        public Integer interval()
        Get the interval property: Sync interval of the sync group.
        Returns:
        the interval value.
      • 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.
      • lastSyncTime

        public OffsetDateTime lastSyncTime()
        Get the lastSyncTime property: Last sync time of the sync group.
        Returns:
        the lastSyncTime value.
      • conflictResolutionPolicy

        public SyncConflictResolutionPolicy conflictResolutionPolicy()
        Get the conflictResolutionPolicy property: Conflict resolution policy of the sync group.
        Returns:
        the conflictResolutionPolicy value.
      • 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.
      • syncDatabaseId

        public String syncDatabaseId()
        Get the syncDatabaseId property: ARM resource id of the sync database in the sync group.
        Returns:
        the syncDatabaseId value.
      • 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.
      • hubDatabaseUsername

        public String hubDatabaseUsername()
        Get the hubDatabaseUsername property: User name for the sync group hub database credential.
        Returns:
        the hubDatabaseUsername value.
      • 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.
      • hubDatabasePassword

        public String hubDatabasePassword()
        Get the hubDatabasePassword property: Password for the sync group hub database credential.
        Returns:
        the hubDatabasePassword value.
      • 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.
      • syncState

        public SyncGroupState syncState()
        Get the syncState property: Sync state of the sync group.
        Returns:
        the syncState value.
      • schema

        public SyncGroupSchema schema()
        Get the schema property: Sync schema of the sync group.
        Returns:
        the schema value.
      • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.