public static final class CreateAsyncTaskRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateAsyncTaskRequest |
build() |
CreateAsyncTaskRequest.Builder |
regionId(String regionId)
RegionId.
|
CreateAsyncTaskRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
CreateAsyncTaskRequest.Builder |
taskParams(String taskParams)
The details of the asynchronous export task.
|
CreateAsyncTaskRequest.Builder |
taskType(Integer taskType)
The type of the asynchronous export task that you want to create.
|
public CreateAsyncTaskRequest.Builder regionId(String regionId)
public CreateAsyncTaskRequest.Builder resourceGroupId(String resourceGroupId)
public CreateAsyncTaskRequest.Builder taskParams(String taskParams)
If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following filed is returned: * **instanceId**: the ID of the instance. This field is required and must be of the STRING type. If **TaskType** is set to **2**, the following field is returned: * **domain**: the domain name of the website, which must be of the STRING type. If you do not specify this field, the forwarding rules of all websites are exported.
public CreateAsyncTaskRequest.Builder taskType(Integer taskType)
* **1**: the task to export the port forwarding rules of an instance * **2**: the task to export the forwarding rules of a website protected by an instance * **3**: the task to export the session persistence and health check settings of an instance * **4**: the task to export the anti-DDoS mitigation policies of an instance * **5**: the task to download the blacklist for destination IP addresses of an instance * **6**: the task to download the whitelist for destination IP addresses of an instance
public CreateAsyncTaskRequest build()
Copyright © 2023. All rights reserved.