public static final class FailoverDBClusterRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
FailoverDBClusterRequest |
build() |
FailoverDBClusterRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
FailoverDBClusterRequest.Builder |
DBClusterId(String DBClusterId)
The ID of the cluster.
|
FailoverDBClusterRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
FailoverDBClusterRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
FailoverDBClusterRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
FailoverDBClusterRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
FailoverDBClusterRequest.Builder |
targetDBNodeId(String targetDBNodeId)
The ID of the read-only node that you want to promote to the primary node.
|
public FailoverDBClusterRequest.Builder clientToken(String clientToken)
public FailoverDBClusterRequest.Builder DBClusterId(String DBClusterId)
public FailoverDBClusterRequest.Builder ownerAccount(String ownerAccount)
public FailoverDBClusterRequest.Builder ownerId(Long ownerId)
public FailoverDBClusterRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public FailoverDBClusterRequest.Builder resourceOwnerId(Long resourceOwnerId)
public FailoverDBClusterRequest.Builder targetDBNodeId(String targetDBNodeId)
> * If you leave this parameter empty, the system selects one or more available read-only nodes that have the highest failover priority as candidate primary nodes. If the failover to the first read-only node fails due to network issues, abnormal replication status, or other reasons, the system attempts to fail over your applications to the next read-only node until the failover is successful. >* This parameter is required for PolarDB for Oracle and PolarDB for PostgreSQL clusters. This parameter is optional for PolarDB for MySQL clusters.
public FailoverDBClusterRequest build()
Copyright © 2023. All rights reserved.