Class BackupResourceConfig
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceConfig
The resource storage details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the crossRegionRestoreFlag property: Opt in details of Cross Region Restore feature.Get the dedupState property: Vault Dedup 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.withCrossRegionRestoreFlag
(Boolean crossRegionRestoreFlag) Set the crossRegionRestoreFlag property: Opt in details of Cross Region Restore feature.withDedupState
(DedupState dedupState) Set the dedupState property: Vault Dedup 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.withXcoolState
(XcoolState xcoolState) Set the xcoolState property: Vault x-cool state.Get the xcoolState property: Vault x-cool state.
-
Constructor Details
-
BackupResourceConfig
public BackupResourceConfig()Creates an instance of BackupResourceConfig 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 BackupResourceConfig 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 BackupResourceConfig 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 BackupResourceConfig object itself.
-
crossRegionRestoreFlag
Get the crossRegionRestoreFlag property: Opt in details of Cross Region Restore feature.- Returns:
- the crossRegionRestoreFlag value.
-
withCrossRegionRestoreFlag
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
Get the dedupState property: Vault Dedup state.- Returns:
- the dedupState value.
-
withDedupState
Set the dedupState property: Vault Dedup state.- Parameters:
dedupState
- the dedupState value to set.- Returns:
- the BackupResourceConfig object itself.
-
xcoolState
Get the xcoolState property: Vault x-cool state.- Returns:
- the xcoolState value.
-
withXcoolState
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.
-