com.aliyun.rds20140815.models.ModifyDBInstanceNetworkExpireTimeRequest 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 ModifyDBInstanceNetworkExpireTimeRequest extends TeaModel {
/**
* The retention days of the classic network endpoint. Valid values: 1 to 120. Unit: days.
* This parameter is required.
*
* example:
* 7
*/
@NameInMap("ClassicExpiredDays")
public Integer classicExpiredDays;
/**
* The classic network endpoint whose expiration time you want to extend. Two types of classic network endpoints are supported:
*
* - The internal endpoint of the classic network.
* - The read/write splitting endpoint of the classic network.
*
* This parameter is required.
*
* example:
* rm-uf6wjk5xxxxx.mysql.rds.aliyuncs.com
*/
@NameInMap("ConnectionString")
public String connectionString;
/**
* The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
* This parameter is required.
*
* example:
* rm-uf6wjk5xxxxxxx
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static ModifyDBInstanceNetworkExpireTimeRequest build(java.util.Map map) throws Exception {
ModifyDBInstanceNetworkExpireTimeRequest self = new ModifyDBInstanceNetworkExpireTimeRequest();
return TeaModel.build(map, self);
}
public ModifyDBInstanceNetworkExpireTimeRequest setClassicExpiredDays(Integer classicExpiredDays) {
this.classicExpiredDays = classicExpiredDays;
return this;
}
public Integer getClassicExpiredDays() {
return this.classicExpiredDays;
}
public ModifyDBInstanceNetworkExpireTimeRequest setConnectionString(String connectionString) {
this.connectionString = connectionString;
return this;
}
public String getConnectionString() {
return this.connectionString;
}
public ModifyDBInstanceNetworkExpireTimeRequest setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public ModifyDBInstanceNetworkExpireTimeRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public ModifyDBInstanceNetworkExpireTimeRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public ModifyDBInstanceNetworkExpireTimeRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyDBInstanceNetworkExpireTimeRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}