Class BackupResourceVaultConfig
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceVaultConfig
Backup resource vault config details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BackupResourceVaultConfig class. -
Method Summary
Modifier and TypeMethodDescriptionGet the enhancedSecurityState property: Enabled or Disabled.Get the isSoftDeleteFeatureStateEditable property: Is soft delete feature state editable.Get the resourceGuardOperationRequests property: ResourceGuard Operation Requests.Get the softDeleteFeatureState property: Soft Delete feature state.Get the storageModelType property: Storage type.Get the storageType property: Storage type.Get the storageTypeState property: Locked or Unlocked.void
validate()
Validates the instance.withEnhancedSecurityState
(EnhancedSecurityState enhancedSecurityState) Set the enhancedSecurityState property: Enabled or Disabled.withIsSoftDeleteFeatureStateEditable
(Boolean isSoftDeleteFeatureStateEditable) Set the isSoftDeleteFeatureStateEditable property: Is soft delete feature state editable.withResourceGuardOperationRequests
(List<String> resourceGuardOperationRequests) Set the resourceGuardOperationRequests property: ResourceGuard Operation Requests.withSoftDeleteFeatureState
(SoftDeleteFeatureState softDeleteFeatureState) Set the softDeleteFeatureState property: Soft Delete feature state.withStorageModelType
(StorageType storageModelType) Set the storageModelType property: Storage type.withStorageType
(StorageType storageType) Set the storageType property: Storage type.withStorageTypeState
(StorageTypeState storageTypeState) Set the storageTypeState property: Locked or Unlocked.
-
Constructor Details
-
BackupResourceVaultConfig
public BackupResourceVaultConfig()Creates an instance of BackupResourceVaultConfig class.
-
-
Method Details
-
storageModelType
Get the storageModelType property: Storage type.- Returns:
- the storageModelType value.
-
withStorageModelType
Set the storageModelType property: Storage type.- Parameters:
storageModelType
- the storageModelType value to set.- Returns:
- the BackupResourceVaultConfig object itself.
-
storageType
Get the storageType property: Storage type.- Returns:
- the storageType value.
-
withStorageType
Set the storageType property: Storage type.- Parameters:
storageType
- the storageType value to set.- Returns:
- the BackupResourceVaultConfig object itself.
-
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
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
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
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
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
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.
-