public static final class ModifyDBNodeClassRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyDBNodeClassRequest |
build() |
ModifyDBNodeClassRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifyDBNodeClassRequest.Builder |
DBClusterId(String DBClusterId)
The ID of the cluster.
|
ModifyDBNodeClassRequest.Builder |
DBNodeTargetClass(String DBNodeTargetClass)
The specifications of all nodes.
|
ModifyDBNodeClassRequest.Builder |
modifyType(String modifyType)
The type of the configuration change.
|
ModifyDBNodeClassRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifyDBNodeClassRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyDBNodeClassRequest.Builder |
plannedEndTime(String plannedEndTime)
The latest start time to run the task.
|
ModifyDBNodeClassRequest.Builder |
plannedStartTime(String plannedStartTime)
The earliest time to upgrade the specifications within the scheduled time period.
|
ModifyDBNodeClassRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyDBNodeClassRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
ModifyDBNodeClassRequest.Builder |
subCategory(String subCategory)
The category of the cluster.
|
public ModifyDBNodeClassRequest.Builder clientToken(String clientToken)
public ModifyDBNodeClassRequest.Builder DBClusterId(String DBClusterId)
public ModifyDBNodeClassRequest.Builder DBNodeTargetClass(String DBNodeTargetClass)
public ModifyDBNodeClassRequest.Builder modifyType(String modifyType)
* **Upgrade** * **Downgrade**
public ModifyDBNodeClassRequest.Builder ownerAccount(String ownerAccount)
public ModifyDBNodeClassRequest.Builder ownerId(Long ownerId)
public ModifyDBNodeClassRequest.Builder plannedEndTime(String plannedEndTime)
> * The value of this parameter must be at least 30 minutes later than the value of the PlannedStartTime parameter. > * If you specify the `PlannedStartTime` parameter but do not specify a value for the PlannedEndTime parameter, the latest start time of the task is set to a value that is calculated by `the value of the PlannedEndTime parameter + 30 minutes` by default. For example, if you set the `PlannedStartTime` parameter to `2021-01-14T09:00:00Z` and you do not specify the PlannedEndTime parameter, the latest start time of the task is set to `2021-01-14T09:30:00Z`.
public ModifyDBNodeClassRequest.Builder plannedStartTime(String plannedStartTime)
> * This parameter takes effect only when `ModifyType` is set to `Upgrade`. > * 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 the time range from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`. > * If this parameter is empty, the upgrade task is immediately performed.
public ModifyDBNodeClassRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyDBNodeClassRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyDBNodeClassRequest.Builder subCategory(String subCategory)
* **normal_exclusive**: dedicated * **normal_general**: genera-purpose
public ModifyDBNodeClassRequest build()
Copyright © 2023. All rights reserved.