public static final class UpgradeDBClusterVersionRequest.Builder extends Object
public UpgradeDBClusterVersionRequest.Builder DBClusterId(String DBClusterId)
public UpgradeDBClusterVersionRequest.Builder fromTimeService(Boolean fromTimeService)
* **false** (default) * **true** > This parameter is not required when you call the operation.
public UpgradeDBClusterVersionRequest.Builder ownerAccount(String ownerAccount)
public UpgradeDBClusterVersionRequest.Builder ownerId(Long ownerId)
public UpgradeDBClusterVersionRequest.Builder plannedEndTime(String plannedEndTime)
> * The value of this parameter must be at least 30 minutes later than the value of PlannedStartTime. >* If you specify `PlannedStartTime` but do not specify PlannedEndTime, the latest start time of the task is `PlannedEndTime + 30 minutes`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and do not specify PlannedEndTime, the latest start time of the task is set to `2021-01-14T09:30:00Z`.
public UpgradeDBClusterVersionRequest.Builder plannedStartTime(String plannedStartTime)
> * The earliest start time of the task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in time between `2021-01-14T09:00:00Z` and `2021-01-15T09:00:00Z`. >* If you do not specify this parameter, the kernel update task runs immediately after you submit the request.
public UpgradeDBClusterVersionRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpgradeDBClusterVersionRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpgradeDBClusterVersionRequest.Builder targetDBRevisionVersionCode(String targetDBRevisionVersionCode)
public UpgradeDBClusterVersionRequest.Builder targetProxyRevisionVersionCode(String targetProxyRevisionVersionCode)
public UpgradeDBClusterVersionRequest.Builder upgradeLabel(String upgradeLabel)
> * This parameter is applicable only when you upgrade PolarDB for MySQL 8.0.1 to PolarDB for MySQL 8.0.2. >* If you specify this parameter, you must set `UpgradePolicy` to **COLD**.
public UpgradeDBClusterVersionRequest.Builder upgradePolicy(String upgradePolicy)
* **HOT**: hot upgrade. * **COLD**: cold upgrade. Only PolarDB for MySQL Cluster Edition that runs MySQL 8.0 supports this upgrade method.
public UpgradeDBClusterVersionRequest.Builder upgradeType(String upgradeType)
* **PROXY**: specifies to upgrade PloarProxy. * **DB**: specifies to upgrade the kernel version. * **ALL**: specifies to upgrade both PloarProxy and kernel version.
public UpgradeDBClusterVersionRequest build()
Copyright © 2024. All rights reserved.