public static final class ModifyDBClusterPrimaryZoneRequest.Builder extends Object
public ModifyDBClusterPrimaryZoneRequest.Builder DBClusterId(String DBClusterId)
> You can call the [DescribeDBClusters](~~173433~~) operation to query information about all clusters that are deployed in a specified region, such as the cluster ID.
public ModifyDBClusterPrimaryZoneRequest.Builder fromTimeService(Boolean fromTimeService)
* false: scheduled task * true: immediate task
public ModifyDBClusterPrimaryZoneRequest.Builder isSwitchOverForDisaster(String isSwitchOverForDisaster)
public ModifyDBClusterPrimaryZoneRequest.Builder ownerAccount(String ownerAccount)
public ModifyDBClusterPrimaryZoneRequest.Builder ownerId(Long ownerId)
public ModifyDBClusterPrimaryZoneRequest.Builder plannedEndTime(String plannedEndTime)
> * The value of this parameter must be at least 30 minutes later than the value of the PlannedStartTime parameter. * By default, if you specify the `PlannedStartTime` parameter but do not specify the PlannedEndTime parameter, the latest start time of the task is set to a value that is calculated by using the following formula: `Value of the PlannedEndTime parameter + 30 minutes`. 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 ModifyDBClusterPrimaryZoneRequest.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 the time range from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`. * If this parameter is empty, the primary zone is immediately switched.
public ModifyDBClusterPrimaryZoneRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyDBClusterPrimaryZoneRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyDBClusterPrimaryZoneRequest.Builder VPCId(String VPCId)
public ModifyDBClusterPrimaryZoneRequest.Builder vSwitchId(String vSwitchId)
> * This parameter is required for a PolarDB for Oracle or PolarDB for PostgreSQL cluster. * For a PolarDB for MySQL cluster: * This parameter is optional if no vSwitches have been created in the destination zone. The default vSwitch is used. * This parameter is required if a vSwitch has been created in the destination zone.
public ModifyDBClusterPrimaryZoneRequest.Builder zoneId(String zoneId)
> You can call the [DescribeRegions](~~98041~~) operation to query available zones.
public ModifyDBClusterPrimaryZoneRequest build()
Copyright © 2023. All rights reserved.