![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.polardb20170801.models.ModifyDBNodeHotReplicaModeRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class ModifyDBNodeHotReplicaModeRequest extends TeaModel {
/**
* The ID of the cluster.
*
* You can call the DescribeDBClusters operation to query the details of the clusters that belong to your Alibaba Cloud account, such as cluster IDs.
*
* This parameter is required.
*
* example:
* pc-2vc327c2a14a3u858
*/
@NameInMap("DBClusterId")
public String DBClusterId;
/**
* The ID of the node in the cluster.
* This parameter is required.
*
* example:
* pi-2ze28275h9x5r4wt1
*/
@NameInMap("DBNodeId")
public String DBNodeId;
/**
* Specifies whether to enable the hot standby feature. Valid values:
*
* - ON
* - OFF
*
* This parameter is required.
*
* example:
* ON
*/
@NameInMap("HotReplicaMode")
public String hotReplicaMode;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static ModifyDBNodeHotReplicaModeRequest build(java.util.Map map) throws Exception {
ModifyDBNodeHotReplicaModeRequest self = new ModifyDBNodeHotReplicaModeRequest();
return TeaModel.build(map, self);
}
public ModifyDBNodeHotReplicaModeRequest setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public ModifyDBNodeHotReplicaModeRequest setDBNodeId(String DBNodeId) {
this.DBNodeId = DBNodeId;
return this;
}
public String getDBNodeId() {
return this.DBNodeId;
}
public ModifyDBNodeHotReplicaModeRequest setHotReplicaMode(String hotReplicaMode) {
this.hotReplicaMode = hotReplicaMode;
return this;
}
public String getHotReplicaMode() {
return this.hotReplicaMode;
}
public ModifyDBNodeHotReplicaModeRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public ModifyDBNodeHotReplicaModeRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public ModifyDBNodeHotReplicaModeRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyDBNodeHotReplicaModeRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy