
ksyun.client.krds.createinstanceaccountaction.v20160701.CreateInstanceAccountActionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ksyun-java-sdk Show documentation
Show all versions of ksyun-java-sdk Show documentation
The KSYUN Web Services SDK for Java provides Java APIs
for building software on KSYUN' cost-effective, scalable, and reliable
infrastructure products. The KSYUN Java SDK allows developers to code
against APIs for all of KSYUN's infrastructure web services (KSC
S3, KSC KEC, KSC RDS etc).
The newest version!
package ksyun.client.krds.createinstanceaccountaction.v20160701;
import common.annotation.KsYunField;
import lombok.Data;
import lombok.ToString;
import java.util.List;
/**
* @Classname CreateInstanceAccountActionRequest
* @Description 请求参数
*/
@Data
public class CreateInstanceAccountActionRequest {
/**
* 实例ID
*/
@KsYunField(name = "DBInstanceIdentifier")
private String DBInstanceIdentifier;
/**
* 账户名称:数字字母下滑线
*/
@KsYunField(name = "InstanceAccountName")
private String InstanceAccountName;
/**
* 账户密码
*/
@KsYunField(name = "InstanceAccountPassword")
private String InstanceAccountPassword;
/**
* 账户描述
*/
@KsYunField(name = "InstanceAccountDescription")
private String InstanceAccountDescription;
/**
* 该账户对应的数据库权限
*/
@KsYunField(name = "InstanceAccountPrivileges", type = 2)
private List InstanceAccountPrivilegesList;
@Data
@ToString
public static class InstanceAccountPrivilegesDto {
/**
* 数据库名称
* 数据库名称和权限必须同时填写
*/
private String InstanceDatabaseName;
/**
* 数据库权限
* 数据库名称和权限必须同时填写
* 只读:ReadOnly,
* 读写:ReadWrite,
* 仅DDL:DDLOnly,
* 仅DML:DMLOnly,
*/
private String Privilege;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy