Class BackupResourceVaultConfig

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

public final class BackupResourceVaultConfig extends Object
Backup resource vault config details.
  • Constructor Details

    • BackupResourceVaultConfig

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

    • storageModelType

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

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

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

      public BackupResourceVaultConfig withStorageType(StorageType storageType)
      Set the storageType property: Storage type.
      Parameters:
      storageType - the storageType value to set.
      Returns:
      the BackupResourceVaultConfig 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 BackupResourceVaultConfig 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 BackupResourceVaultConfig object itself.
    • enhancedSecurityState

      public EnhancedSecurityState enhancedSecurityState()
      Get the enhancedSecurityState property: Enabled or Disabled.
      Returns:
      the enhancedSecurityState value.
    • withEnhancedSecurityState

      public BackupResourceVaultConfig withEnhancedSecurityState(EnhancedSecurityState enhancedSecurityState)
      Set the enhancedSecurityState property: Enabled or Disabled.
      Parameters:
      enhancedSecurityState - the enhancedSecurityState value to set.
      Returns:
      the BackupResourceVaultConfig object itself.
    • softDeleteFeatureState

      public SoftDeleteFeatureState softDeleteFeatureState()
      Get the softDeleteFeatureState property: Soft Delete feature state.
      Returns:
      the softDeleteFeatureState value.
    • withSoftDeleteFeatureState

      public BackupResourceVaultConfig withSoftDeleteFeatureState(SoftDeleteFeatureState softDeleteFeatureState)
      Set the softDeleteFeatureState property: Soft Delete feature state.
      Parameters:
      softDeleteFeatureState - the softDeleteFeatureState value to set.
      Returns:
      the BackupResourceVaultConfig object itself.
    • resourceGuardOperationRequests

      public List<String> resourceGuardOperationRequests()
      Get the resourceGuardOperationRequests property: ResourceGuard Operation Requests.
      Returns:
      the resourceGuardOperationRequests value.
    • withResourceGuardOperationRequests

      public BackupResourceVaultConfig withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)
      Set the resourceGuardOperationRequests property: ResourceGuard Operation Requests.
      Parameters:
      resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.
      Returns:
      the BackupResourceVaultConfig object itself.
    • isSoftDeleteFeatureStateEditable

      public Boolean isSoftDeleteFeatureStateEditable()
      Get the isSoftDeleteFeatureStateEditable property: Is soft delete feature state editable.
      Returns:
      the isSoftDeleteFeatureStateEditable value.
    • withIsSoftDeleteFeatureStateEditable

      public BackupResourceVaultConfig withIsSoftDeleteFeatureStateEditable(Boolean isSoftDeleteFeatureStateEditable)
      Set the isSoftDeleteFeatureStateEditable property: Is soft delete feature state editable.
      Parameters:
      isSoftDeleteFeatureStateEditable - the isSoftDeleteFeatureStateEditable value to set.
      Returns:
      the BackupResourceVaultConfig object itself.
    • validate

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