
com.aliyun.sdk.service.quickbi_public20220101.models.QueryUserInfoByAccountRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-quickbi_public20220101 Show documentation
Show all versions of alibabacloud-quickbi_public20220101 Show documentation
Alibaba Cloud quickbi-public (20220101) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.quickbi_public20220101.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link QueryUserInfoByAccountRequest} extends {@link RequestModel}
*
* QueryUserInfoByAccountRequest
*/
public class QueryUserInfoByAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Account")
@com.aliyun.core.annotation.Validation(required = true)
private String account;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ParentAccountName")
private String parentAccountName;
private QueryUserInfoByAccountRequest(Builder builder) {
super(builder);
this.account = builder.account;
this.parentAccountName = builder.parentAccountName;
}
public static Builder builder() {
return new Builder();
}
public static QueryUserInfoByAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return account
*/
public String getAccount() {
return this.account;
}
/**
* @return parentAccountName
*/
public String getParentAccountName() {
return this.parentAccountName;
}
public static final class Builder extends Request.Builder {
private String account;
private String parentAccountName;
private Builder() {
super();
}
private Builder(QueryUserInfoByAccountRequest request) {
super(request);
this.account = request.account;
this.parentAccountName = request.parentAccountName;
}
/**
* Enter the name or ID of the Alibaba Cloud account that you want to query.
*
* When you enter an account name:
*
* - If the organization user is a master account, such as main_account, the query account format is master account. That is, the main account main_account to be entered.
* - If the organization user is a RAM user, such as a [email protected], the query account format is the head of the RAM user, that is, the RAM user to be entered is zhangsan.
*
*
* ID:
*
* - Enter the UID of the account to query the account information.
*
*
*
* This parameter is required.
*
* example:
* 1386587****@163.com
*/
public Builder account(String account) {
this.putQueryParameter("Account", account);
this.account = account;
return this;
}
/**
* ParentAccountName.
*/
public Builder parentAccountName(String parentAccountName) {
this.putQueryParameter("ParentAccountName", parentAccountName);
this.parentAccountName = parentAccountName;
return this;
}
@Override
public QueryUserInfoByAccountRequest build() {
return new QueryUserInfoByAccountRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy