Class RestoreFilesTargetInfo
java.lang.Object
com.azure.resourcemanager.dataprotection.models.RestoreTargetInfoBase
com.azure.resourcemanager.dataprotection.models.RestoreFilesTargetInfo
Class encapsulating restore as files target parameters.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RestoreFilesTargetInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the targetDetails property: Destination of RestoreAsFiles operation, when destination is not a datasource.void
validate()
Validates the instance.withRecoveryOption
(RecoveryOption recoveryOption) Set the recoveryOption property: Recovery Option.withRestoreLocation
(String restoreLocation) Set the restoreLocation property: Target Restore region.withTargetDetails
(TargetDetails targetDetails) Set the targetDetails property: Destination of RestoreAsFiles operation, when destination is not a datasource.Methods inherited from class com.azure.resourcemanager.dataprotection.models.RestoreTargetInfoBase
recoveryOption, restoreLocation
-
Constructor Details
-
RestoreFilesTargetInfo
public RestoreFilesTargetInfo()Creates an instance of RestoreFilesTargetInfo class.
-
-
Method Details
-
targetDetails
Get the targetDetails property: Destination of RestoreAsFiles operation, when destination is not a datasource.- Returns:
- the targetDetails value.
-
withTargetDetails
Set the targetDetails property: Destination of RestoreAsFiles operation, when destination is not a datasource.- Parameters:
targetDetails
- the targetDetails value to set.- Returns:
- the RestoreFilesTargetInfo object itself.
-
withRecoveryOption
Set the recoveryOption property: Recovery Option.- Overrides:
withRecoveryOption
in classRestoreTargetInfoBase
- Parameters:
recoveryOption
- the recoveryOption value to set.- Returns:
- the RestoreTargetInfoBase object itself.
-
withRestoreLocation
Set the restoreLocation property: Target Restore region.- Overrides:
withRestoreLocation
in classRestoreTargetInfoBase
- Parameters:
restoreLocation
- the restoreLocation value to set.- Returns:
- the RestoreTargetInfoBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRestoreTargetInfoBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-