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 |
DBNodeType(String DBNodeType)
The type of the node.
|
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 upgrade the specifications within the scheduled time period.
|
ModifyDBNodeClassRequest.Builder |
plannedStartTime(String plannedStartTime)
The earliest start 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 DBNodeType(String DBNodeType)
* RO * STANDBY * DLNode
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 PlannedStartTime. >* By default, if you specify `PlannedStartTime` but do not specify PlannedEndTime, the latest start time of the task is set to `Value of PlannedEndTime + 30 minutes`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and you do not specify PlannedEndTime, the latest start time of the task is `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 that ranges from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`. >* If this parameter is left 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 © 2024. All rights reserved.