index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetFolderResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetFolderResponseBody} extends {@link TeaModel} * * <p>GetFolderResponseBody</p> */ public class GetFolderResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Folder") private Folder folder; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetFolderResponseBody(Builder builder) { this.folder = builder.folder; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetFolderResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return folder */ public Folder getFolder() { return this.folder; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Folder folder; private String requestId; private Builder() { } private Builder(GetFolderResponseBody model) { this.folder = model.folder; this.requestId = model.requestId; } /** * <p>The information about the folder.</p> */ public Builder folder(Folder folder) { this.folder = folder; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C2CBCA30-C8DD-423E-B4AD-4FB694C9180C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetFolderResponseBody build() { return new GetFolderResponseBody(this); } } /** * * {@link GetFolderResponseBody} extends {@link TeaModel} * * <p>GetFolderResponseBody</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; @com.aliyun.core.annotation.NameInMap("ParentFolderId") private String parentFolderId; @com.aliyun.core.annotation.NameInMap("ResourceDirectoryPath") private String resourceDirectoryPath; private Folder(Builder builder) { this.createTime = builder.createTime; this.folderId = builder.folderId; this.folderName = builder.folderName; this.parentFolderId = builder.parentFolderId; this.resourceDirectoryPath = builder.resourceDirectoryPath; } 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; } /** * @return parentFolderId */ public String getParentFolderId() { return this.parentFolderId; } /** * @return resourceDirectoryPath */ public String getResourceDirectoryPath() { return this.resourceDirectoryPath; } public static final class Builder { private String createTime; private String folderId; private String folderName; private String parentFolderId; private String resourceDirectoryPath; private Builder() { } private Builder(Folder model) { this.createTime = model.createTime; this.folderId = model.folderId; this.folderName = model.folderName; this.parentFolderId = model.parentFolderId; this.resourceDirectoryPath = model.resourceDirectoryPath; } /** * <p>The time when the folder was created.</p> * * <strong>example:</strong> * <p>2021-06-15T06:39:08.521Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The ID of the folder.</p> * * <strong>example:</strong> * <p>fd-Jyl5U7****</p> */ public Builder folderId(String folderId) { this.folderId = folderId; return this; } /** * <p>The name of the folder.</p> * * <strong>example:</strong> * <p>Applications</p> */ public Builder folderName(String folderName) { this.folderName = folderName; return this; } /** * <p>The ID of the parent folder.</p> * * <strong>example:</strong> * <p>r-Wm****</p> */ public Builder parentFolderId(String parentFolderId) { this.parentFolderId = parentFolderId; return this; } /** * <p>The path of the folder in the resource directory.</p> */ public Builder resourceDirectoryPath(String resourceDirectoryPath) { this.resourceDirectoryPath = resourceDirectoryPath; return this; } public Folder build() { return new Folder(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetHandshakeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetHandshakeRequest} extends {@link RequestModel} * * <p>GetHandshakeRequest</p> */ public class GetHandshakeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HandshakeId") @com.aliyun.core.annotation.Validation(required = true) private String handshakeId; private GetHandshakeRequest(Builder builder) { super(builder); this.handshakeId = builder.handshakeId; } public static Builder builder() { return new Builder(); } public static GetHandshakeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return handshakeId */ public String getHandshakeId() { return this.handshakeId; } public static final class Builder extends Request.Builder<GetHandshakeRequest, Builder> { private String handshakeId; private Builder() { super(); } private Builder(GetHandshakeRequest request) { super(request); this.handshakeId = request.handshakeId; } /** * <p>The ID of the invitation.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>h-ycm4rp****</p> */ public Builder handshakeId(String handshakeId) { this.putQueryParameter("HandshakeId", handshakeId); this.handshakeId = handshakeId; return this; } @Override public GetHandshakeRequest build() { return new GetHandshakeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetHandshakeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetHandshakeResponse} extends {@link TeaModel} * * <p>GetHandshakeResponse</p> */ public class GetHandshakeResponse 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 GetHandshakeResponseBody body; private GetHandshakeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetHandshakeResponse 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 GetHandshakeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetHandshakeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetHandshakeResponseBody body); @Override GetHandshakeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetHandshakeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetHandshakeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetHandshakeResponse 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(GetHandshakeResponseBody body) { this.body = body; return this; } @Override public GetHandshakeResponse build() { return new GetHandshakeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetHandshakeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetHandshakeResponseBody} extends {@link TeaModel} * * <p>GetHandshakeResponseBody</p> */ public class GetHandshakeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Handshake") private Handshake handshake; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetHandshakeResponseBody(Builder builder) { this.handshake = builder.handshake; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetHandshakeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return handshake */ public Handshake getHandshake() { return this.handshake; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Handshake handshake; private String requestId; private Builder() { } private Builder(GetHandshakeResponseBody model) { this.handshake = model.handshake; this.requestId = model.requestId; } /** * <p>The information of the invitation.</p> */ public Builder handshake(Handshake handshake) { this.handshake = handshake; 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 GetHandshakeResponseBody build() { return new GetHandshakeResponseBody(this); } } /** * * {@link GetHandshakeResponseBody} extends {@link TeaModel} * * <p>GetHandshakeResponseBody</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("InvitedAccountRealName") private String invitedAccountRealName; @com.aliyun.core.annotation.NameInMap("MasterAccountId") private String masterAccountId; @com.aliyun.core.annotation.NameInMap("MasterAccountName") private String masterAccountName; @com.aliyun.core.annotation.NameInMap("MasterAccountRealName") private String masterAccountRealName; @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.invitedAccountRealName = builder.invitedAccountRealName; this.masterAccountId = builder.masterAccountId; this.masterAccountName = builder.masterAccountName; this.masterAccountRealName = builder.masterAccountRealName; 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 invitedAccountRealName */ public String getInvitedAccountRealName() { return this.invitedAccountRealName; } /** * @return masterAccountId */ public String getMasterAccountId() { return this.masterAccountId; } /** * @return masterAccountName */ public String getMasterAccountName() { return this.masterAccountName; } /** * @return masterAccountRealName */ public String getMasterAccountRealName() { return this.masterAccountRealName; } /** * @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 invitedAccountRealName; private String masterAccountId; private String masterAccountName; private String masterAccountRealName; private String modifyTime; private String note; private String resourceDirectoryId; private String status; private String targetEntity; private String targetType; private Builder() { } private Builder(Handshake model) { this.createTime = model.createTime; this.expireTime = model.expireTime; this.handshakeId = model.handshakeId; this.invitedAccountRealName = model.invitedAccountRealName; this.masterAccountId = model.masterAccountId; this.masterAccountName = model.masterAccountName; this.masterAccountRealName = model.masterAccountRealName; this.modifyTime = model.modifyTime; this.note = model.note; this.resourceDirectoryId = model.resourceDirectoryId; this.status = model.status; this.targetEntity = model.targetEntity; this.targetType = model.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 real-name verification information of the invitee.</p> * <blockquote> * <p>This parameter is available only when an invitee calls this operation.</p> * </blockquote> * * <strong>example:</strong> * <p>Alice</p> */ public Builder invitedAccountRealName(String invitedAccountRealName) { this.invitedAccountRealName = invitedAccountRealName; 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><a href="mailto:company@example.com">company@example.com</a></p> */ public Builder masterAccountName(String masterAccountName) { this.masterAccountName = masterAccountName; return this; } /** * <p>The real-name verification information of the management account of the resource directory.</p> * <blockquote> * <p>This parameter is available only when an invitee calls this operation.</p> * </blockquote> * * <strong>example:</strong> * <p>company</p> */ public Builder masterAccountRealName(String masterAccountRealName) { this.masterAccountRealName = masterAccountRealName; 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 description of 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); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetMessageContactDeletionStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetMessageContactDeletionStatusRequest} extends {@link RequestModel} * * <p>GetMessageContactDeletionStatusRequest</p> */ public class GetMessageContactDeletionStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; private GetMessageContactDeletionStatusRequest(Builder builder) { super(builder); this.contactId = builder.contactId; } public static Builder builder() { return new Builder(); } public static GetMessageContactDeletionStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return contactId */ public String getContactId() { return this.contactId; } public static final class Builder extends Request.Builder<GetMessageContactDeletionStatusRequest, Builder> { private String contactId; private Builder() { super(); } private Builder(GetMessageContactDeletionStatusRequest request) { super(request); this.contactId = request.contactId; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.putQueryParameter("ContactId", contactId); this.contactId = contactId; return this; } @Override public GetMessageContactDeletionStatusRequest build() { return new GetMessageContactDeletionStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetMessageContactDeletionStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetMessageContactDeletionStatusResponse} extends {@link TeaModel} * * <p>GetMessageContactDeletionStatusResponse</p> */ public class GetMessageContactDeletionStatusResponse 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 GetMessageContactDeletionStatusResponseBody body; private GetMessageContactDeletionStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMessageContactDeletionStatusResponse 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 GetMessageContactDeletionStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetMessageContactDeletionStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetMessageContactDeletionStatusResponseBody body); @Override GetMessageContactDeletionStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMessageContactDeletionStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetMessageContactDeletionStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetMessageContactDeletionStatusResponse 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(GetMessageContactDeletionStatusResponseBody body) { this.body = body; return this; } @Override public GetMessageContactDeletionStatusResponse build() { return new GetMessageContactDeletionStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetMessageContactDeletionStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetMessageContactDeletionStatusResponseBody} extends {@link TeaModel} * * <p>GetMessageContactDeletionStatusResponseBody</p> */ public class GetMessageContactDeletionStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactDeletionStatus") private ContactDeletionStatus contactDeletionStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetMessageContactDeletionStatusResponseBody(Builder builder) { this.contactDeletionStatus = builder.contactDeletionStatus; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetMessageContactDeletionStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return contactDeletionStatus */ public ContactDeletionStatus getContactDeletionStatus() { return this.contactDeletionStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ContactDeletionStatus contactDeletionStatus; private String requestId; private Builder() { } private Builder(GetMessageContactDeletionStatusResponseBody model) { this.contactDeletionStatus = model.contactDeletionStatus; this.requestId = model.requestId; } /** * <p>The deletion information of the contact.</p> */ public Builder contactDeletionStatus(ContactDeletionStatus contactDeletionStatus) { this.contactDeletionStatus = contactDeletionStatus; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>95060F1D-6990-4645-8920-A81D1BBFE992</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetMessageContactDeletionStatusResponseBody build() { return new GetMessageContactDeletionStatusResponseBody(this); } } /** * * {@link GetMessageContactDeletionStatusResponseBody} extends {@link TeaModel} * * <p>GetMessageContactDeletionStatusResponseBody</p> */ public static class FailReasonList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.NameInMap("MessageTypes") private java.util.List<String> messageTypes; private FailReasonList(Builder builder) { this.accountId = builder.accountId; this.messageTypes = builder.messageTypes; } public static Builder builder() { return new Builder(); } public static FailReasonList create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return messageTypes */ public java.util.List<String> getMessageTypes() { return this.messageTypes; } public static final class Builder { private String accountId; private java.util.List<String> messageTypes; private Builder() { } private Builder(FailReasonList model) { this.accountId = model.accountId; this.messageTypes = model.messageTypes; } /** * <p>The Alibaba Cloud account ID of the member.</p> * * <strong>example:</strong> * <p>199796839435****</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * <p>The types of messages received by the contact.</p> */ public Builder messageTypes(java.util.List<String> messageTypes) { this.messageTypes = messageTypes; return this; } public FailReasonList build() { return new FailReasonList(this); } } } /** * * {@link GetMessageContactDeletionStatusResponseBody} extends {@link TeaModel} * * <p>GetMessageContactDeletionStatusResponseBody</p> */ public static class ContactDeletionStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.NameInMap("FailReasonList") private java.util.List<FailReasonList> failReasonList; @com.aliyun.core.annotation.NameInMap("Status") private String status; private ContactDeletionStatus(Builder builder) { this.contactId = builder.contactId; this.failReasonList = builder.failReasonList; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ContactDeletionStatus create() { return builder().build(); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return failReasonList */ public java.util.List<FailReasonList> getFailReasonList() { return this.failReasonList; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String contactId; private java.util.List<FailReasonList> failReasonList; private String status; private Builder() { } private Builder(ContactDeletionStatus model) { this.contactId = model.contactId; this.failReasonList = model.failReasonList; this.status = model.status; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.contactId = contactId; return this; } /** * <p>The types of messages received by the contact.</p> */ public Builder failReasonList(java.util.List<FailReasonList> failReasonList) { this.failReasonList = failReasonList; return this; } /** * <p>The deletion status of the contact. Valid values:</p> * <ul> * <li>Deleting</li> * <li>Failed</li> * </ul> * * <strong>example:</strong> * <p>Deleting</p> */ public Builder status(String status) { this.status = status; return this; } public ContactDeletionStatus build() { return new ContactDeletionStatus(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetMessageContactRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetMessageContactRequest} extends {@link RequestModel} * * <p>GetMessageContactRequest</p> */ public class GetMessageContactRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContactId") @com.aliyun.core.annotation.Validation(required = true) private String contactId; private GetMessageContactRequest(Builder builder) { super(builder); this.contactId = builder.contactId; } public static Builder builder() { return new Builder(); } public static GetMessageContactRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return contactId */ public String getContactId() { return this.contactId; } public static final class Builder extends Request.Builder<GetMessageContactRequest, Builder> { private String contactId; private Builder() { super(); } private Builder(GetMessageContactRequest request) { super(request); this.contactId = request.contactId; } /** * <p>The ID of the contact.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.putQueryParameter("ContactId", contactId); this.contactId = contactId; return this; } @Override public GetMessageContactRequest build() { return new GetMessageContactRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetMessageContactResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetMessageContactResponse} extends {@link TeaModel} * * <p>GetMessageContactResponse</p> */ public class GetMessageContactResponse 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 GetMessageContactResponseBody body; private GetMessageContactResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMessageContactResponse 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 GetMessageContactResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetMessageContactResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetMessageContactResponseBody body); @Override GetMessageContactResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMessageContactResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetMessageContactResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetMessageContactResponse 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(GetMessageContactResponseBody body) { this.body = body; return this; } @Override public GetMessageContactResponse build() { return new GetMessageContactResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetMessageContactResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetMessageContactResponseBody} extends {@link TeaModel} * * <p>GetMessageContactResponseBody</p> */ public class GetMessageContactResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Contact") private Contact contact; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetMessageContactResponseBody(Builder builder) { this.contact = builder.contact; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetMessageContactResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return contact */ public Contact getContact() { return this.contact; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Contact contact; private String requestId; private Builder() { } private Builder(GetMessageContactResponseBody model) { this.contact = model.contact; this.requestId = model.requestId; } /** * <p>The information about the contact.</p> */ public Builder contact(Contact contact) { this.contact = contact; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetMessageContactResponseBody build() { return new GetMessageContactResponseBody(this); } } /** * * {@link GetMessageContactResponseBody} extends {@link TeaModel} * * <p>GetMessageContactResponseBody</p> */ public static class Contact extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.NameInMap("CreateDate") private String createDate; @com.aliyun.core.annotation.NameInMap("EmailAddress") private String emailAddress; @com.aliyun.core.annotation.NameInMap("Members") private java.util.List<String> members; @com.aliyun.core.annotation.NameInMap("MessageTypes") private java.util.List<String> messageTypes; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("PhoneNumber") private String phoneNumber; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Title") private String title; private Contact(Builder builder) { this.contactId = builder.contactId; this.createDate = builder.createDate; this.emailAddress = builder.emailAddress; this.members = builder.members; this.messageTypes = builder.messageTypes; this.name = builder.name; this.phoneNumber = builder.phoneNumber; this.status = builder.status; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static Contact create() { return builder().build(); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return createDate */ public String getCreateDate() { return this.createDate; } /** * @return emailAddress */ public String getEmailAddress() { return this.emailAddress; } /** * @return members */ public java.util.List<String> getMembers() { return this.members; } /** * @return messageTypes */ public java.util.List<String> getMessageTypes() { return this.messageTypes; } /** * @return name */ public String getName() { return this.name; } /** * @return phoneNumber */ public String getPhoneNumber() { return this.phoneNumber; } /** * @return status */ public String getStatus() { return this.status; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String contactId; private String createDate; private String emailAddress; private java.util.List<String> members; private java.util.List<String> messageTypes; private String name; private String phoneNumber; private String status; private String title; private Builder() { } private Builder(Contact model) { this.contactId = model.contactId; this.createDate = model.createDate; this.emailAddress = model.emailAddress; this.members = model.members; this.messageTypes = model.messageTypes; this.name = model.name; this.phoneNumber = model.phoneNumber; this.status = model.status; this.title = model.title; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.contactId = contactId; return this; } /** * <p>The time when the contact was created.</p> * * <strong>example:</strong> * <p>2023-03-27 17:19:21</p> */ public Builder createDate(String createDate) { this.createDate = createDate; return this; } /** * <p>The email address of the contact.</p> * * <strong>example:</strong> * <p>someone***@example.com</p> */ public Builder emailAddress(String emailAddress) { this.emailAddress = emailAddress; return this; } /** * <p>The IDs of objects to which the contact is bound.</p> */ public Builder members(java.util.List<String> members) { this.members = members; return this; } /** * <p>The types of messages received by the contact.</p> */ public Builder messageTypes(java.util.List<String> messageTypes) { this.messageTypes = messageTypes; return this; } /** * <p>The name of the contact.</p> * * <strong>example:</strong> * <p>tom</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The mobile phone number of the contact.</p> * * <strong>example:</strong> * <p>86-139****1234</p> */ public Builder phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } /** * <p>The status of the contact. Valid values:</p> * <ul> * <li>Verifying</li> * <li>Active</li> * <li>Deleting</li> * </ul> * * <strong>example:</strong> * <p>Active</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The job title of the contact.</p> * * <strong>example:</strong> * <p>TechnicalDirector</p> */ public Builder title(String title) { this.title = title; return this; } public Contact build() { return new Contact(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetPayerForAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetPayerForAccountRequest} extends {@link RequestModel} * * <p>GetPayerForAccountRequest</p> */ public class GetPayerForAccountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountId") @com.aliyun.core.annotation.Validation(required = true) private String accountId; private GetPayerForAccountRequest(Builder builder) { super(builder); this.accountId = builder.accountId; } public static Builder builder() { return new Builder(); } public static GetPayerForAccountRequest 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<GetPayerForAccountRequest, Builder> { private String accountId; private Builder() { super(); } private Builder(GetPayerForAccountRequest request) { super(request); this.accountId = request.accountId; } /** * <p>The ID of the billing account.</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; } @Override public GetPayerForAccountRequest build() { return new GetPayerForAccountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetPayerForAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetPayerForAccountResponse} extends {@link TeaModel} * * <p>GetPayerForAccountResponse</p> */ public class GetPayerForAccountResponse 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 GetPayerForAccountResponseBody body; private GetPayerForAccountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetPayerForAccountResponse 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 GetPayerForAccountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetPayerForAccountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetPayerForAccountResponseBody body); @Override GetPayerForAccountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetPayerForAccountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetPayerForAccountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetPayerForAccountResponse 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(GetPayerForAccountResponseBody body) { this.body = body; return this; } @Override public GetPayerForAccountResponse build() { return new GetPayerForAccountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetPayerForAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetPayerForAccountResponseBody} extends {@link TeaModel} * * <p>GetPayerForAccountResponseBody</p> */ public class GetPayerForAccountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PayerAccountId") private String payerAccountId; @com.aliyun.core.annotation.NameInMap("PayerAccountName") private String payerAccountName; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetPayerForAccountResponseBody(Builder builder) { this.payerAccountId = builder.payerAccountId; this.payerAccountName = builder.payerAccountName; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetPayerForAccountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return payerAccountId */ public String getPayerAccountId() { return this.payerAccountId; } /** * @return payerAccountName */ public String getPayerAccountName() { return this.payerAccountName; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String payerAccountId; private String payerAccountName; private String requestId; private Builder() { } private Builder(GetPayerForAccountResponseBody model) { this.payerAccountId = model.payerAccountId; this.payerAccountName = model.payerAccountName; this.requestId = model.requestId; } /** * <p>The ID of the billing account.</p> * * <strong>example:</strong> * <p>172841235500****</p> */ public Builder payerAccountId(String payerAccountId) { this.payerAccountId = payerAccountId; return this; } /** * <p>The name of the billing account.</p> * * <strong>example:</strong> * <p>Alice</p> */ public Builder payerAccountName(String payerAccountName) { this.payerAccountName = payerAccountName; 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 GetPayerForAccountResponseBody build() { return new GetPayerForAccountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetResourceDirectoryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetResourceDirectoryRequest} extends {@link RequestModel} * * <p>GetResourceDirectoryRequest</p> */ public class GetResourceDirectoryRequest extends Request { private GetResourceDirectoryRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetResourceDirectoryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetResourceDirectoryRequest, Builder> { private Builder() { super(); } private Builder(GetResourceDirectoryRequest request) { super(request); } @Override public GetResourceDirectoryRequest build() { return new GetResourceDirectoryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetResourceDirectoryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetResourceDirectoryResponse} extends {@link TeaModel} * * <p>GetResourceDirectoryResponse</p> */ public class GetResourceDirectoryResponse 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 GetResourceDirectoryResponseBody body; private GetResourceDirectoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetResourceDirectoryResponse 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 GetResourceDirectoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetResourceDirectoryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetResourceDirectoryResponseBody body); @Override GetResourceDirectoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetResourceDirectoryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetResourceDirectoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetResourceDirectoryResponse 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(GetResourceDirectoryResponseBody body) { this.body = body; return this; } @Override public GetResourceDirectoryResponse build() { return new GetResourceDirectoryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/GetResourceDirectoryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 GetResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>GetResourceDirectoryResponseBody</p> */ public class GetResourceDirectoryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceDirectory") private ResourceDirectory resourceDirectory; private GetResourceDirectoryResponseBody(Builder builder) { this.requestId = builder.requestId; this.resourceDirectory = builder.resourceDirectory; } public static Builder builder() { return new Builder(); } public static GetResourceDirectoryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceDirectory */ public ResourceDirectory getResourceDirectory() { return this.resourceDirectory; } public static final class Builder { private String requestId; private ResourceDirectory resourceDirectory; private Builder() { } private Builder(GetResourceDirectoryResponseBody model) { this.requestId = model.requestId; this.resourceDirectory = model.resourceDirectory; } /** * <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 information about the resource directory.</p> */ public Builder resourceDirectory(ResourceDirectory resourceDirectory) { this.resourceDirectory = resourceDirectory; return this; } public GetResourceDirectoryResponseBody build() { return new GetResourceDirectoryResponseBody(this); } } /** * * {@link GetResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>GetResourceDirectoryResponseBody</p> */ public static class ResourceDirectory extends TeaModel { @com.aliyun.core.annotation.NameInMap("ControlPolicyStatus") private String controlPolicyStatus; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("IdentityInformation") private String identityInformation; @com.aliyun.core.annotation.NameInMap("MasterAccountId") private String masterAccountId; @com.aliyun.core.annotation.NameInMap("MasterAccountName") private String masterAccountName; @com.aliyun.core.annotation.NameInMap("MemberAccountDisplayNameSyncStatus") private String memberAccountDisplayNameSyncStatus; @com.aliyun.core.annotation.NameInMap("MemberDeletionStatus") private String memberDeletionStatus; @com.aliyun.core.annotation.NameInMap("ResourceDirectoryId") private String resourceDirectoryId; @com.aliyun.core.annotation.NameInMap("RootFolderId") private String rootFolderId; private ResourceDirectory(Builder builder) { this.controlPolicyStatus = builder.controlPolicyStatus; this.createTime = builder.createTime; this.identityInformation = builder.identityInformation; this.masterAccountId = builder.masterAccountId; this.masterAccountName = builder.masterAccountName; this.memberAccountDisplayNameSyncStatus = builder.memberAccountDisplayNameSyncStatus; this.memberDeletionStatus = builder.memberDeletionStatus; this.resourceDirectoryId = builder.resourceDirectoryId; this.rootFolderId = builder.rootFolderId; } public static Builder builder() { return new Builder(); } public static ResourceDirectory create() { return builder().build(); } /** * @return controlPolicyStatus */ public String getControlPolicyStatus() { return this.controlPolicyStatus; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return identityInformation */ public String getIdentityInformation() { return this.identityInformation; } /** * @return masterAccountId */ public String getMasterAccountId() { return this.masterAccountId; } /** * @return masterAccountName */ public String getMasterAccountName() { return this.masterAccountName; } /** * @return memberAccountDisplayNameSyncStatus */ public String getMemberAccountDisplayNameSyncStatus() { return this.memberAccountDisplayNameSyncStatus; } /** * @return memberDeletionStatus */ public String getMemberDeletionStatus() { return this.memberDeletionStatus; } /** * @return resourceDirectoryId */ public String getResourceDirectoryId() { return this.resourceDirectoryId; } /** * @return rootFolderId */ public String getRootFolderId() { return this.rootFolderId; } public static final class Builder { private String controlPolicyStatus; private String createTime; private String identityInformation; private String masterAccountId; private String masterAccountName; private String memberAccountDisplayNameSyncStatus; private String memberDeletionStatus; private String resourceDirectoryId; private String rootFolderId; private Builder() { } private Builder(ResourceDirectory model) { this.controlPolicyStatus = model.controlPolicyStatus; this.createTime = model.createTime; this.identityInformation = model.identityInformation; this.masterAccountId = model.masterAccountId; this.masterAccountName = model.masterAccountName; this.memberAccountDisplayNameSyncStatus = model.memberAccountDisplayNameSyncStatus; this.memberDeletionStatus = model.memberDeletionStatus; this.resourceDirectoryId = model.resourceDirectoryId; this.rootFolderId = model.rootFolderId; } /** * <p>The status of the Control Policy feature. Valid values:</p> * <ul> * <li>Enabled: The feature is enabled.</li> * <li>PendingEnable: The feature is being enabled.</li> * <li>Disabled: The feature is disabled.</li> * <li>PendingDisable: The feature is being disabled.</li> * </ul> * * <strong>example:</strong> * <p>Enabled</p> */ public Builder controlPolicyStatus(String controlPolicyStatus) { this.controlPolicyStatus = controlPolicyStatus; return this; } /** * <p>The time when the resource directory was enabled.</p> * * <strong>example:</strong> * <p>2019-02-18T15:32:10.473Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The real-name verification information.</p> * * <strong>example:</strong> * <p>*** Co., Ltd.</p> */ public Builder identityInformation(String identityInformation) { this.identityInformation = identityInformation; return this; } /** * <p>The ID of the management account.</p> * * <strong>example:</strong> * <p>172845045600****</p> */ public Builder masterAccountId(String masterAccountId) { this.masterAccountId = masterAccountId; return this; } /** * <p>The name of the management account.</p> * * <strong>example:</strong> * <p>aliyun-admin</p> */ public Builder masterAccountName(String masterAccountName) { this.masterAccountName = masterAccountName; return this; } /** * <p>The status of the Member Display Name Synchronization feature. Valid values:</p> * <ul> * <li>Enabled</li> * <li>Disabled</li> * </ul> * * <strong>example:</strong> * <p>Enabled</p> */ public Builder memberAccountDisplayNameSyncStatus(String memberAccountDisplayNameSyncStatus) { this.memberAccountDisplayNameSyncStatus = memberAccountDisplayNameSyncStatus; return this; } /** * <p>The status of the member deletion feature. Valid values:</p> * <ul> * <li>Enabled: The feature is enabled. You can call the <a href="~~DeleteAccount~~">DeleteAccount</a> operation to delete members of the resource account type.</li> * <li>Disabled: The feature is disabled. You cannot delete members of the resource account type.</li> * </ul> * * <strong>example:</strong> * <p>Enabled</p> */ public Builder memberDeletionStatus(String memberDeletionStatus) { this.memberDeletionStatus = memberDeletionStatus; return this; } /** * <p>The ID of the resource directory.</p> * * <strong>example:</strong> * <p>rd-St****</p> */ public Builder resourceDirectoryId(String resourceDirectoryId) { this.resourceDirectoryId = resourceDirectoryId; return this; } /** * <p>The ID of the Root folder.</p> * * <strong>example:</strong> * <p>r-Zo****</p> */ public Builder rootFolderId(String rootFolderId) { this.rootFolderId = rootFolderId; return this; } public ResourceDirectory build() { return new ResourceDirectory(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/InviteAccountToResourceDirectoryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 InviteAccountToResourceDirectoryRequest} extends {@link RequestModel} * * <p>InviteAccountToResourceDirectoryRequest</p> */ public class InviteAccountToResourceDirectoryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Note") private String note; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ParentFolderId") private String parentFolderId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetEntity") @com.aliyun.core.annotation.Validation(required = true) private String targetEntity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") @com.aliyun.core.annotation.Validation(required = true) private String targetType; private InviteAccountToResourceDirectoryRequest(Builder builder) { super(builder); this.note = builder.note; this.parentFolderId = builder.parentFolderId; this.tag = builder.tag; this.targetEntity = builder.targetEntity; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static InviteAccountToResourceDirectoryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return note */ public String getNote() { return this.note; } /** * @return parentFolderId */ public String getParentFolderId() { return this.parentFolderId; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return targetEntity */ public String getTargetEntity() { return this.targetEntity; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder extends Request.Builder<InviteAccountToResourceDirectoryRequest, Builder> { private String note; private String parentFolderId; private java.util.List<Tag> tag; private String targetEntity; private String targetType; private Builder() { super(); } private Builder(InviteAccountToResourceDirectoryRequest request) { super(request); this.note = request.note; this.parentFolderId = request.parentFolderId; this.tag = request.tag; this.targetEntity = request.targetEntity; this.targetType = request.targetType; } /** * <p>The description of the invitation.</p> * <p>The description can be up to 1,024 characters in length.</p> * * <strong>example:</strong> * <p>Welcome</p> */ public Builder note(String note) { this.putQueryParameter("Note", note); this.note = note; return this; } /** * <p>The ID of the parent folder.</p> * * <strong>example:</strong> * <p>r-b1****</p> */ public Builder parentFolderId(String parentFolderId) { this.putQueryParameter("ParentFolderId", parentFolderId); this.parentFolderId = parentFolderId; return this; } /** * <p>The tags.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * <p>The ID or logon email address of the account that you want to invite.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="mailto:someone@example.com">someone@example.com</a></p> */ public Builder targetEntity(String targetEntity) { this.putQueryParameter("TargetEntity", 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> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Email</p> */ public Builder targetType(String targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } @Override public InviteAccountToResourceDirectoryRequest build() { return new InviteAccountToResourceDirectoryRequest(this); } } /** * * {@link InviteAccountToResourceDirectoryRequest} extends {@link TeaModel} * * <p>InviteAccountToResourceDirectoryRequest</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/InviteAccountToResourceDirectoryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 InviteAccountToResourceDirectoryResponse} extends {@link TeaModel} * * <p>InviteAccountToResourceDirectoryResponse</p> */ public class InviteAccountToResourceDirectoryResponse 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 InviteAccountToResourceDirectoryResponseBody body; private InviteAccountToResourceDirectoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InviteAccountToResourceDirectoryResponse 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 InviteAccountToResourceDirectoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InviteAccountToResourceDirectoryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InviteAccountToResourceDirectoryResponseBody body); @Override InviteAccountToResourceDirectoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InviteAccountToResourceDirectoryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InviteAccountToResourceDirectoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InviteAccountToResourceDirectoryResponse 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(InviteAccountToResourceDirectoryResponseBody body) { this.body = body; return this; } @Override public InviteAccountToResourceDirectoryResponse build() { return new InviteAccountToResourceDirectoryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/InviteAccountToResourceDirectoryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 InviteAccountToResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>InviteAccountToResourceDirectoryResponseBody</p> */ public class InviteAccountToResourceDirectoryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Handshake") private Handshake handshake; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private InviteAccountToResourceDirectoryResponseBody(Builder builder) { this.handshake = builder.handshake; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InviteAccountToResourceDirectoryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return handshake */ public Handshake getHandshake() { return this.handshake; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Handshake handshake; private String requestId; private Builder() { } private Builder(InviteAccountToResourceDirectoryResponseBody model) { this.handshake = model.handshake; this.requestId = model.requestId; } /** * <p>The information about the invitation.</p> */ public Builder handshake(Handshake handshake) { this.handshake = handshake; 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 InviteAccountToResourceDirectoryResponseBody build() { return new InviteAccountToResourceDirectoryResponseBody(this); } } /** * * {@link InviteAccountToResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>InviteAccountToResourceDirectoryResponseBody</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; private Builder() { } private Builder(Handshake model) { this.createTime = model.createTime; this.expireTime = model.expireTime; this.handshakeId = model.handshakeId; this.masterAccountId = model.masterAccountId; this.masterAccountName = model.masterAccountName; this.modifyTime = model.modifyTime; this.note = model.note; this.resourceDirectoryId = model.resourceDirectoryId; this.status = model.status; this.targetEntity = model.targetEntity; this.targetType = model.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 description of 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</li> * <li>Accepted</li> * <li>Cancelled</li> * <li>Declined</li> * <li>Expired</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); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAccountsForParentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAccountsForParentRequest} extends {@link RequestModel} * * <p>ListAccountsForParentRequest</p> */ public class ListAccountsForParentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IncludeTags") private Boolean includeTags; @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("ParentFolderId") private String parentFolderId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("QueryKeyword") private String queryKeyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private ListAccountsForParentRequest(Builder builder) { super(builder); this.includeTags = builder.includeTags; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.parentFolderId = builder.parentFolderId; this.queryKeyword = builder.queryKeyword; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ListAccountsForParentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return includeTags */ public Boolean getIncludeTags() { return this.includeTags; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return parentFolderId */ public String getParentFolderId() { return this.parentFolderId; } /** * @return queryKeyword */ public String getQueryKeyword() { return this.queryKeyword; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<ListAccountsForParentRequest, Builder> { private Boolean includeTags; private Integer pageNumber; private Integer pageSize; private String parentFolderId; private String queryKeyword; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(ListAccountsForParentRequest request) { super(request); this.includeTags = request.includeTags; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.parentFolderId = request.parentFolderId; this.queryKeyword = request.queryKeyword; this.tag = request.tag; } /** * <p>Specifies whether to return information about tags. Valid values:</p> * <ul> * <li>false (default value)</li> * <li>true</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder includeTags(Boolean includeTags) { this.putQueryParameter("IncludeTags", includeTags); this.includeTags = includeTags; 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 folder.</p> * * <strong>example:</strong> * <p>fd-bVaRIG****</p> */ public Builder parentFolderId(String parentFolderId) { this.putQueryParameter("ParentFolderId", parentFolderId); this.parentFolderId = parentFolderId; return this; } /** * <p>The keyword used for the query, such as the display name of a member.</p> * <p>Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>admin</p> */ public Builder queryKeyword(String queryKeyword) { this.putQueryParameter("QueryKeyword", queryKeyword); this.queryKeyword = queryKeyword; return this; } /** * <p>The tags. This parameter specifies a filter condition.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ListAccountsForParentRequest build() { return new ListAccountsForParentRequest(this); } } /** * * {@link ListAccountsForParentRequest} extends {@link TeaModel} * * <p>ListAccountsForParentRequest</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>tag_key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>tag_value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAccountsForParentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAccountsForParentResponse} extends {@link TeaModel} * * <p>ListAccountsForParentResponse</p> */ public class ListAccountsForParentResponse 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 ListAccountsForParentResponseBody body; private ListAccountsForParentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAccountsForParentResponse 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 ListAccountsForParentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAccountsForParentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAccountsForParentResponseBody body); @Override ListAccountsForParentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAccountsForParentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAccountsForParentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAccountsForParentResponse 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(ListAccountsForParentResponseBody body) { this.body = body; return this; } @Override public ListAccountsForParentResponse build() { return new ListAccountsForParentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAccountsForParentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAccountsForParentResponseBody} extends {@link TeaModel} * * <p>ListAccountsForParentResponseBody</p> */ public class ListAccountsForParentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Accounts") private Accounts accounts; @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 ListAccountsForParentResponseBody(Builder builder) { this.accounts = builder.accounts; 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 ListAccountsForParentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accounts */ public Accounts getAccounts() { return this.accounts; } /** * @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 Accounts accounts; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(ListAccountsForParentResponseBody model) { this.accounts = model.accounts; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about the members.</p> */ public Builder accounts(Accounts accounts) { this.accounts = accounts; 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 ListAccountsForParentResponseBody build() { return new ListAccountsForParentResponseBody(this); } } /** * * {@link ListAccountsForParentResponseBody} extends {@link TeaModel} * * <p>ListAccountsForParentResponseBody</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>tag_key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>tag_value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link ListAccountsForParentResponseBody} extends {@link TeaModel} * * <p>ListAccountsForParentResponseBody</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; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link ListAccountsForParentResponseBody} extends {@link TeaModel} * * <p>ListAccountsForParentResponseBody</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("DeletionStatus") private String deletionStatus; @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("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("Type") private String type; private Account(Builder builder) { this.accountId = builder.accountId; this.accountName = builder.accountName; this.deletionStatus = builder.deletionStatus; 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.tags = builder.tags; 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 deletionStatus */ public String getDeletionStatus() { return this.deletionStatus; } /** * @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 tags */ public Tags getTags() { return this.tags; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String accountId; private String accountName; private String deletionStatus; private String displayName; private String folderId; private String joinMethod; private String joinTime; private String modifyTime; private String resourceDirectoryId; private String status; private Tags tags; private String type; private Builder() { } private Builder(Account model) { this.accountId = model.accountId; this.accountName = model.accountName; this.deletionStatus = model.deletionStatus; this.displayName = model.displayName; this.folderId = model.folderId; this.joinMethod = model.joinMethod; this.joinTime = model.joinTime; this.modifyTime = model.modifyTime; this.resourceDirectoryId = model.resourceDirectoryId; this.status = model.status; this.tags = model.tags; this.type = model.type; } /** * <p>The Alibaba Cloud account ID of the member.</p> * * <strong>example:</strong> * <p>184311716100****</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * <p>The Alibaba Cloud account name of the member.</p> * * <strong>example:</strong> * <p><a href="mailto:hdd01429358@alibaba-inc.com">hdd01429358@alibaba-inc.com</a></p> */ public Builder accountName(String accountName) { this.accountName = accountName; return this; } /** * <p>The deletion status of the member. Valid values:</p> * <ul> * <li>Checking: A deletion check is being performed for the member.</li> * <li>Deleting: The member is being deleted.</li> * <li>CheckFailed: The deletion check for the member fails.</li> * <li>DeleteFailed: The member fails to be deleted.</li> * </ul> * <blockquote> * <p> If deletion is not performed for the member, the value of this parameter is empty.</p> * </blockquote> * * <strong>example:</strong> * <p>Checking</p> */ public Builder deletionStatus(String deletionStatus) { this.deletionStatus = deletionStatus; 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.</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-k4****</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>PromoteVerifying: The upgrade of the member is under confirmation.</li> * <li>PromoteFailed: The upgrade of the member fails.</li> * <li>PromoteExpired: The upgrade of the member expires.</li> * <li>PromoteCancelled: The upgrade of the member is canceled.</li> * <li>PromoteSuccess: The member is upgraded.</li> * <li>InviteSuccess: The member accepts the invitation.</li> * </ul> * * <strong>example:</strong> * <p>CreateSuccess</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The tags that are added to the member.</p> */ public Builder tags(Tags tags) { this.tags = tags; 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); } } } /** * * {@link ListAccountsForParentResponseBody} extends {@link TeaModel} * * <p>ListAccountsForParentResponseBody</p> */ public static class Accounts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private java.util.List<Account> account; private Accounts(Builder builder) { this.account = builder.account; } public static Builder builder() { return new Builder(); } public static Accounts create() { return builder().build(); } /** * @return account */ public java.util.List<Account> getAccount() { return this.account; } public static final class Builder { private java.util.List<Account> account; private Builder() { } private Builder(Accounts model) { this.account = model.account; } /** * Account. */ public Builder account(java.util.List<Account> account) { this.account = account; return this; } public Accounts build() { return new Accounts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAccountsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAccountsRequest} extends {@link RequestModel} * * <p>ListAccountsRequest</p> */ public class ListAccountsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IncludeTags") private Boolean includeTags; @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("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("QueryKeyword") private String queryKeyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private ListAccountsRequest(Builder builder) { super(builder); this.includeTags = builder.includeTags; this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.queryKeyword = builder.queryKeyword; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ListAccountsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return includeTags */ public Boolean getIncludeTags() { return this.includeTags; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return queryKeyword */ public String getQueryKeyword() { return this.queryKeyword; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<ListAccountsRequest, Builder> { private Boolean includeTags; private Integer maxResults; private String nextToken; private Integer pageNumber; private Integer pageSize; private String queryKeyword; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(ListAccountsRequest request) { super(request); this.includeTags = request.includeTags; this.maxResults = request.maxResults; this.nextToken = request.nextToken; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.queryKeyword = request.queryKeyword; this.tag = request.tag; } /** * <p>Specifies whether to return information about tags. Valid values:</p> * <ul> * <li>false (default value)</li> * <li>true</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder includeTags(Boolean includeTags) { this.putQueryParameter("IncludeTags", includeTags); this.includeTags = includeTags; return this; } /** * <p>The number of entries per page. After you configure this parameter, token-based paging is preferentially used.</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 pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.</p> * * <strong>example:</strong> * <p>TGlzdFJlc291cm****</p> */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; 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 keyword used for the query, such as the display name of a member.</p> * <p>Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>Advance</p> */ public Builder queryKeyword(String queryKeyword) { this.putQueryParameter("QueryKeyword", queryKeyword); this.queryKeyword = queryKeyword; return this; } /** * <p>The tags. This parameter specifies a filter condition.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ListAccountsRequest build() { return new ListAccountsRequest(this); } } /** * * {@link ListAccountsRequest} extends {@link TeaModel} * * <p>ListAccountsRequest</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The tag key.</p> * * <strong>example:</strong> * <p>tag_key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>tag_value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAccountsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAccountsResponse} extends {@link TeaModel} * * <p>ListAccountsResponse</p> */ public class ListAccountsResponse 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 ListAccountsResponseBody body; private ListAccountsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAccountsResponse 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 ListAccountsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAccountsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAccountsResponseBody body); @Override ListAccountsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAccountsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAccountsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAccountsResponse 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(ListAccountsResponseBody body) { this.body = body; return this; } @Override public ListAccountsResponse build() { return new ListAccountsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAccountsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAccountsResponseBody} extends {@link TeaModel} * * <p>ListAccountsResponseBody</p> */ public class ListAccountsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Accounts") private Accounts accounts; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @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 ListAccountsResponseBody(Builder builder) { this.accounts = builder.accounts; this.nextToken = builder.nextToken; 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 ListAccountsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accounts */ public Accounts getAccounts() { return this.accounts; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @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 Accounts accounts; private String nextToken; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(ListAccountsResponseBody model) { this.accounts = model.accounts; this.nextToken = model.nextToken; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about the members.</p> */ public Builder accounts(Accounts accounts) { this.accounts = accounts; return this; } /** * <p>A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.</p> * * <strong>example:</strong> * <p>TGlzdFJlc291cm****</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; 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 ListAccountsResponseBody build() { return new ListAccountsResponseBody(this); } } /** * * {@link ListAccountsResponseBody} extends {@link TeaModel} * * <p>ListAccountsResponseBody</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>tag_key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>tag_value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link ListAccountsResponseBody} extends {@link TeaModel} * * <p>ListAccountsResponseBody</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; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link ListAccountsResponseBody} extends {@link TeaModel} * * <p>ListAccountsResponseBody</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("DeletionStatus") private String deletionStatus; @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("ResourceDirectoryPath") private String resourceDirectoryPath; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("Type") private String type; private Account(Builder builder) { this.accountId = builder.accountId; this.accountName = builder.accountName; this.deletionStatus = builder.deletionStatus; 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.resourceDirectoryPath = builder.resourceDirectoryPath; this.status = builder.status; this.tags = builder.tags; 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 deletionStatus */ public String getDeletionStatus() { return this.deletionStatus; } /** * @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 resourceDirectoryPath */ public String getResourceDirectoryPath() { return this.resourceDirectoryPath; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String accountId; private String accountName; private String deletionStatus; private String displayName; private String folderId; private String joinMethod; private String joinTime; private String modifyTime; private String resourceDirectoryId; private String resourceDirectoryPath; private String status; private Tags tags; private String type; private Builder() { } private Builder(Account model) { this.accountId = model.accountId; this.accountName = model.accountName; this.deletionStatus = model.deletionStatus; this.displayName = model.displayName; this.folderId = model.folderId; this.joinMethod = model.joinMethod; this.joinTime = model.joinTime; this.modifyTime = model.modifyTime; this.resourceDirectoryId = model.resourceDirectoryId; this.resourceDirectoryPath = model.resourceDirectoryPath; this.status = model.status; this.tags = model.tags; this.type = model.type; } /** * <p>The Alibaba Cloud account ID of the member.</p> * * <strong>example:</strong> * <p>181761095690****</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * <p>The Alibaba Cloud account name of the member.</p> * * <strong>example:</strong> * <p><a href="mailto:oxy01414357@alibaba-inc.com">oxy01414357@alibaba-inc.com</a></p> */ public Builder accountName(String accountName) { this.accountName = accountName; return this; } /** * <p>The deletion status of the member. Valid values:</p> * <ul> * <li>Checking: A deletion check is being performed for the member.</li> * <li>Deleting: The member is being deleted.</li> * <li>CheckFailed: The deletion check for the member fails.</li> * <li>DeleteFailed: The member fails to be deleted.</li> * </ul> * <blockquote> * <p> If deletion is not performed for the member, the value of this parameter is empty.</p> * </blockquote> * * <strong>example:</strong> * <p>Checking</p> */ public Builder deletionStatus(String deletionStatus) { this.deletionStatus = deletionStatus; return this; } /** * <p>The display name of the member.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The ID of the folder.</p> * * <strong>example:</strong> * <p>fd-QRzuim****</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>2021-01-18T08:01:50.522Z</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>2021-01-18T08:04:37.668Z</p> */ public Builder modifyTime(String modifyTime) { this.modifyTime = modifyTime; 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; } /** * <p>The RDPath of the member.</p> */ public Builder resourceDirectoryPath(String resourceDirectoryPath) { this.resourceDirectoryPath = resourceDirectoryPath; return this; } /** * <p>The status of the member. Valid values:</p> * <ul> * <li>CreateSuccess: The member is created.</li> * <li>PromoteVerifying: The upgrade of the member is under confirmation.</li> * <li>PromoteFailed: The upgrade of the member fails.</li> * <li>PromoteExpired: The upgrade of the member expires.</li> * <li>PromoteCancelled: The upgrade of the member is canceled.</li> * <li>PromoteSuccess: The member is upgraded.</li> * <li>InviteSuccess: The member accepts the invitation.</li> * </ul> * * <strong>example:</strong> * <p>CreateSuccess</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The tags that are added to the member.</p> */ public Builder tags(Tags tags) { this.tags = tags; 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); } } } /** * * {@link ListAccountsResponseBody} extends {@link TeaModel} * * <p>ListAccountsResponseBody</p> */ public static class Accounts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private java.util.List<Account> account; private Accounts(Builder builder) { this.account = builder.account; } public static Builder builder() { return new Builder(); } public static Accounts create() { return builder().build(); } /** * @return account */ public java.util.List<Account> getAccount() { return this.account; } public static final class Builder { private java.util.List<Account> account; private Builder() { } private Builder(Accounts model) { this.account = model.account; } /** * Account. */ public Builder account(java.util.List<Account> account) { this.account = account; return this; } public Accounts build() { return new Accounts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAncestorsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAncestorsRequest} extends {@link RequestModel} * * <p>ListAncestorsRequest</p> */ public class ListAncestorsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChildId") @com.aliyun.core.annotation.Validation(required = true) private String childId; private ListAncestorsRequest(Builder builder) { super(builder); this.childId = builder.childId; } public static Builder builder() { return new Builder(); } public static ListAncestorsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return childId */ public String getChildId() { return this.childId; } public static final class Builder extends Request.Builder<ListAncestorsRequest, Builder> { private String childId; private Builder() { super(); } private Builder(ListAncestorsRequest request) { super(request); this.childId = request.childId; } /** * <p>The ID of the subfolder.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>fd-i1c9nr****</p> */ public Builder childId(String childId) { this.putQueryParameter("ChildId", childId); this.childId = childId; return this; } @Override public ListAncestorsRequest build() { return new ListAncestorsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAncestorsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAncestorsResponse} extends {@link TeaModel} * * <p>ListAncestorsResponse</p> */ public class ListAncestorsResponse 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 ListAncestorsResponseBody body; private ListAncestorsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAncestorsResponse 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 ListAncestorsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAncestorsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAncestorsResponseBody body); @Override ListAncestorsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAncestorsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAncestorsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAncestorsResponse 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(ListAncestorsResponseBody body) { this.body = body; return this; } @Override public ListAncestorsResponse build() { return new ListAncestorsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListAncestorsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListAncestorsResponseBody} extends {@link TeaModel} * * <p>ListAncestorsResponseBody</p> */ public class ListAncestorsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Folders") private Folders folders; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAncestorsResponseBody(Builder builder) { this.folders = builder.folders; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAncestorsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return folders */ public Folders getFolders() { return this.folders; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Folders folders; private String requestId; private Builder() { } private Builder(ListAncestorsResponseBody model) { this.folders = model.folders; this.requestId = model.requestId; } /** * <p>The information of the folders.</p> */ public Builder folders(Folders folders) { this.folders = folders; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>83AFBEB6-DC03-406E-9686-867461FF6698</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAncestorsResponseBody build() { return new ListAncestorsResponseBody(this); } } /** * * {@link ListAncestorsResponseBody} extends {@link TeaModel} * * <p>ListAncestorsResponseBody</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; private Builder() { } private Builder(Folder model) { this.createTime = model.createTime; this.folderId = model.folderId; this.folderName = model.folderName; } /** * <p>The time when the folder was created.</p> * * <strong>example:</strong> * <p>2019-01-18T10:03:35.217Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The ID of the folder.</p> * * <strong>example:</strong> * <p>r-b1****</p> */ public Builder folderId(String folderId) { this.folderId = folderId; return this; } /** * <p>The name of the folder.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder folderName(String folderName) { this.folderName = folderName; return this; } public Folder build() { return new Folder(this); } } } /** * * {@link ListAncestorsResponseBody} extends {@link TeaModel} * * <p>ListAncestorsResponseBody</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; private Builder() { } private Builder(Folders model) { this.folder = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListControlPoliciesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListControlPoliciesRequest} extends {@link RequestModel} * * <p>ListControlPoliciesRequest</p> */ public class ListControlPoliciesRequest 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") @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("PolicyType") private String policyType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private ListControlPoliciesRequest(Builder builder) { super(builder); this.language = builder.language; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.policyType = builder.policyType; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ListControlPoliciesRequest 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; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<ListControlPoliciesRequest, Builder> { private String language; private Integer pageNumber; private Integer pageSize; private String policyType; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(ListControlPoliciesRequest request) { super(request); this.language = request.language; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.policyType = request.policyType; this.tag = request.tag; } /** * <p>The language in which you want to return the descriptions of the access control policies. Valid values:</p> * <ul> * <li>zh-CN (default value): Chinese</li> * <li>en: English</li> * <li>ja: Japanese</li> * </ul> * <blockquote> * <p>This parameter is available only for system access control policies.</p> * </blockquote> * * <strong>example:</strong> * <p>zh-CN</p> */ public Builder language(String language) { this.putQueryParameter("Language", language); this.language = language; return this; } /** * <p>The page number.</p> * <p>Page starts 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 type of the access control policies. Valid values:</p> * <ul> * <li>System: system access control policy</li> * <li>Custom: custom access control 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 tags.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ListControlPoliciesRequest build() { return new ListControlPoliciesRequest(this); } } /** * * {@link ListControlPoliciesRequest} extends {@link TeaModel} * * <p>ListControlPoliciesRequest</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The tag key.</p> * * <strong>example:</strong> * <p>tag_key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>tag_value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListControlPoliciesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListControlPoliciesResponse} extends {@link TeaModel} * * <p>ListControlPoliciesResponse</p> */ public class ListControlPoliciesResponse 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 ListControlPoliciesResponseBody body; private ListControlPoliciesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListControlPoliciesResponse 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 ListControlPoliciesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListControlPoliciesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListControlPoliciesResponseBody body); @Override ListControlPoliciesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListControlPoliciesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListControlPoliciesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListControlPoliciesResponse 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(ListControlPoliciesResponseBody body) { this.body = body; return this; } @Override public ListControlPoliciesResponse build() { return new ListControlPoliciesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListControlPoliciesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListControlPoliciesResponseBody} extends {@link TeaModel} * * <p>ListControlPoliciesResponseBody</p> */ public class ListControlPoliciesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ControlPolicies") private ControlPolicies controlPolicies; @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 ListControlPoliciesResponseBody(Builder builder) { this.controlPolicies = builder.controlPolicies; 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 ListControlPoliciesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return controlPolicies */ public ControlPolicies getControlPolicies() { return this.controlPolicies; } /** * @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 ControlPolicies controlPolicies; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(ListControlPoliciesResponseBody model) { this.controlPolicies = model.controlPolicies; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The access control policies.</p> */ public Builder controlPolicies(ControlPolicies controlPolicies) { this.controlPolicies = controlPolicies; 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>9424A34C-3471-45AD-B6AB-924BBDFE42F9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of access control policies.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListControlPoliciesResponseBody build() { return new ListControlPoliciesResponseBody(this); } } /** * * {@link ListControlPoliciesResponseBody} extends {@link TeaModel} * * <p>ListControlPoliciesResponseBody</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The tag key.</p> * * <strong>example:</strong> * <p>tag_key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>tag_value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link ListControlPoliciesResponseBody} extends {@link TeaModel} * * <p>ListControlPoliciesResponseBody</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; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link ListControlPoliciesResponseBody} extends {@link TeaModel} * * <p>ListControlPoliciesResponseBody</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("Tags") private Tags tags; @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.tags = builder.tags; 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 tags */ public Tags getTags() { return this.tags; } /** * @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 Tags tags; private String updateDate; private Builder() { } private Builder(ControlPolicy model) { this.attachmentCount = model.attachmentCount; this.createDate = model.createDate; this.description = model.description; this.effectScope = model.effectScope; this.policyId = model.policyId; this.policyName = model.policyName; this.policyType = model.policyType; this.tags = model.tags; this.updateDate = model.updateDate; } /** * <p>The number of times that the access control policy is referenced.</p> * * <strong>example:</strong> * <p>44</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>2020-08-05T06:32:24Z</p> */ public Builder createDate(String createDate) { this.createDate = createDate; return this; } /** * <p>The description of the access control policy.</p> * * <strong>example:</strong> * <p>System access control policy available for all operations on the cloud</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>All</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-FullAliyunAccess</p> */ public Builder policyId(String policyId) { this.policyId = policyId; return this; } /** * <p>The name of the access control policy.</p> * * <strong>example:</strong> * <p>FullAliyunAccess</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>System</p> */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } /** * <p>The tags.</p> */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * <p>The time when the access control policy was updated.</p> * * <strong>example:</strong> * <p>2020-08-05T06:32:24Z</p> */ public Builder updateDate(String updateDate) { this.updateDate = updateDate; return this; } public ControlPolicy build() { return new ControlPolicy(this); } } } /** * * {@link ListControlPoliciesResponseBody} extends {@link TeaModel} * * <p>ListControlPoliciesResponseBody</p> */ public static class ControlPolicies extends TeaModel { @com.aliyun.core.annotation.NameInMap("ControlPolicy") private java.util.List<ControlPolicy> controlPolicy; private ControlPolicies(Builder builder) { this.controlPolicy = builder.controlPolicy; } public static Builder builder() { return new Builder(); } public static ControlPolicies create() { return builder().build(); } /** * @return controlPolicy */ public java.util.List<ControlPolicy> getControlPolicy() { return this.controlPolicy; } public static final class Builder { private java.util.List<ControlPolicy> controlPolicy; private Builder() { } private Builder(ControlPolicies model) { this.controlPolicy = model.controlPolicy; } /** * ControlPolicy. */ public Builder controlPolicy(java.util.List<ControlPolicy> controlPolicy) { this.controlPolicy = controlPolicy; return this; } public ControlPolicies build() { return new ControlPolicies(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListControlPolicyAttachmentsForTargetRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListControlPolicyAttachmentsForTargetRequest} extends {@link RequestModel} * * <p>ListControlPolicyAttachmentsForTargetRequest</p> */ public class ListControlPolicyAttachmentsForTargetRequest 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("TargetId") @com.aliyun.core.annotation.Validation(required = true) private String targetId; private ListControlPolicyAttachmentsForTargetRequest(Builder builder) { super(builder); this.language = builder.language; this.targetId = builder.targetId; } public static Builder builder() { return new Builder(); } public static ListControlPolicyAttachmentsForTargetRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return language */ public String getLanguage() { return this.language; } /** * @return targetId */ public String getTargetId() { return this.targetId; } public static final class Builder extends Request.Builder<ListControlPolicyAttachmentsForTargetRequest, Builder> { private String language; private String targetId; private Builder() { super(); } private Builder(ListControlPolicyAttachmentsForTargetRequest request) { super(request); this.language = request.language; this.targetId = request.targetId; } /** * <p>The language in which you want to return the descriptions of the access control policies. Valid values:</p> * <ul> * <li>zh-CN (default value): Chinese</li> * <li>en: English</li> * <li>ja: Japanese</li> * </ul> * <blockquote> * <p>This parameter is valid only for system access control policies.</p> * </blockquote> * * <strong>example:</strong> * <p>zh-CN</p> */ public Builder language(String language) { this.putQueryParameter("Language", language); this.language = language; return this; } /** * <p>The ID of the object whose access control policies you want to query. Access control policies can be attached to the following objects:</p> * <ul> * <li>Root folder</li> * <li>Subfolders of the Root folder</li> * <li>Members</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>fd-ZDNPiT****</p> */ public Builder targetId(String targetId) { this.putQueryParameter("TargetId", targetId); this.targetId = targetId; return this; } @Override public ListControlPolicyAttachmentsForTargetRequest build() { return new ListControlPolicyAttachmentsForTargetRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListControlPolicyAttachmentsForTargetResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListControlPolicyAttachmentsForTargetResponse} extends {@link TeaModel} * * <p>ListControlPolicyAttachmentsForTargetResponse</p> */ public class ListControlPolicyAttachmentsForTargetResponse 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 ListControlPolicyAttachmentsForTargetResponseBody body; private ListControlPolicyAttachmentsForTargetResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListControlPolicyAttachmentsForTargetResponse 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 ListControlPolicyAttachmentsForTargetResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListControlPolicyAttachmentsForTargetResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListControlPolicyAttachmentsForTargetResponseBody body); @Override ListControlPolicyAttachmentsForTargetResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListControlPolicyAttachmentsForTargetResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListControlPolicyAttachmentsForTargetResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListControlPolicyAttachmentsForTargetResponse 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(ListControlPolicyAttachmentsForTargetResponseBody body) { this.body = body; return this; } @Override public ListControlPolicyAttachmentsForTargetResponse build() { return new ListControlPolicyAttachmentsForTargetResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListControlPolicyAttachmentsForTargetResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListControlPolicyAttachmentsForTargetResponseBody} extends {@link TeaModel} * * <p>ListControlPolicyAttachmentsForTargetResponseBody</p> */ public class ListControlPolicyAttachmentsForTargetResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ControlPolicyAttachments") private ControlPolicyAttachments controlPolicyAttachments; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListControlPolicyAttachmentsForTargetResponseBody(Builder builder) { this.controlPolicyAttachments = builder.controlPolicyAttachments; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListControlPolicyAttachmentsForTargetResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return controlPolicyAttachments */ public ControlPolicyAttachments getControlPolicyAttachments() { return this.controlPolicyAttachments; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ControlPolicyAttachments controlPolicyAttachments; private String requestId; private Builder() { } private Builder(ListControlPolicyAttachmentsForTargetResponseBody model) { this.controlPolicyAttachments = model.controlPolicyAttachments; this.requestId = model.requestId; } /** * <p>The information about the attached access control policies.</p> */ public Builder controlPolicyAttachments(ControlPolicyAttachments controlPolicyAttachments) { this.controlPolicyAttachments = controlPolicyAttachments; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C276B600-7B7A-49E8-938C-E16CFA955A82</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListControlPolicyAttachmentsForTargetResponseBody build() { return new ListControlPolicyAttachmentsForTargetResponseBody(this); } } /** * * {@link ListControlPolicyAttachmentsForTargetResponseBody} extends {@link TeaModel} * * <p>ListControlPolicyAttachmentsForTargetResponseBody</p> */ public static class ControlPolicyAttachment 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("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; private ControlPolicyAttachment(Builder builder) { this.attachDate = builder.attachDate; this.description = builder.description; this.effectScope = builder.effectScope; this.policyId = builder.policyId; this.policyName = builder.policyName; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static ControlPolicyAttachment create() { return builder().build(); } /** * @return attachDate */ public String getAttachDate() { return this.attachDate; } /** * @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; } public static final class Builder { private String attachDate; private String description; private String effectScope; private String policyId; private String policyName; private String policyType; private Builder() { } private Builder(ControlPolicyAttachment model) { this.attachDate = model.attachDate; this.description = model.description; this.effectScope = model.effectScope; this.policyId = model.policyId; this.policyName = model.policyName; this.policyType = model.policyType; } /** * <p>The time when the access control policy was attached.</p> * * <strong>example:</strong> * <p>2021-03-19T02:56:24Z</p> */ public Builder attachDate(String attachDate) { this.attachDate = attachDate; 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>ExampleControlPolicy</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; } public ControlPolicyAttachment build() { return new ControlPolicyAttachment(this); } } } /** * * {@link ListControlPolicyAttachmentsForTargetResponseBody} extends {@link TeaModel} * * <p>ListControlPolicyAttachmentsForTargetResponseBody</p> */ public static class ControlPolicyAttachments extends TeaModel { @com.aliyun.core.annotation.NameInMap("ControlPolicyAttachment") private java.util.List<ControlPolicyAttachment> controlPolicyAttachment; private ControlPolicyAttachments(Builder builder) { this.controlPolicyAttachment = builder.controlPolicyAttachment; } public static Builder builder() { return new Builder(); } public static ControlPolicyAttachments create() { return builder().build(); } /** * @return controlPolicyAttachment */ public java.util.List<ControlPolicyAttachment> getControlPolicyAttachment() { return this.controlPolicyAttachment; } public static final class Builder { private java.util.List<ControlPolicyAttachment> controlPolicyAttachment; private Builder() { } private Builder(ControlPolicyAttachments model) { this.controlPolicyAttachment = model.controlPolicyAttachment; } /** * ControlPolicyAttachment. */ public Builder controlPolicyAttachment(java.util.List<ControlPolicyAttachment> controlPolicyAttachment) { this.controlPolicyAttachment = controlPolicyAttachment; return this; } public ControlPolicyAttachments build() { return new ControlPolicyAttachments(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListDelegatedAdministratorsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListDelegatedAdministratorsRequest} extends {@link RequestModel} * * <p>ListDelegatedAdministratorsRequest</p> */ public class ListDelegatedAdministratorsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ServicePrincipal") private String servicePrincipal; private ListDelegatedAdministratorsRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.servicePrincipal = builder.servicePrincipal; } public static Builder builder() { return new Builder(); } public static ListDelegatedAdministratorsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return servicePrincipal */ public String getServicePrincipal() { return this.servicePrincipal; } public static final class Builder extends Request.Builder<ListDelegatedAdministratorsRequest, Builder> { private Long pageNumber; private Long pageSize; private String servicePrincipal; private Builder() { super(); } private Builder(ListDelegatedAdministratorsRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.servicePrincipal = request.servicePrincipal; } /** * <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(Long 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(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; 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> * * <strong>example:</strong> * <p>cloudfw.aliyuncs.com</p> */ public Builder servicePrincipal(String servicePrincipal) { this.putQueryParameter("ServicePrincipal", servicePrincipal); this.servicePrincipal = servicePrincipal; return this; } @Override public ListDelegatedAdministratorsRequest build() { return new ListDelegatedAdministratorsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListDelegatedAdministratorsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListDelegatedAdministratorsResponse} extends {@link TeaModel} * * <p>ListDelegatedAdministratorsResponse</p> */ public class ListDelegatedAdministratorsResponse 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 ListDelegatedAdministratorsResponseBody body; private ListDelegatedAdministratorsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListDelegatedAdministratorsResponse 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 ListDelegatedAdministratorsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListDelegatedAdministratorsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListDelegatedAdministratorsResponseBody body); @Override ListDelegatedAdministratorsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListDelegatedAdministratorsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListDelegatedAdministratorsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListDelegatedAdministratorsResponse 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(ListDelegatedAdministratorsResponseBody body) { this.body = body; return this; } @Override public ListDelegatedAdministratorsResponse build() { return new ListDelegatedAdministratorsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListDelegatedAdministratorsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListDelegatedAdministratorsResponseBody} extends {@link TeaModel} * * <p>ListDelegatedAdministratorsResponseBody</p> */ public class ListDelegatedAdministratorsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Accounts") private Accounts accounts; @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private ListDelegatedAdministratorsResponseBody(Builder builder) { this.accounts = builder.accounts; 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 ListDelegatedAdministratorsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accounts */ public Accounts getAccounts() { return this.accounts; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Accounts accounts; private Long pageNumber; private Long pageSize; private String requestId; private Long totalCount; private Builder() { } private Builder(ListDelegatedAdministratorsResponseBody model) { this.accounts = model.accounts; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about the delegated administrator accounts.</p> */ public Builder accounts(Accounts accounts) { this.accounts = accounts; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>009C3A02-7D4B-416C-9CE7-548C91508F1E</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(Long totalCount) { this.totalCount = totalCount; return this; } public ListDelegatedAdministratorsResponseBody build() { return new ListDelegatedAdministratorsResponseBody(this); } } /** * * {@link ListDelegatedAdministratorsResponseBody} extends {@link TeaModel} * * <p>ListDelegatedAdministratorsResponseBody</p> */ public static class Account extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.NameInMap("DelegationEnabledTime") private String delegationEnabledTime; @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("JoinMethod") private String joinMethod; @com.aliyun.core.annotation.NameInMap("ServicePrincipal") private String servicePrincipal; private Account(Builder builder) { this.accountId = builder.accountId; this.delegationEnabledTime = builder.delegationEnabledTime; this.displayName = builder.displayName; this.joinMethod = builder.joinMethod; this.servicePrincipal = builder.servicePrincipal; } public static Builder builder() { return new Builder(); } public static Account create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return delegationEnabledTime */ public String getDelegationEnabledTime() { return this.delegationEnabledTime; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return joinMethod */ public String getJoinMethod() { return this.joinMethod; } /** * @return servicePrincipal */ public String getServicePrincipal() { return this.servicePrincipal; } public static final class Builder { private String accountId; private String delegationEnabledTime; private String displayName; private String joinMethod; private String servicePrincipal; private Builder() { } private Builder(Account model) { this.accountId = model.accountId; this.delegationEnabledTime = model.delegationEnabledTime; this.displayName = model.displayName; this.joinMethod = model.joinMethod; this.servicePrincipal = model.servicePrincipal; } /** * <p>The Alibaba Cloud account ID of the member.</p> * * <strong>example:</strong> * <p>138660628348****</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * <p>The time when the member was specified as a delegated administrator account.</p> * * <strong>example:</strong> * <p>1616652684164</p> */ public Builder delegationEnabledTime(String delegationEnabledTime) { this.delegationEnabledTime = delegationEnabledTime; return this; } /** * <p>The display name of the member.</p> * * <strong>example:</strong> * <p>abc</p> */ public Builder displayName(String displayName) { this.displayName = displayName; 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 identifier of the trusted service.</p> * * <strong>example:</strong> * <p>cloudfw.aliyuncs.com</p> */ public Builder servicePrincipal(String servicePrincipal) { this.servicePrincipal = servicePrincipal; return this; } public Account build() { return new Account(this); } } } /** * * {@link ListDelegatedAdministratorsResponseBody} extends {@link TeaModel} * * <p>ListDelegatedAdministratorsResponseBody</p> */ public static class Accounts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private java.util.List<Account> account; private Accounts(Builder builder) { this.account = builder.account; } public static Builder builder() { return new Builder(); } public static Accounts create() { return builder().build(); } /** * @return account */ public java.util.List<Account> getAccount() { return this.account; } public static final class Builder { private java.util.List<Account> account; private Builder() { } private Builder(Accounts model) { this.account = model.account; } /** * Account. */ public Builder account(java.util.List<Account> account) { this.account = account; return this; } public Accounts build() { return new Accounts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListDelegatedServicesForAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListDelegatedServicesForAccountRequest} extends {@link RequestModel} * * <p>ListDelegatedServicesForAccountRequest</p> */ public class ListDelegatedServicesForAccountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountId") @com.aliyun.core.annotation.Validation(required = true) private String accountId; private ListDelegatedServicesForAccountRequest(Builder builder) { super(builder); this.accountId = builder.accountId; } public static Builder builder() { return new Builder(); } public static ListDelegatedServicesForAccountRequest 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<ListDelegatedServicesForAccountRequest, Builder> { private String accountId; private Builder() { super(); } private Builder(ListDelegatedServicesForAccountRequest 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>138660628348****</p> */ public Builder accountId(String accountId) { this.putQueryParameter("AccountId", accountId); this.accountId = accountId; return this; } @Override public ListDelegatedServicesForAccountRequest build() { return new ListDelegatedServicesForAccountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListDelegatedServicesForAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListDelegatedServicesForAccountResponse} extends {@link TeaModel} * * <p>ListDelegatedServicesForAccountResponse</p> */ public class ListDelegatedServicesForAccountResponse 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 ListDelegatedServicesForAccountResponseBody body; private ListDelegatedServicesForAccountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListDelegatedServicesForAccountResponse 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 ListDelegatedServicesForAccountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListDelegatedServicesForAccountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListDelegatedServicesForAccountResponseBody body); @Override ListDelegatedServicesForAccountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListDelegatedServicesForAccountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListDelegatedServicesForAccountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListDelegatedServicesForAccountResponse 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(ListDelegatedServicesForAccountResponseBody body) { this.body = body; return this; } @Override public ListDelegatedServicesForAccountResponse build() { return new ListDelegatedServicesForAccountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListDelegatedServicesForAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListDelegatedServicesForAccountResponseBody} extends {@link TeaModel} * * <p>ListDelegatedServicesForAccountResponseBody</p> */ public class ListDelegatedServicesForAccountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DelegatedServices") private DelegatedServices delegatedServices; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListDelegatedServicesForAccountResponseBody(Builder builder) { this.delegatedServices = builder.delegatedServices; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListDelegatedServicesForAccountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return delegatedServices */ public DelegatedServices getDelegatedServices() { return this.delegatedServices; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DelegatedServices delegatedServices; private String requestId; private Builder() { } private Builder(ListDelegatedServicesForAccountResponseBody model) { this.delegatedServices = model.delegatedServices; this.requestId = model.requestId; } /** * <p>The information about the trusted services.</p> * <blockquote> * <p>If the value of this parameter is empty, the member is not specified as a delegated administrator account.</p> * </blockquote> */ public Builder delegatedServices(DelegatedServices delegatedServices) { this.delegatedServices = delegatedServices; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>D9C03B94-9396-4794-A74B-13DC437556A6</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListDelegatedServicesForAccountResponseBody build() { return new ListDelegatedServicesForAccountResponseBody(this); } } /** * * {@link ListDelegatedServicesForAccountResponseBody} extends {@link TeaModel} * * <p>ListDelegatedServicesForAccountResponseBody</p> */ public static class DelegatedService extends TeaModel { @com.aliyun.core.annotation.NameInMap("DelegationEnabledTime") private String delegationEnabledTime; @com.aliyun.core.annotation.NameInMap("ServicePrincipal") private String servicePrincipal; @com.aliyun.core.annotation.NameInMap("Status") private String status; private DelegatedService(Builder builder) { this.delegationEnabledTime = builder.delegationEnabledTime; this.servicePrincipal = builder.servicePrincipal; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DelegatedService create() { return builder().build(); } /** * @return delegationEnabledTime */ public String getDelegationEnabledTime() { return this.delegationEnabledTime; } /** * @return servicePrincipal */ public String getServicePrincipal() { return this.servicePrincipal; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String delegationEnabledTime; private String servicePrincipal; private String status; private Builder() { } private Builder(DelegatedService model) { this.delegationEnabledTime = model.delegationEnabledTime; this.servicePrincipal = model.servicePrincipal; this.status = model.status; } /** * <p>The time when the member was specified as a delegated administrator account.</p> * * <strong>example:</strong> * <p>1616652684164</p> */ public Builder delegationEnabledTime(String delegationEnabledTime) { this.delegationEnabledTime = delegationEnabledTime; return this; } /** * <p>The identifier of the trusted service.</p> * * <strong>example:</strong> * <p>cloudfw.aliyuncs.com</p> */ public Builder servicePrincipal(String servicePrincipal) { this.servicePrincipal = servicePrincipal; return this; } /** * <p>The status of the trusted service. Valid values:</p> * <ul> * <li>ENABLED: enabled</li> * <li>DISABLED: disabled</li> * </ul> * * <strong>example:</strong> * <p>ENABLED</p> */ public Builder status(String status) { this.status = status; return this; } public DelegatedService build() { return new DelegatedService(this); } } } /** * * {@link ListDelegatedServicesForAccountResponseBody} extends {@link TeaModel} * * <p>ListDelegatedServicesForAccountResponseBody</p> */ public static class DelegatedServices extends TeaModel { @com.aliyun.core.annotation.NameInMap("DelegatedService") private java.util.List<DelegatedService> delegatedService; private DelegatedServices(Builder builder) { this.delegatedService = builder.delegatedService; } public static Builder builder() { return new Builder(); } public static DelegatedServices create() { return builder().build(); } /** * @return delegatedService */ public java.util.List<DelegatedService> getDelegatedService() { return this.delegatedService; } public static final class Builder { private java.util.List<DelegatedService> delegatedService; private Builder() { } private Builder(DelegatedServices model) { this.delegatedService = model.delegatedService; } /** * DelegatedService. */ public Builder delegatedService(java.util.List<DelegatedService> delegatedService) { this.delegatedService = delegatedService; return this; } public DelegatedServices build() { return new DelegatedServices(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListFoldersForParentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListFoldersForParentRequest} extends {@link RequestModel} * * <p>ListFoldersForParentRequest</p> */ public class ListFoldersForParentRequest 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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ParentFolderId") private String parentFolderId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("QueryKeyword") private String queryKeyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private ListFoldersForParentRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.parentFolderId = builder.parentFolderId; this.queryKeyword = builder.queryKeyword; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ListFoldersForParentRequest 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 parentFolderId */ public String getParentFolderId() { return this.parentFolderId; } /** * @return queryKeyword */ public String getQueryKeyword() { return this.queryKeyword; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<ListFoldersForParentRequest, Builder> { private Integer pageNumber; private Integer pageSize; private String parentFolderId; private String queryKeyword; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(ListFoldersForParentRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.parentFolderId = request.parentFolderId; this.queryKeyword = request.queryKeyword; this.tag = request.tag; } /** * <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 parent folder.</p> * <p>If you leave this parameter empty, the information of the first-level subfolders of the Root folder is queried.</p> * * <strong>example:</strong> * <p>r-b1****</p> */ public Builder parentFolderId(String parentFolderId) { this.putQueryParameter("ParentFolderId", parentFolderId); this.parentFolderId = parentFolderId; return this; } /** * <p>The keyword used for the query, such as a folder name.</p> * <p>Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>rdFolder</p> */ public Builder queryKeyword(String queryKeyword) { this.putQueryParameter("QueryKeyword", queryKeyword); this.queryKeyword = queryKeyword; return this; } /** * <p>The tags. This parameter specifies a filter condition.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ListFoldersForParentRequest build() { return new ListFoldersForParentRequest(this); } } /** * * {@link ListFoldersForParentRequest} extends {@link TeaModel} * * <p>ListFoldersForParentRequest</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>k1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListFoldersForParentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListFoldersForParentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListFoldersForParentResponseBody model) { this.folders = model.folders; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>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 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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>k1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>v1</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link ListFoldersForParentResponseBody} extends {@link TeaModel} * * <p>ListFoldersForParentResponseBody</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; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(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; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; private Folder(Builder builder) { this.createTime = builder.createTime; this.folderId = builder.folderId; this.folderName = builder.folderName; this.tags = builder.tags; } 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; } /** * @return tags */ public Tags getTags() { return this.tags; } public static final class Builder { private String createTime; private String folderId; private String folderName; private Tags tags; private Builder() { } private Builder(Folder model) { this.createTime = model.createTime; this.folderId = model.folderId; this.folderName = model.folderName; this.tags = model.tags; } /** * <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; } /** * <p>The tags added to the folder.</p> */ public Builder tags(Tags tags) { this.tags = tags; 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; private Builder() { } private Builder(Folders model) { this.folder = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListHandshakesForAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListHandshakesForAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListHandshakesForAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListHandshakesForAccountResponseBody model) { this.handshakes = model.handshakes; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.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; private Builder() { } private Builder(Handshake model) { this.createTime = model.createTime; this.expireTime = model.expireTime; this.handshakeId = model.handshakeId; this.masterAccountId = model.masterAccountId; this.masterAccountName = model.masterAccountName; this.modifyTime = model.modifyTime; this.note = model.note; this.resourceDirectoryId = model.resourceDirectoryId; this.status = model.status; this.targetEntity = model.targetEntity; this.targetType = model.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 description of 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; private Builder() { } private Builder(Handshakes model) { this.handshake = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListHandshakesForResourceDirectoryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListHandshakesForResourceDirectoryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListHandshakesForResourceDirectoryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListHandshakesForResourceDirectoryResponseBody model) { this.handshakes = model.handshakes; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.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; private Builder() { } private Builder(Handshake model) { this.createTime = model.createTime; this.expireTime = model.expireTime; this.handshakeId = model.handshakeId; this.masterAccountId = model.masterAccountId; this.masterAccountName = model.masterAccountName; this.modifyTime = model.modifyTime; this.note = model.note; this.resourceDirectoryId = model.resourceDirectoryId; this.status = model.status; this.targetEntity = model.targetEntity; this.targetType = model.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 description of 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; private Builder() { } private Builder(Handshakes model) { this.handshake = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListMessageContactVerificationsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListMessageContactVerificationsRequest} extends {@link RequestModel} * * <p>ListMessageContactVerificationsRequest</p> */ public class ListMessageContactVerificationsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @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 ListMessageContactVerificationsRequest(Builder builder) { super(builder); this.contactId = builder.contactId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListMessageContactVerificationsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<ListMessageContactVerificationsRequest, Builder> { private String contactId; private Integer pageNumber; private Integer pageSize; private Builder() { super(); } private Builder(ListMessageContactVerificationsRequest request) { super(request); this.contactId = request.contactId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.putQueryParameter("ContactId", contactId); this.contactId = contactId; return this; } /** * <p>The page number.</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> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public ListMessageContactVerificationsRequest build() { return new ListMessageContactVerificationsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListMessageContactVerificationsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListMessageContactVerificationsResponse} extends {@link TeaModel} * * <p>ListMessageContactVerificationsResponse</p> */ public class ListMessageContactVerificationsResponse 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 ListMessageContactVerificationsResponseBody body; private ListMessageContactVerificationsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListMessageContactVerificationsResponse 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 ListMessageContactVerificationsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListMessageContactVerificationsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListMessageContactVerificationsResponseBody body); @Override ListMessageContactVerificationsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListMessageContactVerificationsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListMessageContactVerificationsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListMessageContactVerificationsResponse 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(ListMessageContactVerificationsResponseBody body) { this.body = body; return this; } @Override public ListMessageContactVerificationsResponse build() { return new ListMessageContactVerificationsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListMessageContactVerificationsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListMessageContactVerificationsResponseBody} extends {@link TeaModel} * * <p>ListMessageContactVerificationsResponseBody</p> */ public class ListMessageContactVerificationsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactVerifications") private java.util.List<ContactVerifications> contactVerifications; @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 ListMessageContactVerificationsResponseBody(Builder builder) { this.contactVerifications = builder.contactVerifications; 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 ListMessageContactVerificationsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return contactVerifications */ public java.util.List<ContactVerifications> getContactVerifications() { return this.contactVerifications; } /** * @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 java.util.List<ContactVerifications> contactVerifications; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(ListMessageContactVerificationsResponseBody model) { this.contactVerifications = model.contactVerifications; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The record for the contact to be verified.</p> */ public Builder contactVerifications(java.util.List<ContactVerifications> contactVerifications) { this.contactVerifications = contactVerifications; return this; } /** * <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>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>48</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListMessageContactVerificationsResponseBody build() { return new ListMessageContactVerificationsResponseBody(this); } } /** * * {@link ListMessageContactVerificationsResponseBody} extends {@link TeaModel} * * <p>ListMessageContactVerificationsResponseBody</p> */ public static class ContactVerifications extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.NameInMap("Target") private String target; private ContactVerifications(Builder builder) { this.contactId = builder.contactId; this.target = builder.target; } public static Builder builder() { return new Builder(); } public static ContactVerifications create() { return builder().build(); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return target */ public String getTarget() { return this.target; } public static final class Builder { private String contactId; private String target; private Builder() { } private Builder(ContactVerifications model) { this.contactId = model.contactId; this.target = model.target; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.contactId = contactId; return this; } /** * <p>The object that is used for verification. Valid values:</p> * <ul> * <li>Mobile phone number</li> * <li>Email address</li> * </ul> * * <strong>example:</strong> * <p>someone***@example.com</p> */ public Builder target(String target) { this.target = target; return this; } public ContactVerifications build() { return new ContactVerifications(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListMessageContactsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListMessageContactsRequest} extends {@link RequestModel} * * <p>ListMessageContactsRequest</p> */ public class ListMessageContactsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Member") private String member; @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 ListMessageContactsRequest(Builder builder) { super(builder); this.contactId = builder.contactId; this.member = builder.member; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListMessageContactsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return member */ public String getMember() { return this.member; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<ListMessageContactsRequest, Builder> { private String contactId; private String member; private Integer pageNumber; private Integer pageSize; private Builder() { super(); } private Builder(ListMessageContactsRequest request) { super(request); this.contactId = request.contactId; this.member = request.member; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.putQueryParameter("ContactId", contactId); this.contactId = contactId; return this; } /** * <p>The ID of the object to which the contact is bound. Valid values:</p> * <ul> * <li>ID of the resource directory</li> * <li>ID of the folder</li> * <li>ID of the member</li> * </ul> * * <strong>example:</strong> * <p>fd-ZDNPiT****</p> */ public Builder member(String member) { this.putQueryParameter("Member", member); this.member = member; return this; } /** * <p>The page number.</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> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public ListMessageContactsRequest build() { return new ListMessageContactsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListMessageContactsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListMessageContactsResponse} extends {@link TeaModel} * * <p>ListMessageContactsResponse</p> */ public class ListMessageContactsResponse 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 ListMessageContactsResponseBody body; private ListMessageContactsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListMessageContactsResponse 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 ListMessageContactsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListMessageContactsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListMessageContactsResponseBody body); @Override ListMessageContactsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListMessageContactsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListMessageContactsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListMessageContactsResponse 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(ListMessageContactsResponseBody body) { this.body = body; return this; } @Override public ListMessageContactsResponse build() { return new ListMessageContactsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListMessageContactsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 ListMessageContactsResponseBody} extends {@link TeaModel} * * <p>ListMessageContactsResponseBody</p> */ public class ListMessageContactsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Contacts") private java.util.List<Contacts> contacts; @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 ListMessageContactsResponseBody(Builder builder) { this.contacts = builder.contacts; 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 ListMessageContactsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return contacts */ public java.util.List<Contacts> getContacts() { return this.contacts; } /** * @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 java.util.List<Contacts> contacts; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(ListMessageContactsResponseBody model) { this.contacts = model.contacts; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The time when the contact was bound to the objects.</p> */ public Builder contacts(java.util.List<Contacts> contacts) { this.contacts = contacts; return this; } /** * <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>95060F1D-6990-4645-8920-A81D1BBFE992</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListMessageContactsResponseBody build() { return new ListMessageContactsResponseBody(this); } } /** * * {@link ListMessageContactsResponseBody} extends {@link TeaModel} * * <p>ListMessageContactsResponseBody</p> */ public static class Contacts extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssociatedDate") private String associatedDate; @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.NameInMap("CreateDate") private String createDate; @com.aliyun.core.annotation.NameInMap("EmailAddress") private String emailAddress; @com.aliyun.core.annotation.NameInMap("Members") private java.util.List<String> members; @com.aliyun.core.annotation.NameInMap("MessageTypes") private java.util.List<String> messageTypes; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("PhoneNumber") private String phoneNumber; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Title") private String title; private Contacts(Builder builder) { this.associatedDate = builder.associatedDate; this.contactId = builder.contactId; this.createDate = builder.createDate; this.emailAddress = builder.emailAddress; this.members = builder.members; this.messageTypes = builder.messageTypes; this.name = builder.name; this.phoneNumber = builder.phoneNumber; this.status = builder.status; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static Contacts create() { return builder().build(); } /** * @return associatedDate */ public String getAssociatedDate() { return this.associatedDate; } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return createDate */ public String getCreateDate() { return this.createDate; } /** * @return emailAddress */ public String getEmailAddress() { return this.emailAddress; } /** * @return members */ public java.util.List<String> getMembers() { return this.members; } /** * @return messageTypes */ public java.util.List<String> getMessageTypes() { return this.messageTypes; } /** * @return name */ public String getName() { return this.name; } /** * @return phoneNumber */ public String getPhoneNumber() { return this.phoneNumber; } /** * @return status */ public String getStatus() { return this.status; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String associatedDate; private String contactId; private String createDate; private String emailAddress; private java.util.List<String> members; private java.util.List<String> messageTypes; private String name; private String phoneNumber; private String status; private String title; private Builder() { } private Builder(Contacts model) { this.associatedDate = model.associatedDate; this.contactId = model.contactId; this.createDate = model.createDate; this.emailAddress = model.emailAddress; this.members = model.members; this.messageTypes = model.messageTypes; this.name = model.name; this.phoneNumber = model.phoneNumber; this.status = model.status; this.title = model.title; } /** * <p>The time when the contact was bound to the objects.</p> * * <strong>example:</strong> * <p>2023-03-27 17:19:21</p> */ public Builder associatedDate(String associatedDate) { this.associatedDate = associatedDate; return this; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.contactId = contactId; return this; } /** * <p>The time when the contact was added.</p> * * <strong>example:</strong> * <p>2023-03-27 17:19:21</p> */ public Builder createDate(String createDate) { this.createDate = createDate; return this; } /** * <p>The email address of the contact.</p> * * <strong>example:</strong> * <p>someone***@example.com</p> */ public Builder emailAddress(String emailAddress) { this.emailAddress = emailAddress; return this; } /** * <p>The IDs of objects to which the contact is bound.</p> */ public Builder members(java.util.List<String> members) { this.members = members; return this; } /** * <p>The types of messages received by the contact.</p> */ public Builder messageTypes(java.util.List<String> messageTypes) { this.messageTypes = messageTypes; return this; } /** * <p>The name of the contact.</p> * * <strong>example:</strong> * <p>tom</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The mobile phone number of the contact.</p> * * <strong>example:</strong> * <p>86-139****1234</p> */ public Builder phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } /** * <p>The status of the contact. Valid values:</p> * <ul> * <li>Verifying</li> * <li>Active</li> * <li>Deleting</li> * </ul> * * <strong>example:</strong> * <p>Active</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The job title of the contact.</p> * * <strong>example:</strong> * <p>TechnicalDirector</p> */ public Builder title(String title) { this.title = title; return this; } public Contacts build() { return new Contacts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagKeysRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagKeysResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagKeysResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListTagKeysResponseBody model) { this.nextToken = model.nextToken; this.requestId = model.requestId; this.tags = model.tags; } /** * <p>Indicates whether the next query is required.</p> * <ul> * <li>If the value of this parameter is empty (<code>&quot;NextToken&quot;: &quot;&quot;</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 request ID.</p> * * <strong>example:</strong> * <p>DC09A6AA-2713-4E10-A2E9-E6C5C43A8842</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about 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; private Builder() { } private Builder(Tags model) { this.key = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagResourcesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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") @com.aliyun.core.annotation.Validation(required = true) 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 Alibaba Cloud account IDs of the members. This parameter specifies a filter condition for the query.</p> * <blockquote> * <p>If you want to query the tags that are added to the members in a resource directory, you must configure both the <code>ResourceId</code> and <code>ResourceType</code> parameters and set the <code>ResourceType</code> parameter to <code>Account</code> in your request.</p> * </blockquote> */ 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>Account: member</li> * </ul> * <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 tags. This parameter specifies a filter condition for the query.</p> * <p>You can specify a maximum of 20 tags.</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; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>k1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagResourcesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagResourcesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListTagResourcesResponseBody model) { this.nextToken = model.nextToken; this.requestId = model.requestId; this.tagResources = model.tagResources; } /** * <p>Indicates whether the next query is required.```` Valid values:</p> * <ul> * <li>If the value of this parameter is empty (<code>&quot;NextToken&quot;: &quot;&quot;</code>), all results are returned, and the <code>next query</code> 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; private Builder() { } private Builder(TagResources model) { this.resourceId = model.resourceId; this.resourceType = model.resourceType; this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * <p>The Alibaba Cloud account ID of the member.</p> * * <strong>example:</strong> * <p>1098***</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>Account: member</li> * </ul> * * <strong>example:</strong> * <p>Account</p> */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>k1</p> */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * <p>The value of the tag.</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagValuesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagValuesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTagValuesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListTagValuesResponseBody model) { this.nextToken = model.nextToken; this.requestId = model.requestId; this.tags = model.tags; } /** * <p>Indicates whether the next query is required.</p> * <ul> * <li>If the value of this parameter is empty (<code>&quot;NextToken&quot;: &quot;&quot;</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 request ID.</p> * * <strong>example:</strong> * <p>DC09A6AA-2713-4E10-A2E9-E6C5C43A8842</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about 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; private Builder() { } private Builder(Tags model) { this.value = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTargetAttachmentsForControlPolicyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 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 ListTargetAttachmentsForControlPolicyRequest build() { return new ListTargetAttachmentsForControlPolicyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTargetAttachmentsForControlPolicyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTargetAttachmentsForControlPolicyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListTargetAttachmentsForControlPolicyResponseBody model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.targetAttachments = model.targetAttachments; this.totalCount = model.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 information about the objects to which the access control policy is attached.</p> */ public Builder targetAttachments(TargetAttachments targetAttachments) { this.targetAttachments = targetAttachments; return this; } /** * <p>The total number of objects to which the access 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; private Builder() { } private Builder(TargetAttachment model) { this.attachDate = model.attachDate; this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; } /** * <p>The time when the access 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: subfolder of the Root folder</li> * <li>Account: member</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; private Builder() { } private Builder(TargetAttachments model) { this.targetAttachment = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTrustedServiceStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 management account or delegated administrator account.</p> * <ul> * <li>If you set this parameter to the ID of a management account, the trusted services that are enabled within the management account are queried. The default value of this parameter is the ID of an 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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTrustedServiceStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/ListTrustedServiceStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(ListTrustedServiceStatusResponseBody model) { this.enabledServicePrincipals = model.enabledServicePrincipals; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about 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; private Builder() { } private Builder(EnabledServicePrincipal model) { this.enableTime = model.enableTime; this.servicePrincipal = model.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 identifier 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; private Builder() { } private Builder(EnabledServicePrincipals model) { this.enabledServicePrincipal = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/MoveAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 Alibaba Cloud account ID of the member that 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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/MoveAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/MoveAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(MoveAccountResponseBody model) { this.requestId = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/PrecheckForConsolidatedBillingAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 PrecheckForConsolidatedBillingAccountRequest} extends {@link RequestModel} * * <p>PrecheckForConsolidatedBillingAccountRequest</p> */ public class PrecheckForConsolidatedBillingAccountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BillingAccountId") @com.aliyun.core.annotation.Validation(required = true) private String billingAccountId; private PrecheckForConsolidatedBillingAccountRequest(Builder builder) { super(builder); this.billingAccountId = builder.billingAccountId; } public static Builder builder() { return new Builder(); } public static PrecheckForConsolidatedBillingAccountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return billingAccountId */ public String getBillingAccountId() { return this.billingAccountId; } public static final class Builder extends Request.Builder<PrecheckForConsolidatedBillingAccountRequest, Builder> { private String billingAccountId; private Builder() { super(); } private Builder(PrecheckForConsolidatedBillingAccountRequest request) { super(request); this.billingAccountId = request.billingAccountId; } /** * <p>The ID of the management account or member to be used as a main financial account.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>111***089</p> */ public Builder billingAccountId(String billingAccountId) { this.putQueryParameter("BillingAccountId", billingAccountId); this.billingAccountId = billingAccountId; return this; } @Override public PrecheckForConsolidatedBillingAccountRequest build() { return new PrecheckForConsolidatedBillingAccountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/PrecheckForConsolidatedBillingAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 PrecheckForConsolidatedBillingAccountResponse} extends {@link TeaModel} * * <p>PrecheckForConsolidatedBillingAccountResponse</p> */ public class PrecheckForConsolidatedBillingAccountResponse 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 PrecheckForConsolidatedBillingAccountResponseBody body; private PrecheckForConsolidatedBillingAccountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static PrecheckForConsolidatedBillingAccountResponse 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 PrecheckForConsolidatedBillingAccountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<PrecheckForConsolidatedBillingAccountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(PrecheckForConsolidatedBillingAccountResponseBody body); @Override PrecheckForConsolidatedBillingAccountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<PrecheckForConsolidatedBillingAccountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private PrecheckForConsolidatedBillingAccountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(PrecheckForConsolidatedBillingAccountResponse 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(PrecheckForConsolidatedBillingAccountResponseBody body) { this.body = body; return this; } @Override public PrecheckForConsolidatedBillingAccountResponse build() { return new PrecheckForConsolidatedBillingAccountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/PrecheckForConsolidatedBillingAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 PrecheckForConsolidatedBillingAccountResponseBody} extends {@link TeaModel} * * <p>PrecheckForConsolidatedBillingAccountResponseBody</p> */ public class PrecheckForConsolidatedBillingAccountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Reasons") private java.util.List<Reasons> reasons; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Result") private Boolean result; private PrecheckForConsolidatedBillingAccountResponseBody(Builder builder) { this.reasons = builder.reasons; this.requestId = builder.requestId; this.result = builder.result; } public static Builder builder() { return new Builder(); } public static PrecheckForConsolidatedBillingAccountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return reasons */ public java.util.List<Reasons> getReasons() { return this.reasons; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return result */ public Boolean getResult() { return this.result; } public static final class Builder { private java.util.List<Reasons> reasons; private String requestId; private Boolean result; private Builder() { } private Builder(PrecheckForConsolidatedBillingAccountResponseBody model) { this.reasons = model.reasons; this.requestId = model.requestId; this.result = model.result; } /** * <p>The cause of the check failure.</p> */ public Builder reasons(java.util.List<Reasons> reasons) { this.reasons = reasons; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9E6B6CA8-9E7A-521F-A743-AA582714727E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the check was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder result(Boolean result) { this.result = result; return this; } public PrecheckForConsolidatedBillingAccountResponseBody build() { return new PrecheckForConsolidatedBillingAccountResponseBody(this); } } /** * * {@link PrecheckForConsolidatedBillingAccountResponseBody} extends {@link TeaModel} * * <p>PrecheckForConsolidatedBillingAccountResponseBody</p> */ public static class Reasons extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Message") private String message; private Reasons(Builder builder) { this.code = builder.code; this.message = builder.message; } public static Builder builder() { return new Builder(); } public static Reasons create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } public static final class Builder { private String code; private String message; private Builder() { } private Builder(Reasons model) { this.code = model.code; this.message = model.message; } /** * <p>The error code.</p> * * <strong>example:</strong> * <p>PaymentAccountEnterpriseInvoiceError</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The error message.</p> * * <strong>example:</strong> * <p>No enterprise invoice header information is set for the payment account.</p> */ public Builder message(String message) { this.message = message; return this; } public Reasons build() { return new Reasons(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RegisterDelegatedAdministratorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 Alibaba Cloud account 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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RegisterDelegatedAdministratorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RegisterDelegatedAdministratorResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(RegisterDelegatedAdministratorResponseBody model) { this.requestId = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RemoveCloudAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 Alibaba Cloud account 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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RemoveCloudAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RemoveCloudAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(RemoveCloudAccountResponseBody model) { this.requestId = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RetryChangeAccountEmailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RetryChangeAccountEmailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/RetryChangeAccountEmailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(RetryChangeAccountEmailResponseBody model) { this.requestId = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendEmailVerificationForMessageContactRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 SendEmailVerificationForMessageContactRequest} extends {@link RequestModel} * * <p>SendEmailVerificationForMessageContactRequest</p> */ public class SendEmailVerificationForMessageContactRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EmailAddress") private String emailAddress; private SendEmailVerificationForMessageContactRequest(Builder builder) { super(builder); this.contactId = builder.contactId; this.emailAddress = builder.emailAddress; } public static Builder builder() { return new Builder(); } public static SendEmailVerificationForMessageContactRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return emailAddress */ public String getEmailAddress() { return this.emailAddress; } public static final class Builder extends Request.Builder<SendEmailVerificationForMessageContactRequest, Builder> { private String contactId; private String emailAddress; private Builder() { super(); } private Builder(SendEmailVerificationForMessageContactRequest request) { super(request); this.contactId = request.contactId; this.emailAddress = request.emailAddress; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-5gsZAGt***PGduDF</p> */ public Builder contactId(String contactId) { this.putQueryParameter("ContactId", contactId); this.contactId = contactId; return this; } /** * <p>The email address of the contact.</p> * <p>The specified email address must be the one you specify when you call <a href="~~AddMessageContact~~">AddMessageContact</a>.</p> * * <strong>example:</strong> * <p>someone***@example.com</p> */ public Builder emailAddress(String emailAddress) { this.putQueryParameter("EmailAddress", emailAddress); this.emailAddress = emailAddress; return this; } @Override public SendEmailVerificationForMessageContactRequest build() { return new SendEmailVerificationForMessageContactRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendEmailVerificationForMessageContactResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 SendEmailVerificationForMessageContactResponse} extends {@link TeaModel} * * <p>SendEmailVerificationForMessageContactResponse</p> */ public class SendEmailVerificationForMessageContactResponse 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 SendEmailVerificationForMessageContactResponseBody body; private SendEmailVerificationForMessageContactResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static SendEmailVerificationForMessageContactResponse 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 SendEmailVerificationForMessageContactResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<SendEmailVerificationForMessageContactResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(SendEmailVerificationForMessageContactResponseBody body); @Override SendEmailVerificationForMessageContactResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<SendEmailVerificationForMessageContactResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private SendEmailVerificationForMessageContactResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(SendEmailVerificationForMessageContactResponse 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(SendEmailVerificationForMessageContactResponseBody body) { this.body = body; return this; } @Override public SendEmailVerificationForMessageContactResponse build() { return new SendEmailVerificationForMessageContactResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendEmailVerificationForMessageContactResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 SendEmailVerificationForMessageContactResponseBody} extends {@link TeaModel} * * <p>SendEmailVerificationForMessageContactResponseBody</p> */ public class SendEmailVerificationForMessageContactResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private SendEmailVerificationForMessageContactResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static SendEmailVerificationForMessageContactResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(SendEmailVerificationForMessageContactResponseBody model) { this.requestId = model.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 SendEmailVerificationForMessageContactResponseBody build() { return new SendEmailVerificationForMessageContactResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendPhoneVerificationForMessageContactRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 SendPhoneVerificationForMessageContactRequest} extends {@link RequestModel} * * <p>SendPhoneVerificationForMessageContactRequest</p> */ public class SendPhoneVerificationForMessageContactRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContactId") private String contactId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PhoneNumber") private String phoneNumber; private SendPhoneVerificationForMessageContactRequest(Builder builder) { super(builder); this.contactId = builder.contactId; this.phoneNumber = builder.phoneNumber; } public static Builder builder() { return new Builder(); } public static SendPhoneVerificationForMessageContactRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return contactId */ public String getContactId() { return this.contactId; } /** * @return phoneNumber */ public String getPhoneNumber() { return this.phoneNumber; } public static final class Builder extends Request.Builder<SendPhoneVerificationForMessageContactRequest, Builder> { private String contactId; private String phoneNumber; private Builder() { super(); } private Builder(SendPhoneVerificationForMessageContactRequest request) { super(request); this.contactId = request.contactId; this.phoneNumber = request.phoneNumber; } /** * <p>The ID of the contact.</p> * * <strong>example:</strong> * <p>c-qL4HqKONzOM7****</p> */ public Builder contactId(String contactId) { this.putQueryParameter("ContactId", contactId); this.contactId = contactId; return this; } /** * <p>The mobile phone number of the contact.</p> * <p>The value must be in the <code>&lt;Country code&gt;-&lt;Mobile phone number&gt;</code> format.</p> * <p>The specified mobile phone number must be the one you specify when you call the <a href="~~AddMessageContact~~">AddMessageContact</a> operation.</p> * * <strong>example:</strong> * <p>86-139****1234</p> */ public Builder phoneNumber(String phoneNumber) { this.putQueryParameter("PhoneNumber", phoneNumber); this.phoneNumber = phoneNumber; return this; } @Override public SendPhoneVerificationForMessageContactRequest build() { return new SendPhoneVerificationForMessageContactRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendPhoneVerificationForMessageContactResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 SendPhoneVerificationForMessageContactResponse} extends {@link TeaModel} * * <p>SendPhoneVerificationForMessageContactResponse</p> */ public class SendPhoneVerificationForMessageContactResponse 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 SendPhoneVerificationForMessageContactResponseBody body; private SendPhoneVerificationForMessageContactResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static SendPhoneVerificationForMessageContactResponse 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 SendPhoneVerificationForMessageContactResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<SendPhoneVerificationForMessageContactResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(SendPhoneVerificationForMessageContactResponseBody body); @Override SendPhoneVerificationForMessageContactResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<SendPhoneVerificationForMessageContactResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private SendPhoneVerificationForMessageContactResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(SendPhoneVerificationForMessageContactResponse 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(SendPhoneVerificationForMessageContactResponseBody body) { this.body = body; return this; } @Override public SendPhoneVerificationForMessageContactResponse build() { return new SendPhoneVerificationForMessageContactResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendPhoneVerificationForMessageContactResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 SendPhoneVerificationForMessageContactResponseBody} extends {@link TeaModel} * * <p>SendPhoneVerificationForMessageContactResponseBody</p> */ public class SendPhoneVerificationForMessageContactResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private SendPhoneVerificationForMessageContactResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static SendPhoneVerificationForMessageContactResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(SendPhoneVerificationForMessageContactResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>CD76D376-2517-4924-92C5-DBC52262F93A</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public SendPhoneVerificationForMessageContactResponseBody build() { return new SendPhoneVerificationForMessageContactResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendVerificationCodeForBindSecureMobilePhoneRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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 Alibaba Cloud account ID of the member.</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 member for security purposes.</p> * <p>Specify the mobile phone number in the &lt;Country code&gt;-&lt;Mobile phone number&gt; format.</p> * <blockquote> * <p>Mobile phone numbers in the <code>86-&lt;Mobile phone number&gt;</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendVerificationCodeForBindSecureMobilePhoneResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendVerificationCodeForBindSecureMobilePhoneResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(SendVerificationCodeForBindSecureMobilePhoneResponseBody model) { this.expirationDate = model.expirationDate; this.requestId = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendVerificationCodeForEnableRDRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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>&lt;Country code&gt;-&lt;Mobile phone number&gt;</code> format.</p> * <blockquote> * <p>Mobile phone numbers in the <code>86-&lt;Mobile phone number&gt;</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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendVerificationCodeForEnableRDResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SendVerificationCodeForEnableRDResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(SendVerificationCodeForEnableRDResponseBody model) { this.requestId = model.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SetMemberDeletionPermissionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SetMemberDeletionPermissionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419
java-sources/com/aliyun/alibabacloud-resourcedirectorymaster20220419/2.0.9/com/aliyun/sdk/service/resourcedirectorymaster20220419/models/SetMemberDeletionPermissionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcedirectorymaster20220419.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(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(SetMemberDeletionPermissionResponseBody model) { this.managementAccountId = model.managementAccountId; this.memberDeletionStatus = model.memberDeletionStatus; this.requestId = model.requestId; this.resourceDirectoryId = model.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); } } }