com.aliyun.sdk.service.gpdb20160503.models.DescribeRolesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-gpdb20160503 Show documentation
Show all versions of alibabacloud-gpdb20160503 Show documentation
Alibaba Cloud gpdb (20160503) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeRolesResponseBody} extends {@link TeaModel}
*
* DescribeRolesResponseBody
*/
public class DescribeRolesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("RoleList")
private RoleList roleList;
private DescribeRolesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.roleList = builder.roleList;
}
public static Builder builder() {
return new Builder();
}
public static DescribeRolesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return roleList
*/
public RoleList getRoleList() {
return this.roleList;
}
public static final class Builder {
private String requestId;
private RoleList roleList;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The roles.
*/
public Builder roleList(RoleList roleList) {
this.roleList = roleList;
return this;
}
public DescribeRolesResponseBody build() {
return new DescribeRolesResponseBody(this);
}
}
public static class RoleList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Role")
private java.util.List < String > role;
private RoleList(Builder builder) {
this.role = builder.role;
}
public static Builder builder() {
return new Builder();
}
public static RoleList create() {
return builder().build();
}
/**
* @return role
*/
public java.util.List < String > getRole() {
return this.role;
}
public static final class Builder {
private java.util.List < String > role;
/**
* Role.
*/
public Builder role(java.util.List < String > role) {
this.role = role;
return this;
}
public RoleList build() {
return new RoleList(this);
}
}
}
}