public static final class DescribeSnapshotsResponseBody.Snapshots.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeSnapshotsResponseBody.Snapshots.Builder |
actualBytes(Long actualBytes)
The actual data amount of backup snapshots after duplicates are removed.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
actualItems(Long actualItems)
The actual number of backup objects.
|
DescribeSnapshotsResponseBody.Snapshots |
build() |
DescribeSnapshotsResponseBody.Snapshots.Builder |
bytesDone(Long bytesDone)
The actual amount of data that is generated by incremental backup.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
bytesTotal(Long bytesTotal)
The total data amount of the data source.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
clientId(String clientId)
This parameter is returned only if the value of the SourceType parameter is ECS_FILE.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
clientVersion(String clientVersion)
The version of the anti-ransomware agent.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
createdTime(Long createdTime)
The time when the backup snapshot was created.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
errorFile(String errorFile)
The file that records the information about backup failures, including the information about partially completed backup tasks.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
instanceId(String instanceId)
The ID of the ECS instance.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
itemsDone(Long itemsDone)
The number of backup objects.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
itemsTotal(Long itemsTotal)
The total number of objects in the data source.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
jobId(String jobId)
The ID of the backup task.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
parentSnapshotHash(String parentSnapshotHash)
The hash value of the parent backup snapshot.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
path(String path)
This parameter is returned only if the value of the SourceType parameter is ECS_FILE.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
paths(List<String> paths)
This parameter is returned only if the value of the SourceType parameter is NAS.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
planId(String planId)
The ID of the backup plan.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
regionId(String regionId)
The ID of the region in which backup snapshot is stored.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
retention(Long retention)
The retention period of the backup snapshot.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
snapshotHash(String snapshotHash)
The hash value of the backup snapshot.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
snapshotId(String snapshotId)
The ID of the backup snapshot.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
sourceType(String sourceType)
The type of the data source.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
status(String status)
The status of backup tasks.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
uuid(String uuid)
The UUID of the server.
|
DescribeSnapshotsResponseBody.Snapshots.Builder |
vaultId(String vaultId)
The ID of the backup vault that stores the backup snapshot.
|
public DescribeSnapshotsResponseBody.Snapshots.Builder actualBytes(Long actualBytes)
The actual data amount of backup snapshots after duplicates are removed. Unit: bytes.
example:686188****
public DescribeSnapshotsResponseBody.Snapshots.Builder actualItems(Long actualItems)
The actual number of backup objects.
example:This parameter is available only for file backup.
123
public DescribeSnapshotsResponseBody.Snapshots.Builder bytesDone(Long bytesDone)
The actual amount of data that is generated by incremental backup. Unit: bytes.
example:800
public DescribeSnapshotsResponseBody.Snapshots.Builder bytesTotal(Long bytesTotal)
The total data amount of the data source. Unit: bytes.
example:3484541815****
public DescribeSnapshotsResponseBody.Snapshots.Builder clientId(String clientId)
This parameter is returned only if the value of the SourceType parameter is ECS_FILE. This parameter indicates the ID of the Hybrid Backup Recovery (HBR) agent.
example:c-000dbefaw9f7gnbw****
public DescribeSnapshotsResponseBody.Snapshots.Builder clientVersion(String clientVersion)
The version of the anti-ransomware agent.
example:2.10.0
public DescribeSnapshotsResponseBody.Snapshots.Builder createdTime(Long createdTime)
The time when the backup snapshot was created. The value is a UNIX timestamp. Unit: seconds.
example:1646793988
public DescribeSnapshotsResponseBody.Snapshots.Builder errorFile(String errorFile)
The file that records the information about backup failures, including the information about partially completed backup tasks.
example:s-0008ndhgrflh55i5****.csv
public DescribeSnapshotsResponseBody.Snapshots.Builder instanceId(String instanceId)
The ID of the ECS instance.
example:i-2ze78zfakirgh1yl****
public DescribeSnapshotsResponseBody.Snapshots.Builder itemsDone(Long itemsDone)
The number of backup objects.
example:This parameter is available only for file backup.
6
public DescribeSnapshotsResponseBody.Snapshots.Builder itemsTotal(Long itemsTotal)
The total number of objects in the data source.
example:This parameter is available only for file backup.
7
public DescribeSnapshotsResponseBody.Snapshots.Builder jobId(String jobId)
The ID of the backup task.
example:job-000a2q5vg6awgo01****
public DescribeSnapshotsResponseBody.Snapshots.Builder parentSnapshotHash(String parentSnapshotHash)
The hash value of the parent backup snapshot.
example:a0181606689c9562f092b3190bddb8a62bb5a24784424ba2102bc7fe92ae****
public DescribeSnapshotsResponseBody.Snapshots.Builder path(String path)
This parameter is returned only if the value of the SourceType parameter is ECS_FILE. This parameter indicates the path to the backup files.
example:["/home"]
public DescribeSnapshotsResponseBody.Snapshots.Builder paths(List<String> paths)
This parameter is returned only if the value of the SourceType parameter is NAS. This parameter indicates the path to the backup files.
public DescribeSnapshotsResponseBody.Snapshots.Builder planId(String planId)
The ID of the backup plan.
example:plan-000ee8gh2ljelsnb****
public DescribeSnapshotsResponseBody.Snapshots.Builder regionId(String regionId)
The ID of the region in which backup snapshot is stored.
example:us-east-1
public DescribeSnapshotsResponseBody.Snapshots.Builder retention(Long retention)
The retention period of the backup snapshot.
example:7
public DescribeSnapshotsResponseBody.Snapshots.Builder snapshotHash(String snapshotHash)
The hash value of the backup snapshot.
example:9ee47cf12351e4ddecce8c12f4957d3946cd96fbe24cd4ab264c7200839d****
public DescribeSnapshotsResponseBody.Snapshots.Builder snapshotId(String snapshotId)
The ID of the backup snapshot.
example:s-0003ahfuqpjdztsg****
public DescribeSnapshotsResponseBody.Snapshots.Builder sourceType(String sourceType)
The type of the data source. Valid values:
ECS_FILE
public DescribeSnapshotsResponseBody.Snapshots.Builder status(String status)
The status of backup tasks. Valid values:
COMPLETE
public DescribeSnapshotsResponseBody.Snapshots.Builder uuid(String uuid)
The UUID of the server.
example:d332af48-1269-4a55-a6db-8543a80f****
public DescribeSnapshotsResponseBody.Snapshots.Builder vaultId(String vaultId)
The ID of the backup vault that stores the backup snapshot.
example:v-000ccok3zmw7fbzz****
public DescribeSnapshotsResponseBody.Snapshots build()
Copyright © 2026. All rights reserved.