com.aliyun.dds20151201.models.ModifyDBInstanceDescriptionRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dds20151201.models;
import com.aliyun.tea.*;
public class ModifyDBInstanceDescriptionRequest extends TeaModel {
/**
* The name of the instance.
*
*
*
* The name cannot start with http://
or https://
.
*
* It must start with a letter.
*
* It must be 2 to 256 characters in length, and can contain letters, underscores (_), hyphens (-), and digits.
*
*
* This parameter is required.
*
* example:
* testdata
*/
@NameInMap("DBInstanceDescription")
public String DBInstanceDescription;
/**
* The instance ID.
*
* To modify the name of a shard or mongos node in a sharded cluster instance, you must also specify the NodeId parameter.
*
* This parameter is required.
*
* example:
* dds-bp2234****
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
/**
* The ID of the shard or mongos node in the sharded cluster instance.
*
* This parameter is valid only if you set the DBInstanceId parameter to the ID of a sharded cluster instance.
*
*
* example:
* d-bp89067****
*/
@NameInMap("NodeId")
public String nodeId;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static ModifyDBInstanceDescriptionRequest build(java.util.Map map) throws Exception {
ModifyDBInstanceDescriptionRequest self = new ModifyDBInstanceDescriptionRequest();
return TeaModel.build(map, self);
}
public ModifyDBInstanceDescriptionRequest setDBInstanceDescription(String DBInstanceDescription) {
this.DBInstanceDescription = DBInstanceDescription;
return this;
}
public String getDBInstanceDescription() {
return this.DBInstanceDescription;
}
public ModifyDBInstanceDescriptionRequest setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public ModifyDBInstanceDescriptionRequest setNodeId(String nodeId) {
this.nodeId = nodeId;
return this;
}
public String getNodeId() {
return this.nodeId;
}
public ModifyDBInstanceDescriptionRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public ModifyDBInstanceDescriptionRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public ModifyDBInstanceDescriptionRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyDBInstanceDescriptionRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}