Class BackupResourceConfig

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceConfig

public final class BackupResourceConfig extends Object
The resource storage details.
  • Constructor Details

    • BackupResourceConfig

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

    • storageModelType

      public StorageType storageModelType()
      Get the storageModelType property: Storage type.
      Returns:
      the storageModelType value.
    • withStorageModelType

      public BackupResourceConfig withStorageModelType(StorageType storageModelType)
      Set the storageModelType property: Storage type.
      Parameters:
      storageModelType - the storageModelType value to set.
      Returns:
      the BackupResourceConfig object itself.
    • storageType

      public StorageType storageType()
      Get the storageType property: Storage type.
      Returns:
      the storageType value.
    • withStorageType

      public BackupResourceConfig withStorageType(StorageType storageType)
      Set the storageType property: Storage type.
      Parameters:
      storageType - the storageType value to set.
      Returns:
      the BackupResourceConfig object itself.
    • storageTypeState

      public StorageTypeState storageTypeState()
      Get the storageTypeState property: Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.
      Returns:
      the storageTypeState value.
    • withStorageTypeState

      public BackupResourceConfig withStorageTypeState(StorageTypeState storageTypeState)
      Set the storageTypeState property: Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.
      Parameters:
      storageTypeState - the storageTypeState value to set.
      Returns:
      the BackupResourceConfig object itself.
    • crossRegionRestoreFlag

      public Boolean crossRegionRestoreFlag()
      Get the crossRegionRestoreFlag property: Opt in details of Cross Region Restore feature.
      Returns:
      the crossRegionRestoreFlag value.
    • withCrossRegionRestoreFlag

      public BackupResourceConfig withCrossRegionRestoreFlag(Boolean crossRegionRestoreFlag)
      Set the crossRegionRestoreFlag property: Opt in details of Cross Region Restore feature.
      Parameters:
      crossRegionRestoreFlag - the crossRegionRestoreFlag value to set.
      Returns:
      the BackupResourceConfig object itself.
    • dedupState

      public DedupState dedupState()
      Get the dedupState property: Vault Dedup state.
      Returns:
      the dedupState value.
    • withDedupState

      public BackupResourceConfig withDedupState(DedupState dedupState)
      Set the dedupState property: Vault Dedup state.
      Parameters:
      dedupState - the dedupState value to set.
      Returns:
      the BackupResourceConfig object itself.
    • xcoolState

      public XcoolState xcoolState()
      Get the xcoolState property: Vault x-cool state.
      Returns:
      the xcoolState value.
    • withXcoolState

      public BackupResourceConfig withXcoolState(XcoolState xcoolState)
      Set the xcoolState property: Vault x-cool state.
      Parameters:
      xcoolState - the xcoolState value to set.
      Returns:
      the BackupResourceConfig object itself.
    • validate

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