Class AzureFileShareRestoreRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RestoreRequest
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareRestoreRequest
AzureFileShare Restore Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureFileShareRestoreRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the copyOptions property: Options to resolve copy conflicts.Get the recoveryType property: Type of this recovery.Get the restoreFileSpecs property: List of Source Files/Folders(which need to recover) and TargetFolderPath details.Get the restoreRequestType property: Restore Type (FullShareRestore or ItemLevelRestore).Get the sourceResourceId property: Source storage account ARM Id.Get the targetDetails property: Target File Share Details.void
validate()
Validates the instance.withCopyOptions
(CopyOptions copyOptions) Set the copyOptions property: Options to resolve copy conflicts.withRecoveryType
(RecoveryType recoveryType) Set the recoveryType property: Type of this recovery.withRestoreFileSpecs
(List<RestoreFileSpecs> restoreFileSpecs) Set the restoreFileSpecs property: List of Source Files/Folders(which need to recover) and TargetFolderPath details.withRestoreRequestType
(RestoreRequestType restoreRequestType) Set the restoreRequestType property: Restore Type (FullShareRestore or ItemLevelRestore).withSourceResourceId
(String sourceResourceId) Set the sourceResourceId property: Source storage account ARM Id.withTargetDetails
(TargetAfsRestoreInfo targetDetails) Set the targetDetails property: Target File Share Details.
-
Constructor Details
-
AzureFileShareRestoreRequest
public AzureFileShareRestoreRequest()Creates an instance of AzureFileShareRestoreRequest class.
-
-
Method Details
-
recoveryType
Get the recoveryType property: Type of this recovery.- Returns:
- the recoveryType value.
-
withRecoveryType
Set the recoveryType property: Type of this recovery.- Parameters:
recoveryType
- the recoveryType value to set.- Returns:
- the AzureFileShareRestoreRequest object itself.
-
sourceResourceId
Get the sourceResourceId property: Source storage account ARM Id.- Returns:
- the sourceResourceId value.
-
withSourceResourceId
Set the sourceResourceId property: Source storage account ARM Id.- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the AzureFileShareRestoreRequest object itself.
-
copyOptions
Get the copyOptions property: Options to resolve copy conflicts.- Returns:
- the copyOptions value.
-
withCopyOptions
Set the copyOptions property: Options to resolve copy conflicts.- Parameters:
copyOptions
- the copyOptions value to set.- Returns:
- the AzureFileShareRestoreRequest object itself.
-
restoreRequestType
Get the restoreRequestType property: Restore Type (FullShareRestore or ItemLevelRestore).- Returns:
- the restoreRequestType value.
-
withRestoreRequestType
Set the restoreRequestType property: Restore Type (FullShareRestore or ItemLevelRestore).- Parameters:
restoreRequestType
- the restoreRequestType value to set.- Returns:
- the AzureFileShareRestoreRequest object itself.
-
restoreFileSpecs
Get the restoreFileSpecs property: List of Source Files/Folders(which need to recover) and TargetFolderPath details.- Returns:
- the restoreFileSpecs value.
-
withRestoreFileSpecs
Set the restoreFileSpecs property: List of Source Files/Folders(which need to recover) and TargetFolderPath details.- Parameters:
restoreFileSpecs
- the restoreFileSpecs value to set.- Returns:
- the AzureFileShareRestoreRequest object itself.
-
targetDetails
Get the targetDetails property: Target File Share Details.- Returns:
- the targetDetails value.
-
withTargetDetails
Set the targetDetails property: Target File Share Details.- Parameters:
targetDetails
- the targetDetails value to set.- Returns:
- the AzureFileShareRestoreRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRestoreRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-