public static final class DescribeSnapshotsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DescribeSnapshotsRequest.Builder |
apiVersion(String apiVersion)
The version of the anti-ransomware policy.
|
DescribeSnapshotsRequest |
build() |
DescribeSnapshotsRequest.Builder |
currentPage(Integer currentPage)
The number of the page to return.
|
DescribeSnapshotsRequest.Builder |
isAliYunEcs(String isAliYunEcs)
Specifies whether the server is an Elastic Compute Service (ECS) instance.
|
DescribeSnapshotsRequest.Builder |
machineRegion(String machineRegion)
The region in which the server resides.
|
DescribeSnapshotsRequest.Builder |
machineRemark(String machineRemark)
The name or IP address of the server.
|
DescribeSnapshotsRequest.Builder |
nextToken(String nextToken)
The starting position of the query.
|
DescribeSnapshotsRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribeSnapshotsRequest.Builder |
statusList(String statusList)
The status of backup snapshots from which data can be restored.
|
DescribeSnapshotsRequest.Builder |
uuid(String uuid)
The UUID of the server.
|
public DescribeSnapshotsRequest.Builder apiVersion(String apiVersion)
* **1.0.0** * **2.0.0**
public DescribeSnapshotsRequest.Builder currentPage(Integer currentPage)
public DescribeSnapshotsRequest.Builder isAliYunEcs(String isAliYunEcs)
* **true**: yes * **false**: no
public DescribeSnapshotsRequest.Builder machineRegion(String machineRegion)
public DescribeSnapshotsRequest.Builder machineRemark(String machineRemark)
public DescribeSnapshotsRequest.Builder nextToken(String nextToken)
> If you call the operation for the first time, you do not need to specify the parameter. The response to the first call contains the token that can be used for the second call. Each subsequent response contains the token that can be used for the next call.
public DescribeSnapshotsRequest.Builder pageSize(Integer pageSize)
public DescribeSnapshotsRequest.Builder statusList(String statusList)
* **COMPLETE**: complete * **PARTIAL_COMPLETE**: partial complete
public DescribeSnapshotsRequest.Builder uuid(String uuid)
> You can call the [DescribeBackupPolicy](~~DescribeBackupPolicy~~) operation to query the UUIDs of servers.
public DescribeSnapshotsRequest build()
Copyright © 2023. All rights reserved.