All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.rds20140815.models.ModifyDBInstanceHAConfigRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;

import com.aliyun.tea.*;

public class ModifyDBInstanceHAConfigRequest extends TeaModel {
    /**
     * 

The ID of the instance.

*

This parameter is required.

* * example: *

rm-uf6wjk543xxxxx

*/ @NameInMap("DbInstanceId") public String dbInstanceId; /** *

The HA mode of the instance.

*
    *
  • RPO: Data consistency is preferred. The instance ensures data reliability to minimize data losses. If you have high requirements on data consistency, select this mode.
  • *
  • RTO: Service availability is preferred. The instance restores the database service at the earliest opportunity to ensure service availability. If you have high requirements for service availability, select this mode.
  • *
*

This parameter is required.

* * example: *

RPO

*/ @NameInMap("HAMode") public String HAMode; @NameInMap("OwnerAccount") public String ownerAccount; @NameInMap("OwnerId") public Long ownerId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; /** *

The data replication mode of the instance. For more information, see Data replication mode.

*
    *
  • Semi-sync: the semi-synchronous mode.
  • *
  • Sync: the synchronous mode.
  • *
  • gAsyncg: the asynchronous mode.
  • *
  • Mgr: the MySQL group replication (MGR) mode. This mode is available only for the China site (aliyun.com).
  • *
*
*

This parameter is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.

*
*

This parameter is required.

* * example: *

Sync

*/ @NameInMap("SyncMode") public String syncMode; public static ModifyDBInstanceHAConfigRequest build(java.util.Map map) throws Exception { ModifyDBInstanceHAConfigRequest self = new ModifyDBInstanceHAConfigRequest(); return TeaModel.build(map, self); } public ModifyDBInstanceHAConfigRequest setDbInstanceId(String dbInstanceId) { this.dbInstanceId = dbInstanceId; return this; } public String getDbInstanceId() { return this.dbInstanceId; } public ModifyDBInstanceHAConfigRequest setHAMode(String HAMode) { this.HAMode = HAMode; return this; } public String getHAMode() { return this.HAMode; } public ModifyDBInstanceHAConfigRequest setOwnerAccount(String ownerAccount) { this.ownerAccount = ownerAccount; return this; } public String getOwnerAccount() { return this.ownerAccount; } public ModifyDBInstanceHAConfigRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public ModifyDBInstanceHAConfigRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public ModifyDBInstanceHAConfigRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } public ModifyDBInstanceHAConfigRequest setSyncMode(String syncMode) { this.syncMode = syncMode; return this; } public String getSyncMode() { return this.syncMode; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy