com.aliyun.rds20140815.models.ModifyReadonlyInstanceDelayReplicationTimeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class ModifyReadonlyInstanceDelayReplicationTimeRequest extends TeaModel {
/**
* The ID of the read-only instance. You can call the DescribeDBInstances operation to query the instance ID.
* This parameter is required.
*
* example:
* rr-bpxxxxx
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The replication latency of the data replication. Unit: seconds.
* This parameter is required.
*
* example:
* 100
*/
@NameInMap("ReadSQLReplicationTime")
public String readSQLReplicationTime;
/**
* The resource group ID. You can call the DescribeDBInstanceAttribute to query the resource group ID.
*
* example:
* rg-acfmy****
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static ModifyReadonlyInstanceDelayReplicationTimeRequest build(java.util.Map map) throws Exception {
ModifyReadonlyInstanceDelayReplicationTimeRequest self = new ModifyReadonlyInstanceDelayReplicationTimeRequest();
return TeaModel.build(map, self);
}
public ModifyReadonlyInstanceDelayReplicationTimeRequest setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public ModifyReadonlyInstanceDelayReplicationTimeRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public ModifyReadonlyInstanceDelayReplicationTimeRequest setReadSQLReplicationTime(String readSQLReplicationTime) {
this.readSQLReplicationTime = readSQLReplicationTime;
return this;
}
public String getReadSQLReplicationTime() {
return this.readSQLReplicationTime;
}
public ModifyReadonlyInstanceDelayReplicationTimeRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public ModifyReadonlyInstanceDelayReplicationTimeRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyReadonlyInstanceDelayReplicationTimeRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}