Class SyncBackupInstanceRequest

java.lang.Object
com.azure.resourcemanager.dataprotection.models.SyncBackupInstanceRequest

public final class SyncBackupInstanceRequest extends Object
Sync BackupInstance Request.
  • Constructor Details

    • SyncBackupInstanceRequest

      public SyncBackupInstanceRequest()
      Creates an instance of SyncBackupInstanceRequest class.
  • Method Details

    • syncType

      public SyncType syncType()
      Get the syncType property: Field indicating sync type e.g. to sync only in case of failure or in all cases.
      Returns:
      the syncType value.
    • withSyncType

      public SyncBackupInstanceRequest withSyncType(SyncType syncType)
      Set the syncType property: Field indicating sync type e.g. to sync only in case of failure or in all cases.
      Parameters:
      syncType - the syncType value to set.
      Returns:
      the SyncBackupInstanceRequest object itself.
    • validate

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