public static final class DescribeAsyncTasksResponseBody.AsyncTasks.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeAsyncTasksResponseBody.AsyncTasks |
build() |
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
endTime(Long endTime)
The end time of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
startTime(Long startTime)
The start time of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskId(Long taskId)
The ID of the job.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskParams(String taskParams)
The task parameter.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskResult(String taskResult)
The execution result of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskStatus(Integer taskStatus)
The status of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskType(Integer taskType)
The type of the task.
|
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder endTime(Long endTime)
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder startTime(Long startTime)
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskId(Long taskId)
public DescribeAsyncTasksResponseBody.AsyncTasks.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. Data type: string. If **TaskType** is set to **2**, the following field is returned: * **domain**: the domain name of the website. Data type: string.
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskResult(String taskResult)
If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following fields are returned: * **instanceId**: the ID of the instance. Data type: string. * **url**: the URL to download the exported file from Object Storage Service (OSS). Data type: string. If **TaskType** is set to **2**, the following fields are returned: * **domain**: the domain name of the website. Data type: string. * **url**: the URL to download the exported file from OSS. Data type: string.
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskStatus(Integer taskStatus)
* **0**: indicates that the task is being initialized. * **1**: indicates that the task is in progress. * **2**: indicates that the task is successful. * **3**: indicates that the task failed.
public DescribeAsyncTasksResponseBody.AsyncTasks.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 sessions and health check settings of an instance * **4**: the task to export the 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 DescribeAsyncTasksResponseBody.AsyncTasks build()
Copyright © 2023. All rights reserved.