com.aliyun.rds20140815.models.ModifyAccountMaskingPrivilegeRequest 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 ModifyAccountMaskingPrivilegeRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("DBInstanceName")
public String DBInstanceName;
@NameInMap("ExpireTime")
public String expireTime;
@NameInMap("OwnerId")
public String ownerId;
/**
* This parameter is required.
*/
@NameInMap("Privilege")
public String privilege;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* This parameter is required.
*/
@NameInMap("UserName")
public String userName;
public static ModifyAccountMaskingPrivilegeRequest build(java.util.Map map) throws Exception {
ModifyAccountMaskingPrivilegeRequest self = new ModifyAccountMaskingPrivilegeRequest();
return TeaModel.build(map, self);
}
public ModifyAccountMaskingPrivilegeRequest setDBInstanceName(String DBInstanceName) {
this.DBInstanceName = DBInstanceName;
return this;
}
public String getDBInstanceName() {
return this.DBInstanceName;
}
public ModifyAccountMaskingPrivilegeRequest setExpireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
public String getExpireTime() {
return this.expireTime;
}
public ModifyAccountMaskingPrivilegeRequest setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public ModifyAccountMaskingPrivilegeRequest setPrivilege(String privilege) {
this.privilege = privilege;
return this;
}
public String getPrivilege() {
return this.privilege;
}
public ModifyAccountMaskingPrivilegeRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyAccountMaskingPrivilegeRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public ModifyAccountMaskingPrivilegeRequest setUserName(String userName) {
this.userName = userName;
return this;
}
public String getUserName() {
return this.userName;
}
}