public static final class CreateRestoreJobRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateRestoreJobRequest |
build() |
CreateRestoreJobRequest.Builder |
includes(String includes)
The directory in which the files included in the restoration task are located.
|
CreateRestoreJobRequest.Builder |
snapshotHash(String snapshotHash)
The hash value of the snapshot.
|
CreateRestoreJobRequest.Builder |
snapshotId(String snapshotId)
The ID of the snapshot that you want to use for restoration.
|
CreateRestoreJobRequest.Builder |
snapshotVersion(String snapshotVersion)
The version of the backup data.
|
CreateRestoreJobRequest.Builder |
sourceType(String sourceType)
The type of the data source.
|
CreateRestoreJobRequest.Builder |
target(String target)
The path to which you want to restore data.
|
CreateRestoreJobRequest.Builder |
uuid(String uuid)
The UUID of the server whose data you want to restore.
|
CreateRestoreJobRequest.Builder |
vaultId(String vaultId)
The ID of the backup vault that is used in the restoration task.
|
public CreateRestoreJobRequest.Builder includes(String includes)
The directory in which the files included in the restoration task are located. This parameter is specified when you create the anti-ransomware policy. The value is a directory that requires protection.
This parameter is required.
example:["root"]
public CreateRestoreJobRequest.Builder snapshotHash(String snapshotHash)
The hash value of the snapshot.
You can call the DescribeSnapshots operation to obtain the value of this parameter.
This parameter is required.
example:d4b399edaad94b038e8f91873f19e3eae010ca30798fc36db3a164dd343f****
public CreateRestoreJobRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot that you want to use for restoration.
You can call the DescribeSnapshots operation to obtain the value of this parameter.
This parameter is required.
example:s-00023dhaatxp18mh****
public CreateRestoreJobRequest.Builder snapshotVersion(String snapshotVersion)
The version of the backup data.
You can call the DescribeSnapshots operation to obtain the value of this parameter.
This parameter is required.
example:165570544****
public CreateRestoreJobRequest.Builder sourceType(String sourceType)
The type of the data source. Valid values:
ECS_FILE
public CreateRestoreJobRequest.Builder target(String target)
The path to which you want to restore data.
This parameter is required.
example:/root/testfls
public CreateRestoreJobRequest.Builder uuid(String uuid)
The UUID of the server whose data you want to restore.
This parameter is required.
example:inet-ecs-4e876cb0-09f7-43b8-82ef-4bc7a93769b5
public CreateRestoreJobRequest.Builder vaultId(String vaultId)
The ID of the backup vault that is used in the restoration task.
You can call the DescribeSnapshots operation to obtain the value of this parameter.
This parameter is required.
example:v-0002n12wokck2q0x****
public CreateRestoreJobRequest build()
Copyright © 2026. All rights reserved.