public static final class DescribeScheduleTasksRequest.Builder extends Object
public DescribeScheduleTasksRequest.Builder DBClusterDescription(String DBClusterDescription)
public DescribeScheduleTasksRequest.Builder DBClusterId(String DBClusterId)
> * You can call the [DescribeDBClusters](~~98094~~) operation to query the information of all PolarDB clusters that are deployed in a specific region, such as the cluster IDs. * If you do not specify this parameter, all scheduled tasks on your clusters are queried.
public DescribeScheduleTasksRequest.Builder orderId(String orderId)
> The order ID can contain only digits.
public DescribeScheduleTasksRequest.Builder ownerAccount(String ownerAccount)
public DescribeScheduleTasksRequest.Builder ownerId(Long ownerId)
public DescribeScheduleTasksRequest.Builder pageNumber(Integer pageNumber)
public DescribeScheduleTasksRequest.Builder pageSize(Integer pageSize)
public DescribeScheduleTasksRequest.Builder plannedEndTime(String plannedEndTime)
public DescribeScheduleTasksRequest.Builder plannedStartTime(String plannedStartTime)
public DescribeScheduleTasksRequest.Builder regionId(String regionId)
> * You can call the [DescribeRegions](~~98041~~) operation to query the region information of all clusters in a specific account. * If you do not specify this parameter, scheduled tasks on your clusters that are deployed in all regions are queried.
public DescribeScheduleTasksRequest.Builder resourceGroupId(String resourceGroupId)
public DescribeScheduleTasksRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeScheduleTasksRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeScheduleTasksRequest.Builder status(String status)
* **pending**: The tasks are pending execution. * **executing**: The tasks are being executed. * **failure**: The tasks failed and need to be run again. * **finish**: The tasks are complete. * **cancel**: The tasks are canceled. * **expired**: The tasks are expired. The tasks are not started within the time periods that are specified to start the tasks. * **rollback**: The tasks are being rolled back. > If you do not specify this parameter, all scheduled tasks in all states are queried.
public DescribeScheduleTasksRequest.Builder taskAction(String taskAction)
* **CreateDBNodes** * **ModifyDBNodeClass** * **UpgradeDBClusterVersion** * **ModifyDBClusterPrimaryZone** > * If you specify the `PlannedStartTime` parameter when you call the four preceding operations, the details of each task are returned. Otherwise, an empty string is returned for the `TimerInfos` parameter. * If you do not specify this parameter, all types of scheduled tasks on you clusters are queried.
public DescribeScheduleTasksRequest build()
Copyright © 2024. All rights reserved.