Class BackupResourceVaultConfig
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceVaultConfig
-
public final class BackupResourceVaultConfig extends Object
Backup resource vault config details.
-
-
Constructor Summary
Constructors Constructor Description BackupResourceVaultConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnhancedSecurityState
enhancedSecurityState()
Get the enhancedSecurityState property: Enabled or Disabled.Boolean
isSoftDeleteFeatureStateEditable()
Get the isSoftDeleteFeatureStateEditable property: Is soft delete feature state editable.List<String>
resourceGuardOperationRequests()
Get the resourceGuardOperationRequests property: ResourceGuard Operation Requests.SoftDeleteFeatureState
softDeleteFeatureState()
Get the softDeleteFeatureState property: Soft Delete feature state.StorageType
storageModelType()
Get the storageModelType property: Storage type.StorageType
storageType()
Get the storageType property: Storage type.StorageTypeState
storageTypeState()
Get the storageTypeState property: Locked or Unlocked.void
validate()
Validates the instance.BackupResourceVaultConfig
withEnhancedSecurityState(EnhancedSecurityState enhancedSecurityState)
Set the enhancedSecurityState property: Enabled or Disabled.BackupResourceVaultConfig
withIsSoftDeleteFeatureStateEditable(Boolean isSoftDeleteFeatureStateEditable)
Set the isSoftDeleteFeatureStateEditable property: Is soft delete feature state editable.BackupResourceVaultConfig
withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)
Set the resourceGuardOperationRequests property: ResourceGuard Operation Requests.BackupResourceVaultConfig
withSoftDeleteFeatureState(SoftDeleteFeatureState softDeleteFeatureState)
Set the softDeleteFeatureState property: Soft Delete feature state.BackupResourceVaultConfig
withStorageModelType(StorageType storageModelType)
Set the storageModelType property: Storage type.BackupResourceVaultConfig
withStorageType(StorageType storageType)
Set the storageType property: Storage type.BackupResourceVaultConfig
withStorageTypeState(StorageTypeState storageTypeState)
Set the storageTypeState property: Locked or Unlocked.
-
-
-
Method Detail
-
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.
-
-