index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListFoldersForParentResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListFoldersForParentResponse} extends {@link TeaModel}
*
* <p>ListFoldersForParentResponse</p>
*/
public class ListFoldersForParentResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListFoldersForParentResponseBody body;
private ListFoldersForParentResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListFoldersForParentResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListFoldersForParentResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListFoldersForParentResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListFoldersForParentResponseBody body);
@Override
ListFoldersForParentResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListFoldersForParentResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListFoldersForParentResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListFoldersForParentResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListFoldersForParentResponseBody body) {
this.body = body;
return this;
}
@Override
public ListFoldersForParentResponse build() {
return new ListFoldersForParentResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListFoldersForParentResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListFoldersForParentResponseBody} extends {@link TeaModel}
*
* <p>ListFoldersForParentResponseBody</p>
*/
public class ListFoldersForParentResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Folders")
private Folders folders;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListFoldersForParentResponseBody(Builder builder) {
this.folders = builder.folders;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListFoldersForParentResponseBody create() {
return builder().build();
}
/**
* @return folders
*/
public Folders getFolders() {
return this.folders;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Folders folders;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The information of the folders.</p>
*/
public Builder folders(Folders folders) {
this.folders = folders;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListFoldersForParentResponseBody build() {
return new ListFoldersForParentResponseBody(this);
}
}
/**
*
* {@link ListFoldersForParentResponseBody} extends {@link TeaModel}
*
* <p>ListFoldersForParentResponseBody</p>
*/
public static class Folder extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("FolderName")
private String folderName;
private Folder(Builder builder) {
this.createTime = builder.createTime;
this.folderId = builder.folderId;
this.folderName = builder.folderName;
}
public static Builder builder() {
return new Builder();
}
public static Folder create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return folderName
*/
public String getFolderName() {
return this.folderName;
}
public static final class Builder {
private String createTime;
private String folderId;
private String folderName;
/**
* <p>The time when the folder was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>rd-evic31****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The name of the folder.</p>
*
* <strong>example:</strong>
* <p>project-1</p>
*/
public Builder folderName(String folderName) {
this.folderName = folderName;
return this;
}
public Folder build() {
return new Folder(this);
}
}
}
/**
*
* {@link ListFoldersForParentResponseBody} extends {@link TeaModel}
*
* <p>ListFoldersForParentResponseBody</p>
*/
public static class Folders extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Folder")
private java.util.List<Folder> folder;
private Folders(Builder builder) {
this.folder = builder.folder;
}
public static Builder builder() {
return new Builder();
}
public static Folders create() {
return builder().build();
}
/**
* @return folder
*/
public java.util.List<Folder> getFolder() {
return this.folder;
}
public static final class Builder {
private java.util.List<Folder> folder;
/**
* Folder.
*/
public Builder folder(java.util.List<Folder> folder) {
this.folder = folder;
return this;
}
public Folders build() {
return new Folders(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListHandshakesForAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListHandshakesForAccountRequest} extends {@link RequestModel}
*
* <p>ListHandshakesForAccountRequest</p>
*/
public class ListHandshakesForAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
private ListHandshakesForAccountRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListHandshakesForAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<ListHandshakesForAccountRequest, Builder> {
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListHandshakesForAccountRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListHandshakesForAccountRequest build() {
return new ListHandshakesForAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListHandshakesForAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListHandshakesForAccountResponse} extends {@link TeaModel}
*
* <p>ListHandshakesForAccountResponse</p>
*/
public class ListHandshakesForAccountResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListHandshakesForAccountResponseBody body;
private ListHandshakesForAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListHandshakesForAccountResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListHandshakesForAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListHandshakesForAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListHandshakesForAccountResponseBody body);
@Override
ListHandshakesForAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListHandshakesForAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListHandshakesForAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListHandshakesForAccountResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListHandshakesForAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public ListHandshakesForAccountResponse build() {
return new ListHandshakesForAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListHandshakesForAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListHandshakesForAccountResponseBody} extends {@link TeaModel}
*
* <p>ListHandshakesForAccountResponseBody</p>
*/
public class ListHandshakesForAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Handshakes")
private Handshakes handshakes;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListHandshakesForAccountResponseBody(Builder builder) {
this.handshakes = builder.handshakes;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListHandshakesForAccountResponseBody create() {
return builder().build();
}
/**
* @return handshakes
*/
public Handshakes getHandshakes() {
return this.handshakes;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Handshakes handshakes;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The information of the invitations.</p>
*/
public Builder handshakes(Handshakes handshakes) {
this.handshakes = handshakes;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of invitations.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListHandshakesForAccountResponseBody build() {
return new ListHandshakesForAccountResponseBody(this);
}
}
/**
*
* {@link ListHandshakesForAccountResponseBody} extends {@link TeaModel}
*
* <p>ListHandshakesForAccountResponseBody</p>
*/
public static class Handshake extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("HandshakeId")
private String handshakeId;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Note")
private String note;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("TargetEntity")
private String targetEntity;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private Handshake(Builder builder) {
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.handshakeId = builder.handshakeId;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.modifyTime = builder.modifyTime;
this.note = builder.note;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.targetEntity = builder.targetEntity;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static Handshake create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return handshakeId
*/
public String getHandshakeId() {
return this.handshakeId;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return note
*/
public String getNote() {
return this.note;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return targetEntity
*/
public String getTargetEntity() {
return this.targetEntity;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String createTime;
private String expireTime;
private String handshakeId;
private String masterAccountId;
private String masterAccountName;
private String modifyTime;
private String note;
private String resourceDirectoryId;
private String status;
private String targetEntity;
private String targetType;
/**
* <p>The time when the invitation was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the invitation expires. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-24T09:55:41Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The ID of the invitation.</p>
*
* <strong>example:</strong>
* <p>h-4N57QZzCTtES****</p>
*/
public Builder handshakeId(String handshakeId) {
this.handshakeId = handshakeId;
return this;
}
/**
* <p>The ID of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>172841235500****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>CompanyA</p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The time when the invitation was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The comment on the invitation.</p>
*
* <strong>example:</strong>
* <p>Welcome</p>
*/
public Builder note(String note) {
this.note = note;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-abcdef****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the invitation. Valid values:</p>
* <ul>
* <li>Pending: The invitation is waiting for confirmation.</li>
* <li>Accepted: The invitation is accepted.</li>
* <li>Cancelled: The invitation is canceled.</li>
* <li>Declined: The invitation is rejected.</li>
* <li>Expired: The invitation expires.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The ID or logon email address of the invited Alibaba Cloud account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder targetEntity(String targetEntity) {
this.targetEntity = targetEntity;
return this;
}
/**
* <p>The type of the invited Alibaba Cloud account. Valid values:</p>
* <ul>
* <li>Account: indicates the ID of the account.</li>
* <li>Email: indicates the logon email address of the account.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Email</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public Handshake build() {
return new Handshake(this);
}
}
}
/**
*
* {@link ListHandshakesForAccountResponseBody} extends {@link TeaModel}
*
* <p>ListHandshakesForAccountResponseBody</p>
*/
public static class Handshakes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Handshake")
private java.util.List<Handshake> handshake;
private Handshakes(Builder builder) {
this.handshake = builder.handshake;
}
public static Builder builder() {
return new Builder();
}
public static Handshakes create() {
return builder().build();
}
/**
* @return handshake
*/
public java.util.List<Handshake> getHandshake() {
return this.handshake;
}
public static final class Builder {
private java.util.List<Handshake> handshake;
/**
* Handshake.
*/
public Builder handshake(java.util.List<Handshake> handshake) {
this.handshake = handshake;
return this;
}
public Handshakes build() {
return new Handshakes(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListHandshakesForResourceDirectoryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListHandshakesForResourceDirectoryRequest} extends {@link RequestModel}
*
* <p>ListHandshakesForResourceDirectoryRequest</p>
*/
public class ListHandshakesForResourceDirectoryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
private ListHandshakesForResourceDirectoryRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListHandshakesForResourceDirectoryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<ListHandshakesForResourceDirectoryRequest, Builder> {
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListHandshakesForResourceDirectoryRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListHandshakesForResourceDirectoryRequest build() {
return new ListHandshakesForResourceDirectoryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListHandshakesForResourceDirectoryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListHandshakesForResourceDirectoryResponse} extends {@link TeaModel}
*
* <p>ListHandshakesForResourceDirectoryResponse</p>
*/
public class ListHandshakesForResourceDirectoryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListHandshakesForResourceDirectoryResponseBody body;
private ListHandshakesForResourceDirectoryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListHandshakesForResourceDirectoryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListHandshakesForResourceDirectoryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListHandshakesForResourceDirectoryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListHandshakesForResourceDirectoryResponseBody body);
@Override
ListHandshakesForResourceDirectoryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListHandshakesForResourceDirectoryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListHandshakesForResourceDirectoryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListHandshakesForResourceDirectoryResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListHandshakesForResourceDirectoryResponseBody body) {
this.body = body;
return this;
}
@Override
public ListHandshakesForResourceDirectoryResponse build() {
return new ListHandshakesForResourceDirectoryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListHandshakesForResourceDirectoryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListHandshakesForResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>ListHandshakesForResourceDirectoryResponseBody</p>
*/
public class ListHandshakesForResourceDirectoryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Handshakes")
private Handshakes handshakes;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListHandshakesForResourceDirectoryResponseBody(Builder builder) {
this.handshakes = builder.handshakes;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListHandshakesForResourceDirectoryResponseBody create() {
return builder().build();
}
/**
* @return handshakes
*/
public Handshakes getHandshakes() {
return this.handshakes;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Handshakes handshakes;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The information of the invitations.</p>
*/
public Builder handshakes(Handshakes handshakes) {
this.handshakes = handshakes;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListHandshakesForResourceDirectoryResponseBody build() {
return new ListHandshakesForResourceDirectoryResponseBody(this);
}
}
/**
*
* {@link ListHandshakesForResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>ListHandshakesForResourceDirectoryResponseBody</p>
*/
public static class Handshake extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("HandshakeId")
private String handshakeId;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Note")
private String note;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("TargetEntity")
private String targetEntity;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private Handshake(Builder builder) {
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.handshakeId = builder.handshakeId;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.modifyTime = builder.modifyTime;
this.note = builder.note;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.targetEntity = builder.targetEntity;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static Handshake create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return handshakeId
*/
public String getHandshakeId() {
return this.handshakeId;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return note
*/
public String getNote() {
return this.note;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return targetEntity
*/
public String getTargetEntity() {
return this.targetEntity;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String createTime;
private String expireTime;
private String handshakeId;
private String masterAccountId;
private String masterAccountName;
private String modifyTime;
private String note;
private String resourceDirectoryId;
private String status;
private String targetEntity;
private String targetType;
/**
* <p>The time when the invitation was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the invitation expires. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-24T09:55:41Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The ID of the invitation.</p>
*
* <strong>example:</strong>
* <p>h-ycm4rp****</p>
*/
public Builder handshakeId(String handshakeId) {
this.handshakeId = handshakeId;
return this;
}
/**
* <p>The ID of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>172841235500****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>Alice</p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The time when the invitation was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The comment on the invitation.</p>
*
* <strong>example:</strong>
* <p>Welcome</p>
*/
public Builder note(String note) {
this.note = note;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-abcdef****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the invitation. Valid values:</p>
* <ul>
* <li>Pending: The invitation is waiting for confirmation.</li>
* <li>Accepted: The invitation is accepted.</li>
* <li>Cancelled: The invitation is canceled.</li>
* <li>Declined: The invitation is rejected.</li>
* <li>Expired: The invitation expires.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The ID or logon email address of the invited account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder targetEntity(String targetEntity) {
this.targetEntity = targetEntity;
return this;
}
/**
* <p>The type of the invited account. Valid values:</p>
* <ul>
* <li>Account: indicates the ID of the account.</li>
* <li>Email: indicates the logon email address of the account.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Email</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public Handshake build() {
return new Handshake(this);
}
}
}
/**
*
* {@link ListHandshakesForResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>ListHandshakesForResourceDirectoryResponseBody</p>
*/
public static class Handshakes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Handshake")
private java.util.List<Handshake> handshake;
private Handshakes(Builder builder) {
this.handshake = builder.handshake;
}
public static Builder builder() {
return new Builder();
}
public static Handshakes create() {
return builder().build();
}
/**
* @return handshake
*/
public java.util.List<Handshake> getHandshake() {
return this.handshake;
}
public static final class Builder {
private java.util.List<Handshake> handshake;
/**
* Handshake.
*/
public Builder handshake(java.util.List<Handshake> handshake) {
this.handshake = handshake;
return this;
}
public Handshakes build() {
return new Handshakes(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPoliciesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPoliciesRequest} extends {@link RequestModel}
*
* <p>ListPoliciesRequest</p>
*/
public class ListPoliciesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
private ListPoliciesRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.policyType = builder.policyType;
}
public static Builder builder() {
return new Builder();
}
public static ListPoliciesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
public static final class Builder extends Request.Builder<ListPoliciesRequest, Builder> {
private String language;
private Integer pageNumber;
private Integer pageSize;
private String policyType;
private Builder() {
super();
}
private Builder(ListPoliciesRequest request) {
super(request);
this.language = request.language;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.policyType = request.policyType;
}
/**
* <p>The language that is used to return the description of the system policy. Valid values:</p>
* <ul>
* <li>en: English</li>
* <li>zh-CN: Chinese</li>
* <li>ja: Japanese</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.putQueryParameter("PolicyType", policyType);
this.policyType = policyType;
return this;
}
@Override
public ListPoliciesRequest build() {
return new ListPoliciesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPoliciesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPoliciesResponse} extends {@link TeaModel}
*
* <p>ListPoliciesResponse</p>
*/
public class ListPoliciesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListPoliciesResponseBody body;
private ListPoliciesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListPoliciesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListPoliciesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListPoliciesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListPoliciesResponseBody body);
@Override
ListPoliciesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListPoliciesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListPoliciesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListPoliciesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListPoliciesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListPoliciesResponse build() {
return new ListPoliciesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPoliciesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPoliciesResponseBody} extends {@link TeaModel}
*
* <p>ListPoliciesResponseBody</p>
*/
public class ListPoliciesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Policies")
private Policies policies;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListPoliciesResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.policies = builder.policies;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListPoliciesResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return policies
*/
public Policies getPolicies() {
return this.policies;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private Policies policies;
private String requestId;
private Integer totalCount;
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The information of the policies.</p>
*/
public Builder policies(Policies policies) {
this.policies = policies;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of returned entries.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListPoliciesResponseBody build() {
return new ListPoliciesResponseBody(this);
}
}
/**
*
* {@link ListPoliciesResponseBody} extends {@link TeaModel}
*
* <p>ListPoliciesResponseBody</p>
*/
public static class Policy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachmentCount")
private Integer attachmentCount;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DefaultVersion")
private String defaultVersion;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Policy(Builder builder) {
this.attachmentCount = builder.attachmentCount;
this.createDate = builder.createDate;
this.defaultVersion = builder.defaultVersion;
this.description = builder.description;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Policy create() {
return builder().build();
}
/**
* @return attachmentCount
*/
public Integer getAttachmentCount() {
return this.attachmentCount;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return defaultVersion
*/
public String getDefaultVersion() {
return this.defaultVersion;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private Integer attachmentCount;
private String createDate;
private String defaultVersion;
private String description;
private String policyName;
private String policyType;
private String updateDate;
/**
* <p>The number of times the policy is referenced.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder attachmentCount(Integer attachmentCount) {
this.attachmentCount = attachmentCount;
return this;
}
/**
* <p>The time when the policy was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The default version of the policy.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder defaultVersion(String defaultVersion) {
this.defaultVersion = defaultVersion;
return this;
}
/**
* <p>The description of the policy.</p>
*
* <strong>example:</strong>
* <p>OSS administrator</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the policy.</p>
*
* <strong>example:</strong>
* <p>OSS-Administrator</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The time when the policy was updated.</p>
*
* <strong>example:</strong>
* <p>2016-02-11T18:39:12Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Policy build() {
return new Policy(this);
}
}
}
/**
*
* {@link ListPoliciesResponseBody} extends {@link TeaModel}
*
* <p>ListPoliciesResponseBody</p>
*/
public static class Policies extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Policy")
private java.util.List<Policy> policy;
private Policies(Builder builder) {
this.policy = builder.policy;
}
public static Builder builder() {
return new Builder();
}
public static Policies create() {
return builder().build();
}
/**
* @return policy
*/
public java.util.List<Policy> getPolicy() {
return this.policy;
}
public static final class Builder {
private java.util.List<Policy> policy;
/**
* Policy.
*/
public Builder policy(java.util.List<Policy> policy) {
this.policy = policy;
return this;
}
public Policies build() {
return new Policies(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPolicyAttachmentsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPolicyAttachmentsRequest} extends {@link RequestModel}
*
* <p>ListPolicyAttachmentsRequest</p>
*/
public class ListPolicyAttachmentsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PrincipalName")
private String principalName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PrincipalType")
private String principalType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
private ListPolicyAttachmentsRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.principalName = builder.principalName;
this.principalType = builder.principalType;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static ListPolicyAttachmentsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return principalName
*/
public String getPrincipalName() {
return this.principalName;
}
/**
* @return principalType
*/
public String getPrincipalType() {
return this.principalType;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder extends Request.Builder<ListPolicyAttachmentsRequest, Builder> {
private String language;
private Integer pageNumber;
private Integer pageSize;
private String policyName;
private String policyType;
private String principalName;
private String principalType;
private String resourceGroupId;
private Builder() {
super();
}
private Builder(ListPolicyAttachmentsRequest request) {
super(request);
this.language = request.language;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.policyName = request.policyName;
this.policyType = request.policyType;
this.principalName = request.principalName;
this.principalType = request.principalType;
this.resourceGroupId = request.resourceGroupId;
}
/**
* <p>The language that is used to return the description of the system policy. Valid values:</p>
* <ul>
* <li>en: English</li>
* <li>zh-CN: Chinese</li>
* <li>ja: Japanese</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The name of the policy.</p>
* <p>The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).</p>
*
* <strong>example:</strong>
* <p>AdministratorAccess</p>
*/
public Builder policyName(String policyName) {
this.putQueryParameter("PolicyName", policyName);
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder policyType(String policyType) {
this.putQueryParameter("PolicyType", policyType);
this.policyType = policyType;
return this;
}
/**
* <p>The name of the object to which the policy is attached.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:alice@demo.onaliyun.com">alice@demo.onaliyun.com</a></p>
*/
public Builder principalName(String principalName) {
this.putQueryParameter("PrincipalName", principalName);
this.principalName = principalName;
return this;
}
/**
* <p>The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values:</p>
* <ul>
* <li>IMSUser: RAM user</li>
* <li>IMSGroup: RAM user group</li>
* <li>ServiceRole: RAM role</li>
* </ul>
*
* <strong>example:</strong>
* <p>IMSUser</p>
*/
public Builder principalType(String principalType) {
this.putQueryParameter("PrincipalType", principalType);
this.principalType = principalType;
return this;
}
/**
* <p>The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account.</p>
*
* <strong>example:</strong>
* <p>rg-001</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public ListPolicyAttachmentsRequest build() {
return new ListPolicyAttachmentsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPolicyAttachmentsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPolicyAttachmentsResponse} extends {@link TeaModel}
*
* <p>ListPolicyAttachmentsResponse</p>
*/
public class ListPolicyAttachmentsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListPolicyAttachmentsResponseBody body;
private ListPolicyAttachmentsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListPolicyAttachmentsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListPolicyAttachmentsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListPolicyAttachmentsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListPolicyAttachmentsResponseBody body);
@Override
ListPolicyAttachmentsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListPolicyAttachmentsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListPolicyAttachmentsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListPolicyAttachmentsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListPolicyAttachmentsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListPolicyAttachmentsResponse build() {
return new ListPolicyAttachmentsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPolicyAttachmentsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPolicyAttachmentsResponseBody} extends {@link TeaModel}
*
* <p>ListPolicyAttachmentsResponseBody</p>
*/
public class ListPolicyAttachmentsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("PolicyAttachments")
private PolicyAttachments policyAttachments;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListPolicyAttachmentsResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.policyAttachments = builder.policyAttachments;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListPolicyAttachmentsResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return policyAttachments
*/
public PolicyAttachments getPolicyAttachments() {
return this.policyAttachments;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private PolicyAttachments policyAttachments;
private String requestId;
private Integer totalCount;
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The policy attachment records.</p>
*/
public Builder policyAttachments(PolicyAttachments policyAttachments) {
this.policyAttachments = policyAttachments;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of returned entries.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListPolicyAttachmentsResponseBody build() {
return new ListPolicyAttachmentsResponseBody(this);
}
}
/**
*
* {@link ListPolicyAttachmentsResponseBody} extends {@link TeaModel}
*
* <p>ListPolicyAttachmentsResponseBody</p>
*/
public static class PolicyAttachment extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachDate")
private String attachDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("PrincipalName")
private String principalName;
@com.aliyun.core.annotation.NameInMap("PrincipalType")
private String principalType;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
private PolicyAttachment(Builder builder) {
this.attachDate = builder.attachDate;
this.description = builder.description;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.principalName = builder.principalName;
this.principalType = builder.principalType;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static PolicyAttachment create() {
return builder().build();
}
/**
* @return attachDate
*/
public String getAttachDate() {
return this.attachDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return principalName
*/
public String getPrincipalName() {
return this.principalName;
}
/**
* @return principalType
*/
public String getPrincipalType() {
return this.principalType;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder {
private String attachDate;
private String description;
private String policyName;
private String policyType;
private String principalName;
private String principalType;
private String resourceGroupId;
/**
* <p>The time when the policy was attached.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder attachDate(String attachDate) {
this.attachDate = attachDate;
return this;
}
/**
* <p>The description of the policy.</p>
*
* <strong>example:</strong>
* <p>The description of the policy.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the policy.</p>
*
* <strong>example:</strong>
* <p>AdministratorAccess</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The name of the object to which the policy is attached.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:alice@demo.onaliyun.com">alice@demo.onaliyun.com</a></p>
*/
public Builder principalName(String principalName) {
this.principalName = principalName;
return this;
}
/**
* <p>The type of the object to which the policy is attached. Valid values:</p>
* <ul>
* <li>IMSUser: RAM user</li>
* <li>IMSGroup: RAM user group</li>
* <li>ServiceRole: RAM role</li>
* </ul>
*
* <strong>example:</strong>
* <p>IMSUser</p>
*/
public Builder principalType(String principalType) {
this.principalType = principalType;
return this;
}
/**
* <p>The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.</p>
*
* <strong>example:</strong>
* <p>rg-9gLOoK****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public PolicyAttachment build() {
return new PolicyAttachment(this);
}
}
}
/**
*
* {@link ListPolicyAttachmentsResponseBody} extends {@link TeaModel}
*
* <p>ListPolicyAttachmentsResponseBody</p>
*/
public static class PolicyAttachments extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PolicyAttachment")
private java.util.List<PolicyAttachment> policyAttachment;
private PolicyAttachments(Builder builder) {
this.policyAttachment = builder.policyAttachment;
}
public static Builder builder() {
return new Builder();
}
public static PolicyAttachments create() {
return builder().build();
}
/**
* @return policyAttachment
*/
public java.util.List<PolicyAttachment> getPolicyAttachment() {
return this.policyAttachment;
}
public static final class Builder {
private java.util.List<PolicyAttachment> policyAttachment;
/**
* PolicyAttachment.
*/
public Builder policyAttachment(java.util.List<PolicyAttachment> policyAttachment) {
this.policyAttachment = policyAttachment;
return this;
}
public PolicyAttachments build() {
return new PolicyAttachments(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPolicyVersionsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPolicyVersionsRequest} extends {@link RequestModel}
*
* <p>ListPolicyVersionsRequest</p>
*/
public class ListPolicyVersionsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyName")
@com.aliyun.core.annotation.Validation(required = true)
private String policyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyType")
@com.aliyun.core.annotation.Validation(required = true)
private String policyType;
private ListPolicyVersionsRequest(Builder builder) {
super(builder);
this.policyName = builder.policyName;
this.policyType = builder.policyType;
}
public static Builder builder() {
return new Builder();
}
public static ListPolicyVersionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
public static final class Builder extends Request.Builder<ListPolicyVersionsRequest, Builder> {
private String policyName;
private String policyType;
private Builder() {
super();
}
private Builder(ListPolicyVersionsRequest request) {
super(request);
this.policyName = request.policyName;
this.policyType = request.policyType;
}
/**
* <p>The name of the policy.</p>
* <p>The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OSS-Administrator</p>
*/
public Builder policyName(String policyName) {
this.putQueryParameter("PolicyName", policyName);
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.putQueryParameter("PolicyType", policyType);
this.policyType = policyType;
return this;
}
@Override
public ListPolicyVersionsRequest build() {
return new ListPolicyVersionsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPolicyVersionsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPolicyVersionsResponse} extends {@link TeaModel}
*
* <p>ListPolicyVersionsResponse</p>
*/
public class ListPolicyVersionsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListPolicyVersionsResponseBody body;
private ListPolicyVersionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListPolicyVersionsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListPolicyVersionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListPolicyVersionsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListPolicyVersionsResponseBody body);
@Override
ListPolicyVersionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListPolicyVersionsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListPolicyVersionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListPolicyVersionsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListPolicyVersionsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListPolicyVersionsResponse build() {
return new ListPolicyVersionsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListPolicyVersionsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPolicyVersionsResponseBody} extends {@link TeaModel}
*
* <p>ListPolicyVersionsResponseBody</p>
*/
public class ListPolicyVersionsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PolicyVersions")
private PolicyVersions policyVersions;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListPolicyVersionsResponseBody(Builder builder) {
this.policyVersions = builder.policyVersions;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListPolicyVersionsResponseBody create() {
return builder().build();
}
/**
* @return policyVersions
*/
public PolicyVersions getPolicyVersions() {
return this.policyVersions;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private PolicyVersions policyVersions;
private String requestId;
/**
* <p>The information of the policy versions.</p>
*/
public Builder policyVersions(PolicyVersions policyVersions) {
this.policyVersions = policyVersions;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListPolicyVersionsResponseBody build() {
return new ListPolicyVersionsResponseBody(this);
}
}
/**
*
* {@link ListPolicyVersionsResponseBody} extends {@link TeaModel}
*
* <p>ListPolicyVersionsResponseBody</p>
*/
public static class PolicyVersion extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("IsDefaultVersion")
private Boolean isDefaultVersion;
@com.aliyun.core.annotation.NameInMap("VersionId")
private String versionId;
private PolicyVersion(Builder builder) {
this.createDate = builder.createDate;
this.isDefaultVersion = builder.isDefaultVersion;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static PolicyVersion create() {
return builder().build();
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return isDefaultVersion
*/
public Boolean getIsDefaultVersion() {
return this.isDefaultVersion;
}
/**
* @return versionId
*/
public String getVersionId() {
return this.versionId;
}
public static final class Builder {
private String createDate;
private Boolean isDefaultVersion;
private String versionId;
/**
* <p>The time when the policy version was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>Indicates whether the policy version is the default version.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder isDefaultVersion(Boolean isDefaultVersion) {
this.isDefaultVersion = isDefaultVersion;
return this;
}
/**
* <p>The ID of the policy version.</p>
*
* <strong>example:</strong>
* <p>v3</p>
*/
public Builder versionId(String versionId) {
this.versionId = versionId;
return this;
}
public PolicyVersion build() {
return new PolicyVersion(this);
}
}
}
/**
*
* {@link ListPolicyVersionsResponseBody} extends {@link TeaModel}
*
* <p>ListPolicyVersionsResponseBody</p>
*/
public static class PolicyVersions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PolicyVersion")
private java.util.List<PolicyVersion> policyVersion;
private PolicyVersions(Builder builder) {
this.policyVersion = builder.policyVersion;
}
public static Builder builder() {
return new Builder();
}
public static PolicyVersions create() {
return builder().build();
}
/**
* @return policyVersion
*/
public java.util.List<PolicyVersion> getPolicyVersion() {
return this.policyVersion;
}
public static final class Builder {
private java.util.List<PolicyVersion> policyVersion;
/**
* PolicyVersion.
*/
public Builder policyVersion(java.util.List<PolicyVersion> policyVersion) {
this.policyVersion = policyVersion;
return this;
}
public PolicyVersions build() {
return new PolicyVersions(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListResourceGroupsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListResourceGroupsRequest} extends {@link RequestModel}
*
* <p>ListResourceGroupsRequest</p>
*/
public class ListResourceGroupsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IncludeTags")
private Boolean includeTags;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupIds")
private java.util.List<String> resourceGroupIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private ListResourceGroupsRequest(Builder builder) {
super(builder);
this.displayName = builder.displayName;
this.includeTags = builder.includeTags;
this.name = builder.name;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceGroupId = builder.resourceGroupId;
this.resourceGroupIds = builder.resourceGroupIds;
this.status = builder.status;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListResourceGroupsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return includeTags
*/
public Boolean getIncludeTags() {
return this.includeTags;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceGroupIds
*/
public java.util.List<String> getResourceGroupIds() {
return this.resourceGroupIds;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListResourceGroupsRequest, Builder> {
private String displayName;
private Boolean includeTags;
private String name;
private Integer pageNumber;
private Integer pageSize;
private String resourceGroupId;
private java.util.List<String> resourceGroupIds;
private String status;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(ListResourceGroupsRequest request) {
super(request);
this.displayName = request.displayName;
this.includeTags = request.includeTags;
this.name = request.name;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceGroupId = request.resourceGroupId;
this.resourceGroupIds = request.resourceGroupIds;
this.status = request.status;
this.tag = request.tag;
}
/**
* <p>The display name of the resource group. This parameter specifies a filter condition for the query. Fuzzy match is supported.</p>
* <p>The display name can be a maximum of 50 characters in length.</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder displayName(String displayName) {
this.putQueryParameter("DisplayName", displayName);
this.displayName = displayName;
return this;
}
/**
* <p>Specifies whether to return the information of tags. Valid values:</p>
* <ul>
* <li>false (default value)</li>
* <li>true</li>
* </ul>
* <blockquote>
* <p> If you configure the Tag parameter, the system returns the information of tags regardless of the setting of the <code>IncludeTags</code> parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder includeTags(Boolean includeTags) {
this.putQueryParameter("IncludeTags", includeTags);
this.includeTags = includeTags;
return this;
}
/**
* <p>The identifier of the resource group. This parameter specifies a filter condition for the query. Fuzzy match is supported.</p>
* <p>The identifier can be a maximum of 50 characters in length and can contain letters, digits, and hyphens (-).</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the resource group. This parameter specifies a filter condition for the query.</p>
* <p>The ID can be a maximum of 18 characters in length and must start with <code>rg-</code>.</p>
* <blockquote>
* <p> This parameter is incorporated into the <code>ResourceGroupIds</code> parameter. If you configure both the <code>ResourceGroupId</code> and <code>ResourceGroupIds</code> parameters, the value of the <code>ResourceGroupIds</code> parameter prevails.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>rg-9gLOoK****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The IDs of the resource groups. This parameter specifies a filter condition for the query.</p>
* <p>You can specify a maximum of 100 resource group IDs.</p>
* <blockquote>
* <p> If you configure both the <code>ResourceGroupId</code> and <code>ResourceGroupIds</code> parameters, the value of the <code>ResourceGroupIds</code> parameter prevails.</p>
* </blockquote>
*/
public Builder resourceGroupIds(java.util.List<String> resourceGroupIds) {
this.putQueryParameter("ResourceGroupIds", resourceGroupIds);
this.resourceGroupIds = resourceGroupIds;
return this;
}
/**
* <p>The status of the resource group. This parameter specifies a filter condition for the query. Valid values:</p>
* <ul>
* <li>Creating: The resource group is being created.</li>
* <li>OK: The resource group is created.</li>
* <li>PendingDelete: The resource group is waiting to be deleted.</li>
* </ul>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* <p>The tag. This parameter specifies a filter condition for the query.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public ListResourceGroupsRequest build() {
return new ListResourceGroupsRequest(this);
}
}
/**
*
* {@link ListResourceGroupsRequest} extends {@link TeaModel}
*
* <p>ListResourceGroupsRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListResourceGroupsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListResourceGroupsResponse} extends {@link TeaModel}
*
* <p>ListResourceGroupsResponse</p>
*/
public class ListResourceGroupsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListResourceGroupsResponseBody body;
private ListResourceGroupsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListResourceGroupsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListResourceGroupsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListResourceGroupsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListResourceGroupsResponseBody body);
@Override
ListResourceGroupsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListResourceGroupsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListResourceGroupsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListResourceGroupsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListResourceGroupsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListResourceGroupsResponse build() {
return new ListResourceGroupsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListResourceGroupsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceGroupsResponseBody</p>
*/
public class ListResourceGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroups")
private ResourceGroups resourceGroups;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListResourceGroupsResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.resourceGroups = builder.resourceGroups;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListResourceGroupsResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroups
*/
public ResourceGroups getResourceGroups() {
return this.resourceGroups;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private ResourceGroups resourceGroups;
private Integer totalCount;
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>4B450CA1-36E8-4AA2-8461-86B42BF4CC4E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the resource groups.</p>
*/
public Builder resourceGroups(ResourceGroups resourceGroups) {
this.resourceGroups = resourceGroups;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListResourceGroupsResponseBody build() {
return new ListResourceGroupsResponseBody(this);
}
}
/**
*
* {@link ListResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceGroupsResponseBody</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("TagKey")
private String tagKey;
@com.aliyun.core.annotation.NameInMap("TagValue")
private String tagValue;
private Tag(Builder builder) {
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String tagKey;
private String tagValue;
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
/**
*
* {@link ListResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceGroupsResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private Tags(Builder builder) {
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder {
private java.util.List<Tag> tag;
/**
* Tag.
*/
public Builder tag(java.util.List<Tag> tag) {
this.tag = tag;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceGroupsResponseBody</p>
*/
public static class ResourceGroup extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tags")
private Tags tags;
private ResourceGroup(Builder builder) {
this.accountId = builder.accountId;
this.createDate = builder.createDate;
this.displayName = builder.displayName;
this.id = builder.id;
this.name = builder.name;
this.status = builder.status;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ResourceGroup create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public Tags getTags() {
return this.tags;
}
public static final class Builder {
private String accountId;
private String createDate;
private String displayName;
private String id;
private String name;
private String status;
private Tags tags;
/**
* <p>The ID of the Alibaba Cloud account to which the resource group belongs.</p>
*
* <strong>example:</strong>
* <p>123456789****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The time when the resource group was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The display name of the resource group.</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-9gLOoK****</p>
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* <p>The identifier of the resource group.</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the resource group. Valid values:</p>
* <ul>
* <li>Creating: The resource group is being created.</li>
* <li>OK: The resource group is created.</li>
* <li>PendingDelete: The resource group is waiting to be deleted.</li>
* </ul>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags that are added to the resource group.</p>
*/
public Builder tags(Tags tags) {
this.tags = tags;
return this;
}
public ResourceGroup build() {
return new ResourceGroup(this);
}
}
}
/**
*
* {@link ListResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceGroupsResponseBody</p>
*/
public static class ResourceGroups extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceGroup")
private java.util.List<ResourceGroup> resourceGroup;
private ResourceGroups(Builder builder) {
this.resourceGroup = builder.resourceGroup;
}
public static Builder builder() {
return new Builder();
}
public static ResourceGroups create() {
return builder().build();
}
/**
* @return resourceGroup
*/
public java.util.List<ResourceGroup> getResourceGroup() {
return this.resourceGroup;
}
public static final class Builder {
private java.util.List<ResourceGroup> resourceGroup;
/**
* ResourceGroup.
*/
public Builder resourceGroup(java.util.List<ResourceGroup> resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
public ResourceGroups build() {
return new ResourceGroups(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListResourcesRequest} extends {@link RequestModel}
*
* <p>ListResourcesRequest</p>
*/
public class ListResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Region")
private String region;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceTypes")
private java.util.List<ResourceTypes> resourceTypes;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Service")
private String service;
private ListResourcesRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.region = builder.region;
this.resourceGroupId = builder.resourceGroupId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.resourceTypes = builder.resourceTypes;
this.service = builder.service;
}
public static Builder builder() {
return new Builder();
}
public static ListResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return resourceTypes
*/
public java.util.List<ResourceTypes> getResourceTypes() {
return this.resourceTypes;
}
/**
* @return service
*/
public String getService() {
return this.service;
}
public static final class Builder extends Request.Builder<ListResourcesRequest, Builder> {
private Integer pageNumber;
private Integer pageSize;
private String region;
private String resourceGroupId;
private String resourceId;
private String resourceType;
private java.util.List<ResourceTypes> resourceTypes;
private String service;
private Builder() {
super();
}
private Builder(ListResourcesRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.region = request.region;
this.resourceGroupId = request.resourceGroupId;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.resourceTypes = request.resourceTypes;
this.service = request.service;
}
/**
* <p>The page number.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder region(String region) {
this.putQueryParameter("Region", region);
this.region = region;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-uPJpP****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>i-23v38****</p>
*/
public Builder resourceId(String resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The resource type.</p>
* <p>For more information about the supported resource types, see the <strong>Resource type</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The resource types. A maximum of 50 resource types are supported.</p>
* <blockquote>
* <p> If you configure <code>ResourceTypes</code>, you must configure both <code>Service</code> and <code>ResourceType</code>. Otherwise, the configured Service or ResourceType does not take effect.</p>
* </blockquote>
*/
public Builder resourceTypes(java.util.List<ResourceTypes> resourceTypes) {
this.putQueryParameter("ResourceTypes", resourceTypes);
this.resourceTypes = resourceTypes;
return this;
}
/**
* <p>The ID of the Alibaba Cloud service.</p>
* <p>You can obtain the ID from the <strong>Service code</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder service(String service) {
this.putQueryParameter("Service", service);
this.service = service;
return this;
}
@Override
public ListResourcesRequest build() {
return new ListResourcesRequest(this);
}
}
/**
*
* {@link ListResourcesRequest} extends {@link TeaModel}
*
* <p>ListResourcesRequest</p>
*/
public static class ResourceTypes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Service")
private String service;
private ResourceTypes(Builder builder) {
this.resourceType = builder.resourceType;
this.service = builder.service;
}
public static Builder builder() {
return new Builder();
}
public static ResourceTypes create() {
return builder().build();
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return service
*/
public String getService() {
return this.service;
}
public static final class Builder {
private String resourceType;
private String service;
/**
* <p>The resource type.</p>
* <p>Valid values of N: 1 to 50.</p>
* <p>For more information about the supported resource types, see the <strong>Resource type</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
* <blockquote>
* <p> You must configure both <code>Service</code> and <code>ResourceType</code> in <code>ResourceTypes</code>. Otherwise, the two parameters do not take effect.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The ID of the Alibaba Cloud service.</p>
* <p>Valid values of N: 1 to 50.</p>
* <p>You can obtain the ID from the <strong>Service code</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
* <blockquote>
* <p> You must configure both <code>Service</code> and <code>ResourceType</code> in <code>ResourceTypes</code>. Otherwise, the two parameters do not take effect.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder service(String service) {
this.service = service;
return this;
}
public ResourceTypes build() {
return new ResourceTypes(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListResourcesResponse} extends {@link TeaModel}
*
* <p>ListResourcesResponse</p>
*/
public class ListResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListResourcesResponseBody body;
private ListResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListResourcesResponseBody body);
@Override
ListResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListResourcesResponse build() {
return new ListResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListResourcesResponseBody</p>
*/
public class ListResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Resources")
private Resources resources;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListResourcesResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.resources = builder.resources;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListResourcesResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resources
*/
public Resources getResources() {
return this.resources;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Resources resources;
private Integer totalCount;
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the resources.</p>
*/
public Builder resources(Resources resources) {
this.resources = resources;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListResourcesResponseBody build() {
return new ListResourcesResponseBody(this);
}
}
/**
*
* {@link ListResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListResourcesResponseBody</p>
*/
public static class Resource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Service")
private String service;
private Resource(Builder builder) {
this.createDate = builder.createDate;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.service = builder.service;
}
public static Builder builder() {
return new Builder();
}
public static Resource create() {
return builder().build();
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return service
*/
public String getService() {
return this.service;
}
public static final class Builder {
private String createDate;
private String regionId;
private String resourceGroupId;
private String resourceId;
private String resourceType;
private String service;
/**
* <p>The time when the resource was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-uPJpP****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>i-23v38****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The resource type.</p>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The ID of the Alibaba Cloud service.</p>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder service(String service) {
this.service = service;
return this;
}
public Resource build() {
return new Resource(this);
}
}
}
/**
*
* {@link ListResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListResourcesResponseBody</p>
*/
public static class Resources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Resource")
private java.util.List<Resource> resource;
private Resources(Builder builder) {
this.resource = builder.resource;
}
public static Builder builder() {
return new Builder();
}
public static Resources create() {
return builder().build();
}
/**
* @return resource
*/
public java.util.List<Resource> getResource() {
return this.resource;
}
public static final class Builder {
private java.util.List<Resource> resource;
/**
* Resource.
*/
public Builder resource(java.util.List<Resource> resource) {
this.resource = resource;
return this;
}
public Resources build() {
return new Resources(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListRolesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRolesRequest} extends {@link RequestModel}
*
* <p>ListRolesRequest</p>
*/
public class ListRolesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
private ListRolesRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListRolesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<ListRolesRequest, Builder> {
private String language;
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListRolesRequest request) {
super(request);
this.language = request.language;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* <p>The language that is used to return the descriptions of the RAM roles. Valid values:</p>
* <ul>
* <li>en: English</li>
* <li>zh-CN: Chinese</li>
* <li>ja: Japanese</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListRolesRequest build() {
return new ListRolesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListRolesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRolesResponse} extends {@link TeaModel}
*
* <p>ListRolesResponse</p>
*/
public class ListRolesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListRolesResponseBody body;
private ListRolesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListRolesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListRolesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListRolesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListRolesResponseBody body);
@Override
ListRolesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListRolesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListRolesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListRolesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListRolesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListRolesResponse build() {
return new ListRolesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListRolesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRolesResponseBody} extends {@link TeaModel}
*
* <p>ListRolesResponseBody</p>
*/
public class ListRolesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Roles")
private Roles roles;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListRolesResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.roles = builder.roles;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListRolesResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return roles
*/
public Roles getRoles() {
return this.roles;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Roles roles;
private Integer totalCount;
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the RAM roles.</p>
*/
public Builder roles(Roles roles) {
this.roles = roles;
return this;
}
/**
* <p>The total number of RAM roles.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListRolesResponseBody build() {
return new ListRolesResponseBody(this);
}
}
/**
*
* {@link ListRolesResponseBody} extends {@link TeaModel}
*
* <p>ListRolesResponseBody</p>
*/
public static class LatestDeletionTask extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DeletionTaskId")
private String deletionTaskId;
private LatestDeletionTask(Builder builder) {
this.createDate = builder.createDate;
this.deletionTaskId = builder.deletionTaskId;
}
public static Builder builder() {
return new Builder();
}
public static LatestDeletionTask create() {
return builder().build();
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return deletionTaskId
*/
public String getDeletionTaskId() {
return this.deletionTaskId;
}
public static final class Builder {
private String createDate;
private String deletionTaskId;
/**
* <p>The time when the deletion task was created.</p>
*
* <strong>example:</strong>
* <p>2018-10-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The ID of the deletion task.</p>
*
* <strong>example:</strong>
* <p>ECSAdmin/cc61514b-26eb-4453-ab53-b142eb70****</p>
*/
public Builder deletionTaskId(String deletionTaskId) {
this.deletionTaskId = deletionTaskId;
return this;
}
public LatestDeletionTask build() {
return new LatestDeletionTask(this);
}
}
}
/**
*
* {@link ListRolesResponseBody} extends {@link TeaModel}
*
* <p>ListRolesResponseBody</p>
*/
public static class Role extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Arn")
private String arn;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("IsServiceLinkedRole")
private Boolean isServiceLinkedRole;
@com.aliyun.core.annotation.NameInMap("LatestDeletionTask")
private LatestDeletionTask latestDeletionTask;
@com.aliyun.core.annotation.NameInMap("MaxSessionDuration")
private Long maxSessionDuration;
@com.aliyun.core.annotation.NameInMap("RoleId")
private String roleId;
@com.aliyun.core.annotation.NameInMap("RoleName")
private String roleName;
@com.aliyun.core.annotation.NameInMap("RolePrincipalName")
private String rolePrincipalName;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Role(Builder builder) {
this.arn = builder.arn;
this.createDate = builder.createDate;
this.description = builder.description;
this.isServiceLinkedRole = builder.isServiceLinkedRole;
this.latestDeletionTask = builder.latestDeletionTask;
this.maxSessionDuration = builder.maxSessionDuration;
this.roleId = builder.roleId;
this.roleName = builder.roleName;
this.rolePrincipalName = builder.rolePrincipalName;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Role create() {
return builder().build();
}
/**
* @return arn
*/
public String getArn() {
return this.arn;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return isServiceLinkedRole
*/
public Boolean getIsServiceLinkedRole() {
return this.isServiceLinkedRole;
}
/**
* @return latestDeletionTask
*/
public LatestDeletionTask getLatestDeletionTask() {
return this.latestDeletionTask;
}
/**
* @return maxSessionDuration
*/
public Long getMaxSessionDuration() {
return this.maxSessionDuration;
}
/**
* @return roleId
*/
public String getRoleId() {
return this.roleId;
}
/**
* @return roleName
*/
public String getRoleName() {
return this.roleName;
}
/**
* @return rolePrincipalName
*/
public String getRolePrincipalName() {
return this.rolePrincipalName;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String arn;
private String createDate;
private String description;
private Boolean isServiceLinkedRole;
private LatestDeletionTask latestDeletionTask;
private Long maxSessionDuration;
private String roleId;
private String roleName;
private String rolePrincipalName;
private String updateDate;
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the RAM role.</p>
*
* <strong>example:</strong>
* <p>acs:ram::123456789012****:role/ECSAdmin</p>
*/
public Builder arn(String arn) {
this.arn = arn;
return this;
}
/**
* <p>The time when the RAM role was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The description of the RAM role.</p>
*
* <strong>example:</strong>
* <p>ECS administrator</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>Indicates whether the RAM role is a service linked role.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder isServiceLinkedRole(Boolean isServiceLinkedRole) {
this.isServiceLinkedRole = isServiceLinkedRole;
return this;
}
/**
* <p>The information of the most recent deletion task.</p>
*/
public Builder latestDeletionTask(LatestDeletionTask latestDeletionTask) {
this.latestDeletionTask = latestDeletionTask;
return this;
}
/**
* <p>The maximum session duration of the RAM role.</p>
*
* <strong>example:</strong>
* <p>3600</p>
*/
public Builder maxSessionDuration(Long maxSessionDuration) {
this.maxSessionDuration = maxSessionDuration;
return this;
}
/**
* <p>The ID of the RAM role.</p>
*
* <strong>example:</strong>
* <p>90123456789****</p>
*/
public Builder roleId(String roleId) {
this.roleId = roleId;
return this;
}
/**
* <p>The name of the RAM role.</p>
*
* <strong>example:</strong>
* <p>ECSAdmin</p>
*/
public Builder roleName(String roleName) {
this.roleName = roleName;
return this;
}
/**
* <p>The name of the RAM role after authorization.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:ECSAdmin@role.123456.onaliyunservice.com">ECSAdmin@role.123456.onaliyunservice.com</a></p>
*/
public Builder rolePrincipalName(String rolePrincipalName) {
this.rolePrincipalName = rolePrincipalName;
return this;
}
/**
* <p>The time when the RAM role was updated.</p>
*
* <strong>example:</strong>
* <p>2016-01-23T12:33:18Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Role build() {
return new Role(this);
}
}
}
/**
*
* {@link ListRolesResponseBody} extends {@link TeaModel}
*
* <p>ListRolesResponseBody</p>
*/
public static class Roles extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Role")
private java.util.List<Role> role;
private Roles(Builder builder) {
this.role = builder.role;
}
public static Builder builder() {
return new Builder();
}
public static Roles create() {
return builder().build();
}
/**
* @return role
*/
public java.util.List<Role> getRole() {
return this.role;
}
public static final class Builder {
private java.util.List<Role> role;
/**
* Role.
*/
public Builder role(java.util.List<Role> role) {
this.role = role;
return this;
}
public Roles build() {
return new Roles(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagKeysRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagKeysRequest} extends {@link RequestModel}
*
* <p>ListTagKeysRequest</p>
*/
public class ListTagKeysRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("KeyFilter")
private String keyFilter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
private ListTagKeysRequest(Builder builder) {
super(builder);
this.keyFilter = builder.keyFilter;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static ListTagKeysRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return keyFilter
*/
public String getKeyFilter() {
return this.keyFilter;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder extends Request.Builder<ListTagKeysRequest, Builder> {
private String keyFilter;
private Integer maxResults;
private String nextToken;
private String resourceType;
private Builder() {
super();
}
private Builder(ListTagKeysRequest request) {
super(request);
this.keyFilter = request.keyFilter;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.resourceType = request.resourceType;
}
/**
* <p>The tag key for a fuzzy query.</p>
*
* <strong>example:</strong>
* <p>team</p>
*/
public Builder keyFilter(String keyFilter) {
this.putQueryParameter("KeyFilter", keyFilter);
this.keyFilter = keyFilter;
return this;
}
/**
* <p>The maximum number of entries to return for a single request.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The token that is used to start the next query.</p>
*
* <strong>example:</strong>
* <p>TGlzdFJlc291cm****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The resource type.</p>
* <p>The value Account indicates the members of the resource directory.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Account</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
@Override
public ListTagKeysRequest build() {
return new ListTagKeysRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagKeysResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagKeysResponse} extends {@link TeaModel}
*
* <p>ListTagKeysResponse</p>
*/
public class ListTagKeysResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTagKeysResponseBody body;
private ListTagKeysResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagKeysResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagKeysResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagKeysResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagKeysResponseBody body);
@Override
ListTagKeysResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagKeysResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagKeysResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagKeysResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagKeysResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagKeysResponse build() {
return new ListTagKeysResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagKeysResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagKeysResponseBody} extends {@link TeaModel}
*
* <p>ListTagKeysResponseBody</p>
*/
public class ListTagKeysResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
private ListTagKeysResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ListTagKeysResponseBody create() {
return builder().build();
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<Tags> tags;
/**
* <p>Indicates whether the next query is required.</p>
* <ul>
* <li>If the value of this parameter is empty (<code>"NextToken": ""</code>), all results are returned, and the next query is not required.</li>
* <li>If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.</li>
* </ul>
*
* <strong>example:</strong>
* <p>TGlzdFJlc291cm****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>DC09A6AA-2713-4E10-A2E9-E6C5C43A8842</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the tag keys.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
public ListTagKeysResponseBody build() {
return new ListTagKeysResponseBody(this);
}
}
/**
*
* {@link ListTagKeysResponseBody} extends {@link TeaModel}
*
* <p>ListTagKeysResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
private Tags(Builder builder) {
this.key = builder.key;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
public static final class Builder {
private String key;
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>team</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagResourcesRequest} extends {@link RequestModel}
*
* <p>ListTagResourcesRequest</p>
*/
public class ListTagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
private java.util.List<String> resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private ListTagResourcesRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return resourceId
*/
public java.util.List<String> getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListTagResourcesRequest, Builder> {
private Integer maxResults;
private String nextToken;
private java.util.List<String> resourceId;
private String resourceType;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(ListTagResourcesRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tag = request.tag;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The token that is used to start the next query.</p>
*
* <strong>example:</strong>
* <p>caeba0bbb2be03f84eb48b699f0a****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The resource ID.</p>
*/
public Builder resourceId(java.util.List<String> resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the objects whose tags you want to query. This parameter specifies a filter condition for the query. Valid values:</p>
* <ul>
* <li>ResourceGroup: resource group. This is the default value.</li>
* <li>Account: member.</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceGroup</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The tag key and value.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public ListTagResourcesRequest build() {
return new ListTagResourcesRequest(this);
}
}
/**
*
* {@link ListTagResourcesRequest} extends {@link TeaModel}
*
* <p>ListTagResourcesRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagResourcesResponse} extends {@link TeaModel}
*
* <p>ListTagResourcesResponse</p>
*/
public class ListTagResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTagResourcesResponseBody body;
private ListTagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagResourcesResponseBody body);
@Override
ListTagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagResourcesResponse build() {
return new ListTagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public class ListTagResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TagResources")
private java.util.List<TagResources> tagResources;
private ListTagResourcesResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagResources = builder.tagResources;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesResponseBody create() {
return builder().build();
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagResources
*/
public java.util.List<TagResources> getTagResources() {
return this.tagResources;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<TagResources> tagResources;
/**
* <p>Indicates whether the next query is required.</p>
* <ul>
* <li>If the value of this parameter is empty (<code>"NextToken": ""</code>), all results are returned, and the next query is not required.</li>
* <li>If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.</li>
* </ul>
*
* <strong>example:</strong>
* <p>caeba0bbb2be03f84eb48b699f0a****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>8054B059-6B36-53BF-AA45-B8C9A0ED05AB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tagResources(java.util.List<TagResources> tagResources) {
this.tagResources = tagResources;
return this;
}
public ListTagResourcesResponseBody build() {
return new ListTagResourcesResponseBody(this);
}
}
/**
*
* {@link ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public static class TagResources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("TagKey")
private String tagKey;
@com.aliyun.core.annotation.NameInMap("TagValue")
private String tagValue;
private TagResources(Builder builder) {
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static TagResources create() {
return builder().build();
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String resourceId;
private String resourceType;
private String tagKey;
private String tagValue;
/**
* <p>The ID of the resource group or member.</p>
*
* <strong>example:</strong>
* <p>rg-aekz6bre2uq****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the object whose tags are queried. Valid values:</p>
* <ul>
* <li>resourcegroup: resource group</li>
* <li>Account: member</li>
* </ul>
*
* <strong>example:</strong>
* <p>resourcegroup</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public TagResources build() {
return new TagResources(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagValuesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagValuesRequest} extends {@link RequestModel}
*
* <p>ListTagValuesRequest</p>
*/
public class ListTagValuesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKey")
@com.aliyun.core.annotation.Validation(required = true)
private String tagKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ValueFilter")
private String valueFilter;
private ListTagValuesRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
this.valueFilter = builder.valueFilter;
}
public static Builder builder() {
return new Builder();
}
public static ListTagValuesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return valueFilter
*/
public String getValueFilter() {
return this.valueFilter;
}
public static final class Builder extends Request.Builder<ListTagValuesRequest, Builder> {
private Integer maxResults;
private String nextToken;
private String resourceType;
private String tagKey;
private String valueFilter;
private Builder() {
super();
}
private Builder(ListTagValuesRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.resourceType = request.resourceType;
this.tagKey = request.tagKey;
this.valueFilter = request.valueFilter;
}
/**
* <p>The maximum number of entries to return for a single request.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The token that is used to start the next query.</p>
*
* <strong>example:</strong>
* <p>TGlzdFJlc291cm****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The resource type.</p>
* <p>The value Account indicates the members of the resource directory.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Account</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The tag key. This parameter specifies a filter condition for the query.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder tagKey(String tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
/**
* <p>The tag value for a fuzzy query.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder valueFilter(String valueFilter) {
this.putQueryParameter("ValueFilter", valueFilter);
this.valueFilter = valueFilter;
return this;
}
@Override
public ListTagValuesRequest build() {
return new ListTagValuesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagValuesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagValuesResponse} extends {@link TeaModel}
*
* <p>ListTagValuesResponse</p>
*/
public class ListTagValuesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTagValuesResponseBody body;
private ListTagValuesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagValuesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagValuesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagValuesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagValuesResponseBody body);
@Override
ListTagValuesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagValuesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagValuesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagValuesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagValuesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagValuesResponse build() {
return new ListTagValuesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTagValuesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagValuesResponseBody} extends {@link TeaModel}
*
* <p>ListTagValuesResponseBody</p>
*/
public class ListTagValuesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
private ListTagValuesResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ListTagValuesResponseBody create() {
return builder().build();
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<Tags> tags;
/**
* <p>Indicates whether the next query is required.</p>
* <ul>
* <li>If the value of this parameter is empty (<code>"NextToken": ""</code>), all results are returned, and the next query is not required.</li>
* <li>If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.</li>
* </ul>
*
* <strong>example:</strong>
* <p>TGlzdFJlc291cm****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>DC09A6AA-2713-4E10-A2E9-E6C5C43A8842</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the tag values.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
public ListTagValuesResponseBody build() {
return new ListTagValuesResponseBody(this);
}
}
/**
*
* {@link ListTagValuesResponseBody} extends {@link TeaModel}
*
* <p>ListTagValuesResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String value;
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTargetAttachmentsForControlPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTargetAttachmentsForControlPolicyRequest} extends {@link RequestModel}
*
* <p>ListTargetAttachmentsForControlPolicyRequest</p>
*/
public class ListTargetAttachmentsForControlPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
@com.aliyun.core.annotation.Validation(maximum = 200000, minimum = 1)
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyId")
@com.aliyun.core.annotation.Validation(required = true)
private String policyId;
private ListTargetAttachmentsForControlPolicyRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.policyId = builder.policyId;
}
public static Builder builder() {
return new Builder();
}
public static ListTargetAttachmentsForControlPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
public static final class Builder extends Request.Builder<ListTargetAttachmentsForControlPolicyRequest, Builder> {
private Integer pageNumber;
private Integer pageSize;
private String policyId;
private Builder() {
super();
}
private Builder(ListTargetAttachmentsForControlPolicyRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.policyId = request.policyId;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the control policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cp-jExXAqIYkwHN****</p>
*/
public Builder policyId(String policyId) {
this.putQueryParameter("PolicyId", policyId);
this.policyId = policyId;
return this;
}
@Override
public ListTargetAttachmentsForControlPolicyRequest build() {
return new ListTargetAttachmentsForControlPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTargetAttachmentsForControlPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTargetAttachmentsForControlPolicyResponse} extends {@link TeaModel}
*
* <p>ListTargetAttachmentsForControlPolicyResponse</p>
*/
public class ListTargetAttachmentsForControlPolicyResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTargetAttachmentsForControlPolicyResponseBody body;
private ListTargetAttachmentsForControlPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTargetAttachmentsForControlPolicyResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTargetAttachmentsForControlPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTargetAttachmentsForControlPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTargetAttachmentsForControlPolicyResponseBody body);
@Override
ListTargetAttachmentsForControlPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTargetAttachmentsForControlPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTargetAttachmentsForControlPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTargetAttachmentsForControlPolicyResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTargetAttachmentsForControlPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTargetAttachmentsForControlPolicyResponse build() {
return new ListTargetAttachmentsForControlPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTargetAttachmentsForControlPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTargetAttachmentsForControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>ListTargetAttachmentsForControlPolicyResponseBody</p>
*/
public class ListTargetAttachmentsForControlPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TargetAttachments")
private TargetAttachments targetAttachments;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListTargetAttachmentsForControlPolicyResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.targetAttachments = builder.targetAttachments;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListTargetAttachmentsForControlPolicyResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return targetAttachments
*/
public TargetAttachments getTargetAttachments() {
return this.targetAttachments;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private TargetAttachments targetAttachments;
private Integer totalCount;
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>B32BD3D6-1089-41F3-8E70-E0079BC7D760</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The list of objects to which the control policy is attached.</p>
*/
public Builder targetAttachments(TargetAttachments targetAttachments) {
this.targetAttachments = targetAttachments;
return this;
}
/**
* <p>The total number of objects to which the control policy is attached.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListTargetAttachmentsForControlPolicyResponseBody build() {
return new ListTargetAttachmentsForControlPolicyResponseBody(this);
}
}
/**
*
* {@link ListTargetAttachmentsForControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>ListTargetAttachmentsForControlPolicyResponseBody</p>
*/
public static class TargetAttachment extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachDate")
private String attachDate;
@com.aliyun.core.annotation.NameInMap("TargetId")
private String targetId;
@com.aliyun.core.annotation.NameInMap("TargetName")
private String targetName;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private TargetAttachment(Builder builder) {
this.attachDate = builder.attachDate;
this.targetId = builder.targetId;
this.targetName = builder.targetName;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static TargetAttachment create() {
return builder().build();
}
/**
* @return attachDate
*/
public String getAttachDate() {
return this.attachDate;
}
/**
* @return targetId
*/
public String getTargetId() {
return this.targetId;
}
/**
* @return targetName
*/
public String getTargetName() {
return this.targetName;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String attachDate;
private String targetId;
private String targetName;
private String targetType;
/**
* <p>The time when the control policy was attached to the object.</p>
*
* <strong>example:</strong>
* <p>2021-03-19T02:56:24Z</p>
*/
public Builder attachDate(String attachDate) {
this.attachDate = attachDate;
return this;
}
/**
* <p>The ID of the object.</p>
*
* <strong>example:</strong>
* <p>fd-ZDNPiT****</p>
*/
public Builder targetId(String targetId) {
this.targetId = targetId;
return this;
}
/**
* <p>The name of the object.</p>
*
* <strong>example:</strong>
* <p>Dev_Department</p>
*/
public Builder targetName(String targetName) {
this.targetName = targetName;
return this;
}
/**
* <p>The type of the object. Valid values:</p>
* <ul>
* <li>Root: Root folder</li>
* <li>Folder: child folder of the Root folder</li>
* <li>Account: member account</li>
* </ul>
*
* <strong>example:</strong>
* <p>Folder</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public TargetAttachment build() {
return new TargetAttachment(this);
}
}
}
/**
*
* {@link ListTargetAttachmentsForControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>ListTargetAttachmentsForControlPolicyResponseBody</p>
*/
public static class TargetAttachments extends TeaModel {
@com.aliyun.core.annotation.NameInMap("TargetAttachment")
private java.util.List<TargetAttachment> targetAttachment;
private TargetAttachments(Builder builder) {
this.targetAttachment = builder.targetAttachment;
}
public static Builder builder() {
return new Builder();
}
public static TargetAttachments create() {
return builder().build();
}
/**
* @return targetAttachment
*/
public java.util.List<TargetAttachment> getTargetAttachment() {
return this.targetAttachment;
}
public static final class Builder {
private java.util.List<TargetAttachment> targetAttachment;
/**
* TargetAttachment.
*/
public Builder targetAttachment(java.util.List<TargetAttachment> targetAttachment) {
this.targetAttachment = targetAttachment;
return this;
}
public TargetAttachments build() {
return new TargetAttachments(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTrustedServiceStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTrustedServiceStatusRequest} extends {@link RequestModel}
*
* <p>ListTrustedServiceStatusRequest</p>
*/
public class ListTrustedServiceStatusRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AdminAccountId")
private String adminAccountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
private ListTrustedServiceStatusRequest(Builder builder) {
super(builder);
this.adminAccountId = builder.adminAccountId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListTrustedServiceStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return adminAccountId
*/
public String getAdminAccountId() {
return this.adminAccountId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<ListTrustedServiceStatusRequest, Builder> {
private String adminAccountId;
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListTrustedServiceStatusRequest request) {
super(request);
this.adminAccountId = request.adminAccountId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* <p>The ID of the enterprise management account or delegated administrator account.</p>
* <ul>
* <li>If you set this parameter to the ID of an enterprise management account, the trusted services that are enabled within the enterprise management account are queried. The default value of this parameter is the ID of an enterprise management account.</li>
* <li>If you set this parameter to the ID of a delegated administrator account, the trusted services that are enabled within the delegated administrator account are queried.</li>
* </ul>
* <p>For more information about trusted services and delegated administrator accounts, see <a href="https://help.aliyun.com/document_detail/208133.html">Overview of trusted services</a> and <a href="https://help.aliyun.com/document_detail/208117.html">Delegated administrator accounts</a>.</p>
*
* <strong>example:</strong>
* <p>177242285274****</p>
*/
public Builder adminAccountId(String adminAccountId) {
this.putQueryParameter("AdminAccountId", adminAccountId);
this.adminAccountId = adminAccountId;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListTrustedServiceStatusRequest build() {
return new ListTrustedServiceStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTrustedServiceStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTrustedServiceStatusResponse} extends {@link TeaModel}
*
* <p>ListTrustedServiceStatusResponse</p>
*/
public class ListTrustedServiceStatusResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTrustedServiceStatusResponseBody body;
private ListTrustedServiceStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTrustedServiceStatusResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTrustedServiceStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTrustedServiceStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTrustedServiceStatusResponseBody body);
@Override
ListTrustedServiceStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTrustedServiceStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTrustedServiceStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTrustedServiceStatusResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTrustedServiceStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTrustedServiceStatusResponse build() {
return new ListTrustedServiceStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListTrustedServiceStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTrustedServiceStatusResponseBody} extends {@link TeaModel}
*
* <p>ListTrustedServiceStatusResponseBody</p>
*/
public class ListTrustedServiceStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnabledServicePrincipals")
private EnabledServicePrincipals enabledServicePrincipals;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListTrustedServiceStatusResponseBody(Builder builder) {
this.enabledServicePrincipals = builder.enabledServicePrincipals;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListTrustedServiceStatusResponseBody create() {
return builder().build();
}
/**
* @return enabledServicePrincipals
*/
public EnabledServicePrincipals getEnabledServicePrincipals() {
return this.enabledServicePrincipals;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private EnabledServicePrincipals enabledServicePrincipals;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The trusted services that are enabled.</p>
*/
public Builder enabledServicePrincipals(EnabledServicePrincipals enabledServicePrincipals) {
this.enabledServicePrincipals = enabledServicePrincipals;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CD76D376-2517-4924-92C5-DBC52262F93A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListTrustedServiceStatusResponseBody build() {
return new ListTrustedServiceStatusResponseBody(this);
}
}
/**
*
* {@link ListTrustedServiceStatusResponseBody} extends {@link TeaModel}
*
* <p>ListTrustedServiceStatusResponseBody</p>
*/
public static class EnabledServicePrincipal extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnableTime")
private String enableTime;
@com.aliyun.core.annotation.NameInMap("ServicePrincipal")
private String servicePrincipal;
private EnabledServicePrincipal(Builder builder) {
this.enableTime = builder.enableTime;
this.servicePrincipal = builder.servicePrincipal;
}
public static Builder builder() {
return new Builder();
}
public static EnabledServicePrincipal create() {
return builder().build();
}
/**
* @return enableTime
*/
public String getEnableTime() {
return this.enableTime;
}
/**
* @return servicePrincipal
*/
public String getServicePrincipal() {
return this.servicePrincipal;
}
public static final class Builder {
private String enableTime;
private String servicePrincipal;
/**
* <p>The time when the trusted service was enabled.</p>
*
* <strong>example:</strong>
* <p>2019-02-18T15:32:10.473Z</p>
*/
public Builder enableTime(String enableTime) {
this.enableTime = enableTime;
return this;
}
/**
* <p>The identification of the trusted service.</p>
*
* <strong>example:</strong>
* <p>config.aliyuncs.com</p>
*/
public Builder servicePrincipal(String servicePrincipal) {
this.servicePrincipal = servicePrincipal;
return this;
}
public EnabledServicePrincipal build() {
return new EnabledServicePrincipal(this);
}
}
}
/**
*
* {@link ListTrustedServiceStatusResponseBody} extends {@link TeaModel}
*
* <p>ListTrustedServiceStatusResponseBody</p>
*/
public static class EnabledServicePrincipals extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnabledServicePrincipal")
private java.util.List<EnabledServicePrincipal> enabledServicePrincipal;
private EnabledServicePrincipals(Builder builder) {
this.enabledServicePrincipal = builder.enabledServicePrincipal;
}
public static Builder builder() {
return new Builder();
}
public static EnabledServicePrincipals create() {
return builder().build();
}
/**
* @return enabledServicePrincipal
*/
public java.util.List<EnabledServicePrincipal> getEnabledServicePrincipal() {
return this.enabledServicePrincipal;
}
public static final class Builder {
private java.util.List<EnabledServicePrincipal> enabledServicePrincipal;
/**
* EnabledServicePrincipal.
*/
public Builder enabledServicePrincipal(java.util.List<EnabledServicePrincipal> enabledServicePrincipal) {
this.enabledServicePrincipal = enabledServicePrincipal;
return this;
}
public EnabledServicePrincipals build() {
return new EnabledServicePrincipals(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/MoveAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveAccountRequest} extends {@link RequestModel}
*
* <p>MoveAccountRequest</p>
*/
public class MoveAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DestinationFolderId")
@com.aliyun.core.annotation.Validation(required = true)
private String destinationFolderId;
private MoveAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.destinationFolderId = builder.destinationFolderId;
}
public static Builder builder() {
return new Builder();
}
public static MoveAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return destinationFolderId
*/
public String getDestinationFolderId() {
return this.destinationFolderId;
}
public static final class Builder extends Request.Builder<MoveAccountRequest, Builder> {
private String accountId;
private String destinationFolderId;
private Builder() {
super();
}
private Builder(MoveAccountRequest request) {
super(request);
this.accountId = request.accountId;
this.destinationFolderId = request.destinationFolderId;
}
/**
* <p>The ID of the account you want to move.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The ID of the destination folder.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder destinationFolderId(String destinationFolderId) {
this.putQueryParameter("DestinationFolderId", destinationFolderId);
this.destinationFolderId = destinationFolderId;
return this;
}
@Override
public MoveAccountRequest build() {
return new MoveAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/MoveAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveAccountResponse} extends {@link TeaModel}
*
* <p>MoveAccountResponse</p>
*/
public class MoveAccountResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private MoveAccountResponseBody body;
private MoveAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static MoveAccountResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public MoveAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<MoveAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(MoveAccountResponseBody body);
@Override
MoveAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<MoveAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private MoveAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(MoveAccountResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(MoveAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public MoveAccountResponse build() {
return new MoveAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/MoveAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveAccountResponseBody} extends {@link TeaModel}
*
* <p>MoveAccountResponseBody</p>
*/
public class MoveAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private MoveAccountResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static MoveAccountResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public MoveAccountResponseBody build() {
return new MoveAccountResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/MoveResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveResourcesRequest} extends {@link RequestModel}
*
* <p>MoveResourcesRequest</p>
*/
public class MoveResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Resources")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<Resources> resources;
private MoveResourcesRequest(Builder builder) {
super(builder);
this.resourceGroupId = builder.resourceGroupId;
this.resources = builder.resources;
}
public static Builder builder() {
return new Builder();
}
public static MoveResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resources
*/
public java.util.List<Resources> getResources() {
return this.resources;
}
public static final class Builder extends Request.Builder<MoveResourcesRequest, Builder> {
private String resourceGroupId;
private java.util.List<Resources> resources;
private Builder() {
super();
}
private Builder(MoveResourcesRequest request) {
super(request);
this.resourceGroupId = request.resourceGroupId;
this.resources = request.resources;
}
/**
* <p>The ID of the resource group to which you want to move the resources.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rg-aekzmeobk5w****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The resources that you want to move.</p>
* <blockquote>
* <p> You can move a maximum of 10 resources at a time. If you want to move more than 10 resources, move them in batches.</p>
* </blockquote>
* <p>This parameter is required.</p>
*/
public Builder resources(java.util.List<Resources> resources) {
this.putQueryParameter("Resources", resources);
this.resources = resources;
return this;
}
@Override
public MoveResourcesRequest build() {
return new MoveResourcesRequest(this);
}
}
/**
*
* {@link MoveResourcesRequest} extends {@link TeaModel}
*
* <p>MoveResourcesRequest</p>
*/
public static class Resources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Service")
private String service;
private Resources(Builder builder) {
this.regionId = builder.regionId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.service = builder.service;
}
public static Builder builder() {
return new Builder();
}
public static Resources create() {
return builder().build();
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return service
*/
public String getService() {
return this.service;
}
public static final class Builder {
private String regionId;
private String resourceId;
private String resourceType;
private String service;
/**
* <p>The region ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>vpc-bp1sig0mjktx5ewx1****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource.</p>
*
* <strong>example:</strong>
* <p>vpc</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The ID of the Alibaba Cloud service to which the resource belongs.</p>
*
* <strong>example:</strong>
* <p>vpc</p>
*/
public Builder service(String service) {
this.service = service;
return this;
}
public Resources build() {
return new Resources(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/MoveResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveResourcesResponse} extends {@link TeaModel}
*
* <p>MoveResourcesResponse</p>
*/
public class MoveResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private MoveResourcesResponseBody body;
private MoveResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static MoveResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public MoveResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<MoveResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(MoveResourcesResponseBody body);
@Override
MoveResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<MoveResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private MoveResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(MoveResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(MoveResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public MoveResourcesResponse build() {
return new MoveResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/MoveResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveResourcesResponseBody} extends {@link TeaModel}
*
* <p>MoveResourcesResponseBody</p>
*/
public class MoveResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Responses")
private java.util.List<Responses> responses;
private MoveResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.responses = builder.responses;
}
public static Builder builder() {
return new Builder();
}
public static MoveResourcesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return responses
*/
public java.util.List<Responses> getResponses() {
return this.responses;
}
public static final class Builder {
private String requestId;
private java.util.List<Responses> responses;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C00B89D3-3247-11DE-95D8-A7C01FB0AB4F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The returned results.</p>
*/
public Builder responses(java.util.List<Responses> responses) {
this.responses = responses;
return this;
}
public MoveResourcesResponseBody build() {
return new MoveResourcesResponseBody(this);
}
}
/**
*
* {@link MoveResourcesResponseBody} extends {@link TeaModel}
*
* <p>MoveResourcesResponseBody</p>
*/
public static class Responses extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ErrorCode")
private String errorCode;
@com.aliyun.core.annotation.NameInMap("ErrorMsg")
private String errorMsg;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Service")
private String service;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private Responses(Builder builder) {
this.errorCode = builder.errorCode;
this.errorMsg = builder.errorMsg;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.service = builder.service;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Responses create() {
return builder().build();
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return errorMsg
*/
public String getErrorMsg() {
return this.errorMsg;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return service
*/
public String getService() {
return this.service;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String errorCode;
private String errorMsg;
private String regionId;
private String requestId;
private String resourceId;
private String resourceType;
private String service;
private String status;
/**
* <p>The error code returned.</p>
* <blockquote>
* <p> This parameter is returned if the resource failed to be moved.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>NoPermission</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The error message returned.</p>
* <blockquote>
* <p> This parameter is returned if the resource failed to be moved.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>No permissions</p>
*/
public Builder errorMsg(String errorMsg) {
this.errorMsg = errorMsg;
return this;
}
/**
* <p>The region ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C00B89D3-3247-11DE-95D8-A7C01FB0AB4F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>vpc-bp1sig0mjktx5ewx1****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource.</p>
*
* <strong>example:</strong>
* <p>vpc</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The ID of the Alibaba Cloud service.</p>
*
* <strong>example:</strong>
* <p>vpc</p>
*/
public Builder service(String service) {
this.service = service;
return this;
}
/**
* <p>The status of the move task. Valid values:</p>
* <ul>
* <li>SUCCESS</li>
* <li>FAIL</li>
* </ul>
*
* <strong>example:</strong>
* <p>FAIL</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Responses build() {
return new Responses(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/PromoteResourceAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link PromoteResourceAccountRequest} extends {@link RequestModel}
*
* <p>PromoteResourceAccountRequest</p>
*/
public class PromoteResourceAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Email")
@com.aliyun.core.annotation.Validation(required = true)
private String email;
private PromoteResourceAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.email = builder.email;
}
public static Builder builder() {
return new Builder();
}
public static PromoteResourceAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
public static final class Builder extends Request.Builder<PromoteResourceAccountRequest, Builder> {
private String accountId;
private String email;
private Builder() {
super();
}
private Builder(PromoteResourceAccountRequest request) {
super(request);
this.accountId = request.accountId;
this.email = request.email;
}
/**
* <p>The ID of the resource account you want to upgrade.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The email address used to log on to the cloud account after the upgrade.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder email(String email) {
this.putQueryParameter("Email", email);
this.email = email;
return this;
}
@Override
public PromoteResourceAccountRequest build() {
return new PromoteResourceAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/PromoteResourceAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link PromoteResourceAccountResponse} extends {@link TeaModel}
*
* <p>PromoteResourceAccountResponse</p>
*/
public class PromoteResourceAccountResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private PromoteResourceAccountResponseBody body;
private PromoteResourceAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static PromoteResourceAccountResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public PromoteResourceAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<PromoteResourceAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(PromoteResourceAccountResponseBody body);
@Override
PromoteResourceAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<PromoteResourceAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private PromoteResourceAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(PromoteResourceAccountResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(PromoteResourceAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public PromoteResourceAccountResponse build() {
return new PromoteResourceAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/PromoteResourceAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link PromoteResourceAccountResponseBody} extends {@link TeaModel}
*
* <p>PromoteResourceAccountResponseBody</p>
*/
public class PromoteResourceAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private Account account;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private PromoteResourceAccountResponseBody(Builder builder) {
this.account = builder.account;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static PromoteResourceAccountResponseBody create() {
return builder().build();
}
/**
* @return account
*/
public Account getAccount() {
return this.account;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Account account;
private String requestId;
/**
* <p>The information of the member account.</p>
*/
public Builder account(Account account) {
this.account = account;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public PromoteResourceAccountResponseBody build() {
return new PromoteResourceAccountResponseBody(this);
}
}
/**
*
* {@link PromoteResourceAccountResponseBody} extends {@link TeaModel}
*
* <p>PromoteResourceAccountResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("RecordId")
private String recordId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.accountName = builder.accountName;
this.displayName = builder.displayName;
this.folderId = builder.folderId;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.modifyTime = builder.modifyTime;
this.recordId = builder.recordId;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return recordId
*/
public String getRecordId() {
return this.recordId;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String accountName;
private String displayName;
private String folderId;
private String joinMethod;
private String joinTime;
private String modifyTime;
private String recordId;
private String resourceDirectoryId;
private String status;
private String type;
/**
* <p>The ID of the member account.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The name of the member account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* <p>The display name of the member account.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The way in which the member account joined the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member account is invited to join the resource directory.</li>
* <li>created: The member account is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member account joined the resource directory.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The time when the member account was modified.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The account record ID.</p>
*
* <strong>example:</strong>
* <p>06950264-3f0d-4ca9-82dd-6ee7a3d33d6b</p>
*/
public Builder recordId(String recordId) {
this.recordId = recordId;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-k3****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the member account. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member account is created.</li>
* <li>CreateVerifying: The creation of the member account is under confirmation.</li>
* <li>CreateFailed: The member account failed to be created.</li>
* <li>CreateExpired: The creation of the member account expired.</li>
* <li>CreateCancelled: The creation of the member account is canceled.</li>
* <li>PromoteVerifying: The upgrade of the member account is under confirmation.</li>
* <li>PromoteFailed: The member account failed to be upgraded.</li>
* <li>PromoteExpired: The upgrade of the member account expired.</li>
* <li>PromoteCancelled: The upgrade of the member account is canceled.</li>
* <li>PromoteSuccess: The member account is upgraded.</li>
* <li>InviteSuccess: The owner of the member account accepted the invitation.</li>
* <li>Removed: The member account is removed from the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>PromoteVerifying</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the member account. Valid values:</p>
* <ul>
* <li>CloudAccount</li>
* <li>ResourceAccount</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RegisterDelegatedAdministratorRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RegisterDelegatedAdministratorRequest} extends {@link RequestModel}
*
* <p>RegisterDelegatedAdministratorRequest</p>
*/
public class RegisterDelegatedAdministratorRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ServicePrincipal")
@com.aliyun.core.annotation.Validation(required = true)
private String servicePrincipal;
private RegisterDelegatedAdministratorRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.servicePrincipal = builder.servicePrincipal;
}
public static Builder builder() {
return new Builder();
}
public static RegisterDelegatedAdministratorRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return servicePrincipal
*/
public String getServicePrincipal() {
return this.servicePrincipal;
}
public static final class Builder extends Request.Builder<RegisterDelegatedAdministratorRequest, Builder> {
private String accountId;
private String servicePrincipal;
private Builder() {
super();
}
private Builder(RegisterDelegatedAdministratorRequest request) {
super(request);
this.accountId = request.accountId;
this.servicePrincipal = request.servicePrincipal;
}
/**
* <p>The ID of the member in the resource directory.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>181761095690****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The identifier of the trusted service.</p>
* <p>For more information, see the <code>Trusted service identifier</code> column in <a href="https://help.aliyun.com/document_detail/208133.html">Supported trusted services</a>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cloudfw.aliyuncs.com</p>
*/
public Builder servicePrincipal(String servicePrincipal) {
this.putQueryParameter("ServicePrincipal", servicePrincipal);
this.servicePrincipal = servicePrincipal;
return this;
}
@Override
public RegisterDelegatedAdministratorRequest build() {
return new RegisterDelegatedAdministratorRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RegisterDelegatedAdministratorResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RegisterDelegatedAdministratorResponse} extends {@link TeaModel}
*
* <p>RegisterDelegatedAdministratorResponse</p>
*/
public class RegisterDelegatedAdministratorResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RegisterDelegatedAdministratorResponseBody body;
private RegisterDelegatedAdministratorResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RegisterDelegatedAdministratorResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RegisterDelegatedAdministratorResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RegisterDelegatedAdministratorResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RegisterDelegatedAdministratorResponseBody body);
@Override
RegisterDelegatedAdministratorResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RegisterDelegatedAdministratorResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RegisterDelegatedAdministratorResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RegisterDelegatedAdministratorResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RegisterDelegatedAdministratorResponseBody body) {
this.body = body;
return this;
}
@Override
public RegisterDelegatedAdministratorResponse build() {
return new RegisterDelegatedAdministratorResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RegisterDelegatedAdministratorResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RegisterDelegatedAdministratorResponseBody} extends {@link TeaModel}
*
* <p>RegisterDelegatedAdministratorResponseBody</p>
*/
public class RegisterDelegatedAdministratorResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RegisterDelegatedAdministratorResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RegisterDelegatedAdministratorResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>0A45FC8F-54D2-4A65-8338-25E5DEBDA304</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RegisterDelegatedAdministratorResponseBody build() {
return new RegisterDelegatedAdministratorResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RemoveCloudAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RemoveCloudAccountRequest} extends {@link RequestModel}
*
* <p>RemoveCloudAccountRequest</p>
*/
public class RemoveCloudAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
private RemoveCloudAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveCloudAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
public static final class Builder extends Request.Builder<RemoveCloudAccountRequest, Builder> {
private String accountId;
private Builder() {
super();
}
private Builder(RemoveCloudAccountRequest request) {
super(request);
this.accountId = request.accountId;
}
/**
* <p>The ID of the member.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>177242285274****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
@Override
public RemoveCloudAccountRequest build() {
return new RemoveCloudAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RemoveCloudAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RemoveCloudAccountResponse} extends {@link TeaModel}
*
* <p>RemoveCloudAccountResponse</p>
*/
public class RemoveCloudAccountResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RemoveCloudAccountResponseBody body;
private RemoveCloudAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RemoveCloudAccountResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RemoveCloudAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RemoveCloudAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RemoveCloudAccountResponseBody body);
@Override
RemoveCloudAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RemoveCloudAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RemoveCloudAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RemoveCloudAccountResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RemoveCloudAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public RemoveCloudAccountResponse build() {
return new RemoveCloudAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RemoveCloudAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RemoveCloudAccountResponseBody} extends {@link TeaModel}
*
* <p>RemoveCloudAccountResponseBody</p>
*/
public class RemoveCloudAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RemoveCloudAccountResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveCloudAccountResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RemoveCloudAccountResponseBody build() {
return new RemoveCloudAccountResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ResendCreateCloudAccountEmailRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendCreateCloudAccountEmailRequest} extends {@link RequestModel}
*
* <p>ResendCreateCloudAccountEmailRequest</p>
*/
public class ResendCreateCloudAccountEmailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RecordId")
@com.aliyun.core.annotation.Validation(required = true)
private String recordId;
private ResendCreateCloudAccountEmailRequest(Builder builder) {
super(builder);
this.recordId = builder.recordId;
}
public static Builder builder() {
return new Builder();
}
public static ResendCreateCloudAccountEmailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return recordId
*/
public String getRecordId() {
return this.recordId;
}
public static final class Builder extends Request.Builder<ResendCreateCloudAccountEmailRequest, Builder> {
private String recordId;
private Builder() {
super();
}
private Builder(ResendCreateCloudAccountEmailRequest request) {
super(request);
this.recordId = request.recordId;
}
/**
* <p>The account record ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>06950264-3f0d-4ca9-82dd-6ee7a3d33d6b</p>
*/
public Builder recordId(String recordId) {
this.putQueryParameter("RecordId", recordId);
this.recordId = recordId;
return this;
}
@Override
public ResendCreateCloudAccountEmailRequest build() {
return new ResendCreateCloudAccountEmailRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ResendCreateCloudAccountEmailResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendCreateCloudAccountEmailResponse} extends {@link TeaModel}
*
* <p>ResendCreateCloudAccountEmailResponse</p>
*/
public class ResendCreateCloudAccountEmailResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ResendCreateCloudAccountEmailResponseBody body;
private ResendCreateCloudAccountEmailResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ResendCreateCloudAccountEmailResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ResendCreateCloudAccountEmailResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ResendCreateCloudAccountEmailResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ResendCreateCloudAccountEmailResponseBody body);
@Override
ResendCreateCloudAccountEmailResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ResendCreateCloudAccountEmailResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ResendCreateCloudAccountEmailResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ResendCreateCloudAccountEmailResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ResendCreateCloudAccountEmailResponseBody body) {
this.body = body;
return this;
}
@Override
public ResendCreateCloudAccountEmailResponse build() {
return new ResendCreateCloudAccountEmailResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ResendCreateCloudAccountEmailResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendCreateCloudAccountEmailResponseBody} extends {@link TeaModel}
*
* <p>ResendCreateCloudAccountEmailResponseBody</p>
*/
public class ResendCreateCloudAccountEmailResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private Account account;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ResendCreateCloudAccountEmailResponseBody(Builder builder) {
this.account = builder.account;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ResendCreateCloudAccountEmailResponseBody create() {
return builder().build();
}
/**
* @return account
*/
public Account getAccount() {
return this.account;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Account account;
private String requestId;
/**
* <p>The information of the member account.</p>
*/
public Builder account(Account account) {
this.account = account;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ResendCreateCloudAccountEmailResponseBody build() {
return new ResendCreateCloudAccountEmailResponseBody(this);
}
}
/**
*
* {@link ResendCreateCloudAccountEmailResponseBody} extends {@link TeaModel}
*
* <p>ResendCreateCloudAccountEmailResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("RecordId")
private String recordId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.accountName = builder.accountName;
this.displayName = builder.displayName;
this.folderId = builder.folderId;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.modifyTime = builder.modifyTime;
this.recordId = builder.recordId;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return recordId
*/
public String getRecordId() {
return this.recordId;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String accountName;
private String displayName;
private String folderId;
private String joinMethod;
private String joinTime;
private String modifyTime;
private String recordId;
private String resourceDirectoryId;
private String status;
private String type;
/**
* <p>The ID of the account.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The name of the account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* <p>The display name of the member account.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The way in which the member account joined the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member account is invited to join the resource directory.</li>
* <li>created: The member account is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member account joined the resource directory.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The time when the member account was modified.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The account record ID.</p>
*
* <strong>example:</strong>
* <p>16950264-3f0d-4ca9-82dd-6ee7a3d33d6b</p>
*/
public Builder recordId(String recordId) {
this.recordId = recordId;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-k3****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the member account. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member account is created.</li>
* <li>CreateVerifying: The creation of the member account is under confirmation.</li>
* <li>CreateFailed: The member account failed to be created.</li>
* <li>CreateExpired: The creation of the member account expired.</li>
* <li>CreateCancelled: The creation of the member account is canceled.</li>
* <li>PromoteVerifying: The upgrade of the member account is under confirmation.</li>
* <li>PromoteFailed: The member account failed to be upgraded.</li>
* <li>PromoteExpired: The upgrade of the member account expired.</li>
* <li>PromoteCancelled: The upgrade of the member account is canceled.</li>
* <li>PromoteSuccess: The member account is upgraded.</li>
* <li>InviteSuccess: The owner of the member account accepted the invitation.</li>
* <li>Removed: The member account is removed from the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreateVerifying</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the member account. The value CloudAccount indicates that the member account is a cloud account.</p>
*
* <strong>example:</strong>
* <p>CloudAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ResendPromoteResourceAccountEmailRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendPromoteResourceAccountEmailRequest} extends {@link RequestModel}
*
* <p>ResendPromoteResourceAccountEmailRequest</p>
*/
public class ResendPromoteResourceAccountEmailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RecordId")
@com.aliyun.core.annotation.Validation(required = true)
private String recordId;
private ResendPromoteResourceAccountEmailRequest(Builder builder) {
super(builder);
this.recordId = builder.recordId;
}
public static Builder builder() {
return new Builder();
}
public static ResendPromoteResourceAccountEmailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return recordId
*/
public String getRecordId() {
return this.recordId;
}
public static final class Builder extends Request.Builder<ResendPromoteResourceAccountEmailRequest, Builder> {
private String recordId;
private Builder() {
super();
}
private Builder(ResendPromoteResourceAccountEmailRequest request) {
super(request);
this.recordId = request.recordId;
}
/**
* <p>The account record ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>06950264-3f0d-4ca9-82dd-6ee7a3d33d6b</p>
*/
public Builder recordId(String recordId) {
this.putQueryParameter("RecordId", recordId);
this.recordId = recordId;
return this;
}
@Override
public ResendPromoteResourceAccountEmailRequest build() {
return new ResendPromoteResourceAccountEmailRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ResendPromoteResourceAccountEmailResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendPromoteResourceAccountEmailResponse} extends {@link TeaModel}
*
* <p>ResendPromoteResourceAccountEmailResponse</p>
*/
public class ResendPromoteResourceAccountEmailResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ResendPromoteResourceAccountEmailResponseBody body;
private ResendPromoteResourceAccountEmailResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ResendPromoteResourceAccountEmailResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ResendPromoteResourceAccountEmailResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ResendPromoteResourceAccountEmailResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ResendPromoteResourceAccountEmailResponseBody body);
@Override
ResendPromoteResourceAccountEmailResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ResendPromoteResourceAccountEmailResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ResendPromoteResourceAccountEmailResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ResendPromoteResourceAccountEmailResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ResendPromoteResourceAccountEmailResponseBody body) {
this.body = body;
return this;
}
@Override
public ResendPromoteResourceAccountEmailResponse build() {
return new ResendPromoteResourceAccountEmailResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ResendPromoteResourceAccountEmailResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResendPromoteResourceAccountEmailResponseBody} extends {@link TeaModel}
*
* <p>ResendPromoteResourceAccountEmailResponseBody</p>
*/
public class ResendPromoteResourceAccountEmailResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private Account account;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ResendPromoteResourceAccountEmailResponseBody(Builder builder) {
this.account = builder.account;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ResendPromoteResourceAccountEmailResponseBody create() {
return builder().build();
}
/**
* @return account
*/
public Account getAccount() {
return this.account;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Account account;
private String requestId;
/**
* <p>The information of the member account.</p>
*/
public Builder account(Account account) {
this.account = account;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ResendPromoteResourceAccountEmailResponseBody build() {
return new ResendPromoteResourceAccountEmailResponseBody(this);
}
}
/**
*
* {@link ResendPromoteResourceAccountEmailResponseBody} extends {@link TeaModel}
*
* <p>ResendPromoteResourceAccountEmailResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("RecordId")
private String recordId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.accountName = builder.accountName;
this.displayName = builder.displayName;
this.folderId = builder.folderId;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.modifyTime = builder.modifyTime;
this.recordId = builder.recordId;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return recordId
*/
public String getRecordId() {
return this.recordId;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String accountName;
private String displayName;
private String folderId;
private String joinMethod;
private String joinTime;
private String modifyTime;
private String recordId;
private String resourceDirectoryId;
private String status;
private String type;
/**
* <p>The ID of the account.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The name of the account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* <p>The display name of the member account.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The way in which the member account joined the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member account is invited to join the resource directory.</li>
* <li>created: The member account is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member account joined the resource directory.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The time when the member account was modified.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The account record ID.</p>
*
* <strong>example:</strong>
* <p>16950264-3f0d-4ca9-82dd-6ee7a3d33d6b</p>
*/
public Builder recordId(String recordId) {
this.recordId = recordId;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-k3****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the member account. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member account is created.</li>
* <li>CreateVerifying: The creation of the member account is under confirmation.</li>
* <li>CreateFailed: The member account failed to be created.</li>
* <li>CreateExpired: The creation of the member account expired.</li>
* <li>CreateCancelled: The creation of the member account is canceled.</li>
* <li>PromoteVerifying: The upgrade of the member account is under confirmation.</li>
* <li>PromoteFailed: The member account failed to be upgraded.</li>
* <li>PromoteExpired: The upgrade of the member account expired.</li>
* <li>PromoteCancelled: The upgrade of the member account is canceled.</li>
* <li>PromoteSuccess: The member account is upgraded.</li>
* <li>InviteSuccess: The owner of the member account accepted the invitation.</li>
* <li>Removed: The member account is removed from the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>PromoteVerifying</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the member account. Valid values:</p>
* <ul>
* <li>CloudAccount: cloud account</li>
* <li>ResourceAccount: resource account</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RetryChangeAccountEmailRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RetryChangeAccountEmailRequest} extends {@link RequestModel}
*
* <p>RetryChangeAccountEmailRequest</p>
*/
public class RetryChangeAccountEmailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
private RetryChangeAccountEmailRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
}
public static Builder builder() {
return new Builder();
}
public static RetryChangeAccountEmailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
public static final class Builder extends Request.Builder<RetryChangeAccountEmailRequest, Builder> {
private String accountId;
private Builder() {
super();
}
private Builder(RetryChangeAccountEmailRequest request) {
super(request);
this.accountId = request.accountId;
}
/**
* <p>The Alibaba Cloud account ID of the member.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>181761095690****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
@Override
public RetryChangeAccountEmailRequest build() {
return new RetryChangeAccountEmailRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RetryChangeAccountEmailResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RetryChangeAccountEmailResponse} extends {@link TeaModel}
*
* <p>RetryChangeAccountEmailResponse</p>
*/
public class RetryChangeAccountEmailResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RetryChangeAccountEmailResponseBody body;
private RetryChangeAccountEmailResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RetryChangeAccountEmailResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RetryChangeAccountEmailResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RetryChangeAccountEmailResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RetryChangeAccountEmailResponseBody body);
@Override
RetryChangeAccountEmailResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RetryChangeAccountEmailResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RetryChangeAccountEmailResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RetryChangeAccountEmailResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RetryChangeAccountEmailResponseBody body) {
this.body = body;
return this;
}
@Override
public RetryChangeAccountEmailResponse build() {
return new RetryChangeAccountEmailResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/RetryChangeAccountEmailResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RetryChangeAccountEmailResponseBody} extends {@link TeaModel}
*
* <p>RetryChangeAccountEmailResponseBody</p>
*/
public class RetryChangeAccountEmailResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RetryChangeAccountEmailResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RetryChangeAccountEmailResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RetryChangeAccountEmailResponseBody build() {
return new RetryChangeAccountEmailResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SendVerificationCodeForBindSecureMobilePhoneRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SendVerificationCodeForBindSecureMobilePhoneRequest} extends {@link RequestModel}
*
* <p>SendVerificationCodeForBindSecureMobilePhoneRequest</p>
*/
public class SendVerificationCodeForBindSecureMobilePhoneRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecureMobilePhone")
@com.aliyun.core.annotation.Validation(required = true)
private String secureMobilePhone;
private SendVerificationCodeForBindSecureMobilePhoneRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.secureMobilePhone = builder.secureMobilePhone;
}
public static Builder builder() {
return new Builder();
}
public static SendVerificationCodeForBindSecureMobilePhoneRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return secureMobilePhone
*/
public String getSecureMobilePhone() {
return this.secureMobilePhone;
}
public static final class Builder extends Request.Builder<SendVerificationCodeForBindSecureMobilePhoneRequest, Builder> {
private String accountId;
private String secureMobilePhone;
private Builder() {
super();
}
private Builder(SendVerificationCodeForBindSecureMobilePhoneRequest request) {
super(request);
this.accountId = request.accountId;
this.secureMobilePhone = request.secureMobilePhone;
}
/**
* <p>The ID of the resource account.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>138660628348****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The mobile phone number that you want to bind to the resource account.</p>
* <p>Specify the mobile phone number in the <Country code>-<Mobile phone number> format.</p>
* <blockquote>
* <p> Mobile phone numbers in the <code>86-<Mobile phone number></code> format in the Chinese mainland are not supported.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xx-13900001234</p>
*/
public Builder secureMobilePhone(String secureMobilePhone) {
this.putQueryParameter("SecureMobilePhone", secureMobilePhone);
this.secureMobilePhone = secureMobilePhone;
return this;
}
@Override
public SendVerificationCodeForBindSecureMobilePhoneRequest build() {
return new SendVerificationCodeForBindSecureMobilePhoneRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SendVerificationCodeForBindSecureMobilePhoneResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SendVerificationCodeForBindSecureMobilePhoneResponse} extends {@link TeaModel}
*
* <p>SendVerificationCodeForBindSecureMobilePhoneResponse</p>
*/
public class SendVerificationCodeForBindSecureMobilePhoneResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SendVerificationCodeForBindSecureMobilePhoneResponseBody body;
private SendVerificationCodeForBindSecureMobilePhoneResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SendVerificationCodeForBindSecureMobilePhoneResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SendVerificationCodeForBindSecureMobilePhoneResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SendVerificationCodeForBindSecureMobilePhoneResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SendVerificationCodeForBindSecureMobilePhoneResponseBody body);
@Override
SendVerificationCodeForBindSecureMobilePhoneResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SendVerificationCodeForBindSecureMobilePhoneResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SendVerificationCodeForBindSecureMobilePhoneResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SendVerificationCodeForBindSecureMobilePhoneResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SendVerificationCodeForBindSecureMobilePhoneResponseBody body) {
this.body = body;
return this;
}
@Override
public SendVerificationCodeForBindSecureMobilePhoneResponse build() {
return new SendVerificationCodeForBindSecureMobilePhoneResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SendVerificationCodeForBindSecureMobilePhoneResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SendVerificationCodeForBindSecureMobilePhoneResponseBody} extends {@link TeaModel}
*
* <p>SendVerificationCodeForBindSecureMobilePhoneResponseBody</p>
*/
public class SendVerificationCodeForBindSecureMobilePhoneResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ExpirationDate")
private String expirationDate;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SendVerificationCodeForBindSecureMobilePhoneResponseBody(Builder builder) {
this.expirationDate = builder.expirationDate;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SendVerificationCodeForBindSecureMobilePhoneResponseBody create() {
return builder().build();
}
/**
* @return expirationDate
*/
public String getExpirationDate() {
return this.expirationDate;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String expirationDate;
private String requestId;
/**
* <p>The time when the verification code expires.</p>
*
* <strong>example:</strong>
* <p>2021-12-17T07:38:41.747Z</p>
*/
public Builder expirationDate(String expirationDate) {
this.expirationDate = expirationDate;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>DCD43660-75DD-5D15-B342-1B83FCA5B913</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SendVerificationCodeForBindSecureMobilePhoneResponseBody build() {
return new SendVerificationCodeForBindSecureMobilePhoneResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SendVerificationCodeForEnableRDRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SendVerificationCodeForEnableRDRequest} extends {@link RequestModel}
*
* <p>SendVerificationCodeForEnableRDRequest</p>
*/
public class SendVerificationCodeForEnableRDRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecureMobilePhone")
private String secureMobilePhone;
private SendVerificationCodeForEnableRDRequest(Builder builder) {
super(builder);
this.secureMobilePhone = builder.secureMobilePhone;
}
public static Builder builder() {
return new Builder();
}
public static SendVerificationCodeForEnableRDRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return secureMobilePhone
*/
public String getSecureMobilePhone() {
return this.secureMobilePhone;
}
public static final class Builder extends Request.Builder<SendVerificationCodeForEnableRDRequest, Builder> {
private String secureMobilePhone;
private Builder() {
super();
}
private Builder(SendVerificationCodeForEnableRDRequest request) {
super(request);
this.secureMobilePhone = request.secureMobilePhone;
}
/**
* <p>The mobile phone number that is bound to the newly created account. If you leave this parameter empty, the mobile phone number that is bound to the current account is used.</p>
* <p>Specify the mobile phone number in the <code><Country code>-<Mobile phone number></code> format.</p>
* <blockquote>
* <p> Mobile phone numbers in the <code>86-<Mobile phone number></code> format in the Chinese mainland are not supported.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>xx-13900001234</p>
*/
public Builder secureMobilePhone(String secureMobilePhone) {
this.putQueryParameter("SecureMobilePhone", secureMobilePhone);
this.secureMobilePhone = secureMobilePhone;
return this;
}
@Override
public SendVerificationCodeForEnableRDRequest build() {
return new SendVerificationCodeForEnableRDRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SendVerificationCodeForEnableRDResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SendVerificationCodeForEnableRDResponse} extends {@link TeaModel}
*
* <p>SendVerificationCodeForEnableRDResponse</p>
*/
public class SendVerificationCodeForEnableRDResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SendVerificationCodeForEnableRDResponseBody body;
private SendVerificationCodeForEnableRDResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SendVerificationCodeForEnableRDResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SendVerificationCodeForEnableRDResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SendVerificationCodeForEnableRDResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SendVerificationCodeForEnableRDResponseBody body);
@Override
SendVerificationCodeForEnableRDResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SendVerificationCodeForEnableRDResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SendVerificationCodeForEnableRDResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SendVerificationCodeForEnableRDResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SendVerificationCodeForEnableRDResponseBody body) {
this.body = body;
return this;
}
@Override
public SendVerificationCodeForEnableRDResponse build() {
return new SendVerificationCodeForEnableRDResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SendVerificationCodeForEnableRDResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SendVerificationCodeForEnableRDResponseBody} extends {@link TeaModel}
*
* <p>SendVerificationCodeForEnableRDResponseBody</p>
*/
public class SendVerificationCodeForEnableRDResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SendVerificationCodeForEnableRDResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SendVerificationCodeForEnableRDResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>EC2FE94D-A4A2-51A1-A493-5C273A36C46A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SendVerificationCodeForEnableRDResponseBody build() {
return new SendVerificationCodeForEnableRDResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SetDefaultPolicyVersionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultPolicyVersionRequest} extends {@link RequestModel}
*
* <p>SetDefaultPolicyVersionRequest</p>
*/
public class SetDefaultPolicyVersionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyName")
@com.aliyun.core.annotation.Validation(required = true)
private String policyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VersionId")
@com.aliyun.core.annotation.Validation(required = true)
private String versionId;
private SetDefaultPolicyVersionRequest(Builder builder) {
super(builder);
this.policyName = builder.policyName;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultPolicyVersionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return versionId
*/
public String getVersionId() {
return this.versionId;
}
public static final class Builder extends Request.Builder<SetDefaultPolicyVersionRequest, Builder> {
private String policyName;
private String versionId;
private Builder() {
super();
}
private Builder(SetDefaultPolicyVersionRequest request) {
super(request);
this.policyName = request.policyName;
this.versionId = request.versionId;
}
/**
* <p>The name of the policy.</p>
* <p>The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OSS-Administrator</p>
*/
public Builder policyName(String policyName) {
this.putQueryParameter("PolicyName", policyName);
this.policyName = policyName;
return this;
}
/**
* <p>The ID of the policy version.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>v2</p>
*/
public Builder versionId(String versionId) {
this.putQueryParameter("VersionId", versionId);
this.versionId = versionId;
return this;
}
@Override
public SetDefaultPolicyVersionRequest build() {
return new SetDefaultPolicyVersionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SetDefaultPolicyVersionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultPolicyVersionResponse} extends {@link TeaModel}
*
* <p>SetDefaultPolicyVersionResponse</p>
*/
public class SetDefaultPolicyVersionResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetDefaultPolicyVersionResponseBody body;
private SetDefaultPolicyVersionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetDefaultPolicyVersionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetDefaultPolicyVersionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetDefaultPolicyVersionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetDefaultPolicyVersionResponseBody body);
@Override
SetDefaultPolicyVersionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetDefaultPolicyVersionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetDefaultPolicyVersionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetDefaultPolicyVersionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetDefaultPolicyVersionResponseBody body) {
this.body = body;
return this;
}
@Override
public SetDefaultPolicyVersionResponse build() {
return new SetDefaultPolicyVersionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SetDefaultPolicyVersionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultPolicyVersionResponseBody} extends {@link TeaModel}
*
* <p>SetDefaultPolicyVersionResponseBody</p>
*/
public class SetDefaultPolicyVersionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SetDefaultPolicyVersionResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultPolicyVersionResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SetDefaultPolicyVersionResponseBody build() {
return new SetDefaultPolicyVersionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SetMemberDeletionPermissionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetMemberDeletionPermissionRequest} extends {@link RequestModel}
*
* <p>SetMemberDeletionPermissionRequest</p>
*/
public class SetMemberDeletionPermissionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
@com.aliyun.core.annotation.Validation(required = true)
private String status;
private SetMemberDeletionPermissionRequest(Builder builder) {
super(builder);
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static SetMemberDeletionPermissionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<SetMemberDeletionPermissionRequest, Builder> {
private String status;
private Builder() {
super();
}
private Builder(SetMemberDeletionPermissionRequest request) {
super(request);
this.status = request.status;
}
/**
* <p>Specifies whether to enable the member deletion feature. Valid values:</p>
* <ul>
* <li>Enabled: enables the member deletion feature</li>
* <li>Disabled: disables the member deletion feature</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Enabled</p>
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public SetMemberDeletionPermissionRequest build() {
return new SetMemberDeletionPermissionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SetMemberDeletionPermissionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetMemberDeletionPermissionResponse} extends {@link TeaModel}
*
* <p>SetMemberDeletionPermissionResponse</p>
*/
public class SetMemberDeletionPermissionResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetMemberDeletionPermissionResponseBody body;
private SetMemberDeletionPermissionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetMemberDeletionPermissionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetMemberDeletionPermissionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetMemberDeletionPermissionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetMemberDeletionPermissionResponseBody body);
@Override
SetMemberDeletionPermissionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetMemberDeletionPermissionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetMemberDeletionPermissionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetMemberDeletionPermissionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetMemberDeletionPermissionResponseBody body) {
this.body = body;
return this;
}
@Override
public SetMemberDeletionPermissionResponse build() {
return new SetMemberDeletionPermissionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/SetMemberDeletionPermissionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetMemberDeletionPermissionResponseBody} extends {@link TeaModel}
*
* <p>SetMemberDeletionPermissionResponseBody</p>
*/
public class SetMemberDeletionPermissionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ManagementAccountId")
private String managementAccountId;
@com.aliyun.core.annotation.NameInMap("MemberDeletionStatus")
private String memberDeletionStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
private SetMemberDeletionPermissionResponseBody(Builder builder) {
this.managementAccountId = builder.managementAccountId;
this.memberDeletionStatus = builder.memberDeletionStatus;
this.requestId = builder.requestId;
this.resourceDirectoryId = builder.resourceDirectoryId;
}
public static Builder builder() {
return new Builder();
}
public static SetMemberDeletionPermissionResponseBody create() {
return builder().build();
}
/**
* @return managementAccountId
*/
public String getManagementAccountId() {
return this.managementAccountId;
}
/**
* @return memberDeletionStatus
*/
public String getMemberDeletionStatus() {
return this.memberDeletionStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
public static final class Builder {
private String managementAccountId;
private String memberDeletionStatus;
private String requestId;
private String resourceDirectoryId;
/**
* <p>The ID of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>151266687691****</p>
*/
public Builder managementAccountId(String managementAccountId) {
this.managementAccountId = managementAccountId;
return this;
}
/**
* <p>The status of the member deletion feature. Valid values:</p>
* <ul>
* <li>Enabled: The feature is enabled.</li>
* <li>Disabled: The feature is disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enabled</p>
*/
public Builder memberDeletionStatus(String memberDeletionStatus) {
this.memberDeletionStatus = memberDeletionStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C55A4CAA-9039-1DDF-91CE-FCC134513D29</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-3G****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
public SetMemberDeletionPermissionResponseBody build() {
return new SetMemberDeletionPermissionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/TagResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link TagResourcesRequest} extends {@link RequestModel}
*
* <p>TagResourcesRequest</p>
*/
public class TagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<Tag> tag;
private TagResourcesRequest(Builder builder) {
super(builder);
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static TagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return resourceId
*/
public java.util.List<String> getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<TagResourcesRequest, Builder> {
private java.util.List<String> resourceId;
private String resourceType;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(TagResourcesRequest request) {
super(request);
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tag = request.tag;
}
/**
* <p>The ID of a resource group or member.</p>
* <p>This parameter is required.</p>
*/
public Builder resourceId(java.util.List<String> resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the objects to which you want to add tags. Valid values:</p>
* <ul>
* <li>ResourceGroup : resource group. This is the default value.</li>
* <li>Account: member.</li>
* </ul>
* <blockquote>
* <p> This parameter is required if you add tags to members in a resource directory.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ResourceGroup</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The tags.</p>
* <p>This parameter is required.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public TagResourcesRequest build() {
return new TagResourcesRequest(this);
}
}
/**
*
* {@link TagResourcesRequest} extends {@link TeaModel}
*
* <p>TagResourcesRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
* <p>A tag key can be a maximum of 128 characters in length. It cannot contain <code>http://</code> or <code>https://</code> and cannot start with <code>acs:</code> or <code>aliyun</code>.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
* <p>A tag value can be a maximum of 128 characters in length. It cannot contain <code>http://</code> or <code>https://</code> and cannot start with <code>acs:</code>.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/TagResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link TagResourcesResponse} extends {@link TeaModel}
*
* <p>TagResourcesResponse</p>
*/
public class TagResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private TagResourcesResponseBody body;
private TagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static TagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public TagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<TagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(TagResourcesResponseBody body);
@Override
TagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<TagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private TagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(TagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(TagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public TagResourcesResponse build() {
return new TagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/TagResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link TagResourcesResponseBody} extends {@link TeaModel}
*
* <p>TagResourcesResponseBody</p>
*/
public class TagResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private TagResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static TagResourcesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E7747EDF-EDDC-5B38-9B6A-6392B9C92B1C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public TagResourcesResponseBody build() {
return new TagResourcesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UntagResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UntagResourcesRequest} extends {@link RequestModel}
*
* <p>UntagResourcesRequest</p>
*/
public class UntagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("All")
private Boolean all;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKey")
private java.util.List<String> tagKey;
private UntagResourcesRequest(Builder builder) {
super(builder);
this.all = builder.all;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
}
public static Builder builder() {
return new Builder();
}
public static UntagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return all
*/
public Boolean getAll() {
return this.all;
}
/**
* @return resourceId
*/
public java.util.List<String> getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public java.util.List<String> getTagKey() {
return this.tagKey;
}
public static final class Builder extends Request.Builder<UntagResourcesRequest, Builder> {
private Boolean all;
private java.util.List<String> resourceId;
private String resourceType;
private java.util.List<String> tagKey;
private Builder() {
super();
}
private Builder(UntagResourcesRequest request) {
super(request);
this.all = request.all;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tagKey = request.tagKey;
}
/**
* <p>Specifies whether to remove all tags from the specified resource groups or members. Valid values:</p>
* <ul>
* <li>false (default value)</li>
* <li>true</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder all(Boolean all) {
this.putQueryParameter("All", all);
this.all = all;
return this;
}
/**
* <p>The ID of a resource group or member.</p>
* <p>You can specify a maximum of 50 IDs.</p>
* <p>This parameter is required.</p>
*/
public Builder resourceId(java.util.List<String> resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the objects from which you want to remove tags. Valid values:</p>
* <ul>
* <li>ResourceGroup: resource group. This is the default value.</li>
* <li>Account: member.</li>
* </ul>
* <blockquote>
* <p> This parameter is required if you remove tags from members in a resource directory.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ResourceGroup</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>A tag key.</p>
* <p>You can specify a maximum of 20 tag keys.</p>
* <blockquote>
* <p> If you set the <code>All</code> parameter to <code>true</code>, you do not need to configure this parameter.</p>
* </blockquote>
*/
public Builder tagKey(java.util.List<String> tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
@Override
public UntagResourcesRequest build() {
return new UntagResourcesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UntagResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UntagResourcesResponse} extends {@link TeaModel}
*
* <p>UntagResourcesResponse</p>
*/
public class UntagResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UntagResourcesResponseBody body;
private UntagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UntagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UntagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UntagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UntagResourcesResponseBody body);
@Override
UntagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UntagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UntagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UntagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UntagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public UntagResourcesResponse build() {
return new UntagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UntagResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UntagResourcesResponseBody} extends {@link TeaModel}
*
* <p>UntagResourcesResponseBody</p>
*/
public class UntagResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UntagResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UntagResourcesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E7747EDF-EDDC-5B38-9B6A-6392B9C92B1C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UntagResourcesResponseBody build() {
return new UntagResourcesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAccountRequest} extends {@link RequestModel}
*
* <p>UpdateAccountRequest</p>
*/
public class UpdateAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewAccountType")
private String newAccountType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewDisplayName")
private String newDisplayName;
private UpdateAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.newAccountType = builder.newAccountType;
this.newDisplayName = builder.newDisplayName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return newAccountType
*/
public String getNewAccountType() {
return this.newAccountType;
}
/**
* @return newDisplayName
*/
public String getNewDisplayName() {
return this.newDisplayName;
}
public static final class Builder extends Request.Builder<UpdateAccountRequest, Builder> {
private String accountId;
private String newAccountType;
private String newDisplayName;
private Builder() {
super();
}
private Builder(UpdateAccountRequest request) {
super(request);
this.accountId = request.accountId;
this.newAccountType = request.newAccountType;
this.newDisplayName = request.newDisplayName;
}
/**
* <p>The ID of the Alibaba Cloud account that corresponds to the member.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The new type of the member. Valid values:</p>
* <ul>
* <li>ResourceAccount: resource account</li>
* <li>CloudAccount: cloud account</li>
* </ul>
* <blockquote>
* <p> You can configure either the <code>NewDisplayName</code> or <code>NewAccountType</code> parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder newAccountType(String newAccountType) {
this.putQueryParameter("NewAccountType", newAccountType);
this.newAccountType = newAccountType;
return this;
}
/**
* <p>The new display name of the member.</p>
* <blockquote>
* <p> You can configure either the <code>NewDisplayName</code> or <code>NewAccountType</code> parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder newDisplayName(String newDisplayName) {
this.putQueryParameter("NewDisplayName", newDisplayName);
this.newDisplayName = newDisplayName;
return this;
}
@Override
public UpdateAccountRequest build() {
return new UpdateAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAccountResponse} extends {@link TeaModel}
*
* <p>UpdateAccountResponse</p>
*/
public class UpdateAccountResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateAccountResponseBody body;
private UpdateAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateAccountResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateAccountResponseBody body);
@Override
UpdateAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateAccountResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateAccountResponse build() {
return new UpdateAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAccountResponseBody} extends {@link TeaModel}
*
* <p>UpdateAccountResponseBody</p>
*/
public class UpdateAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private Account account;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateAccountResponseBody(Builder builder) {
this.account = builder.account;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAccountResponseBody create() {
return builder().build();
}
/**
* @return account
*/
public Account getAccount() {
return this.account;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Account account;
private String requestId;
/**
* <p>The information of the member.</p>
*/
public Builder account(Account account) {
this.account = account;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateAccountResponseBody build() {
return new UpdateAccountResponseBody(this);
}
}
/**
*
* {@link UpdateAccountResponseBody} extends {@link TeaModel}
*
* <p>UpdateAccountResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.accountName = builder.accountName;
this.displayName = builder.displayName;
this.folderId = builder.folderId;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.modifyTime = builder.modifyTime;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String accountName;
private String displayName;
private String folderId;
private String joinMethod;
private String joinTime;
private String modifyTime;
private String resourceDirectoryId;
private String status;
private String type;
/**
* <p>The ID of the Alibaba Cloud account that corresponds to the member.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The name of the Alibaba Cloud account that corresponds to the member.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:ecs-manager@aliyun.com">ecs-manager@aliyun.com</a></p>
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* <p>The display name of the member.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The way in which the member joins the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member is invited to join the resource directory.</li>
* <li>created: The member is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member joined the resource directory. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The time when the member was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-k3****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the member. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member is created.</li>
* <li>InviteSuccess: The member accepts the invitation.</li>
* <li>Removed: The member is removed.</li>
* <li>SwitchSuccess: The type of the member is switched.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreateSuccess</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the member. Valid values:</p>
* <ul>
* <li>CloudAccount: cloud account</li>
* <li>ResourceAccount: resource account</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAssociatedTransferSettingRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAssociatedTransferSettingRequest} extends {@link RequestModel}
*
* <p>UpdateAssociatedTransferSettingRequest</p>
*/
public class UpdateAssociatedTransferSettingRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnableExistingResourcesTransfer")
private String enableExistingResourcesTransfer;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleSettings")
private java.util.List<RuleSettings> ruleSettings;
private UpdateAssociatedTransferSettingRequest(Builder builder) {
super(builder);
this.enableExistingResourcesTransfer = builder.enableExistingResourcesTransfer;
this.ruleSettings = builder.ruleSettings;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAssociatedTransferSettingRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableExistingResourcesTransfer
*/
public String getEnableExistingResourcesTransfer() {
return this.enableExistingResourcesTransfer;
}
/**
* @return ruleSettings
*/
public java.util.List<RuleSettings> getRuleSettings() {
return this.ruleSettings;
}
public static final class Builder extends Request.Builder<UpdateAssociatedTransferSettingRequest, Builder> {
private String enableExistingResourcesTransfer;
private java.util.List<RuleSettings> ruleSettings;
private Builder() {
super();
}
private Builder(UpdateAssociatedTransferSettingRequest request) {
super(request);
this.enableExistingResourcesTransfer = request.enableExistingResourcesTransfer;
this.ruleSettings = request.ruleSettings;
}
/**
* <p>Specifies whether to enable the Transfer Existing Associated Resources feature. Valid values:</p>
* <ul>
* <li>false</li>
* <li>true</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder enableExistingResourcesTransfer(String enableExistingResourcesTransfer) {
this.putQueryParameter("EnableExistingResourcesTransfer", enableExistingResourcesTransfer);
this.enableExistingResourcesTransfer = enableExistingResourcesTransfer;
return this;
}
/**
* <p>The settings of transfer rules.</p>
*/
public Builder ruleSettings(java.util.List<RuleSettings> ruleSettings) {
this.putQueryParameter("RuleSettings", ruleSettings);
this.ruleSettings = ruleSettings;
return this;
}
@Override
public UpdateAssociatedTransferSettingRequest build() {
return new UpdateAssociatedTransferSettingRequest(this);
}
}
/**
*
* {@link UpdateAssociatedTransferSettingRequest} extends {@link TeaModel}
*
* <p>UpdateAssociatedTransferSettingRequest</p>
*/
public static class RuleSettings extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AssociatedResourceType")
private String associatedResourceType;
@com.aliyun.core.annotation.NameInMap("AssociatedService")
private String associatedService;
@com.aliyun.core.annotation.NameInMap("MasterResourceType")
private String masterResourceType;
@com.aliyun.core.annotation.NameInMap("MasterService")
private String masterService;
@com.aliyun.core.annotation.NameInMap("Status")
@com.aliyun.core.annotation.Validation(required = true)
private String status;
private RuleSettings(Builder builder) {
this.associatedResourceType = builder.associatedResourceType;
this.associatedService = builder.associatedService;
this.masterResourceType = builder.masterResourceType;
this.masterService = builder.masterService;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static RuleSettings create() {
return builder().build();
}
/**
* @return associatedResourceType
*/
public String getAssociatedResourceType() {
return this.associatedResourceType;
}
/**
* @return associatedService
*/
public String getAssociatedService() {
return this.associatedService;
}
/**
* @return masterResourceType
*/
public String getMasterResourceType() {
return this.masterResourceType;
}
/**
* @return masterService
*/
public String getMasterService() {
return this.masterService;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String associatedResourceType;
private String associatedService;
private String masterResourceType;
private String masterService;
private String status;
/**
* <p>The type of the associated resource.</p>
* <p>You can obtain the resource type from the <strong>Resource type</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
*
* <strong>example:</strong>
* <p>disk</p>
*/
public Builder associatedResourceType(String associatedResourceType) {
this.associatedResourceType = associatedResourceType;
return this;
}
/**
* <p>The service code of the associated resource.</p>
* <p>You can obtain the service code from the <strong>Service code</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder associatedService(String associatedService) {
this.associatedService = associatedService;
return this;
}
/**
* <p>The type of the primary resource.</p>
* <p>You can obtain the resource type from the <strong>Resource type</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder masterResourceType(String masterResourceType) {
this.masterResourceType = masterResourceType;
return this;
}
/**
* <p>The service code of the primary resource.</p>
* <p>You can obtain the service code from the <strong>Service code</strong> column in <a href="https://help.aliyun.com/document_detail/94479.html">Services that work with Resource Group</a>.</p>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder masterService(String masterService) {
this.masterService = masterService;
return this;
}
/**
* <p>The status of the Transfer Associated Resources feature. Valid values:</p>
* <ul>
* <li>Enable: enabled</li>
* <li>Disable: disabled</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Enable</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public RuleSettings build() {
return new RuleSettings(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAssociatedTransferSettingResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAssociatedTransferSettingResponse} extends {@link TeaModel}
*
* <p>UpdateAssociatedTransferSettingResponse</p>
*/
public class UpdateAssociatedTransferSettingResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateAssociatedTransferSettingResponseBody body;
private UpdateAssociatedTransferSettingResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateAssociatedTransferSettingResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateAssociatedTransferSettingResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateAssociatedTransferSettingResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateAssociatedTransferSettingResponseBody body);
@Override
UpdateAssociatedTransferSettingResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateAssociatedTransferSettingResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateAssociatedTransferSettingResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateAssociatedTransferSettingResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateAssociatedTransferSettingResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateAssociatedTransferSettingResponse build() {
return new UpdateAssociatedTransferSettingResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAssociatedTransferSettingResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAssociatedTransferSettingResponseBody} extends {@link TeaModel}
*
* <p>UpdateAssociatedTransferSettingResponseBody</p>
*/
public class UpdateAssociatedTransferSettingResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateAssociatedTransferSettingResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAssociatedTransferSettingResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateAssociatedTransferSettingResponseBody build() {
return new UpdateAssociatedTransferSettingResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAutoGroupingConfigRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAutoGroupingConfigRequest} extends {@link RequestModel}
*
* <p>UpdateAutoGroupingConfigRequest</p>
*/
public class UpdateAutoGroupingConfigRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnableExistingResourcesTransfer")
private Boolean enableExistingResourcesTransfer;
private UpdateAutoGroupingConfigRequest(Builder builder) {
super(builder);
this.enableExistingResourcesTransfer = builder.enableExistingResourcesTransfer;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAutoGroupingConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableExistingResourcesTransfer
*/
public Boolean getEnableExistingResourcesTransfer() {
return this.enableExistingResourcesTransfer;
}
public static final class Builder extends Request.Builder<UpdateAutoGroupingConfigRequest, Builder> {
private Boolean enableExistingResourcesTransfer;
private Builder() {
super();
}
private Builder(UpdateAutoGroupingConfigRequest request) {
super(request);
this.enableExistingResourcesTransfer = request.enableExistingResourcesTransfer;
}
/**
* <p>Specifies whether to enable the Transfer Existing Associated Resources feature. Valid values:</p>
* <ul>
* <li>false</li>
* <li>true</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder enableExistingResourcesTransfer(Boolean enableExistingResourcesTransfer) {
this.putQueryParameter("EnableExistingResourcesTransfer", enableExistingResourcesTransfer);
this.enableExistingResourcesTransfer = enableExistingResourcesTransfer;
return this;
}
@Override
public UpdateAutoGroupingConfigRequest build() {
return new UpdateAutoGroupingConfigRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAutoGroupingConfigResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAutoGroupingConfigResponse} extends {@link TeaModel}
*
* <p>UpdateAutoGroupingConfigResponse</p>
*/
public class UpdateAutoGroupingConfigResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateAutoGroupingConfigResponseBody body;
private UpdateAutoGroupingConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateAutoGroupingConfigResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateAutoGroupingConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateAutoGroupingConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateAutoGroupingConfigResponseBody body);
@Override
UpdateAutoGroupingConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateAutoGroupingConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateAutoGroupingConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateAutoGroupingConfigResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateAutoGroupingConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateAutoGroupingConfigResponse build() {
return new UpdateAutoGroupingConfigResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAutoGroupingConfigResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAutoGroupingConfigResponseBody} extends {@link TeaModel}
*
* <p>UpdateAutoGroupingConfigResponseBody</p>
*/
public class UpdateAutoGroupingConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateAutoGroupingConfigResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAutoGroupingConfigResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>C2CBCA30-C8DD-423E-B4AD-4FB694C9180C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateAutoGroupingConfigResponseBody build() {
return new UpdateAutoGroupingConfigResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAutoGroupingRuleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAutoGroupingRuleRequest} extends {@link RequestModel}
*
* <p>UpdateAutoGroupingRuleRequest</p>
*/
public class UpdateAutoGroupingRuleRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExcludeRegionIdsScope")
@com.aliyun.core.annotation.Validation(maxLength = 2000)
private String excludeRegionIdsScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExcludeResourceGroupIdsScope")
@com.aliyun.core.annotation.Validation(maxLength = 8000)
private String excludeResourceGroupIdsScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExcludeResourceIdsScope")
@com.aliyun.core.annotation.Validation(maxLength = 5000)
private String excludeResourceIdsScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExcludeResourceTypesScope")
@com.aliyun.core.annotation.Validation(maxLength = 2000)
private String excludeResourceTypesScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionIdsScope")
@com.aliyun.core.annotation.Validation(maxLength = 2000)
private String regionIdsScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupIdsScope")
@com.aliyun.core.annotation.Validation(maxLength = 8000)
private String resourceGroupIdsScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceIdsScope")
@com.aliyun.core.annotation.Validation(maxLength = 5000)
private String resourceIdsScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceTypesScope")
@com.aliyun.core.annotation.Validation(maxLength = 2000)
private String resourceTypesScope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleContents")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<RuleContents> ruleContents;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleDesc")
@com.aliyun.core.annotation.Validation(maxLength = 512)
private String ruleDesc;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleId")
@com.aliyun.core.annotation.Validation(required = true)
private String ruleId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleName")
@com.aliyun.core.annotation.Validation(required = true, maxLength = 128)
private String ruleName;
private UpdateAutoGroupingRuleRequest(Builder builder) {
super(builder);
this.excludeRegionIdsScope = builder.excludeRegionIdsScope;
this.excludeResourceGroupIdsScope = builder.excludeResourceGroupIdsScope;
this.excludeResourceIdsScope = builder.excludeResourceIdsScope;
this.excludeResourceTypesScope = builder.excludeResourceTypesScope;
this.regionIdsScope = builder.regionIdsScope;
this.resourceGroupIdsScope = builder.resourceGroupIdsScope;
this.resourceIdsScope = builder.resourceIdsScope;
this.resourceTypesScope = builder.resourceTypesScope;
this.ruleContents = builder.ruleContents;
this.ruleDesc = builder.ruleDesc;
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAutoGroupingRuleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return excludeRegionIdsScope
*/
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
/**
* @return excludeResourceGroupIdsScope
*/
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
/**
* @return excludeResourceIdsScope
*/
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
/**
* @return excludeResourceTypesScope
*/
public String getExcludeResourceTypesScope() {
return this.excludeResourceTypesScope;
}
/**
* @return regionIdsScope
*/
public String getRegionIdsScope() {
return this.regionIdsScope;
}
/**
* @return resourceGroupIdsScope
*/
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
/**
* @return resourceIdsScope
*/
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
/**
* @return resourceTypesScope
*/
public String getResourceTypesScope() {
return this.resourceTypesScope;
}
/**
* @return ruleContents
*/
public java.util.List<RuleContents> getRuleContents() {
return this.ruleContents;
}
/**
* @return ruleDesc
*/
public String getRuleDesc() {
return this.ruleDesc;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
public static final class Builder extends Request.Builder<UpdateAutoGroupingRuleRequest, Builder> {
private String excludeRegionIdsScope;
private String excludeResourceGroupIdsScope;
private String excludeResourceIdsScope;
private String excludeResourceTypesScope;
private String regionIdsScope;
private String resourceGroupIdsScope;
private String resourceIdsScope;
private String resourceTypesScope;
private java.util.List<RuleContents> ruleContents;
private String ruleDesc;
private String ruleId;
private String ruleName;
private Builder() {
super();
}
private Builder(UpdateAutoGroupingRuleRequest request) {
super(request);
this.excludeRegionIdsScope = request.excludeRegionIdsScope;
this.excludeResourceGroupIdsScope = request.excludeResourceGroupIdsScope;
this.excludeResourceIdsScope = request.excludeResourceIdsScope;
this.excludeResourceTypesScope = request.excludeResourceTypesScope;
this.regionIdsScope = request.regionIdsScope;
this.resourceGroupIdsScope = request.resourceGroupIdsScope;
this.resourceIdsScope = request.resourceIdsScope;
this.resourceTypesScope = request.resourceTypesScope;
this.ruleContents = request.ruleContents;
this.ruleDesc = request.ruleDesc;
this.ruleId = request.ruleId;
this.ruleName = request.ruleName;
}
/**
* <p>The IDs of regions to be excluded. Separate multiple IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>cn-beijing,cn-guangzhou</p>
*/
public Builder excludeRegionIdsScope(String excludeRegionIdsScope) {
this.putQueryParameter("ExcludeRegionIdsScope", excludeRegionIdsScope);
this.excludeRegionIdsScope = excludeRegionIdsScope;
return this;
}
/**
* <p>The IDs of resource groups to be excluded. Separate multiple IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>rg-aekz<strong><strong><strong>zj2oi,rg-aekz</strong></strong></strong>r62ua</p>
*/
public Builder excludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.putQueryParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope);
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
return this;
}
/**
* <p>The IDs of resources to be excluded. Separate multiple IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>pc-uf6p******4h784y,rmq-cn-******ny0y</p>
*/
public Builder excludeResourceIdsScope(String excludeResourceIdsScope) {
this.putQueryParameter("ExcludeResourceIdsScope", excludeResourceIdsScope);
this.excludeResourceIdsScope = excludeResourceIdsScope;
return this;
}
/**
* <p>The resource types to be excluded. Separate multiple resource types with commas (,).</p>
*
* <strong>example:</strong>
* <p>mse.cluster,slb.loadbalancer</p>
*/
public Builder excludeResourceTypesScope(String excludeResourceTypesScope) {
this.putQueryParameter("ExcludeResourceTypesScope", excludeResourceTypesScope);
this.excludeResourceTypesScope = excludeResourceTypesScope;
return this;
}
/**
* <p>The IDs of regions. Separate multiple IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou,cn-shanghai</p>
*/
public Builder regionIdsScope(String regionIdsScope) {
this.putQueryParameter("RegionIdsScope", regionIdsScope);
this.regionIdsScope = regionIdsScope;
return this;
}
/**
* <p>The IDs of resource groups. Separate multiple IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>rg-aekz<strong><strong><strong>4b5ea,rg-aek2</strong></strong></strong>fxykq</p>
*/
public Builder resourceGroupIdsScope(String resourceGroupIdsScope) {
this.putQueryParameter("ResourceGroupIdsScope", resourceGroupIdsScope);
this.resourceGroupIdsScope = resourceGroupIdsScope;
return this;
}
/**
* <p>The IDs of resources. Separate multiple IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>i-2zee<strong><strong><strong>ym49kfmwis,vpc-5ts6</strong></strong></strong>fnw493g849a</p>
*/
public Builder resourceIdsScope(String resourceIdsScope) {
this.putQueryParameter("ResourceIdsScope", resourceIdsScope);
this.resourceIdsScope = resourceIdsScope;
return this;
}
/**
* <p>The resource types. Separate multiple resource types with commas (,).</p>
*
* <strong>example:</strong>
* <p>rds.dbinstance,oss.bucket</p>
*/
public Builder resourceTypesScope(String resourceTypesScope) {
this.putQueryParameter("ResourceTypesScope", resourceTypesScope);
this.resourceTypesScope = resourceTypesScope;
return this;
}
/**
* <p>The content records of the rule.</p>
* <p>This parameter is required.</p>
*/
public Builder ruleContents(java.util.List<RuleContents> ruleContents) {
this.putQueryParameter("RuleContents", ruleContents);
this.ruleContents = ruleContents;
return this;
}
/**
* <p>The description of the rule.</p>
*
* <strong>example:</strong>
* <p>Transfer resources to which the {"env": "online"} and {"project": "A"} tags are added to the resource group rg-aek2********qcy.</p>
*/
public Builder ruleDesc(String ruleDesc) {
this.putQueryParameter("RuleDesc", ruleDesc);
this.ruleDesc = ruleDesc;
return this;
}
/**
* <p>The ID of the rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>gr-acfo******hy6a</p>
*/
public Builder ruleId(String ruleId) {
this.putQueryParameter("RuleId", ruleId);
this.ruleId = ruleId;
return this;
}
/**
* <p>The name of the rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Custom Transfer Rule for Online Resources of Project A</p>
*/
public Builder ruleName(String ruleName) {
this.putQueryParameter("RuleName", ruleName);
this.ruleName = ruleName;
return this;
}
@Override
public UpdateAutoGroupingRuleRequest build() {
return new UpdateAutoGroupingRuleRequest(this);
}
}
/**
*
* {@link UpdateAutoGroupingRuleRequest} extends {@link TeaModel}
*
* <p>UpdateAutoGroupingRuleRequest</p>
*/
public static class RuleContents extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AutoGroupingScopeCondition")
@com.aliyun.core.annotation.Validation(maxLength = 50000)
private String autoGroupingScopeCondition;
@com.aliyun.core.annotation.NameInMap("RuleContentId")
private String ruleContentId;
@com.aliyun.core.annotation.NameInMap("TargetResourceGroupCondition")
@com.aliyun.core.annotation.Validation(required = true, maxLength = 255)
private String targetResourceGroupCondition;
private RuleContents(Builder builder) {
this.autoGroupingScopeCondition = builder.autoGroupingScopeCondition;
this.ruleContentId = builder.ruleContentId;
this.targetResourceGroupCondition = builder.targetResourceGroupCondition;
}
public static Builder builder() {
return new Builder();
}
public static RuleContents create() {
return builder().build();
}
/**
* @return autoGroupingScopeCondition
*/
public String getAutoGroupingScopeCondition() {
return this.autoGroupingScopeCondition;
}
/**
* @return ruleContentId
*/
public String getRuleContentId() {
return this.ruleContentId;
}
/**
* @return targetResourceGroupCondition
*/
public String getTargetResourceGroupCondition() {
return this.targetResourceGroupCondition;
}
public static final class Builder {
private String autoGroupingScopeCondition;
private String ruleContentId;
private String targetResourceGroupCondition;
/**
* <p>The condition for the range of resources that are automatically transferred.</p>
*
* <strong>example:</strong>
* <p>{"children":[{"desired":"{"env":"online", "project":"A"}","featurePath":"$.tags","featureSource":"RESOURCE","operator":"TagMatchAll"}],"operator":"and"}</p>
*/
public Builder autoGroupingScopeCondition(String autoGroupingScopeCondition) {
this.autoGroupingScopeCondition = autoGroupingScopeCondition;
return this;
}
/**
* <p>The ID of the content record.</p>
*
* <strong>example:</strong>
* <p>grc-acfo******fwybpq</p>
*/
public Builder ruleContentId(String ruleContentId) {
this.ruleContentId = ruleContentId;
return this;
}
/**
* <p>The condition for the destination resource group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>{"children":[{"desired":"rg-aek2********qcy","featurePath":"$.resourceGroupId","featureSource":"RESOURCE","operator":"StringEquals"}],"operator":"and"}</p>
*/
public Builder targetResourceGroupCondition(String targetResourceGroupCondition) {
this.targetResourceGroupCondition = targetResourceGroupCondition;
return this;
}
public RuleContents build() {
return new RuleContents(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAutoGroupingRuleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAutoGroupingRuleResponse} extends {@link TeaModel}
*
* <p>UpdateAutoGroupingRuleResponse</p>
*/
public class UpdateAutoGroupingRuleResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateAutoGroupingRuleResponseBody body;
private UpdateAutoGroupingRuleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateAutoGroupingRuleResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateAutoGroupingRuleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateAutoGroupingRuleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateAutoGroupingRuleResponseBody body);
@Override
UpdateAutoGroupingRuleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateAutoGroupingRuleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateAutoGroupingRuleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateAutoGroupingRuleResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateAutoGroupingRuleResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateAutoGroupingRuleResponse build() {
return new UpdateAutoGroupingRuleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateAutoGroupingRuleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateAutoGroupingRuleResponseBody} extends {@link TeaModel}
*
* <p>UpdateAutoGroupingRuleResponseBody</p>
*/
public class UpdateAutoGroupingRuleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateAutoGroupingRuleResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAutoGroupingRuleResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateAutoGroupingRuleResponseBody build() {
return new UpdateAutoGroupingRuleResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateControlPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateControlPolicyRequest} extends {@link RequestModel}
*
* <p>UpdateControlPolicyRequest</p>
*/
public class UpdateControlPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewDescription")
private String newDescription;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewPolicyDocument")
private String newPolicyDocument;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewPolicyName")
private String newPolicyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyId")
@com.aliyun.core.annotation.Validation(required = true)
private String policyId;
private UpdateControlPolicyRequest(Builder builder) {
super(builder);
this.newDescription = builder.newDescription;
this.newPolicyDocument = builder.newPolicyDocument;
this.newPolicyName = builder.newPolicyName;
this.policyId = builder.policyId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateControlPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return newDescription
*/
public String getNewDescription() {
return this.newDescription;
}
/**
* @return newPolicyDocument
*/
public String getNewPolicyDocument() {
return this.newPolicyDocument;
}
/**
* @return newPolicyName
*/
public String getNewPolicyName() {
return this.newPolicyName;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
public static final class Builder extends Request.Builder<UpdateControlPolicyRequest, Builder> {
private String newDescription;
private String newPolicyDocument;
private String newPolicyName;
private String policyId;
private Builder() {
super();
}
private Builder(UpdateControlPolicyRequest request) {
super(request);
this.newDescription = request.newDescription;
this.newPolicyDocument = request.newPolicyDocument;
this.newPolicyName = request.newPolicyName;
this.policyId = request.policyId;
}
/**
* <p>The new description of the access control policy.</p>
* <p>The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (_), and hyphens (-) and must start with a letter.</p>
*
* <strong>example:</strong>
* <p>ExampleControlPolicy</p>
*/
public Builder newDescription(String newDescription) {
this.putQueryParameter("NewDescription", newDescription);
this.newDescription = newDescription;
return this;
}
/**
* <p>The new document of the access control policy.</p>
* <p>The document can be a maximum of 4,096 characters in length.</p>
* <p>For more information about the languages of access control policies, see <a href="https://help.aliyun.com/document_detail/179096.html">Languages of access control policies</a>.</p>
* <p>For more information about the examples of access control policies, see <a href="https://help.aliyun.com/document_detail/181474.html">Examples of custom access control policies</a>.</p>
*
* <strong>example:</strong>
* <p>{"Version":"1","Statement":[{"Effect":"Deny","Action":["ram:UpdateRole","ram:DeleteRole","ram:AttachPolicyToRole","ram:DetachPolicyFromRole"],"Resource":"acs:ram:<em>:</em>:role/ResourceDirectoryAccountAccessRole"}]}</p>
*/
public Builder newPolicyDocument(String newPolicyDocument) {
this.putQueryParameter("NewPolicyDocument", newPolicyDocument);
this.newPolicyDocument = newPolicyDocument;
return this;
}
/**
* <p>The new name of the access control policy.</p>
* <p>The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.</p>
*
* <strong>example:</strong>
* <p>NewControlPolicy</p>
*/
public Builder newPolicyName(String newPolicyName) {
this.putQueryParameter("NewPolicyName", newPolicyName);
this.newPolicyName = newPolicyName;
return this;
}
/**
* <p>The ID of the access control policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cp-jExXAqIYkwHN****</p>
*/
public Builder policyId(String policyId) {
this.putQueryParameter("PolicyId", policyId);
this.policyId = policyId;
return this;
}
@Override
public UpdateControlPolicyRequest build() {
return new UpdateControlPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateControlPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateControlPolicyResponse} extends {@link TeaModel}
*
* <p>UpdateControlPolicyResponse</p>
*/
public class UpdateControlPolicyResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateControlPolicyResponseBody body;
private UpdateControlPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateControlPolicyResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateControlPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateControlPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateControlPolicyResponseBody body);
@Override
UpdateControlPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateControlPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateControlPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateControlPolicyResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateControlPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateControlPolicyResponse build() {
return new UpdateControlPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateControlPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>UpdateControlPolicyResponseBody</p>
*/
public class UpdateControlPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicy")
private ControlPolicy controlPolicy;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateControlPolicyResponseBody(Builder builder) {
this.controlPolicy = builder.controlPolicy;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateControlPolicyResponseBody create() {
return builder().build();
}
/**
* @return controlPolicy
*/
public ControlPolicy getControlPolicy() {
return this.controlPolicy;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ControlPolicy controlPolicy;
private String requestId;
/**
* <p>The details of the access control policy.</p>
*/
public Builder controlPolicy(ControlPolicy controlPolicy) {
this.controlPolicy = controlPolicy;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>2DFCE4C9-04A9-4C83-BB14-FE791275EC53</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateControlPolicyResponseBody build() {
return new UpdateControlPolicyResponseBody(this);
}
}
/**
*
* {@link UpdateControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>UpdateControlPolicyResponseBody</p>
*/
public static class ControlPolicy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachmentCount")
private String attachmentCount;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("EffectScope")
private String effectScope;
@com.aliyun.core.annotation.NameInMap("PolicyId")
private String policyId;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private ControlPolicy(Builder builder) {
this.attachmentCount = builder.attachmentCount;
this.createDate = builder.createDate;
this.description = builder.description;
this.effectScope = builder.effectScope;
this.policyId = builder.policyId;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static ControlPolicy create() {
return builder().build();
}
/**
* @return attachmentCount
*/
public String getAttachmentCount() {
return this.attachmentCount;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return effectScope
*/
public String getEffectScope() {
return this.effectScope;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String attachmentCount;
private String createDate;
private String description;
private String effectScope;
private String policyId;
private String policyName;
private String policyType;
private String updateDate;
/**
* <p>The number of times that the access control policy is referenced.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder attachmentCount(String attachmentCount) {
this.attachmentCount = attachmentCount;
return this;
}
/**
* <p>The time when the access control policy was created.</p>
*
* <strong>example:</strong>
* <p>2021-03-18T09:24:19Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The description of the access control policy.</p>
*
* <strong>example:</strong>
* <p>ExampleControlPolicy</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The effective scope of the access control policy. Valid values:</p>
* <ul>
* <li>All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.</li>
* <li>RAM: The access control policy is in effect only for RAM users and RAM roles.</li>
* </ul>
*
* <strong>example:</strong>
* <p>RAM</p>
*/
public Builder effectScope(String effectScope) {
this.effectScope = effectScope;
return this;
}
/**
* <p>The ID of the access control policy.</p>
*
* <strong>example:</strong>
* <p>cp-jExXAqIYkwHN****</p>
*/
public Builder policyId(String policyId) {
this.policyId = policyId;
return this;
}
/**
* <p>The name of the access control policy.</p>
*
* <strong>example:</strong>
* <p>NewControlPolicy</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the access control policy. Valid values:</p>
* <ul>
* <li>System: system access control policy</li>
* <li>Custom: custom access control policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The time when the access control policy was updated.</p>
*
* <strong>example:</strong>
* <p>2021-03-18T10:04:55Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public ControlPolicy build() {
return new ControlPolicy(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateFolderRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateFolderRequest} extends {@link RequestModel}
*
* <p>UpdateFolderRequest</p>
*/
public class UpdateFolderRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FolderId")
@com.aliyun.core.annotation.Validation(required = true)
private String folderId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewFolderName")
@com.aliyun.core.annotation.Validation(required = true)
private String newFolderName;
private UpdateFolderRequest(Builder builder) {
super(builder);
this.folderId = builder.folderId;
this.newFolderName = builder.newFolderName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateFolderRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return newFolderName
*/
public String getNewFolderName() {
return this.newFolderName;
}
public static final class Builder extends Request.Builder<UpdateFolderRequest, Builder> {
private String folderId;
private String newFolderName;
private Builder() {
super();
}
private Builder(UpdateFolderRequest request) {
super(request);
this.folderId = request.folderId;
this.newFolderName = request.newFolderName;
}
/**
* <p>The ID of the folder.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fd-u8B321****</p>
*/
public Builder folderId(String folderId) {
this.putQueryParameter("FolderId", folderId);
this.folderId = folderId;
return this;
}
/**
* <p>The new name of the folder.</p>
* <p>The name must be 1 to 24 characters in length and can contain letters, digits, underscores (_), periods (.), and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rdFolder</p>
*/
public Builder newFolderName(String newFolderName) {
this.putQueryParameter("NewFolderName", newFolderName);
this.newFolderName = newFolderName;
return this;
}
@Override
public UpdateFolderRequest build() {
return new UpdateFolderRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/UpdateFolderResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UpdateFolderResponse} extends {@link TeaModel}
*
* <p>UpdateFolderResponse</p>
*/
public class UpdateFolderResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateFolderResponseBody body;
private UpdateFolderResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateFolderResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateFolderResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateFolderResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateFolderResponseBody body);
@Override
UpdateFolderResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateFolderResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateFolderResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateFolderResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateFolderResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateFolderResponse build() {
return new UpdateFolderResponse(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.