index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/SetSecurityPreferenceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 SetSecurityPreferenceResponseBody} extends {@link TeaModel}
*
* <p>SetSecurityPreferenceResponseBody</p>
*/
public class SetSecurityPreferenceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SecurityPreference")
private SecurityPreference securityPreference;
private SetSecurityPreferenceResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.securityPreference = builder.securityPreference;
}
public static Builder builder() {
return new Builder();
}
public static SetSecurityPreferenceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return securityPreference
*/
public SecurityPreference getSecurityPreference() {
return this.securityPreference;
}
public static final class Builder {
private String requestId;
private SecurityPreference securityPreference;
private Builder() {
}
private Builder(SetSecurityPreferenceResponseBody model) {
this.requestId = model.requestId;
this.securityPreference = model.securityPreference;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>A978915D-F279-4CA0-A89B-9A71219FFB3E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The security preferences.</p>
*/
public Builder securityPreference(SecurityPreference securityPreference) {
this.securityPreference = securityPreference;
return this;
}
public SetSecurityPreferenceResponseBody build() {
return new SetSecurityPreferenceResponseBody(this);
}
}
/**
*
* {@link SetSecurityPreferenceResponseBody} extends {@link TeaModel}
*
* <p>SetSecurityPreferenceResponseBody</p>
*/
public static class AccessKeyPreference extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllowUserToManageAccessKeys")
private Boolean allowUserToManageAccessKeys;
private AccessKeyPreference(Builder builder) {
this.allowUserToManageAccessKeys = builder.allowUserToManageAccessKeys;
}
public static Builder builder() {
return new Builder();
}
public static AccessKeyPreference create() {
return builder().build();
}
/**
* @return allowUserToManageAccessKeys
*/
public Boolean getAllowUserToManageAccessKeys() {
return this.allowUserToManageAccessKeys;
}
public static final class Builder {
private Boolean allowUserToManageAccessKeys;
private Builder() {
}
private Builder(AccessKeyPreference model) {
this.allowUserToManageAccessKeys = model.allowUserToManageAccessKeys;
}
/**
* <p>Indicates whether RAM users can manage their AccessKey pairs.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder allowUserToManageAccessKeys(Boolean allowUserToManageAccessKeys) {
this.allowUserToManageAccessKeys = allowUserToManageAccessKeys;
return this;
}
public AccessKeyPreference build() {
return new AccessKeyPreference(this);
}
}
}
/**
*
* {@link SetSecurityPreferenceResponseBody} extends {@link TeaModel}
*
* <p>SetSecurityPreferenceResponseBody</p>
*/
public static class LoginProfilePreference extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllowUserToChangePassword")
private Boolean allowUserToChangePassword;
@com.aliyun.core.annotation.NameInMap("EnableSaveMFATicket")
private Boolean enableSaveMFATicket;
@com.aliyun.core.annotation.NameInMap("LoginNetworkMasks")
private String loginNetworkMasks;
@com.aliyun.core.annotation.NameInMap("LoginSessionDuration")
private Integer loginSessionDuration;
private LoginProfilePreference(Builder builder) {
this.allowUserToChangePassword = builder.allowUserToChangePassword;
this.enableSaveMFATicket = builder.enableSaveMFATicket;
this.loginNetworkMasks = builder.loginNetworkMasks;
this.loginSessionDuration = builder.loginSessionDuration;
}
public static Builder builder() {
return new Builder();
}
public static LoginProfilePreference create() {
return builder().build();
}
/**
* @return allowUserToChangePassword
*/
public Boolean getAllowUserToChangePassword() {
return this.allowUserToChangePassword;
}
/**
* @return enableSaveMFATicket
*/
public Boolean getEnableSaveMFATicket() {
return this.enableSaveMFATicket;
}
/**
* @return loginNetworkMasks
*/
public String getLoginNetworkMasks() {
return this.loginNetworkMasks;
}
/**
* @return loginSessionDuration
*/
public Integer getLoginSessionDuration() {
return this.loginSessionDuration;
}
public static final class Builder {
private Boolean allowUserToChangePassword;
private Boolean enableSaveMFATicket;
private String loginNetworkMasks;
private Integer loginSessionDuration;
private Builder() {
}
private Builder(LoginProfilePreference model) {
this.allowUserToChangePassword = model.allowUserToChangePassword;
this.enableSaveMFATicket = model.enableSaveMFATicket;
this.loginNetworkMasks = model.loginNetworkMasks;
this.loginSessionDuration = model.loginSessionDuration;
}
/**
* <p>Indicates whether RAM users can change their passwords.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder allowUserToChangePassword(Boolean allowUserToChangePassword) {
this.allowUserToChangePassword = allowUserToChangePassword;
return this;
}
/**
* <p>Indicates whether the MFA devices of RAM users are remembered.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder enableSaveMFATicket(Boolean enableSaveMFATicket) {
this.enableSaveMFATicket = enableSaveMFATicket;
return this;
}
/**
* <p>The subnet mask.</p>
*
* <strong>example:</strong>
* <p>10.0.0.0/8</p>
*/
public Builder loginNetworkMasks(String loginNetworkMasks) {
this.loginNetworkMasks = loginNetworkMasks;
return this;
}
/**
* <p>The validity period of the logon session of RAM users.</p>
*
* <strong>example:</strong>
* <p>6</p>
*/
public Builder loginSessionDuration(Integer loginSessionDuration) {
this.loginSessionDuration = loginSessionDuration;
return this;
}
public LoginProfilePreference build() {
return new LoginProfilePreference(this);
}
}
}
/**
*
* {@link SetSecurityPreferenceResponseBody} extends {@link TeaModel}
*
* <p>SetSecurityPreferenceResponseBody</p>
*/
public static class MFAPreference extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllowUserToManageMFADevices")
private Boolean allowUserToManageMFADevices;
private MFAPreference(Builder builder) {
this.allowUserToManageMFADevices = builder.allowUserToManageMFADevices;
}
public static Builder builder() {
return new Builder();
}
public static MFAPreference create() {
return builder().build();
}
/**
* @return allowUserToManageMFADevices
*/
public Boolean getAllowUserToManageMFADevices() {
return this.allowUserToManageMFADevices;
}
public static final class Builder {
private Boolean allowUserToManageMFADevices;
private Builder() {
}
private Builder(MFAPreference model) {
this.allowUserToManageMFADevices = model.allowUserToManageMFADevices;
}
/**
* <p>Indicates whether RAM users can manage their MFA devices.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder allowUserToManageMFADevices(Boolean allowUserToManageMFADevices) {
this.allowUserToManageMFADevices = allowUserToManageMFADevices;
return this;
}
public MFAPreference build() {
return new MFAPreference(this);
}
}
}
/**
*
* {@link SetSecurityPreferenceResponseBody} extends {@link TeaModel}
*
* <p>SetSecurityPreferenceResponseBody</p>
*/
public static class PublicKeyPreference extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllowUserToManagePublicKeys")
private Boolean allowUserToManagePublicKeys;
private PublicKeyPreference(Builder builder) {
this.allowUserToManagePublicKeys = builder.allowUserToManagePublicKeys;
}
public static Builder builder() {
return new Builder();
}
public static PublicKeyPreference create() {
return builder().build();
}
/**
* @return allowUserToManagePublicKeys
*/
public Boolean getAllowUserToManagePublicKeys() {
return this.allowUserToManagePublicKeys;
}
public static final class Builder {
private Boolean allowUserToManagePublicKeys;
private Builder() {
}
private Builder(PublicKeyPreference model) {
this.allowUserToManagePublicKeys = model.allowUserToManagePublicKeys;
}
/**
* <p>Indicates whether RAM users can manage their public keys.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder allowUserToManagePublicKeys(Boolean allowUserToManagePublicKeys) {
this.allowUserToManagePublicKeys = allowUserToManagePublicKeys;
return this;
}
public PublicKeyPreference build() {
return new PublicKeyPreference(this);
}
}
}
/**
*
* {@link SetSecurityPreferenceResponseBody} extends {@link TeaModel}
*
* <p>SetSecurityPreferenceResponseBody</p>
*/
public static class SecurityPreference extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccessKeyPreference")
private AccessKeyPreference accessKeyPreference;
@com.aliyun.core.annotation.NameInMap("LoginProfilePreference")
private LoginProfilePreference loginProfilePreference;
@com.aliyun.core.annotation.NameInMap("MFAPreference")
private MFAPreference MFAPreference;
@com.aliyun.core.annotation.NameInMap("PublicKeyPreference")
private PublicKeyPreference publicKeyPreference;
private SecurityPreference(Builder builder) {
this.accessKeyPreference = builder.accessKeyPreference;
this.loginProfilePreference = builder.loginProfilePreference;
this.MFAPreference = builder.MFAPreference;
this.publicKeyPreference = builder.publicKeyPreference;
}
public static Builder builder() {
return new Builder();
}
public static SecurityPreference create() {
return builder().build();
}
/**
* @return accessKeyPreference
*/
public AccessKeyPreference getAccessKeyPreference() {
return this.accessKeyPreference;
}
/**
* @return loginProfilePreference
*/
public LoginProfilePreference getLoginProfilePreference() {
return this.loginProfilePreference;
}
/**
* @return MFAPreference
*/
public MFAPreference getMFAPreference() {
return this.MFAPreference;
}
/**
* @return publicKeyPreference
*/
public PublicKeyPreference getPublicKeyPreference() {
return this.publicKeyPreference;
}
public static final class Builder {
private AccessKeyPreference accessKeyPreference;
private LoginProfilePreference loginProfilePreference;
private MFAPreference MFAPreference;
private PublicKeyPreference publicKeyPreference;
private Builder() {
}
private Builder(SecurityPreference model) {
this.accessKeyPreference = model.accessKeyPreference;
this.loginProfilePreference = model.loginProfilePreference;
this.MFAPreference = model.MFAPreference;
this.publicKeyPreference = model.publicKeyPreference;
}
/**
* <p>The AccessKey pair preference.</p>
*/
public Builder accessKeyPreference(AccessKeyPreference accessKeyPreference) {
this.accessKeyPreference = accessKeyPreference;
return this;
}
/**
* <p>The logon preference.</p>
*/
public Builder loginProfilePreference(LoginProfilePreference loginProfilePreference) {
this.loginProfilePreference = loginProfilePreference;
return this;
}
/**
* <p>The MFA preference.</p>
*/
public Builder MFAPreference(MFAPreference MFAPreference) {
this.MFAPreference = MFAPreference;
return this;
}
/**
* <p>The public key preference.</p>
* <blockquote>
* <p> This parameter is valid only for the Japan site.</p>
* </blockquote>
*/
public Builder publicKeyPreference(PublicKeyPreference publicKeyPreference) {
this.publicKeyPreference = publicKeyPreference;
return this;
}
public SecurityPreference build() {
return new SecurityPreference(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/TagResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link TagResourcesRequest} extends {@link RequestModel}
*
* <p>TagResourcesRequest</p>
*/
public class TagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceNames")
private java.util.List<String> resourceNames;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private TagResourcesRequest(Builder builder) {
super(builder);
this.resourceNames = builder.resourceNames;
this.resourceType = builder.resourceType;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static TagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return resourceNames
*/
public java.util.List<String> getResourceNames() {
return this.resourceNames;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<TagResourcesRequest, Builder> {
private java.util.List<String> resourceNames;
private String resourceType;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(TagResourcesRequest request) {
super(request);
this.resourceNames = request.resourceNames;
this.resourceType = request.resourceType;
this.tag = request.tag;
}
/**
* <p>The names of the resources. You can specify up to 50 resource names.</p>
*/
public Builder resourceNames(java.util.List<String> resourceNames) {
String resourceNamesShrink = shrink(resourceNames, "ResourceNames", "json");
this.putQueryParameter("ResourceNames", resourceNamesShrink);
this.resourceNames = resourceNames;
return this;
}
/**
* <p>The resource type.</p>
* <p>Enumerated values:</p>
* <ul>
* <li>role</li>
* <li>policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>role</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The tags. You can specify up to 20 tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
String tagShrink = shrink(tag, "Tag", "json");
this.putQueryParameter("Tag", tagShrink);
this.tag = tag;
return this;
}
@Override
public TagResourcesRequest build() {
return new TagResourcesRequest(this);
}
}
/**
*
* {@link TagResourcesRequest} extends {@link TeaModel}
*
* <p>TagResourcesRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
private Builder() {
}
private Builder(Tag model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The key of the tag. The tag key can be up to 128 characters in length.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of the tag. The tag value can be up to 256 characters in length.</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-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/TagResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link TagResourcesResponse} extends {@link TeaModel}
*
* <p>TagResourcesResponse</p>
*/
public class TagResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private TagResourcesResponseBody body;
private TagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static TagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public TagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<TagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(TagResourcesResponseBody body);
@Override
TagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<TagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private TagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(TagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(TagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public TagResourcesResponse build() {
return new TagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/TagResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link TagResourcesResponseBody} extends {@link TeaModel}
*
* <p>TagResourcesResponseBody</p>
*/
public class TagResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private TagResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static TagResourcesResponseBody create() {
return builder().build();
}
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(TagResourcesResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>697852FB-50D7-44D9-9774-530C31EAC572</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public TagResourcesResponseBody build() {
return new TagResourcesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UnbindMFADeviceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UnbindMFADeviceRequest} extends {@link RequestModel}
*
* <p>UnbindMFADeviceRequest</p>
*/
public class UnbindMFADeviceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private UnbindMFADeviceRequest(Builder builder) {
super(builder);
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static UnbindMFADeviceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder extends Request.Builder<UnbindMFADeviceRequest, Builder> {
private String userName;
private Builder() {
super();
}
private Builder(UnbindMFADeviceRequest request) {
super(request);
this.userName = request.userName;
}
/**
* <p>Specifies the username.</p>
*
* <strong>example:</strong>
* <p>zhangq****</p>
*/
public Builder userName(String userName) {
this.putQueryParameter("UserName", userName);
this.userName = userName;
return this;
}
@Override
public UnbindMFADeviceRequest build() {
return new UnbindMFADeviceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UnbindMFADeviceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UnbindMFADeviceResponse} extends {@link TeaModel}
*
* <p>UnbindMFADeviceResponse</p>
*/
public class UnbindMFADeviceResponse 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 UnbindMFADeviceResponseBody body;
private UnbindMFADeviceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UnbindMFADeviceResponse 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 UnbindMFADeviceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UnbindMFADeviceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UnbindMFADeviceResponseBody body);
@Override
UnbindMFADeviceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UnbindMFADeviceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UnbindMFADeviceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UnbindMFADeviceResponse 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(UnbindMFADeviceResponseBody body) {
this.body = body;
return this;
}
@Override
public UnbindMFADeviceResponse build() {
return new UnbindMFADeviceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UnbindMFADeviceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UnbindMFADeviceResponseBody} extends {@link TeaModel}
*
* <p>UnbindMFADeviceResponseBody</p>
*/
public class UnbindMFADeviceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MFADevice")
private MFADevice MFADevice;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UnbindMFADeviceResponseBody(Builder builder) {
this.MFADevice = builder.MFADevice;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UnbindMFADeviceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return MFADevice
*/
public MFADevice getMFADevice() {
return this.MFADevice;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private MFADevice MFADevice;
private String requestId;
private Builder() {
}
private Builder(UnbindMFADeviceResponseBody model) {
this.MFADevice = model.MFADevice;
this.requestId = model.requestId;
}
/**
* <p>The information about the MFA device.</p>
*/
public Builder MFADevice(MFADevice MFADevice) {
this.MFADevice = MFADevice;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UnbindMFADeviceResponseBody build() {
return new UnbindMFADeviceResponseBody(this);
}
}
/**
*
* {@link UnbindMFADeviceResponseBody} extends {@link TeaModel}
*
* <p>UnbindMFADeviceResponseBody</p>
*/
public static class MFADevice extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SerialNumber")
private String serialNumber;
private MFADevice(Builder builder) {
this.serialNumber = builder.serialNumber;
}
public static Builder builder() {
return new Builder();
}
public static MFADevice create() {
return builder().build();
}
/**
* @return serialNumber
*/
public String getSerialNumber() {
return this.serialNumber;
}
public static final class Builder {
private String serialNumber;
private Builder() {
}
private Builder(MFADevice model) {
this.serialNumber = model.serialNumber;
}
/**
* <p>The serial number of the MFA device.</p>
*
* <strong>example:</strong>
* <p>acs:ram::123456789012****:mfa/device002</p>
*/
public Builder serialNumber(String serialNumber) {
this.serialNumber = serialNumber;
return this;
}
public MFADevice build() {
return new MFADevice(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UntagResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UntagResourcesRequest} extends {@link RequestModel}
*
* <p>UntagResourcesRequest</p>
*/
public class UntagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("All")
private Boolean all;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceNames")
private java.util.List<String> resourceNames;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKeys")
private java.util.List<String> tagKeys;
private UntagResourcesRequest(Builder builder) {
super(builder);
this.all = builder.all;
this.resourceNames = builder.resourceNames;
this.resourceType = builder.resourceType;
this.tagKeys = builder.tagKeys;
}
public static Builder builder() {
return new Builder();
}
public static UntagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return all
*/
public Boolean getAll() {
return this.all;
}
/**
* @return resourceNames
*/
public java.util.List<String> getResourceNames() {
return this.resourceNames;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKeys
*/
public java.util.List<String> getTagKeys() {
return this.tagKeys;
}
public static final class Builder extends Request.Builder<UntagResourcesRequest, Builder> {
private Boolean all;
private java.util.List<String> resourceNames;
private String resourceType;
private java.util.List<String> tagKeys;
private Builder() {
super();
}
private Builder(UntagResourcesRequest request) {
super(request);
this.all = request.all;
this.resourceNames = request.resourceNames;
this.resourceType = request.resourceType;
this.tagKeys = request.tagKeys;
}
/**
* <p>Specifies whether to remove all tags from the resources.</p>
* <p>Enumerated values:</p>
* <ul>
* <li>true</li>
* <li>false</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder all(Boolean all) {
this.putQueryParameter("All", all);
this.all = all;
return this;
}
/**
* <p>The names of the resources. You can specify up to 50 resource names.</p>
*/
public Builder resourceNames(java.util.List<String> resourceNames) {
String resourceNamesShrink = shrink(resourceNames, "ResourceNames", "json");
this.putQueryParameter("ResourceNames", resourceNamesShrink);
this.resourceNames = resourceNames;
return this;
}
/**
* <p>The resource type.</p>
* <p>Enumerated values:</p>
* <ul>
* <li>role</li>
* <li>policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>role</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The keys of the tags. You can specify up to 20 tag keys.</p>
*/
public Builder tagKeys(java.util.List<String> tagKeys) {
String tagKeysShrink = shrink(tagKeys, "TagKeys", "json");
this.putQueryParameter("TagKeys", tagKeysShrink);
this.tagKeys = tagKeys;
return this;
}
@Override
public UntagResourcesRequest build() {
return new UntagResourcesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UntagResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UntagResourcesResponse} extends {@link TeaModel}
*
* <p>UntagResourcesResponse</p>
*/
public class UntagResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UntagResourcesResponseBody body;
private UntagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UntagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UntagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UntagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UntagResourcesResponseBody body);
@Override
UntagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UntagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UntagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UntagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UntagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public UntagResourcesResponse build() {
return new UntagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UntagResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link UntagResourcesResponseBody} extends {@link TeaModel}
*
* <p>UntagResourcesResponseBody</p>
*/
public class UntagResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UntagResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UntagResourcesResponseBody create() {
return builder().build();
}
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(UntagResourcesResponseBody model) {
this.requestId = model.requestId;
}
/**
* <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 UntagResourcesResponseBody build() {
return new UntagResourcesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateAccessKeyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateAccessKeyRequest} extends {@link RequestModel}
*
* <p>UpdateAccessKeyRequest</p>
*/
public class UpdateAccessKeyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserAccessKeyId")
private String userAccessKeyId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private UpdateAccessKeyRequest(Builder builder) {
super(builder);
this.status = builder.status;
this.userAccessKeyId = builder.userAccessKeyId;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAccessKeyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return userAccessKeyId
*/
public String getUserAccessKeyId() {
return this.userAccessKeyId;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder extends Request.Builder<UpdateAccessKeyRequest, Builder> {
private String status;
private String userAccessKeyId;
private String userName;
private Builder() {
super();
}
private Builder(UpdateAccessKeyRequest request) {
super(request);
this.status = request.status;
this.userAccessKeyId = request.userAccessKeyId;
this.userName = request.userName;
}
/**
* <p>The status of the AccessKey pair. Valid values: <code>Active</code> and <code>Inactive</code>.</p>
*
* <strong>example:</strong>
* <p>Inactive</p>
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* <p>The AccessKey ID in the AccessKey pair whose status you want to change.``</p>
*
* <strong>example:</strong>
* <p>0wNEpMMlzy7s****</p>
*/
public Builder userAccessKeyId(String userAccessKeyId) {
this.putQueryParameter("UserAccessKeyId", userAccessKeyId);
this.userAccessKeyId = userAccessKeyId;
return this;
}
/**
* <p>The name of the RAM user.</p>
*
* <strong>example:</strong>
* <p>zhangq****</p>
*/
public Builder userName(String userName) {
this.putQueryParameter("UserName", userName);
this.userName = userName;
return this;
}
@Override
public UpdateAccessKeyRequest build() {
return new UpdateAccessKeyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateAccessKeyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateAccessKeyResponse} extends {@link TeaModel}
*
* <p>UpdateAccessKeyResponse</p>
*/
public class UpdateAccessKeyResponse 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 UpdateAccessKeyResponseBody body;
private UpdateAccessKeyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateAccessKeyResponse 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 UpdateAccessKeyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateAccessKeyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateAccessKeyResponseBody body);
@Override
UpdateAccessKeyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateAccessKeyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateAccessKeyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateAccessKeyResponse 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(UpdateAccessKeyResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateAccessKeyResponse build() {
return new UpdateAccessKeyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateAccessKeyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateAccessKeyResponseBody} extends {@link TeaModel}
*
* <p>UpdateAccessKeyResponseBody</p>
*/
public class UpdateAccessKeyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateAccessKeyResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateAccessKeyResponseBody 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(UpdateAccessKeyResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateAccessKeyResponseBody build() {
return new UpdateAccessKeyResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateGroupRequest} extends {@link RequestModel}
*
* <p>UpdateGroupRequest</p>
*/
public class UpdateGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GroupName")
private String groupName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewComments")
private String newComments;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewGroupName")
private String newGroupName;
private UpdateGroupRequest(Builder builder) {
super(builder);
this.groupName = builder.groupName;
this.newComments = builder.newComments;
this.newGroupName = builder.newGroupName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return newComments
*/
public String getNewComments() {
return this.newComments;
}
/**
* @return newGroupName
*/
public String getNewGroupName() {
return this.newGroupName;
}
public static final class Builder extends Request.Builder<UpdateGroupRequest, Builder> {
private String groupName;
private String newComments;
private String newGroupName;
private Builder() {
super();
}
private Builder(UpdateGroupRequest request) {
super(request);
this.groupName = request.groupName;
this.newComments = request.newComments;
this.newGroupName = request.newGroupName;
}
/**
* <p>The name of the RAM user group.</p>
*
* <strong>example:</strong>
* <p>Dev-Team</p>
*/
public Builder groupName(String groupName) {
this.putQueryParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* <p>The new description of the RAM user group.</p>
* <p>The new description must be 1 to 128 characters in length.</p>
*
* <strong>example:</strong>
* <p>NewDev-Team</p>
*/
public Builder newComments(String newComments) {
this.putQueryParameter("NewComments", newComments);
this.newComments = newComments;
return this;
}
/**
* <p>The new name of the RAM user group.</p>
* <p>The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>NewDev-Team</p>
*/
public Builder newGroupName(String newGroupName) {
this.putQueryParameter("NewGroupName", newGroupName);
this.newGroupName = newGroupName;
return this;
}
@Override
public UpdateGroupRequest build() {
return new UpdateGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateGroupResponse} extends {@link TeaModel}
*
* <p>UpdateGroupResponse</p>
*/
public class UpdateGroupResponse 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 UpdateGroupResponseBody body;
private UpdateGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateGroupResponse 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 UpdateGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateGroupResponseBody body);
@Override
UpdateGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateGroupResponse 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(UpdateGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateGroupResponse build() {
return new UpdateGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateGroupResponseBody} extends {@link TeaModel}
*
* <p>UpdateGroupResponseBody</p>
*/
public class UpdateGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Group")
private Group group;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateGroupResponseBody(Builder builder) {
this.group = builder.group;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateGroupResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return group
*/
public Group getGroup() {
return this.group;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Group group;
private String requestId;
private Builder() {
}
private Builder(UpdateGroupResponseBody model) {
this.group = model.group;
this.requestId = model.requestId;
}
/**
* <p>The information about the RAM user group.</p>
*/
public Builder group(Group group) {
this.group = group;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>EC6647CC-0A36-EC7A-BA72-CC81BF3DE182</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateGroupResponseBody build() {
return new UpdateGroupResponseBody(this);
}
}
/**
*
* {@link UpdateGroupResponseBody} extends {@link TeaModel}
*
* <p>UpdateGroupResponseBody</p>
*/
public static class Group extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Comments")
private String comments;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("GroupId")
private String groupId;
@com.aliyun.core.annotation.NameInMap("GroupName")
private String groupName;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Group(Builder builder) {
this.comments = builder.comments;
this.createDate = builder.createDate;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Group create() {
return builder().build();
}
/**
* @return comments
*/
public String getComments() {
return this.comments;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String comments;
private String createDate;
private String groupId;
private String groupName;
private String updateDate;
private Builder() {
}
private Builder(Group model) {
this.comments = model.comments;
this.createDate = model.createDate;
this.groupId = model.groupId;
this.groupName = model.groupName;
this.updateDate = model.updateDate;
}
/**
* <p>The description.</p>
*
* <strong>example:</strong>
* <p>NewDev-Team</p>
*/
public Builder comments(String comments) {
this.comments = comments;
return this;
}
/**
* <p>The creation time.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The ID of the RAM user group.</p>
*
* <strong>example:</strong>
* <p>g-FpMEHiMysofp****</p>
*/
public Builder groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* <p>The name of the RAM user group.</p>
*
* <strong>example:</strong>
* <p>NewDev-Team</p>
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* <p>The modification time.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Group build() {
return new Group(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateLoginProfileRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateLoginProfileRequest} extends {@link RequestModel}
*
* <p>UpdateLoginProfileRequest</p>
*/
public class UpdateLoginProfileRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MFABindRequired")
private Boolean MFABindRequired;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Password")
private String password;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PasswordResetRequired")
private Boolean passwordResetRequired;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private UpdateLoginProfileRequest(Builder builder) {
super(builder);
this.MFABindRequired = builder.MFABindRequired;
this.password = builder.password;
this.passwordResetRequired = builder.passwordResetRequired;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateLoginProfileRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return MFABindRequired
*/
public Boolean getMFABindRequired() {
return this.MFABindRequired;
}
/**
* @return password
*/
public String getPassword() {
return this.password;
}
/**
* @return passwordResetRequired
*/
public Boolean getPasswordResetRequired() {
return this.passwordResetRequired;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder extends Request.Builder<UpdateLoginProfileRequest, Builder> {
private Boolean MFABindRequired;
private String password;
private Boolean passwordResetRequired;
private String userName;
private Builder() {
super();
}
private Builder(UpdateLoginProfileRequest request) {
super(request);
this.MFABindRequired = request.MFABindRequired;
this.password = request.password;
this.passwordResetRequired = request.passwordResetRequired;
this.userName = request.userName;
}
/**
* <p>Specifies whether a multi-factor authentication (MFA) device must be bound to the RAM user upon logon.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder MFABindRequired(Boolean MFABindRequired) {
this.putQueryParameter("MFABindRequired", MFABindRequired);
this.MFABindRequired = MFABindRequired;
return this;
}
/**
* <p>The logon password of the RAM user. The password must meet the password strength requirements.</p>
*
* <strong>example:</strong>
* <p>mypassword</p>
*/
public Builder password(String password) {
this.putQueryParameter("Password", password);
this.password = password;
return this;
}
/**
* <p>Specifies whether the RAM user has to change the password upon logon.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder passwordResetRequired(Boolean passwordResetRequired) {
this.putQueryParameter("PasswordResetRequired", passwordResetRequired);
this.passwordResetRequired = passwordResetRequired;
return this;
}
/**
* <p>The name of the RAM user.</p>
*
* <strong>example:</strong>
* <p>zhangq****</p>
*/
public Builder userName(String userName) {
this.putQueryParameter("UserName", userName);
this.userName = userName;
return this;
}
@Override
public UpdateLoginProfileRequest build() {
return new UpdateLoginProfileRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateLoginProfileResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateLoginProfileResponse} extends {@link TeaModel}
*
* <p>UpdateLoginProfileResponse</p>
*/
public class UpdateLoginProfileResponse 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 UpdateLoginProfileResponseBody body;
private UpdateLoginProfileResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateLoginProfileResponse 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 UpdateLoginProfileResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateLoginProfileResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateLoginProfileResponseBody body);
@Override
UpdateLoginProfileResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateLoginProfileResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateLoginProfileResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateLoginProfileResponse 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(UpdateLoginProfileResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateLoginProfileResponse build() {
return new UpdateLoginProfileResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateLoginProfileResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateLoginProfileResponseBody} extends {@link TeaModel}
*
* <p>UpdateLoginProfileResponseBody</p>
*/
public class UpdateLoginProfileResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateLoginProfileResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateLoginProfileResponseBody 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(UpdateLoginProfileResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateLoginProfileResponseBody build() {
return new UpdateLoginProfileResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdatePolicyDescriptionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdatePolicyDescriptionRequest} extends {@link RequestModel}
*
* <p>UpdatePolicyDescriptionRequest</p>
*/
public class UpdatePolicyDescriptionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewDescription")
private String newDescription;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
private UpdatePolicyDescriptionRequest(Builder builder) {
super(builder);
this.newDescription = builder.newDescription;
this.policyName = builder.policyName;
}
public static Builder builder() {
return new Builder();
}
public static UpdatePolicyDescriptionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return newDescription
*/
public String getNewDescription() {
return this.newDescription;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
public static final class Builder extends Request.Builder<UpdatePolicyDescriptionRequest, Builder> {
private String newDescription;
private String policyName;
private Builder() {
super();
}
private Builder(UpdatePolicyDescriptionRequest request) {
super(request);
this.newDescription = request.newDescription;
this.policyName = request.policyName;
}
/**
* <p>The description of the policy.</p>
* <p>The description must be 1 to 1,024 characters in length.</p>
*
* <strong>example:</strong>
* <p>This is a test policy.</p>
*/
public Builder newDescription(String newDescription) {
this.putQueryParameter("NewDescription", newDescription);
this.newDescription = newDescription;
return this;
}
/**
* <p>The name of the policy.</p>
*
* <strong>example:</strong>
* <p>TestPolicy</p>
*/
public Builder policyName(String policyName) {
this.putQueryParameter("PolicyName", policyName);
this.policyName = policyName;
return this;
}
@Override
public UpdatePolicyDescriptionRequest build() {
return new UpdatePolicyDescriptionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdatePolicyDescriptionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdatePolicyDescriptionResponse} extends {@link TeaModel}
*
* <p>UpdatePolicyDescriptionResponse</p>
*/
public class UpdatePolicyDescriptionResponse 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 UpdatePolicyDescriptionResponseBody body;
private UpdatePolicyDescriptionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdatePolicyDescriptionResponse 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 UpdatePolicyDescriptionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdatePolicyDescriptionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdatePolicyDescriptionResponseBody body);
@Override
UpdatePolicyDescriptionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdatePolicyDescriptionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdatePolicyDescriptionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdatePolicyDescriptionResponse 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(UpdatePolicyDescriptionResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdatePolicyDescriptionResponse build() {
return new UpdatePolicyDescriptionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdatePolicyDescriptionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdatePolicyDescriptionResponseBody} extends {@link TeaModel}
*
* <p>UpdatePolicyDescriptionResponseBody</p>
*/
public class UpdatePolicyDescriptionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Policy")
private Policy policy;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdatePolicyDescriptionResponseBody(Builder builder) {
this.policy = builder.policy;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdatePolicyDescriptionResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return policy
*/
public Policy getPolicy() {
return this.policy;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Policy policy;
private String requestId;
private Builder() {
}
private Builder(UpdatePolicyDescriptionResponseBody model) {
this.policy = model.policy;
this.requestId = model.requestId;
}
/**
* <p>The information about the policy.</p>
*/
public Builder policy(Policy policy) {
this.policy = policy;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7572DEBD-0ECE-518E-8682-D8CB82F8FE8E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdatePolicyDescriptionResponseBody build() {
return new UpdatePolicyDescriptionResponseBody(this);
}
}
/**
*
* {@link UpdatePolicyDescriptionResponseBody} extends {@link TeaModel}
*
* <p>UpdatePolicyDescriptionResponseBody</p>
*/
public static class Policy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DefaultVersion")
private String defaultVersion;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Policy(Builder builder) {
this.createDate = builder.createDate;
this.defaultVersion = builder.defaultVersion;
this.description = builder.description;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Policy create() {
return builder().build();
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return defaultVersion
*/
public String getDefaultVersion() {
return this.defaultVersion;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String createDate;
private String defaultVersion;
private String description;
private String policyName;
private String policyType;
private String updateDate;
private Builder() {
}
private Builder(Policy model) {
this.createDate = model.createDate;
this.defaultVersion = model.defaultVersion;
this.description = model.description;
this.policyName = model.policyName;
this.policyType = model.policyType;
this.updateDate = model.updateDate;
}
/**
* <p>The time when the policy was created.</p>
*
* <strong>example:</strong>
* <p>2022-02-28T07:04:15Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The version of the policy. Default value: v1.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder defaultVersion(String defaultVersion) {
this.defaultVersion = defaultVersion;
return this;
}
/**
* <p>The description of the policy.</p>
*
* <strong>example:</strong>
* <p>This is a test policy.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the policy.</p>
*
* <strong>example:</strong>
* <p>TestPolicy</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom</li>
* <li>System</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The time when the policy was modified.</p>
*
* <strong>example:</strong>
* <p>2022-02-28T07:05:37Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Policy build() {
return new Policy(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateRoleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateRoleRequest} extends {@link RequestModel}
*
* <p>UpdateRoleRequest</p>
*/
public class UpdateRoleRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewAssumeRolePolicyDocument")
private String newAssumeRolePolicyDocument;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewDescription")
private String newDescription;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewMaxSessionDuration")
private Long newMaxSessionDuration;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RoleName")
private String roleName;
private UpdateRoleRequest(Builder builder) {
super(builder);
this.newAssumeRolePolicyDocument = builder.newAssumeRolePolicyDocument;
this.newDescription = builder.newDescription;
this.newMaxSessionDuration = builder.newMaxSessionDuration;
this.roleName = builder.roleName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateRoleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return newAssumeRolePolicyDocument
*/
public String getNewAssumeRolePolicyDocument() {
return this.newAssumeRolePolicyDocument;
}
/**
* @return newDescription
*/
public String getNewDescription() {
return this.newDescription;
}
/**
* @return newMaxSessionDuration
*/
public Long getNewMaxSessionDuration() {
return this.newMaxSessionDuration;
}
/**
* @return roleName
*/
public String getRoleName() {
return this.roleName;
}
public static final class Builder extends Request.Builder<UpdateRoleRequest, Builder> {
private String newAssumeRolePolicyDocument;
private String newDescription;
private Long newMaxSessionDuration;
private String roleName;
private Builder() {
super();
}
private Builder(UpdateRoleRequest request) {
super(request);
this.newAssumeRolePolicyDocument = request.newAssumeRolePolicyDocument;
this.newDescription = request.newDescription;
this.newMaxSessionDuration = request.newMaxSessionDuration;
this.roleName = request.roleName;
}
/**
* <p>The trust policy that specifies the trusted entity to assume the RAM role.</p>
*
* <strong>example:</strong>
* <p>{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::12345678901234****:root" } } ], "Version": "1" }</p>
*/
public Builder newAssumeRolePolicyDocument(String newAssumeRolePolicyDocument) {
this.putQueryParameter("NewAssumeRolePolicyDocument", newAssumeRolePolicyDocument);
this.newAssumeRolePolicyDocument = newAssumeRolePolicyDocument;
return this;
}
/**
* <p>The new description of the RAM role.</p>
* <p>The description must be 1 to 1,024 characters in length.</p>
*
* <strong>example:</strong>
* <p>ECS administrator</p>
*/
public Builder newDescription(String newDescription) {
this.putQueryParameter("NewDescription", newDescription);
this.newDescription = newDescription;
return this;
}
/**
* <p>The maximum session time of the RAM role.</p>
* <p>Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.</p>
* <p>If you do not specify this parameter, the default value is used.</p>
*
* <strong>example:</strong>
* <p>3600</p>
*/
public Builder newMaxSessionDuration(Long newMaxSessionDuration) {
this.putQueryParameter("NewMaxSessionDuration", newMaxSessionDuration);
this.newMaxSessionDuration = newMaxSessionDuration;
return this;
}
/**
* <p>The name of the RAM role.</p>
* <p>The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).</p>
*
* <strong>example:</strong>
* <p>ECSAdmin</p>
*/
public Builder roleName(String roleName) {
this.putQueryParameter("RoleName", roleName);
this.roleName = roleName;
return this;
}
@Override
public UpdateRoleRequest build() {
return new UpdateRoleRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateRoleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateRoleResponse} extends {@link TeaModel}
*
* <p>UpdateRoleResponse</p>
*/
public class UpdateRoleResponse 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 UpdateRoleResponseBody body;
private UpdateRoleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateRoleResponse 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 UpdateRoleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateRoleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateRoleResponseBody body);
@Override
UpdateRoleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateRoleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateRoleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateRoleResponse 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(UpdateRoleResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateRoleResponse build() {
return new UpdateRoleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateRoleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateRoleResponseBody} extends {@link TeaModel}
*
* <p>UpdateRoleResponseBody</p>
*/
public class UpdateRoleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Role")
private Role role;
private UpdateRoleResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.role = builder.role;
}
public static Builder builder() {
return new Builder();
}
public static UpdateRoleResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return role
*/
public Role getRole() {
return this.role;
}
public static final class Builder {
private String requestId;
private Role role;
private Builder() {
}
private Builder(UpdateRoleResponseBody model) {
this.requestId = model.requestId;
this.role = model.role;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the RAM role.</p>
*/
public Builder role(Role role) {
this.role = role;
return this;
}
public UpdateRoleResponseBody build() {
return new UpdateRoleResponseBody(this);
}
}
/**
*
* {@link UpdateRoleResponseBody} extends {@link TeaModel}
*
* <p>UpdateRoleResponseBody</p>
*/
public static class Role extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Arn")
private String arn;
@com.aliyun.core.annotation.NameInMap("AssumeRolePolicyDocument")
private String assumeRolePolicyDocument;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("MaxSessionDuration")
private Long maxSessionDuration;
@com.aliyun.core.annotation.NameInMap("RoleId")
private String roleId;
@com.aliyun.core.annotation.NameInMap("RoleName")
private String roleName;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Role(Builder builder) {
this.arn = builder.arn;
this.assumeRolePolicyDocument = builder.assumeRolePolicyDocument;
this.createDate = builder.createDate;
this.description = builder.description;
this.maxSessionDuration = builder.maxSessionDuration;
this.roleId = builder.roleId;
this.roleName = builder.roleName;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Role create() {
return builder().build();
}
/**
* @return arn
*/
public String getArn() {
return this.arn;
}
/**
* @return assumeRolePolicyDocument
*/
public String getAssumeRolePolicyDocument() {
return this.assumeRolePolicyDocument;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return maxSessionDuration
*/
public Long getMaxSessionDuration() {
return this.maxSessionDuration;
}
/**
* @return roleId
*/
public String getRoleId() {
return this.roleId;
}
/**
* @return roleName
*/
public String getRoleName() {
return this.roleName;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String arn;
private String assumeRolePolicyDocument;
private String createDate;
private String description;
private Long maxSessionDuration;
private String roleId;
private String roleName;
private String updateDate;
private Builder() {
}
private Builder(Role model) {
this.arn = model.arn;
this.assumeRolePolicyDocument = model.assumeRolePolicyDocument;
this.createDate = model.createDate;
this.description = model.description;
this.maxSessionDuration = model.maxSessionDuration;
this.roleId = model.roleId;
this.roleName = model.roleName;
this.updateDate = model.updateDate;
}
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the RAM role.</p>
*
* <strong>example:</strong>
* <p>acs:ram::123456789012****:role/ECSAdmin</p>
*/
public Builder arn(String arn) {
this.arn = arn;
return this;
}
/**
* <p>The trust policy that specifies the trusted entity to assume the RAM role.</p>
*
* <strong>example:</strong>
* <p>{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }</p>
*/
public Builder assumeRolePolicyDocument(String assumeRolePolicyDocument) {
this.assumeRolePolicyDocument = assumeRolePolicyDocument;
return this;
}
/**
* <p>The time when the RAM role was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The description of the RAM role.</p>
*
* <strong>example:</strong>
* <p>ECS administrator</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The maximum session time of the RAM role.</p>
*
* <strong>example:</strong>
* <p>3600</p>
*/
public Builder maxSessionDuration(Long maxSessionDuration) {
this.maxSessionDuration = maxSessionDuration;
return this;
}
/**
* <p>The ID of the RAM role.</p>
*
* <strong>example:</strong>
* <p>901234567890****</p>
*/
public Builder roleId(String roleId) {
this.roleId = roleId;
return this;
}
/**
* <p>The name of the RAM role.</p>
*
* <strong>example:</strong>
* <p>ECSAdmin</p>
*/
public Builder roleName(String roleName) {
this.roleName = roleName;
return this;
}
/**
* <p>The time when the description of the RAM role was changed.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Role build() {
return new Role(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateUserRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateUserRequest} extends {@link RequestModel}
*
* <p>UpdateUserRequest</p>
*/
public class UpdateUserRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewComments")
private String newComments;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewDisplayName")
private String newDisplayName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewEmail")
private String newEmail;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewMobilePhone")
private String newMobilePhone;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NewUserName")
private String newUserName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private UpdateUserRequest(Builder builder) {
super(builder);
this.newComments = builder.newComments;
this.newDisplayName = builder.newDisplayName;
this.newEmail = builder.newEmail;
this.newMobilePhone = builder.newMobilePhone;
this.newUserName = builder.newUserName;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateUserRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return newComments
*/
public String getNewComments() {
return this.newComments;
}
/**
* @return newDisplayName
*/
public String getNewDisplayName() {
return this.newDisplayName;
}
/**
* @return newEmail
*/
public String getNewEmail() {
return this.newEmail;
}
/**
* @return newMobilePhone
*/
public String getNewMobilePhone() {
return this.newMobilePhone;
}
/**
* @return newUserName
*/
public String getNewUserName() {
return this.newUserName;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder extends Request.Builder<UpdateUserRequest, Builder> {
private String newComments;
private String newDisplayName;
private String newEmail;
private String newMobilePhone;
private String newUserName;
private String userName;
private Builder() {
super();
}
private Builder(UpdateUserRequest request) {
super(request);
this.newComments = request.newComments;
this.newDisplayName = request.newDisplayName;
this.newEmail = request.newEmail;
this.newMobilePhone = request.newMobilePhone;
this.newUserName = request.newUserName;
this.userName = request.userName;
}
/**
* <p>The new description of the RAM user.</p>
* <p>The description must be 1 to 128 characters in length.</p>
*
* <strong>example:</strong>
* <p>This is a cloud computing engineer.</p>
*/
public Builder newComments(String newComments) {
this.putQueryParameter("NewComments", newComments);
this.newComments = newComments;
return this;
}
/**
* <p>The new display name of the RAM user.</p>
* <p>The name must be 1 to 128 characters in length.</p>
*
* <strong>example:</strong>
* <p>xiaoq****</p>
*/
public Builder newDisplayName(String newDisplayName) {
this.putQueryParameter("NewDisplayName", newDisplayName);
this.newDisplayName = newDisplayName;
return this;
}
/**
* <p>The new email address of the RAM user.</p>
* <blockquote>
* <p> This parameter applies only to the China site (aliyun.com).</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>xiaoq****@example.com</p>
*/
public Builder newEmail(String newEmail) {
this.putQueryParameter("NewEmail", newEmail);
this.newEmail = newEmail;
return this;
}
/**
* <p>The new mobile phone number of the RAM user.</p>
* <p>Format: <Country code>-<Mobile phone number>.</p>
* <blockquote>
* <p> This parameter applies only to the China site (aliyun.com).</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>86-1860000****</p>
*/
public Builder newMobilePhone(String newMobilePhone) {
this.putQueryParameter("NewMobilePhone", newMobilePhone);
this.newMobilePhone = newMobilePhone;
return this;
}
/**
* <p>The new username of the RAM user.</p>
* <p>The username must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>xiaoq****</p>
*/
public Builder newUserName(String newUserName) {
this.putQueryParameter("NewUserName", newUserName);
this.newUserName = newUserName;
return this;
}
/**
* <p>The username of the RAM user.</p>
*
* <strong>example:</strong>
* <p>zhangq****</p>
*/
public Builder userName(String userName) {
this.putQueryParameter("UserName", userName);
this.userName = userName;
return this;
}
@Override
public UpdateUserRequest build() {
return new UpdateUserRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateUserResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateUserResponse} extends {@link TeaModel}
*
* <p>UpdateUserResponse</p>
*/
public class UpdateUserResponse 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 UpdateUserResponseBody body;
private UpdateUserResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateUserResponse 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 UpdateUserResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateUserResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateUserResponseBody body);
@Override
UpdateUserResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateUserResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateUserResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateUserResponse 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(UpdateUserResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateUserResponse build() {
return new UpdateUserResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501 | java-sources/com/aliyun/alibabacloud-ram20150501/1.0.4/com/aliyun/sdk/service/ram20150501/models/UpdateUserResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ram20150501.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 UpdateUserResponseBody} extends {@link TeaModel}
*
* <p>UpdateUserResponseBody</p>
*/
public class UpdateUserResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("User")
private User user;
private UpdateUserResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.user = builder.user;
}
public static Builder builder() {
return new Builder();
}
public static UpdateUserResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return user
*/
public User getUser() {
return this.user;
}
public static final class Builder {
private String requestId;
private User user;
private Builder() {
}
private Builder(UpdateUserResponseBody model) {
this.requestId = model.requestId;
this.user = model.user;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the RAM user.</p>
*/
public Builder user(User user) {
this.user = user;
return this;
}
public UpdateUserResponseBody build() {
return new UpdateUserResponseBody(this);
}
}
/**
*
* {@link UpdateUserResponseBody} extends {@link TeaModel}
*
* <p>UpdateUserResponseBody</p>
*/
public static class User extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Comments")
private String comments;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("Email")
private String email;
@com.aliyun.core.annotation.NameInMap("MobilePhone")
private String mobilePhone;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
@com.aliyun.core.annotation.NameInMap("UserId")
private String userId;
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private User(Builder builder) {
this.comments = builder.comments;
this.createDate = builder.createDate;
this.displayName = builder.displayName;
this.email = builder.email;
this.mobilePhone = builder.mobilePhone;
this.updateDate = builder.updateDate;
this.userId = builder.userId;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static User create() {
return builder().build();
}
/**
* @return comments
*/
public String getComments() {
return this.comments;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return mobilePhone
*/
public String getMobilePhone() {
return this.mobilePhone;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
/**
* @return userId
*/
public String getUserId() {
return this.userId;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder {
private String comments;
private String createDate;
private String displayName;
private String email;
private String mobilePhone;
private String updateDate;
private String userId;
private String userName;
private Builder() {
}
private Builder(User model) {
this.comments = model.comments;
this.createDate = model.createDate;
this.displayName = model.displayName;
this.email = model.email;
this.mobilePhone = model.mobilePhone;
this.updateDate = model.updateDate;
this.userId = model.userId;
this.userName = model.userName;
}
/**
* <p>The description of the RAM user.</p>
*
* <strong>example:</strong>
* <p>This is a cloud computing engineer.</p>
*/
public Builder comments(String comments) {
this.comments = comments;
return this;
}
/**
* <p>The point in time when the RAM user was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The display name of the RAM user.</p>
*
* <strong>example:</strong>
* <p>xiaoq****</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The email address of the RAM user.</p>
* <blockquote>
* <p> This parameter can be returned only on the China site (aliyun.com).</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>xiaoq****@example.com</p>
*/
public Builder email(String email) {
this.email = email;
return this;
}
/**
* <p>The mobile phone number of the RAM user.</p>
* <blockquote>
* <p> This parameter can be returned only on the China site (aliyun.com).</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>86-1860000****</p>
*/
public Builder mobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
return this;
}
/**
* <p>The point in time when the information about the RAM user was last modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-02-11T03:15:21Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
/**
* <p>The ID of the RAM user.</p>
*
* <strong>example:</strong>
* <p>122748924538****</p>
*/
public Builder userId(String userId) {
this.userId = userId;
return this;
}
/**
* <p>The username of the RAM user.</p>
*
* <strong>example:</strong>
* <p>xiaoq****</p>
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
public User build() {
return new User(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.rdc20180821.models.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
CompletableFuture<AddEnterpriseMemberResponse> addEnterpriseMember(AddEnterpriseMemberRequest request);
CompletableFuture<AddRamMemberResponse> addRamMember(AddRamMemberRequest request);
CompletableFuture<ApproveJoinCompanyResponse> approveJoinCompany(ApproveJoinCompanyRequest request);
CompletableFuture<CreateEnterpriseResponse> createEnterprise(CreateEnterpriseRequest request);
CompletableFuture<CreateWorkitemResponse> createWorkitem(CreateWorkitemRequest request);
CompletableFuture<GetBindedUserByDingIdResponse> getBindedUserByDingId(GetBindedUserByDingIdRequest request);
CompletableFuture<GetChangeLogResponse> getChangeLog(GetChangeLogRequest request);
CompletableFuture<GetCustomFieldsByTemplateIdResponse> getCustomFieldsByTemplateId(GetCustomFieldsByTemplateIdRequest request);
CompletableFuture<GetIssueByIdResponse> getIssueById(GetIssueByIdRequest request);
CompletableFuture<GetJoinCodeResponse> getJoinCode(GetJoinCodeRequest request);
CompletableFuture<GetProjectMembersResponse> getProjectMembers(GetProjectMembersRequest request);
CompletableFuture<GetUserByAliyunPkResponse> getUserByAliyunPk(GetUserByAliyunPkRequest request);
CompletableFuture<GetWorkitemByIdResponse> getWorkitemById(GetWorkitemByIdRequest request);
CompletableFuture<JoinCompanyResponse> joinCompany(JoinCompanyRequest request);
CompletableFuture<SearchProjectsByRegionResponse> searchProjectsByRegion(SearchProjectsByRegionRequest request);
CompletableFuture<SearchTestCaseResponse> searchTestCase(SearchTestCaseRequest request);
CompletableFuture<SearchWorkitemResponse> searchWorkitem(SearchWorkitemRequest request);
CompletableFuture<SearchWorkitemWithTotalCountResponse> searchWorkitemWithTotalCount(SearchWorkitemWithTotalCountRequest request);
CompletableFuture<SyncUserToRdcResponse> syncUserToRdc(SyncUserToRdcRequest request);
CompletableFuture<UpdateWorkitemResponse> updateWorkitem(UpdateWorkitemRequest request);
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/DefaultAsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821;
import com.aliyun.core.http.*;
import com.aliyun.sdk.service.rdc20180821.models.*;
import darabonba.core.utils.*;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import java.util.concurrent.CompletableFuture;
/**
* <p>Main client.</p>
*/
public final class DefaultAsyncClient implements AsyncClient {
protected final String product;
protected final String version;
protected final String endpointRule;
protected final java.util.Map<String, String> endpointMap;
protected final TeaRequest REQUEST;
protected final TeaAsyncHandler handler;
protected DefaultAsyncClient(ClientConfiguration configuration) {
this.handler = new TeaAsyncHandler(configuration);
this.product = "Rdc";
this.version = "2018-08-21";
this.endpointRule = "regional";
this.endpointMap = new java.util.HashMap<>();
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
}
@Override
public void close() {
this.handler.close();
}
@Override
public CompletableFuture<AddEnterpriseMemberResponse> addEnterpriseMember(AddEnterpriseMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddEnterpriseMember").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddEnterpriseMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddEnterpriseMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<AddRamMemberResponse> addRamMember(AddRamMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddRamMember").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddRamMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddRamMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<ApproveJoinCompanyResponse> approveJoinCompany(ApproveJoinCompanyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ApproveJoinCompany").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ApproveJoinCompanyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ApproveJoinCompanyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateEnterpriseResponse> createEnterprise(CreateEnterpriseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateEnterprise").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateEnterpriseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateEnterpriseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateWorkitemResponse> createWorkitem(CreateWorkitemRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateWorkitem").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateWorkitemResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateWorkitemResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetBindedUserByDingIdResponse> getBindedUserByDingId(GetBindedUserByDingIdRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetBindedUserByDingId").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetBindedUserByDingIdResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetBindedUserByDingIdResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetChangeLogResponse> getChangeLog(GetChangeLogRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetChangeLog").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetChangeLogResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetChangeLogResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetCustomFieldsByTemplateIdResponse> getCustomFieldsByTemplateId(GetCustomFieldsByTemplateIdRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetCustomFieldsByTemplateId").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetCustomFieldsByTemplateIdResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetCustomFieldsByTemplateIdResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetIssueByIdResponse> getIssueById(GetIssueByIdRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetIssueById").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetIssueByIdResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetIssueByIdResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetJoinCodeResponse> getJoinCode(GetJoinCodeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetJoinCode").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetJoinCodeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetJoinCodeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetProjectMembersResponse> getProjectMembers(GetProjectMembersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetProjectMembers").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetProjectMembersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetProjectMembersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetUserByAliyunPkResponse> getUserByAliyunPk(GetUserByAliyunPkRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetUserByAliyunPk").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetUserByAliyunPkResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetUserByAliyunPkResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetWorkitemByIdResponse> getWorkitemById(GetWorkitemByIdRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetWorkitemById").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetWorkitemByIdResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetWorkitemByIdResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<JoinCompanyResponse> joinCompany(JoinCompanyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("JoinCompany").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(JoinCompanyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<JoinCompanyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<SearchProjectsByRegionResponse> searchProjectsByRegion(SearchProjectsByRegionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SearchProjectsByRegion").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SearchProjectsByRegionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SearchProjectsByRegionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<SearchTestCaseResponse> searchTestCase(SearchTestCaseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SearchTestCase").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SearchTestCaseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SearchTestCaseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<SearchWorkitemResponse> searchWorkitem(SearchWorkitemRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SearchWorkitem").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SearchWorkitemResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SearchWorkitemResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<SearchWorkitemWithTotalCountResponse> searchWorkitemWithTotalCount(SearchWorkitemWithTotalCountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SearchWorkitemWithTotalCount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SearchWorkitemWithTotalCountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SearchWorkitemWithTotalCountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<SyncUserToRdcResponse> syncUserToRdc(SyncUserToRdcRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SyncUserToRdc").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SyncUserToRdcResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SyncUserToRdcResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateWorkitemResponse> updateWorkitem(UpdateWorkitemRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateWorkitem").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateWorkitemResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateWorkitemResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/DefaultAsyncClientBuilder.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821;
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
@Override
protected String serviceName() {
return "rdc20180821";
}
@Override
protected final AsyncClient buildClient() {
return new DefaultAsyncClient(super.applyClientConfiguration());
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/AddEnterpriseMemberRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddEnterpriseMemberRequest} extends {@link RequestModel}
*
* <p>AddEnterpriseMemberRequest</p>
*/
public class AddEnterpriseMemberRequest extends Request {
@Query
@NameInMap("InstanceId")
@Validation(required = true)
private String instanceId;
@Query
@NameInMap("Operator")
@Validation(required = true)
private String operator;
@Query
@NameInMap("StaffId")
@Validation(required = true)
private String staffId;
private AddEnterpriseMemberRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.operator = builder.operator;
this.staffId = builder.staffId;
}
public static Builder builder() {
return new Builder();
}
public static AddEnterpriseMemberRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return staffId
*/
public String getStaffId() {
return this.staffId;
}
public static final class Builder extends Request.Builder<AddEnterpriseMemberRequest, Builder> {
private String instanceId;
private String operator;
private String staffId;
private Builder() {
super();
}
private Builder(AddEnterpriseMemberRequest response) {
super(response);
this.instanceId = response.instanceId;
this.operator = response.operator;
this.staffId = response.staffId;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* Operator.
*/
public Builder operator(String operator) {
this.putQueryParameter("Operator", operator);
this.operator = operator;
return this;
}
/**
* StaffId.
*/
public Builder staffId(String staffId) {
this.putQueryParameter("StaffId", staffId);
this.staffId = staffId;
return this;
}
@Override
public AddEnterpriseMemberRequest build() {
return new AddEnterpriseMemberRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/AddEnterpriseMemberResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddEnterpriseMemberResponse} extends {@link TeaModel}
*
* <p>AddEnterpriseMemberResponse</p>
*/
public class AddEnterpriseMemberResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private AddEnterpriseMemberResponseBody body;
private AddEnterpriseMemberResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static AddEnterpriseMemberResponse 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 body
*/
public AddEnterpriseMemberResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddEnterpriseMemberResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(AddEnterpriseMemberResponseBody body);
@Override
AddEnterpriseMemberResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddEnterpriseMemberResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private AddEnterpriseMemberResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddEnterpriseMemberResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(AddEnterpriseMemberResponseBody body) {
this.body = body;
return this;
}
@Override
public AddEnterpriseMemberResponse build() {
return new AddEnterpriseMemberResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/AddEnterpriseMemberResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddEnterpriseMemberResponseBody} extends {@link TeaModel}
*
* <p>AddEnterpriseMemberResponseBody</p>
*/
public class AddEnterpriseMemberResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Boolean data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private AddEnterpriseMemberResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static AddEnterpriseMemberResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Boolean getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Boolean data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Boolean data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public AddEnterpriseMemberResponseBody build() {
return new AddEnterpriseMemberResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/AddRamMemberRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddRamMemberRequest} extends {@link RequestModel}
*
* <p>AddRamMemberRequest</p>
*/
public class AddRamMemberRequest extends Request {
@Body
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("StaffIdentifier")
@Validation(required = true)
private String staffIdentifier;
private AddRamMemberRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
this.staffIdentifier = builder.staffIdentifier;
}
public static Builder builder() {
return new Builder();
}
public static AddRamMemberRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return staffIdentifier
*/
public String getStaffIdentifier() {
return this.staffIdentifier;
}
public static final class Builder extends Request.Builder<AddRamMemberRequest, Builder> {
private String corpIdentifier;
private String staffIdentifier;
private Builder() {
super();
}
private Builder(AddRamMemberRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
this.staffIdentifier = response.staffIdentifier;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putBodyParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* StaffIdentifier.
*/
public Builder staffIdentifier(String staffIdentifier) {
this.putBodyParameter("StaffIdentifier", staffIdentifier);
this.staffIdentifier = staffIdentifier;
return this;
}
@Override
public AddRamMemberRequest build() {
return new AddRamMemberRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/AddRamMemberResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddRamMemberResponse} extends {@link TeaModel}
*
* <p>AddRamMemberResponse</p>
*/
public class AddRamMemberResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private AddRamMemberResponseBody body;
private AddRamMemberResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static AddRamMemberResponse 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 body
*/
public AddRamMemberResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddRamMemberResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(AddRamMemberResponseBody body);
@Override
AddRamMemberResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddRamMemberResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private AddRamMemberResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddRamMemberResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(AddRamMemberResponseBody body) {
this.body = body;
return this;
}
@Override
public AddRamMemberResponse build() {
return new AddRamMemberResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/AddRamMemberResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddRamMemberResponseBody} extends {@link TeaModel}
*
* <p>AddRamMemberResponseBody</p>
*/
public class AddRamMemberResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < String > data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private AddRamMemberResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static AddRamMemberResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < String > getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < String > data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < String > data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public AddRamMemberResponseBody build() {
return new AddRamMemberResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/ApproveJoinCompanyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ApproveJoinCompanyRequest} extends {@link RequestModel}
*
* <p>ApproveJoinCompanyRequest</p>
*/
public class ApproveJoinCompanyRequest extends Request {
@Body
@NameInMap("ApplicationIds")
@Validation(required = true)
private String applicationIds;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
private ApproveJoinCompanyRequest(Builder builder) {
super(builder);
this.applicationIds = builder.applicationIds;
this.corpIdentifier = builder.corpIdentifier;
}
public static Builder builder() {
return new Builder();
}
public static ApproveJoinCompanyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationIds
*/
public String getApplicationIds() {
return this.applicationIds;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
public static final class Builder extends Request.Builder<ApproveJoinCompanyRequest, Builder> {
private String applicationIds;
private String corpIdentifier;
private Builder() {
super();
}
private Builder(ApproveJoinCompanyRequest response) {
super(response);
this.applicationIds = response.applicationIds;
this.corpIdentifier = response.corpIdentifier;
}
/**
* ApplicationIds.
*/
public Builder applicationIds(String applicationIds) {
this.putBodyParameter("ApplicationIds", applicationIds);
this.applicationIds = applicationIds;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
@Override
public ApproveJoinCompanyRequest build() {
return new ApproveJoinCompanyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/ApproveJoinCompanyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ApproveJoinCompanyResponse} extends {@link TeaModel}
*
* <p>ApproveJoinCompanyResponse</p>
*/
public class ApproveJoinCompanyResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private ApproveJoinCompanyResponseBody body;
private ApproveJoinCompanyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static ApproveJoinCompanyResponse 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 body
*/
public ApproveJoinCompanyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ApproveJoinCompanyResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(ApproveJoinCompanyResponseBody body);
@Override
ApproveJoinCompanyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ApproveJoinCompanyResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private ApproveJoinCompanyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ApproveJoinCompanyResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(ApproveJoinCompanyResponseBody body) {
this.body = body;
return this;
}
@Override
public ApproveJoinCompanyResponse build() {
return new ApproveJoinCompanyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/ApproveJoinCompanyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ApproveJoinCompanyResponseBody} extends {@link TeaModel}
*
* <p>ApproveJoinCompanyResponseBody</p>
*/
public class ApproveJoinCompanyResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < String > data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private ApproveJoinCompanyResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ApproveJoinCompanyResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < String > getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < String > data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < String > data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ApproveJoinCompanyResponseBody build() {
return new ApproveJoinCompanyResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/CreateEnterpriseRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateEnterpriseRequest} extends {@link RequestModel}
*
* <p>CreateEnterpriseRequest</p>
*/
public class CreateEnterpriseRequest extends Request {
@Query
@NameInMap("CreatorStaffId")
@Validation(required = true)
private String creatorStaffId;
@Query
@NameInMap("Description")
private String description;
@Query
@NameInMap("Domain")
@Validation(required = true)
private String domain;
@Query
@NameInMap("Emails")
private java.util.Map < String, ? > emails;
@Query
@NameInMap("Name")
@Validation(required = true)
private String name;
private CreateEnterpriseRequest(Builder builder) {
super(builder);
this.creatorStaffId = builder.creatorStaffId;
this.description = builder.description;
this.domain = builder.domain;
this.emails = builder.emails;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static CreateEnterpriseRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return creatorStaffId
*/
public String getCreatorStaffId() {
return this.creatorStaffId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return emails
*/
public java.util.Map < String, ? > getEmails() {
return this.emails;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder extends Request.Builder<CreateEnterpriseRequest, Builder> {
private String creatorStaffId;
private String description;
private String domain;
private java.util.Map < String, ? > emails;
private String name;
private Builder() {
super();
}
private Builder(CreateEnterpriseRequest response) {
super(response);
this.creatorStaffId = response.creatorStaffId;
this.description = response.description;
this.domain = response.domain;
this.emails = response.emails;
this.name = response.name;
}
/**
* CreatorStaffId.
*/
public Builder creatorStaffId(String creatorStaffId) {
this.putQueryParameter("CreatorStaffId", creatorStaffId);
this.creatorStaffId = creatorStaffId;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* Domain.
*/
public Builder domain(String domain) {
this.putQueryParameter("Domain", domain);
this.domain = domain;
return this;
}
/**
* Emails.
*/
public Builder emails(java.util.Map < String, ? > emails) {
this.putQueryParameter("Emails", emails);
this.emails = emails;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
@Override
public CreateEnterpriseRequest build() {
return new CreateEnterpriseRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/CreateEnterpriseResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateEnterpriseResponse} extends {@link TeaModel}
*
* <p>CreateEnterpriseResponse</p>
*/
public class CreateEnterpriseResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private CreateEnterpriseResponseBody body;
private CreateEnterpriseResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static CreateEnterpriseResponse 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 body
*/
public CreateEnterpriseResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateEnterpriseResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(CreateEnterpriseResponseBody body);
@Override
CreateEnterpriseResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateEnterpriseResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private CreateEnterpriseResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateEnterpriseResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateEnterpriseResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateEnterpriseResponse build() {
return new CreateEnterpriseResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/CreateEnterpriseResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateEnterpriseResponseBody} extends {@link TeaModel}
*
* <p>CreateEnterpriseResponseBody</p>
*/
public class CreateEnterpriseResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private CreateEnterpriseResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static CreateEnterpriseResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateEnterpriseResponseBody build() {
return new CreateEnterpriseResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("Id")
private Long id;
@NameInMap("Identifier")
private String identifier;
@NameInMap("Name")
private String name;
@NameInMap("ProhibitCode")
private Integer prohibitCode;
@NameInMap("Status")
private Integer status;
@NameInMap("Type")
private Integer type;
private Data(Builder builder) {
this.id = builder.id;
this.identifier = builder.identifier;
this.name = builder.name;
this.prohibitCode = builder.prohibitCode;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return identifier
*/
public String getIdentifier() {
return this.identifier;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return prohibitCode
*/
public Integer getProhibitCode() {
return this.prohibitCode;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return type
*/
public Integer getType() {
return this.type;
}
public static final class Builder {
private Long id;
private String identifier;
private String name;
private Integer prohibitCode;
private Integer status;
private Integer type;
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* Identifier.
*/
public Builder identifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* ProhibitCode.
*/
public Builder prohibitCode(Integer prohibitCode) {
this.prohibitCode = prohibitCode;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* Type.
*/
public Builder type(Integer type) {
this.type = type;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/CreateWorkitemRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateWorkitemRequest} extends {@link RequestModel}
*
* <p>CreateWorkitemRequest</p>
*/
public class CreateWorkitemRequest extends Request {
@Body
@NameInMap("AKProjectId")
@Validation(required = true)
private Integer AKProjectId;
@Body
@NameInMap("AssignedTo")
@Validation(required = true)
private String assignedTo;
@Body
@NameInMap("Author")
@Validation(required = true)
private String author;
@Body
@NameInMap("CfList")
private String cfList;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("ModuleIds")
private String moduleIds;
@Body
@NameInMap("PriorityId")
private Integer priorityId;
@Body
@NameInMap("SeriousLevelId")
private Integer seriousLevelId;
@Body
@NameInMap("Stamp")
@Validation(required = true)
private String stamp;
@Body
@NameInMap("Subject")
@Validation(required = true)
private String subject;
@Body
@NameInMap("TemplateId")
@Validation(required = true)
private Integer templateId;
@Body
@NameInMap("Verifier")
private String verifier;
@Body
@NameInMap("WatcherUsers")
private String watcherUsers;
private CreateWorkitemRequest(Builder builder) {
super(builder);
this.AKProjectId = builder.AKProjectId;
this.assignedTo = builder.assignedTo;
this.author = builder.author;
this.cfList = builder.cfList;
this.corpIdentifier = builder.corpIdentifier;
this.description = builder.description;
this.moduleIds = builder.moduleIds;
this.priorityId = builder.priorityId;
this.seriousLevelId = builder.seriousLevelId;
this.stamp = builder.stamp;
this.subject = builder.subject;
this.templateId = builder.templateId;
this.verifier = builder.verifier;
this.watcherUsers = builder.watcherUsers;
}
public static Builder builder() {
return new Builder();
}
public static CreateWorkitemRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AKProjectId
*/
public Integer getAKProjectId() {
return this.AKProjectId;
}
/**
* @return assignedTo
*/
public String getAssignedTo() {
return this.assignedTo;
}
/**
* @return author
*/
public String getAuthor() {
return this.author;
}
/**
* @return cfList
*/
public String getCfList() {
return this.cfList;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return moduleIds
*/
public String getModuleIds() {
return this.moduleIds;
}
/**
* @return priorityId
*/
public Integer getPriorityId() {
return this.priorityId;
}
/**
* @return seriousLevelId
*/
public Integer getSeriousLevelId() {
return this.seriousLevelId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return verifier
*/
public String getVerifier() {
return this.verifier;
}
/**
* @return watcherUsers
*/
public String getWatcherUsers() {
return this.watcherUsers;
}
public static final class Builder extends Request.Builder<CreateWorkitemRequest, Builder> {
private Integer AKProjectId;
private String assignedTo;
private String author;
private String cfList;
private String corpIdentifier;
private String description;
private String moduleIds;
private Integer priorityId;
private Integer seriousLevelId;
private String stamp;
private String subject;
private Integer templateId;
private String verifier;
private String watcherUsers;
private Builder() {
super();
}
private Builder(CreateWorkitemRequest response) {
super(response);
this.AKProjectId = response.AKProjectId;
this.assignedTo = response.assignedTo;
this.author = response.author;
this.cfList = response.cfList;
this.corpIdentifier = response.corpIdentifier;
this.description = response.description;
this.moduleIds = response.moduleIds;
this.priorityId = response.priorityId;
this.seriousLevelId = response.seriousLevelId;
this.stamp = response.stamp;
this.subject = response.subject;
this.templateId = response.templateId;
this.verifier = response.verifier;
this.watcherUsers = response.watcherUsers;
}
/**
* AKProjectId.
*/
public Builder AKProjectId(Integer AKProjectId) {
this.putBodyParameter("AKProjectId", AKProjectId);
this.AKProjectId = AKProjectId;
return this;
}
/**
* AssignedTo.
*/
public Builder assignedTo(String assignedTo) {
this.putBodyParameter("AssignedTo", assignedTo);
this.assignedTo = assignedTo;
return this;
}
/**
* Author.
*/
public Builder author(String author) {
this.putBodyParameter("Author", author);
this.author = author;
return this;
}
/**
* CfList.
*/
public Builder cfList(String cfList) {
this.putBodyParameter("CfList", cfList);
this.cfList = cfList;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* ModuleIds.
*/
public Builder moduleIds(String moduleIds) {
this.putBodyParameter("ModuleIds", moduleIds);
this.moduleIds = moduleIds;
return this;
}
/**
* PriorityId.
*/
public Builder priorityId(Integer priorityId) {
this.putBodyParameter("PriorityId", priorityId);
this.priorityId = priorityId;
return this;
}
/**
* SeriousLevelId.
*/
public Builder seriousLevelId(Integer seriousLevelId) {
this.putBodyParameter("SeriousLevelId", seriousLevelId);
this.seriousLevelId = seriousLevelId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.putBodyParameter("Stamp", stamp);
this.stamp = stamp;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.putBodyParameter("Subject", subject);
this.subject = subject;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.putBodyParameter("TemplateId", templateId);
this.templateId = templateId;
return this;
}
/**
* Verifier.
*/
public Builder verifier(String verifier) {
this.putBodyParameter("Verifier", verifier);
this.verifier = verifier;
return this;
}
/**
* WatcherUsers.
*/
public Builder watcherUsers(String watcherUsers) {
this.putBodyParameter("WatcherUsers", watcherUsers);
this.watcherUsers = watcherUsers;
return this;
}
@Override
public CreateWorkitemRequest build() {
return new CreateWorkitemRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/CreateWorkitemResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateWorkitemResponse} extends {@link TeaModel}
*
* <p>CreateWorkitemResponse</p>
*/
public class CreateWorkitemResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private CreateWorkitemResponseBody body;
private CreateWorkitemResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static CreateWorkitemResponse 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 body
*/
public CreateWorkitemResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateWorkitemResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(CreateWorkitemResponseBody body);
@Override
CreateWorkitemResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateWorkitemResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private CreateWorkitemResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateWorkitemResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateWorkitemResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateWorkitemResponse build() {
return new CreateWorkitemResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/CreateWorkitemResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateWorkitemResponseBody} extends {@link TeaModel}
*
* <p>CreateWorkitemResponseBody</p>
*/
public class CreateWorkitemResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Integer data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private CreateWorkitemResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static CreateWorkitemResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Integer getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Integer data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Integer data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateWorkitemResponseBody build() {
return new CreateWorkitemResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetBindedUserByDingIdRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetBindedUserByDingIdRequest} extends {@link RequestModel}
*
* <p>GetBindedUserByDingIdRequest</p>
*/
public class GetBindedUserByDingIdRequest extends Request {
@Query
@NameInMap("DingId")
@Validation(required = true)
private String dingId;
private GetBindedUserByDingIdRequest(Builder builder) {
super(builder);
this.dingId = builder.dingId;
}
public static Builder builder() {
return new Builder();
}
public static GetBindedUserByDingIdRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dingId
*/
public String getDingId() {
return this.dingId;
}
public static final class Builder extends Request.Builder<GetBindedUserByDingIdRequest, Builder> {
private String dingId;
private Builder() {
super();
}
private Builder(GetBindedUserByDingIdRequest response) {
super(response);
this.dingId = response.dingId;
}
/**
* DingId.
*/
public Builder dingId(String dingId) {
this.putQueryParameter("DingId", dingId);
this.dingId = dingId;
return this;
}
@Override
public GetBindedUserByDingIdRequest build() {
return new GetBindedUserByDingIdRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetBindedUserByDingIdResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetBindedUserByDingIdResponse} extends {@link TeaModel}
*
* <p>GetBindedUserByDingIdResponse</p>
*/
public class GetBindedUserByDingIdResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetBindedUserByDingIdResponseBody body;
private GetBindedUserByDingIdResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetBindedUserByDingIdResponse 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 body
*/
public GetBindedUserByDingIdResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetBindedUserByDingIdResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetBindedUserByDingIdResponseBody body);
@Override
GetBindedUserByDingIdResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetBindedUserByDingIdResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetBindedUserByDingIdResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetBindedUserByDingIdResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetBindedUserByDingIdResponseBody body) {
this.body = body;
return this;
}
@Override
public GetBindedUserByDingIdResponse build() {
return new GetBindedUserByDingIdResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetBindedUserByDingIdResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetBindedUserByDingIdResponseBody} extends {@link TeaModel}
*
* <p>GetBindedUserByDingIdResponseBody</p>
*/
public class GetBindedUserByDingIdResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetBindedUserByDingIdResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetBindedUserByDingIdResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetBindedUserByDingIdResponseBody build() {
return new GetBindedUserByDingIdResponseBody(this);
}
}
public static class AliyunUser extends TeaModel {
@NameInMap("AccountStructure")
private Integer accountStructure;
@NameInMap("AliyunId")
private String aliyunId;
@NameInMap("Email")
private String email;
@NameInMap("HavanaId")
private String havanaId;
@NameInMap("Id")
private Integer id;
@NameInMap("Kp")
private String kp;
@NameInMap("NickName")
private String nickName;
@NameInMap("Realname")
private String realname;
@NameInMap("TaobaoNick")
private String taobaoNick;
private AliyunUser(Builder builder) {
this.accountStructure = builder.accountStructure;
this.aliyunId = builder.aliyunId;
this.email = builder.email;
this.havanaId = builder.havanaId;
this.id = builder.id;
this.kp = builder.kp;
this.nickName = builder.nickName;
this.realname = builder.realname;
this.taobaoNick = builder.taobaoNick;
}
public static Builder builder() {
return new Builder();
}
public static AliyunUser create() {
return builder().build();
}
/**
* @return accountStructure
*/
public Integer getAccountStructure() {
return this.accountStructure;
}
/**
* @return aliyunId
*/
public String getAliyunId() {
return this.aliyunId;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return havanaId
*/
public String getHavanaId() {
return this.havanaId;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return kp
*/
public String getKp() {
return this.kp;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return realname
*/
public String getRealname() {
return this.realname;
}
/**
* @return taobaoNick
*/
public String getTaobaoNick() {
return this.taobaoNick;
}
public static final class Builder {
private Integer accountStructure;
private String aliyunId;
private String email;
private String havanaId;
private Integer id;
private String kp;
private String nickName;
private String realname;
private String taobaoNick;
/**
* AccountStructure.
*/
public Builder accountStructure(Integer accountStructure) {
this.accountStructure = accountStructure;
return this;
}
/**
* AliyunId.
*/
public Builder aliyunId(String aliyunId) {
this.aliyunId = aliyunId;
return this;
}
/**
* Email.
*/
public Builder email(String email) {
this.email = email;
return this;
}
/**
* HavanaId.
*/
public Builder havanaId(String havanaId) {
this.havanaId = havanaId;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* Kp.
*/
public Builder kp(String kp) {
this.kp = kp;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* Realname.
*/
public Builder realname(String realname) {
this.realname = realname;
return this;
}
/**
* TaobaoNick.
*/
public Builder taobaoNick(String taobaoNick) {
this.taobaoNick = taobaoNick;
return this;
}
public AliyunUser build() {
return new AliyunUser(this);
}
}
}
public static class DingtalkUser extends TeaModel {
@NameInMap("CodeUserName")
private String codeUserName;
@NameInMap("DingId")
private String dingId;
@NameInMap("DingtalkUserId")
private Integer dingtalkUserId;
@NameInMap("Id")
private Integer id;
@NameInMap("Nick")
private String nick;
@NameInMap("UnionId")
private String unionId;
private DingtalkUser(Builder builder) {
this.codeUserName = builder.codeUserName;
this.dingId = builder.dingId;
this.dingtalkUserId = builder.dingtalkUserId;
this.id = builder.id;
this.nick = builder.nick;
this.unionId = builder.unionId;
}
public static Builder builder() {
return new Builder();
}
public static DingtalkUser create() {
return builder().build();
}
/**
* @return codeUserName
*/
public String getCodeUserName() {
return this.codeUserName;
}
/**
* @return dingId
*/
public String getDingId() {
return this.dingId;
}
/**
* @return dingtalkUserId
*/
public Integer getDingtalkUserId() {
return this.dingtalkUserId;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return nick
*/
public String getNick() {
return this.nick;
}
/**
* @return unionId
*/
public String getUnionId() {
return this.unionId;
}
public static final class Builder {
private String codeUserName;
private String dingId;
private Integer dingtalkUserId;
private Integer id;
private String nick;
private String unionId;
/**
* CodeUserName.
*/
public Builder codeUserName(String codeUserName) {
this.codeUserName = codeUserName;
return this;
}
/**
* DingId.
*/
public Builder dingId(String dingId) {
this.dingId = dingId;
return this;
}
/**
* DingtalkUserId.
*/
public Builder dingtalkUserId(Integer dingtalkUserId) {
this.dingtalkUserId = dingtalkUserId;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* Nick.
*/
public Builder nick(String nick) {
this.nick = nick;
return this;
}
/**
* UnionId.
*/
public Builder unionId(String unionId) {
this.unionId = unionId;
return this;
}
public DingtalkUser build() {
return new DingtalkUser(this);
}
}
}
public static class UserProfileDTO extends TeaModel {
@NameInMap("Avatar")
private String avatar;
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("DataSource")
private String dataSource;
@NameInMap("Email")
private String email;
@NameInMap("EnglishName")
private String englishName;
@NameInMap("Mobile")
private String mobile;
@NameInMap("Name")
private String name;
@NameInMap("NickName")
private String nickName;
@NameInMap("UserId")
private Integer userId;
private UserProfileDTO(Builder builder) {
this.avatar = builder.avatar;
this.createdAt = builder.createdAt;
this.dataSource = builder.dataSource;
this.email = builder.email;
this.englishName = builder.englishName;
this.mobile = builder.mobile;
this.name = builder.name;
this.nickName = builder.nickName;
this.userId = builder.userId;
}
public static Builder builder() {
return new Builder();
}
public static UserProfileDTO create() {
return builder().build();
}
/**
* @return avatar
*/
public String getAvatar() {
return this.avatar;
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return dataSource
*/
public String getDataSource() {
return this.dataSource;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return englishName
*/
public String getEnglishName() {
return this.englishName;
}
/**
* @return mobile
*/
public String getMobile() {
return this.mobile;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
public static final class Builder {
private String avatar;
private Long createdAt;
private String dataSource;
private String email;
private String englishName;
private String mobile;
private String name;
private String nickName;
private Integer userId;
/**
* Avatar.
*/
public Builder avatar(String avatar) {
this.avatar = avatar;
return this;
}
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* DataSource.
*/
public Builder dataSource(String dataSource) {
this.dataSource = dataSource;
return this;
}
/**
* Email.
*/
public Builder email(String email) {
this.email = email;
return this;
}
/**
* EnglishName.
*/
public Builder englishName(String englishName) {
this.englishName = englishName;
return this;
}
/**
* Mobile.
*/
public Builder mobile(String mobile) {
this.mobile = mobile;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* UserId.
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
public UserProfileDTO build() {
return new UserProfileDTO(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("AliyunUser")
private AliyunUser aliyunUser;
@NameInMap("DingtalkUser")
private DingtalkUser dingtalkUser;
@NameInMap("Guid")
private String guid;
@NameInMap("Id")
private Integer id;
@NameInMap("IsValid")
private Boolean isValid;
@NameInMap("MainAccountType")
private String mainAccountType;
@NameInMap("NickName")
private String nickName;
@NameInMap("UserProfileDTO")
private UserProfileDTO userProfileDTO;
@NameInMap("Uuid")
private String uuid;
private Data(Builder builder) {
this.aliyunUser = builder.aliyunUser;
this.dingtalkUser = builder.dingtalkUser;
this.guid = builder.guid;
this.id = builder.id;
this.isValid = builder.isValid;
this.mainAccountType = builder.mainAccountType;
this.nickName = builder.nickName;
this.userProfileDTO = builder.userProfileDTO;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return aliyunUser
*/
public AliyunUser getAliyunUser() {
return this.aliyunUser;
}
/**
* @return dingtalkUser
*/
public DingtalkUser getDingtalkUser() {
return this.dingtalkUser;
}
/**
* @return guid
*/
public String getGuid() {
return this.guid;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return isValid
*/
public Boolean getIsValid() {
return this.isValid;
}
/**
* @return mainAccountType
*/
public String getMainAccountType() {
return this.mainAccountType;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return userProfileDTO
*/
public UserProfileDTO getUserProfileDTO() {
return this.userProfileDTO;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private AliyunUser aliyunUser;
private DingtalkUser dingtalkUser;
private String guid;
private Integer id;
private Boolean isValid;
private String mainAccountType;
private String nickName;
private UserProfileDTO userProfileDTO;
private String uuid;
/**
* AliyunUser.
*/
public Builder aliyunUser(AliyunUser aliyunUser) {
this.aliyunUser = aliyunUser;
return this;
}
/**
* DingtalkUser.
*/
public Builder dingtalkUser(DingtalkUser dingtalkUser) {
this.dingtalkUser = dingtalkUser;
return this;
}
/**
* Guid.
*/
public Builder guid(String guid) {
this.guid = guid;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IsValid.
*/
public Builder isValid(Boolean isValid) {
this.isValid = isValid;
return this;
}
/**
* MainAccountType.
*/
public Builder mainAccountType(String mainAccountType) {
this.mainAccountType = mainAccountType;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* UserProfileDTO.
*/
public Builder userProfileDTO(UserProfileDTO userProfileDTO) {
this.userProfileDTO = userProfileDTO;
return this;
}
/**
* Uuid.
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetChangeLogRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetChangeLogRequest} extends {@link RequestModel}
*
* <p>GetChangeLogRequest</p>
*/
public class GetChangeLogRequest extends Request {
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("TargetIds")
@Validation(required = true)
private java.util.Map < String, ? > targetIds;
@Body
@NameInMap("TargetType")
@Validation(required = true)
private String targetType;
private GetChangeLogRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
this.targetIds = builder.targetIds;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static GetChangeLogRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return targetIds
*/
public java.util.Map < String, ? > getTargetIds() {
return this.targetIds;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder extends Request.Builder<GetChangeLogRequest, Builder> {
private String corpIdentifier;
private java.util.Map < String, ? > targetIds;
private String targetType;
private Builder() {
super();
}
private Builder(GetChangeLogRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
this.targetIds = response.targetIds;
this.targetType = response.targetType;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* TargetIds.
*/
public Builder targetIds(java.util.Map < String, ? > targetIds) {
this.putBodyParameter("TargetIds", targetIds);
this.targetIds = targetIds;
return this;
}
/**
* TargetType.
*/
public Builder targetType(String targetType) {
this.putBodyParameter("TargetType", targetType);
this.targetType = targetType;
return this;
}
@Override
public GetChangeLogRequest build() {
return new GetChangeLogRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetChangeLogResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetChangeLogResponse} extends {@link TeaModel}
*
* <p>GetChangeLogResponse</p>
*/
public class GetChangeLogResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetChangeLogResponseBody body;
private GetChangeLogResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetChangeLogResponse 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 body
*/
public GetChangeLogResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetChangeLogResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetChangeLogResponseBody body);
@Override
GetChangeLogResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetChangeLogResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetChangeLogResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetChangeLogResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetChangeLogResponseBody body) {
this.body = body;
return this;
}
@Override
public GetChangeLogResponse build() {
return new GetChangeLogResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetChangeLogResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetChangeLogResponseBody} extends {@link TeaModel}
*
* <p>GetChangeLogResponseBody</p>
*/
public class GetChangeLogResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetChangeLogResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetChangeLogResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetChangeLogResponseBody build() {
return new GetChangeLogResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("NewValue")
private String newValue;
@NameInMap("OldValue")
private String oldValue;
@NameInMap("Other")
private String other;
@NameInMap("PropertyKey")
private String propertyKey;
@NameInMap("PropertyType")
private String propertyType;
@NameInMap("TargetId")
private Integer targetId;
@NameInMap("TargetType")
private String targetType;
private Data(Builder builder) {
this.newValue = builder.newValue;
this.oldValue = builder.oldValue;
this.other = builder.other;
this.propertyKey = builder.propertyKey;
this.propertyType = builder.propertyType;
this.targetId = builder.targetId;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return newValue
*/
public String getNewValue() {
return this.newValue;
}
/**
* @return oldValue
*/
public String getOldValue() {
return this.oldValue;
}
/**
* @return other
*/
public String getOther() {
return this.other;
}
/**
* @return propertyKey
*/
public String getPropertyKey() {
return this.propertyKey;
}
/**
* @return propertyType
*/
public String getPropertyType() {
return this.propertyType;
}
/**
* @return targetId
*/
public Integer getTargetId() {
return this.targetId;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String newValue;
private String oldValue;
private String other;
private String propertyKey;
private String propertyType;
private Integer targetId;
private String targetType;
/**
* NewValue.
*/
public Builder newValue(String newValue) {
this.newValue = newValue;
return this;
}
/**
* OldValue.
*/
public Builder oldValue(String oldValue) {
this.oldValue = oldValue;
return this;
}
/**
* Other.
*/
public Builder other(String other) {
this.other = other;
return this;
}
/**
* PropertyKey.
*/
public Builder propertyKey(String propertyKey) {
this.propertyKey = propertyKey;
return this;
}
/**
* PropertyType.
*/
public Builder propertyType(String propertyType) {
this.propertyType = propertyType;
return this;
}
/**
* TargetId.
*/
public Builder targetId(Integer targetId) {
this.targetId = targetId;
return this;
}
/**
* TargetType.
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetCustomFieldsByTemplateIdRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetCustomFieldsByTemplateIdRequest} extends {@link RequestModel}
*
* <p>GetCustomFieldsByTemplateIdRequest</p>
*/
public class GetCustomFieldsByTemplateIdRequest extends Request {
@Body
@NameInMap("AKProjectId")
@Validation(required = true)
private Integer AKProjectId;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("TemplateId")
@Validation(required = true)
private Integer templateId;
private GetCustomFieldsByTemplateIdRequest(Builder builder) {
super(builder);
this.AKProjectId = builder.AKProjectId;
this.corpIdentifier = builder.corpIdentifier;
this.templateId = builder.templateId;
}
public static Builder builder() {
return new Builder();
}
public static GetCustomFieldsByTemplateIdRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AKProjectId
*/
public Integer getAKProjectId() {
return this.AKProjectId;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
public static final class Builder extends Request.Builder<GetCustomFieldsByTemplateIdRequest, Builder> {
private Integer AKProjectId;
private String corpIdentifier;
private Integer templateId;
private Builder() {
super();
}
private Builder(GetCustomFieldsByTemplateIdRequest response) {
super(response);
this.AKProjectId = response.AKProjectId;
this.corpIdentifier = response.corpIdentifier;
this.templateId = response.templateId;
}
/**
* AKProjectId.
*/
public Builder AKProjectId(Integer AKProjectId) {
this.putBodyParameter("AKProjectId", AKProjectId);
this.AKProjectId = AKProjectId;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.putBodyParameter("TemplateId", templateId);
this.templateId = templateId;
return this;
}
@Override
public GetCustomFieldsByTemplateIdRequest build() {
return new GetCustomFieldsByTemplateIdRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetCustomFieldsByTemplateIdResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetCustomFieldsByTemplateIdResponse} extends {@link TeaModel}
*
* <p>GetCustomFieldsByTemplateIdResponse</p>
*/
public class GetCustomFieldsByTemplateIdResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetCustomFieldsByTemplateIdResponseBody body;
private GetCustomFieldsByTemplateIdResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetCustomFieldsByTemplateIdResponse 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 body
*/
public GetCustomFieldsByTemplateIdResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetCustomFieldsByTemplateIdResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetCustomFieldsByTemplateIdResponseBody body);
@Override
GetCustomFieldsByTemplateIdResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetCustomFieldsByTemplateIdResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetCustomFieldsByTemplateIdResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetCustomFieldsByTemplateIdResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetCustomFieldsByTemplateIdResponseBody body) {
this.body = body;
return this;
}
@Override
public GetCustomFieldsByTemplateIdResponse build() {
return new GetCustomFieldsByTemplateIdResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetCustomFieldsByTemplateIdResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetCustomFieldsByTemplateIdResponseBody} extends {@link TeaModel}
*
* <p>GetCustomFieldsByTemplateIdResponseBody</p>
*/
public class GetCustomFieldsByTemplateIdResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetCustomFieldsByTemplateIdResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetCustomFieldsByTemplateIdResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetCustomFieldsByTemplateIdResponseBody build() {
return new GetCustomFieldsByTemplateIdResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("DefaultValue")
private String defaultValue;
@NameInMap("Description")
private String description;
@NameInMap("Dynamic")
private Boolean dynamic;
@NameInMap("Editable")
private Boolean editable;
@NameInMap("FieldFormat")
private String fieldFormat;
@NameInMap("Id")
private Integer id;
@NameInMap("IsDelete")
private Boolean isDelete;
@NameInMap("IsRemember")
private Boolean isRemember;
@NameInMap("IsRequired")
private Boolean isRequired;
@NameInMap("MaxLength")
private Integer maxLength;
@NameInMap("MinLength")
private Integer minLength;
@NameInMap("Name")
private String name;
@NameInMap("NameI18N")
private String nameI18N;
@NameInMap("Other")
private String other;
@NameInMap("PossibleValues")
private String possibleValues;
@NameInMap("Type")
private String type;
@NameInMap("UpdatedAt")
private Long updatedAt;
private Data(Builder builder) {
this.createdAt = builder.createdAt;
this.defaultValue = builder.defaultValue;
this.description = builder.description;
this.dynamic = builder.dynamic;
this.editable = builder.editable;
this.fieldFormat = builder.fieldFormat;
this.id = builder.id;
this.isDelete = builder.isDelete;
this.isRemember = builder.isRemember;
this.isRequired = builder.isRequired;
this.maxLength = builder.maxLength;
this.minLength = builder.minLength;
this.name = builder.name;
this.nameI18N = builder.nameI18N;
this.other = builder.other;
this.possibleValues = builder.possibleValues;
this.type = builder.type;
this.updatedAt = builder.updatedAt;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return defaultValue
*/
public String getDefaultValue() {
return this.defaultValue;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return dynamic
*/
public Boolean getDynamic() {
return this.dynamic;
}
/**
* @return editable
*/
public Boolean getEditable() {
return this.editable;
}
/**
* @return fieldFormat
*/
public String getFieldFormat() {
return this.fieldFormat;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return isDelete
*/
public Boolean getIsDelete() {
return this.isDelete;
}
/**
* @return isRemember
*/
public Boolean getIsRemember() {
return this.isRemember;
}
/**
* @return isRequired
*/
public Boolean getIsRequired() {
return this.isRequired;
}
/**
* @return maxLength
*/
public Integer getMaxLength() {
return this.maxLength;
}
/**
* @return minLength
*/
public Integer getMinLength() {
return this.minLength;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return nameI18N
*/
public String getNameI18N() {
return this.nameI18N;
}
/**
* @return other
*/
public String getOther() {
return this.other;
}
/**
* @return possibleValues
*/
public String getPossibleValues() {
return this.possibleValues;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return updatedAt
*/
public Long getUpdatedAt() {
return this.updatedAt;
}
public static final class Builder {
private Long createdAt;
private String defaultValue;
private String description;
private Boolean dynamic;
private Boolean editable;
private String fieldFormat;
private Integer id;
private Boolean isDelete;
private Boolean isRemember;
private Boolean isRequired;
private Integer maxLength;
private Integer minLength;
private String name;
private String nameI18N;
private String other;
private String possibleValues;
private String type;
private Long updatedAt;
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* DefaultValue.
*/
public Builder defaultValue(String defaultValue) {
this.defaultValue = defaultValue;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Dynamic.
*/
public Builder dynamic(Boolean dynamic) {
this.dynamic = dynamic;
return this;
}
/**
* Editable.
*/
public Builder editable(Boolean editable) {
this.editable = editable;
return this;
}
/**
* FieldFormat.
*/
public Builder fieldFormat(String fieldFormat) {
this.fieldFormat = fieldFormat;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IsDelete.
*/
public Builder isDelete(Boolean isDelete) {
this.isDelete = isDelete;
return this;
}
/**
* IsRemember.
*/
public Builder isRemember(Boolean isRemember) {
this.isRemember = isRemember;
return this;
}
/**
* IsRequired.
*/
public Builder isRequired(Boolean isRequired) {
this.isRequired = isRequired;
return this;
}
/**
* MaxLength.
*/
public Builder maxLength(Integer maxLength) {
this.maxLength = maxLength;
return this;
}
/**
* MinLength.
*/
public Builder minLength(Integer minLength) {
this.minLength = minLength;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* NameI18N.
*/
public Builder nameI18N(String nameI18N) {
this.nameI18N = nameI18N;
return this;
}
/**
* Other.
*/
public Builder other(String other) {
this.other = other;
return this;
}
/**
* PossibleValues.
*/
public Builder possibleValues(String possibleValues) {
this.possibleValues = possibleValues;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* UpdatedAt.
*/
public Builder updatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetIssueByIdRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetIssueByIdRequest} extends {@link RequestModel}
*
* <p>GetIssueByIdRequest</p>
*/
public class GetIssueByIdRequest extends Request {
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("Id")
@Validation(required = true)
private Integer id;
private GetIssueByIdRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
this.id = builder.id;
}
public static Builder builder() {
return new Builder();
}
public static GetIssueByIdRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
public static final class Builder extends Request.Builder<GetIssueByIdRequest, Builder> {
private String corpIdentifier;
private Integer id;
private Builder() {
super();
}
private Builder(GetIssueByIdRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
this.id = response.id;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.putBodyParameter("Id", id);
this.id = id;
return this;
}
@Override
public GetIssueByIdRequest build() {
return new GetIssueByIdRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetIssueByIdResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetIssueByIdResponse} extends {@link TeaModel}
*
* <p>GetIssueByIdResponse</p>
*/
public class GetIssueByIdResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetIssueByIdResponseBody body;
private GetIssueByIdResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetIssueByIdResponse 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 body
*/
public GetIssueByIdResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetIssueByIdResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetIssueByIdResponseBody body);
@Override
GetIssueByIdResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetIssueByIdResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetIssueByIdResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetIssueByIdResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetIssueByIdResponseBody body) {
this.body = body;
return this;
}
@Override
public GetIssueByIdResponse build() {
return new GetIssueByIdResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetIssueByIdResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetIssueByIdResponseBody} extends {@link TeaModel}
*
* <p>GetIssueByIdResponseBody</p>
*/
public class GetIssueByIdResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private String success;
private GetIssueByIdResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetIssueByIdResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public String getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String requestId;
private String success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(String success) {
this.success = success;
return this;
}
public GetIssueByIdResponseBody build() {
return new GetIssueByIdResponseBody(this);
}
}
public static class CfsList extends TeaModel {
@NameInMap("Id")
private String id;
@NameInMap("Name")
private String name;
@NameInMap("Type")
private String type;
@NameInMap("Value")
private String value;
private CfsList(Builder builder) {
this.id = builder.id;
this.name = builder.name;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static CfsList create() {
return builder().build();
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String id;
private String name;
private String type;
private String value;
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public CfsList build() {
return new CfsList(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("AkProjectId")
private Integer akProjectId;
@NameInMap("AssignedTo")
private String assignedTo;
@NameInMap("AssignedToId")
private Integer assignedToId;
@NameInMap("AssignedToIdList")
private String assignedToIdList;
@NameInMap("AssignedToIds")
private String assignedToIds;
@NameInMap("AssignedToMaps")
private String assignedToMaps;
@NameInMap("AssignedToStaffId")
private String assignedToStaffId;
@NameInMap("AttachmentIds")
private String attachmentIds;
@NameInMap("AttachmentList")
private String attachmentList;
@NameInMap("Attachmented")
private Boolean attachmented;
@NameInMap("BlackListNotice")
private String blackListNotice;
@NameInMap("CfsList")
private java.util.List < CfsList> cfsList;
@NameInMap("ChangeLogList")
private String changeLogList;
@NameInMap("CommentList")
private String commentList;
@NameInMap("CommitDate")
private Long commitDate;
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("Description")
private String description;
@NameInMap("Guid")
private String guid;
@NameInMap("Id")
private Integer id;
@NameInMap("IdPath")
private String idPath;
@NameInMap("IgnoreCheck")
private Boolean ignoreCheck;
@NameInMap("IgnoreIntegrate")
private Boolean ignoreIntegrate;
@NameInMap("IssueTypeId")
private Integer issueTypeId;
@NameInMap("LogicalStatus")
private String logicalStatus;
@NameInMap("ModuleIds")
private String moduleIds;
@NameInMap("ModuleList")
private String moduleList;
@NameInMap("ModuleUpdated")
private Boolean moduleUpdated;
@NameInMap("ParentId")
private Integer parentId;
@NameInMap("Priority")
private String priority;
@NameInMap("PriorityId")
private Integer priorityId;
@NameInMap("ProjectIds")
private String projectIds;
@NameInMap("RecordChangeLog")
private Boolean recordChangeLog;
@NameInMap("RegionId")
private Integer regionId;
@NameInMap("RelatedAKProjectGuids")
private String relatedAKProjectGuids;
@NameInMap("RelatedAKProjectIds")
private String relatedAKProjectIds;
@NameInMap("RelatedUserIds")
private String relatedUserIds;
@NameInMap("SendWangwang")
private Boolean sendWangwang;
@NameInMap("SeriousLevel")
private String seriousLevel;
@NameInMap("SeriousLevelId")
private Integer seriousLevelId;
@NameInMap("SkipCollab")
private Boolean skipCollab;
@NameInMap("Stamp")
private String stamp;
@NameInMap("Status")
private String status;
@NameInMap("StatusId")
private Integer statusId;
@NameInMap("StatusStage")
private Integer statusStage;
@NameInMap("Subject")
private String subject;
@NameInMap("TagIdList")
private String tagIdList;
@NameInMap("TemplateId")
private Integer templateId;
@NameInMap("TrackerIds")
private String trackerIds;
@NameInMap("Trackers")
private String trackers;
@NameInMap("UpdateStatusAt")
private Long updateStatusAt;
@NameInMap("UpdatedAt")
private Long updatedAt;
@NameInMap("User")
private String user;
@NameInMap("UserId")
private Integer userId;
@NameInMap("UserStaffId")
private String userStaffId;
@NameInMap("Verifier")
private String verifier;
@NameInMap("VerifierId")
private Integer verifierId;
@NameInMap("VerifierStaffId")
private String verifierStaffId;
@NameInMap("VersionIds")
private String versionIds;
@NameInMap("VersionList")
private String versionList;
@NameInMap("Watched")
private Boolean watched;
private Data(Builder builder) {
this.akProjectId = builder.akProjectId;
this.assignedTo = builder.assignedTo;
this.assignedToId = builder.assignedToId;
this.assignedToIdList = builder.assignedToIdList;
this.assignedToIds = builder.assignedToIds;
this.assignedToMaps = builder.assignedToMaps;
this.assignedToStaffId = builder.assignedToStaffId;
this.attachmentIds = builder.attachmentIds;
this.attachmentList = builder.attachmentList;
this.attachmented = builder.attachmented;
this.blackListNotice = builder.blackListNotice;
this.cfsList = builder.cfsList;
this.changeLogList = builder.changeLogList;
this.commentList = builder.commentList;
this.commitDate = builder.commitDate;
this.createdAt = builder.createdAt;
this.description = builder.description;
this.guid = builder.guid;
this.id = builder.id;
this.idPath = builder.idPath;
this.ignoreCheck = builder.ignoreCheck;
this.ignoreIntegrate = builder.ignoreIntegrate;
this.issueTypeId = builder.issueTypeId;
this.logicalStatus = builder.logicalStatus;
this.moduleIds = builder.moduleIds;
this.moduleList = builder.moduleList;
this.moduleUpdated = builder.moduleUpdated;
this.parentId = builder.parentId;
this.priority = builder.priority;
this.priorityId = builder.priorityId;
this.projectIds = builder.projectIds;
this.recordChangeLog = builder.recordChangeLog;
this.regionId = builder.regionId;
this.relatedAKProjectGuids = builder.relatedAKProjectGuids;
this.relatedAKProjectIds = builder.relatedAKProjectIds;
this.relatedUserIds = builder.relatedUserIds;
this.sendWangwang = builder.sendWangwang;
this.seriousLevel = builder.seriousLevel;
this.seriousLevelId = builder.seriousLevelId;
this.skipCollab = builder.skipCollab;
this.stamp = builder.stamp;
this.status = builder.status;
this.statusId = builder.statusId;
this.statusStage = builder.statusStage;
this.subject = builder.subject;
this.tagIdList = builder.tagIdList;
this.templateId = builder.templateId;
this.trackerIds = builder.trackerIds;
this.trackers = builder.trackers;
this.updateStatusAt = builder.updateStatusAt;
this.updatedAt = builder.updatedAt;
this.user = builder.user;
this.userId = builder.userId;
this.userStaffId = builder.userStaffId;
this.verifier = builder.verifier;
this.verifierId = builder.verifierId;
this.verifierStaffId = builder.verifierStaffId;
this.versionIds = builder.versionIds;
this.versionList = builder.versionList;
this.watched = builder.watched;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return akProjectId
*/
public Integer getAkProjectId() {
return this.akProjectId;
}
/**
* @return assignedTo
*/
public String getAssignedTo() {
return this.assignedTo;
}
/**
* @return assignedToId
*/
public Integer getAssignedToId() {
return this.assignedToId;
}
/**
* @return assignedToIdList
*/
public String getAssignedToIdList() {
return this.assignedToIdList;
}
/**
* @return assignedToIds
*/
public String getAssignedToIds() {
return this.assignedToIds;
}
/**
* @return assignedToMaps
*/
public String getAssignedToMaps() {
return this.assignedToMaps;
}
/**
* @return assignedToStaffId
*/
public String getAssignedToStaffId() {
return this.assignedToStaffId;
}
/**
* @return attachmentIds
*/
public String getAttachmentIds() {
return this.attachmentIds;
}
/**
* @return attachmentList
*/
public String getAttachmentList() {
return this.attachmentList;
}
/**
* @return attachmented
*/
public Boolean getAttachmented() {
return this.attachmented;
}
/**
* @return blackListNotice
*/
public String getBlackListNotice() {
return this.blackListNotice;
}
/**
* @return cfsList
*/
public java.util.List < CfsList> getCfsList() {
return this.cfsList;
}
/**
* @return changeLogList
*/
public String getChangeLogList() {
return this.changeLogList;
}
/**
* @return commentList
*/
public String getCommentList() {
return this.commentList;
}
/**
* @return commitDate
*/
public Long getCommitDate() {
return this.commitDate;
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return guid
*/
public String getGuid() {
return this.guid;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return idPath
*/
public String getIdPath() {
return this.idPath;
}
/**
* @return ignoreCheck
*/
public Boolean getIgnoreCheck() {
return this.ignoreCheck;
}
/**
* @return ignoreIntegrate
*/
public Boolean getIgnoreIntegrate() {
return this.ignoreIntegrate;
}
/**
* @return issueTypeId
*/
public Integer getIssueTypeId() {
return this.issueTypeId;
}
/**
* @return logicalStatus
*/
public String getLogicalStatus() {
return this.logicalStatus;
}
/**
* @return moduleIds
*/
public String getModuleIds() {
return this.moduleIds;
}
/**
* @return moduleList
*/
public String getModuleList() {
return this.moduleList;
}
/**
* @return moduleUpdated
*/
public Boolean getModuleUpdated() {
return this.moduleUpdated;
}
/**
* @return parentId
*/
public Integer getParentId() {
return this.parentId;
}
/**
* @return priority
*/
public String getPriority() {
return this.priority;
}
/**
* @return priorityId
*/
public Integer getPriorityId() {
return this.priorityId;
}
/**
* @return projectIds
*/
public String getProjectIds() {
return this.projectIds;
}
/**
* @return recordChangeLog
*/
public Boolean getRecordChangeLog() {
return this.recordChangeLog;
}
/**
* @return regionId
*/
public Integer getRegionId() {
return this.regionId;
}
/**
* @return relatedAKProjectGuids
*/
public String getRelatedAKProjectGuids() {
return this.relatedAKProjectGuids;
}
/**
* @return relatedAKProjectIds
*/
public String getRelatedAKProjectIds() {
return this.relatedAKProjectIds;
}
/**
* @return relatedUserIds
*/
public String getRelatedUserIds() {
return this.relatedUserIds;
}
/**
* @return sendWangwang
*/
public Boolean getSendWangwang() {
return this.sendWangwang;
}
/**
* @return seriousLevel
*/
public String getSeriousLevel() {
return this.seriousLevel;
}
/**
* @return seriousLevelId
*/
public Integer getSeriousLevelId() {
return this.seriousLevelId;
}
/**
* @return skipCollab
*/
public Boolean getSkipCollab() {
return this.skipCollab;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return statusId
*/
public Integer getStatusId() {
return this.statusId;
}
/**
* @return statusStage
*/
public Integer getStatusStage() {
return this.statusStage;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
/**
* @return tagIdList
*/
public String getTagIdList() {
return this.tagIdList;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return trackerIds
*/
public String getTrackerIds() {
return this.trackerIds;
}
/**
* @return trackers
*/
public String getTrackers() {
return this.trackers;
}
/**
* @return updateStatusAt
*/
public Long getUpdateStatusAt() {
return this.updateStatusAt;
}
/**
* @return updatedAt
*/
public Long getUpdatedAt() {
return this.updatedAt;
}
/**
* @return user
*/
public String getUser() {
return this.user;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
/**
* @return userStaffId
*/
public String getUserStaffId() {
return this.userStaffId;
}
/**
* @return verifier
*/
public String getVerifier() {
return this.verifier;
}
/**
* @return verifierId
*/
public Integer getVerifierId() {
return this.verifierId;
}
/**
* @return verifierStaffId
*/
public String getVerifierStaffId() {
return this.verifierStaffId;
}
/**
* @return versionIds
*/
public String getVersionIds() {
return this.versionIds;
}
/**
* @return versionList
*/
public String getVersionList() {
return this.versionList;
}
/**
* @return watched
*/
public Boolean getWatched() {
return this.watched;
}
public static final class Builder {
private Integer akProjectId;
private String assignedTo;
private Integer assignedToId;
private String assignedToIdList;
private String assignedToIds;
private String assignedToMaps;
private String assignedToStaffId;
private String attachmentIds;
private String attachmentList;
private Boolean attachmented;
private String blackListNotice;
private java.util.List < CfsList> cfsList;
private String changeLogList;
private String commentList;
private Long commitDate;
private Long createdAt;
private String description;
private String guid;
private Integer id;
private String idPath;
private Boolean ignoreCheck;
private Boolean ignoreIntegrate;
private Integer issueTypeId;
private String logicalStatus;
private String moduleIds;
private String moduleList;
private Boolean moduleUpdated;
private Integer parentId;
private String priority;
private Integer priorityId;
private String projectIds;
private Boolean recordChangeLog;
private Integer regionId;
private String relatedAKProjectGuids;
private String relatedAKProjectIds;
private String relatedUserIds;
private Boolean sendWangwang;
private String seriousLevel;
private Integer seriousLevelId;
private Boolean skipCollab;
private String stamp;
private String status;
private Integer statusId;
private Integer statusStage;
private String subject;
private String tagIdList;
private Integer templateId;
private String trackerIds;
private String trackers;
private Long updateStatusAt;
private Long updatedAt;
private String user;
private Integer userId;
private String userStaffId;
private String verifier;
private Integer verifierId;
private String verifierStaffId;
private String versionIds;
private String versionList;
private Boolean watched;
/**
* AkProjectId.
*/
public Builder akProjectId(Integer akProjectId) {
this.akProjectId = akProjectId;
return this;
}
/**
* AssignedTo.
*/
public Builder assignedTo(String assignedTo) {
this.assignedTo = assignedTo;
return this;
}
/**
* AssignedToId.
*/
public Builder assignedToId(Integer assignedToId) {
this.assignedToId = assignedToId;
return this;
}
/**
* AssignedToIdList.
*/
public Builder assignedToIdList(String assignedToIdList) {
this.assignedToIdList = assignedToIdList;
return this;
}
/**
* AssignedToIds.
*/
public Builder assignedToIds(String assignedToIds) {
this.assignedToIds = assignedToIds;
return this;
}
/**
* AssignedToMaps.
*/
public Builder assignedToMaps(String assignedToMaps) {
this.assignedToMaps = assignedToMaps;
return this;
}
/**
* AssignedToStaffId.
*/
public Builder assignedToStaffId(String assignedToStaffId) {
this.assignedToStaffId = assignedToStaffId;
return this;
}
/**
* AttachmentIds.
*/
public Builder attachmentIds(String attachmentIds) {
this.attachmentIds = attachmentIds;
return this;
}
/**
* AttachmentList.
*/
public Builder attachmentList(String attachmentList) {
this.attachmentList = attachmentList;
return this;
}
/**
* Attachmented.
*/
public Builder attachmented(Boolean attachmented) {
this.attachmented = attachmented;
return this;
}
/**
* BlackListNotice.
*/
public Builder blackListNotice(String blackListNotice) {
this.blackListNotice = blackListNotice;
return this;
}
/**
* CfsList.
*/
public Builder cfsList(java.util.List < CfsList> cfsList) {
this.cfsList = cfsList;
return this;
}
/**
* ChangeLogList.
*/
public Builder changeLogList(String changeLogList) {
this.changeLogList = changeLogList;
return this;
}
/**
* CommentList.
*/
public Builder commentList(String commentList) {
this.commentList = commentList;
return this;
}
/**
* CommitDate.
*/
public Builder commitDate(Long commitDate) {
this.commitDate = commitDate;
return this;
}
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Guid.
*/
public Builder guid(String guid) {
this.guid = guid;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IdPath.
*/
public Builder idPath(String idPath) {
this.idPath = idPath;
return this;
}
/**
* IgnoreCheck.
*/
public Builder ignoreCheck(Boolean ignoreCheck) {
this.ignoreCheck = ignoreCheck;
return this;
}
/**
* IgnoreIntegrate.
*/
public Builder ignoreIntegrate(Boolean ignoreIntegrate) {
this.ignoreIntegrate = ignoreIntegrate;
return this;
}
/**
* IssueTypeId.
*/
public Builder issueTypeId(Integer issueTypeId) {
this.issueTypeId = issueTypeId;
return this;
}
/**
* LogicalStatus.
*/
public Builder logicalStatus(String logicalStatus) {
this.logicalStatus = logicalStatus;
return this;
}
/**
* ModuleIds.
*/
public Builder moduleIds(String moduleIds) {
this.moduleIds = moduleIds;
return this;
}
/**
* ModuleList.
*/
public Builder moduleList(String moduleList) {
this.moduleList = moduleList;
return this;
}
/**
* ModuleUpdated.
*/
public Builder moduleUpdated(Boolean moduleUpdated) {
this.moduleUpdated = moduleUpdated;
return this;
}
/**
* ParentId.
*/
public Builder parentId(Integer parentId) {
this.parentId = parentId;
return this;
}
/**
* Priority.
*/
public Builder priority(String priority) {
this.priority = priority;
return this;
}
/**
* PriorityId.
*/
public Builder priorityId(Integer priorityId) {
this.priorityId = priorityId;
return this;
}
/**
* ProjectIds.
*/
public Builder projectIds(String projectIds) {
this.projectIds = projectIds;
return this;
}
/**
* RecordChangeLog.
*/
public Builder recordChangeLog(Boolean recordChangeLog) {
this.recordChangeLog = recordChangeLog;
return this;
}
/**
* RegionId.
*/
public Builder regionId(Integer regionId) {
this.regionId = regionId;
return this;
}
/**
* RelatedAKProjectGuids.
*/
public Builder relatedAKProjectGuids(String relatedAKProjectGuids) {
this.relatedAKProjectGuids = relatedAKProjectGuids;
return this;
}
/**
* RelatedAKProjectIds.
*/
public Builder relatedAKProjectIds(String relatedAKProjectIds) {
this.relatedAKProjectIds = relatedAKProjectIds;
return this;
}
/**
* RelatedUserIds.
*/
public Builder relatedUserIds(String relatedUserIds) {
this.relatedUserIds = relatedUserIds;
return this;
}
/**
* SendWangwang.
*/
public Builder sendWangwang(Boolean sendWangwang) {
this.sendWangwang = sendWangwang;
return this;
}
/**
* SeriousLevel.
*/
public Builder seriousLevel(String seriousLevel) {
this.seriousLevel = seriousLevel;
return this;
}
/**
* SeriousLevelId.
*/
public Builder seriousLevelId(Integer seriousLevelId) {
this.seriousLevelId = seriousLevelId;
return this;
}
/**
* SkipCollab.
*/
public Builder skipCollab(Boolean skipCollab) {
this.skipCollab = skipCollab;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.stamp = stamp;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* StatusId.
*/
public Builder statusId(Integer statusId) {
this.statusId = statusId;
return this;
}
/**
* StatusStage.
*/
public Builder statusStage(Integer statusStage) {
this.statusStage = statusStage;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.subject = subject;
return this;
}
/**
* TagIdList.
*/
public Builder tagIdList(String tagIdList) {
this.tagIdList = tagIdList;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.templateId = templateId;
return this;
}
/**
* TrackerIds.
*/
public Builder trackerIds(String trackerIds) {
this.trackerIds = trackerIds;
return this;
}
/**
* Trackers.
*/
public Builder trackers(String trackers) {
this.trackers = trackers;
return this;
}
/**
* UpdateStatusAt.
*/
public Builder updateStatusAt(Long updateStatusAt) {
this.updateStatusAt = updateStatusAt;
return this;
}
/**
* UpdatedAt.
*/
public Builder updatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* User.
*/
public Builder user(String user) {
this.user = user;
return this;
}
/**
* UserId.
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
/**
* UserStaffId.
*/
public Builder userStaffId(String userStaffId) {
this.userStaffId = userStaffId;
return this;
}
/**
* Verifier.
*/
public Builder verifier(String verifier) {
this.verifier = verifier;
return this;
}
/**
* VerifierId.
*/
public Builder verifierId(Integer verifierId) {
this.verifierId = verifierId;
return this;
}
/**
* VerifierStaffId.
*/
public Builder verifierStaffId(String verifierStaffId) {
this.verifierStaffId = verifierStaffId;
return this;
}
/**
* VersionIds.
*/
public Builder versionIds(String versionIds) {
this.versionIds = versionIds;
return this;
}
/**
* VersionList.
*/
public Builder versionList(String versionList) {
this.versionList = versionList;
return this;
}
/**
* Watched.
*/
public Builder watched(Boolean watched) {
this.watched = watched;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetJoinCodeRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetJoinCodeRequest} extends {@link RequestModel}
*
* <p>GetJoinCodeRequest</p>
*/
public class GetJoinCodeRequest extends Request {
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
private GetJoinCodeRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
}
public static Builder builder() {
return new Builder();
}
public static GetJoinCodeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
public static final class Builder extends Request.Builder<GetJoinCodeRequest, Builder> {
private String corpIdentifier;
private Builder() {
super();
}
private Builder(GetJoinCodeRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
@Override
public GetJoinCodeRequest build() {
return new GetJoinCodeRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetJoinCodeResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetJoinCodeResponse} extends {@link TeaModel}
*
* <p>GetJoinCodeResponse</p>
*/
public class GetJoinCodeResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetJoinCodeResponseBody body;
private GetJoinCodeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetJoinCodeResponse 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 body
*/
public GetJoinCodeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetJoinCodeResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetJoinCodeResponseBody body);
@Override
GetJoinCodeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetJoinCodeResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetJoinCodeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetJoinCodeResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetJoinCodeResponseBody body) {
this.body = body;
return this;
}
@Override
public GetJoinCodeResponse build() {
return new GetJoinCodeResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetJoinCodeResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetJoinCodeResponseBody} extends {@link TeaModel}
*
* <p>GetJoinCodeResponseBody</p>
*/
public class GetJoinCodeResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetJoinCodeResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetJoinCodeResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetJoinCodeResponseBody build() {
return new GetJoinCodeResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("Code")
private String code;
private Data(Builder builder) {
this.code = builder.code;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
public static final class Builder {
private String code;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetProjectMembersRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetProjectMembersRequest} extends {@link RequestModel}
*
* <p>GetProjectMembersRequest</p>
*/
public class GetProjectMembersRequest extends Request {
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Query
@NameInMap("ProjectId")
@Validation(required = true)
private Integer projectId;
@Query
@NameInMap("StaffId")
private String staffId;
private GetProjectMembersRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
this.projectId = builder.projectId;
this.staffId = builder.staffId;
}
public static Builder builder() {
return new Builder();
}
public static GetProjectMembersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return projectId
*/
public Integer getProjectId() {
return this.projectId;
}
/**
* @return staffId
*/
public String getStaffId() {
return this.staffId;
}
public static final class Builder extends Request.Builder<GetProjectMembersRequest, Builder> {
private String corpIdentifier;
private Integer projectId;
private String staffId;
private Builder() {
super();
}
private Builder(GetProjectMembersRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
this.projectId = response.projectId;
this.staffId = response.staffId;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* ProjectId.
*/
public Builder projectId(Integer projectId) {
this.putQueryParameter("ProjectId", projectId);
this.projectId = projectId;
return this;
}
/**
* StaffId.
*/
public Builder staffId(String staffId) {
this.putQueryParameter("StaffId", staffId);
this.staffId = staffId;
return this;
}
@Override
public GetProjectMembersRequest build() {
return new GetProjectMembersRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetProjectMembersResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetProjectMembersResponse} extends {@link TeaModel}
*
* <p>GetProjectMembersResponse</p>
*/
public class GetProjectMembersResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetProjectMembersResponseBody body;
private GetProjectMembersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetProjectMembersResponse 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 body
*/
public GetProjectMembersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetProjectMembersResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetProjectMembersResponseBody body);
@Override
GetProjectMembersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetProjectMembersResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetProjectMembersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetProjectMembersResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetProjectMembersResponseBody body) {
this.body = body;
return this;
}
@Override
public GetProjectMembersResponse build() {
return new GetProjectMembersResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetProjectMembersResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetProjectMembersResponseBody} extends {@link TeaModel}
*
* <p>GetProjectMembersResponseBody</p>
*/
public class GetProjectMembersResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetProjectMembersResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetProjectMembersResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetProjectMembersResponseBody build() {
return new GetProjectMembersResponseBody(this);
}
}
public static class Users extends TeaModel {
@NameInMap("Avatar")
private String avatar;
@NameInMap("Email")
private String email;
@NameInMap("Id")
private Integer id;
@NameInMap("NickName")
private String nickName;
@NameInMap("RealName")
private String realName;
@NameInMap("StaffId")
private String staffId;
private Users(Builder builder) {
this.avatar = builder.avatar;
this.email = builder.email;
this.id = builder.id;
this.nickName = builder.nickName;
this.realName = builder.realName;
this.staffId = builder.staffId;
}
public static Builder builder() {
return new Builder();
}
public static Users create() {
return builder().build();
}
/**
* @return avatar
*/
public String getAvatar() {
return this.avatar;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return realName
*/
public String getRealName() {
return this.realName;
}
/**
* @return staffId
*/
public String getStaffId() {
return this.staffId;
}
public static final class Builder {
private String avatar;
private String email;
private Integer id;
private String nickName;
private String realName;
private String staffId;
/**
* Avatar.
*/
public Builder avatar(String avatar) {
this.avatar = avatar;
return this;
}
/**
* Email.
*/
public Builder email(String email) {
this.email = email;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* RealName.
*/
public Builder realName(String realName) {
this.realName = realName;
return this;
}
/**
* StaffId.
*/
public Builder staffId(String staffId) {
this.staffId = staffId;
return this;
}
public Users build() {
return new Users(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("Id")
private Integer id;
@NameInMap("Identifier")
private String identifier;
@NameInMap("Name")
private String name;
@NameInMap("Users")
private java.util.List < Users> users;
private Data(Builder builder) {
this.id = builder.id;
this.identifier = builder.identifier;
this.name = builder.name;
this.users = builder.users;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return identifier
*/
public String getIdentifier() {
return this.identifier;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return users
*/
public java.util.List < Users> getUsers() {
return this.users;
}
public static final class Builder {
private Integer id;
private String identifier;
private String name;
private java.util.List < Users> users;
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* Identifier.
*/
public Builder identifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Users.
*/
public Builder users(java.util.List < Users> users) {
this.users = users;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetUserByAliyunPkRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetUserByAliyunPkRequest} extends {@link RequestModel}
*
* <p>GetUserByAliyunPkRequest</p>
*/
public class GetUserByAliyunPkRequest extends Request {
@Query
@NameInMap("Pk")
@Validation(required = true)
private String pk;
private GetUserByAliyunPkRequest(Builder builder) {
super(builder);
this.pk = builder.pk;
}
public static Builder builder() {
return new Builder();
}
public static GetUserByAliyunPkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pk
*/
public String getPk() {
return this.pk;
}
public static final class Builder extends Request.Builder<GetUserByAliyunPkRequest, Builder> {
private String pk;
private Builder() {
super();
}
private Builder(GetUserByAliyunPkRequest response) {
super(response);
this.pk = response.pk;
}
/**
* Pk.
*/
public Builder pk(String pk) {
this.putQueryParameter("Pk", pk);
this.pk = pk;
return this;
}
@Override
public GetUserByAliyunPkRequest build() {
return new GetUserByAliyunPkRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetUserByAliyunPkResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetUserByAliyunPkResponse} extends {@link TeaModel}
*
* <p>GetUserByAliyunPkResponse</p>
*/
public class GetUserByAliyunPkResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetUserByAliyunPkResponseBody body;
private GetUserByAliyunPkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetUserByAliyunPkResponse 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 body
*/
public GetUserByAliyunPkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetUserByAliyunPkResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetUserByAliyunPkResponseBody body);
@Override
GetUserByAliyunPkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetUserByAliyunPkResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetUserByAliyunPkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetUserByAliyunPkResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetUserByAliyunPkResponseBody body) {
this.body = body;
return this;
}
@Override
public GetUserByAliyunPkResponse build() {
return new GetUserByAliyunPkResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetUserByAliyunPkResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetUserByAliyunPkResponseBody} extends {@link TeaModel}
*
* <p>GetUserByAliyunPkResponseBody</p>
*/
public class GetUserByAliyunPkResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetUserByAliyunPkResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetUserByAliyunPkResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetUserByAliyunPkResponseBody build() {
return new GetUserByAliyunPkResponseBody(this);
}
}
public static class AliyunUser extends TeaModel {
@NameInMap("AccountStructure")
private Integer accountStructure;
@NameInMap("AliyunId")
private String aliyunId;
@NameInMap("Email")
private String email;
@NameInMap("HavanaId")
private String havanaId;
@NameInMap("Id")
private Integer id;
@NameInMap("Kp")
private String kp;
@NameInMap("NickName")
private String nickName;
@NameInMap("Realname")
private String realname;
@NameInMap("TaobaoNick")
private String taobaoNick;
private AliyunUser(Builder builder) {
this.accountStructure = builder.accountStructure;
this.aliyunId = builder.aliyunId;
this.email = builder.email;
this.havanaId = builder.havanaId;
this.id = builder.id;
this.kp = builder.kp;
this.nickName = builder.nickName;
this.realname = builder.realname;
this.taobaoNick = builder.taobaoNick;
}
public static Builder builder() {
return new Builder();
}
public static AliyunUser create() {
return builder().build();
}
/**
* @return accountStructure
*/
public Integer getAccountStructure() {
return this.accountStructure;
}
/**
* @return aliyunId
*/
public String getAliyunId() {
return this.aliyunId;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return havanaId
*/
public String getHavanaId() {
return this.havanaId;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return kp
*/
public String getKp() {
return this.kp;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return realname
*/
public String getRealname() {
return this.realname;
}
/**
* @return taobaoNick
*/
public String getTaobaoNick() {
return this.taobaoNick;
}
public static final class Builder {
private Integer accountStructure;
private String aliyunId;
private String email;
private String havanaId;
private Integer id;
private String kp;
private String nickName;
private String realname;
private String taobaoNick;
/**
* AccountStructure.
*/
public Builder accountStructure(Integer accountStructure) {
this.accountStructure = accountStructure;
return this;
}
/**
* AliyunId.
*/
public Builder aliyunId(String aliyunId) {
this.aliyunId = aliyunId;
return this;
}
/**
* Email.
*/
public Builder email(String email) {
this.email = email;
return this;
}
/**
* HavanaId.
*/
public Builder havanaId(String havanaId) {
this.havanaId = havanaId;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* Kp.
*/
public Builder kp(String kp) {
this.kp = kp;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* Realname.
*/
public Builder realname(String realname) {
this.realname = realname;
return this;
}
/**
* TaobaoNick.
*/
public Builder taobaoNick(String taobaoNick) {
this.taobaoNick = taobaoNick;
return this;
}
public AliyunUser build() {
return new AliyunUser(this);
}
}
}
public static class DingtalkUser extends TeaModel {
@NameInMap("CodeUserName")
private String codeUserName;
@NameInMap("DingId")
private String dingId;
@NameInMap("DingtalkUserId")
private Integer dingtalkUserId;
@NameInMap("Id")
private Integer id;
@NameInMap("Nick")
private String nick;
@NameInMap("UnionId")
private String unionId;
private DingtalkUser(Builder builder) {
this.codeUserName = builder.codeUserName;
this.dingId = builder.dingId;
this.dingtalkUserId = builder.dingtalkUserId;
this.id = builder.id;
this.nick = builder.nick;
this.unionId = builder.unionId;
}
public static Builder builder() {
return new Builder();
}
public static DingtalkUser create() {
return builder().build();
}
/**
* @return codeUserName
*/
public String getCodeUserName() {
return this.codeUserName;
}
/**
* @return dingId
*/
public String getDingId() {
return this.dingId;
}
/**
* @return dingtalkUserId
*/
public Integer getDingtalkUserId() {
return this.dingtalkUserId;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return nick
*/
public String getNick() {
return this.nick;
}
/**
* @return unionId
*/
public String getUnionId() {
return this.unionId;
}
public static final class Builder {
private String codeUserName;
private String dingId;
private Integer dingtalkUserId;
private Integer id;
private String nick;
private String unionId;
/**
* CodeUserName.
*/
public Builder codeUserName(String codeUserName) {
this.codeUserName = codeUserName;
return this;
}
/**
* DingId.
*/
public Builder dingId(String dingId) {
this.dingId = dingId;
return this;
}
/**
* DingtalkUserId.
*/
public Builder dingtalkUserId(Integer dingtalkUserId) {
this.dingtalkUserId = dingtalkUserId;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* Nick.
*/
public Builder nick(String nick) {
this.nick = nick;
return this;
}
/**
* UnionId.
*/
public Builder unionId(String unionId) {
this.unionId = unionId;
return this;
}
public DingtalkUser build() {
return new DingtalkUser(this);
}
}
}
public static class UserProfileDTO extends TeaModel {
@NameInMap("Avatar")
private String avatar;
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("DataSource")
private String dataSource;
@NameInMap("Email")
private String email;
@NameInMap("EnglishName")
private String englishName;
@NameInMap("Mobile")
private String mobile;
@NameInMap("Name")
private String name;
@NameInMap("NickName")
private String nickName;
@NameInMap("UserId")
private Integer userId;
private UserProfileDTO(Builder builder) {
this.avatar = builder.avatar;
this.createdAt = builder.createdAt;
this.dataSource = builder.dataSource;
this.email = builder.email;
this.englishName = builder.englishName;
this.mobile = builder.mobile;
this.name = builder.name;
this.nickName = builder.nickName;
this.userId = builder.userId;
}
public static Builder builder() {
return new Builder();
}
public static UserProfileDTO create() {
return builder().build();
}
/**
* @return avatar
*/
public String getAvatar() {
return this.avatar;
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return dataSource
*/
public String getDataSource() {
return this.dataSource;
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return englishName
*/
public String getEnglishName() {
return this.englishName;
}
/**
* @return mobile
*/
public String getMobile() {
return this.mobile;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
public static final class Builder {
private String avatar;
private Long createdAt;
private String dataSource;
private String email;
private String englishName;
private String mobile;
private String name;
private String nickName;
private Integer userId;
/**
* Avatar.
*/
public Builder avatar(String avatar) {
this.avatar = avatar;
return this;
}
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* DataSource.
*/
public Builder dataSource(String dataSource) {
this.dataSource = dataSource;
return this;
}
/**
* Email.
*/
public Builder email(String email) {
this.email = email;
return this;
}
/**
* EnglishName.
*/
public Builder englishName(String englishName) {
this.englishName = englishName;
return this;
}
/**
* Mobile.
*/
public Builder mobile(String mobile) {
this.mobile = mobile;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* UserId.
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
public UserProfileDTO build() {
return new UserProfileDTO(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("AliyunUser")
private AliyunUser aliyunUser;
@NameInMap("DingtalkUser")
private DingtalkUser dingtalkUser;
@NameInMap("Guid")
private String guid;
@NameInMap("Id")
private Integer id;
@NameInMap("IsValid")
private Boolean isValid;
@NameInMap("MainAccountType")
private String mainAccountType;
@NameInMap("NickName")
private String nickName;
@NameInMap("UserProfileDTO")
private UserProfileDTO userProfileDTO;
@NameInMap("Uuid")
private String uuid;
private Data(Builder builder) {
this.aliyunUser = builder.aliyunUser;
this.dingtalkUser = builder.dingtalkUser;
this.guid = builder.guid;
this.id = builder.id;
this.isValid = builder.isValid;
this.mainAccountType = builder.mainAccountType;
this.nickName = builder.nickName;
this.userProfileDTO = builder.userProfileDTO;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return aliyunUser
*/
public AliyunUser getAliyunUser() {
return this.aliyunUser;
}
/**
* @return dingtalkUser
*/
public DingtalkUser getDingtalkUser() {
return this.dingtalkUser;
}
/**
* @return guid
*/
public String getGuid() {
return this.guid;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return isValid
*/
public Boolean getIsValid() {
return this.isValid;
}
/**
* @return mainAccountType
*/
public String getMainAccountType() {
return this.mainAccountType;
}
/**
* @return nickName
*/
public String getNickName() {
return this.nickName;
}
/**
* @return userProfileDTO
*/
public UserProfileDTO getUserProfileDTO() {
return this.userProfileDTO;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private AliyunUser aliyunUser;
private DingtalkUser dingtalkUser;
private String guid;
private Integer id;
private Boolean isValid;
private String mainAccountType;
private String nickName;
private UserProfileDTO userProfileDTO;
private String uuid;
/**
* AliyunUser.
*/
public Builder aliyunUser(AliyunUser aliyunUser) {
this.aliyunUser = aliyunUser;
return this;
}
/**
* DingtalkUser.
*/
public Builder dingtalkUser(DingtalkUser dingtalkUser) {
this.dingtalkUser = dingtalkUser;
return this;
}
/**
* Guid.
*/
public Builder guid(String guid) {
this.guid = guid;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IsValid.
*/
public Builder isValid(Boolean isValid) {
this.isValid = isValid;
return this;
}
/**
* MainAccountType.
*/
public Builder mainAccountType(String mainAccountType) {
this.mainAccountType = mainAccountType;
return this;
}
/**
* NickName.
*/
public Builder nickName(String nickName) {
this.nickName = nickName;
return this;
}
/**
* UserProfileDTO.
*/
public Builder userProfileDTO(UserProfileDTO userProfileDTO) {
this.userProfileDTO = userProfileDTO;
return this;
}
/**
* Uuid.
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetWorkitemByIdRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetWorkitemByIdRequest} extends {@link RequestModel}
*
* <p>GetWorkitemByIdRequest</p>
*/
public class GetWorkitemByIdRequest extends Request {
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("Id")
@Validation(required = true)
private Integer id;
private GetWorkitemByIdRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
this.id = builder.id;
}
public static Builder builder() {
return new Builder();
}
public static GetWorkitemByIdRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
public static final class Builder extends Request.Builder<GetWorkitemByIdRequest, Builder> {
private String corpIdentifier;
private Integer id;
private Builder() {
super();
}
private Builder(GetWorkitemByIdRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
this.id = response.id;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.putBodyParameter("Id", id);
this.id = id;
return this;
}
@Override
public GetWorkitemByIdRequest build() {
return new GetWorkitemByIdRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetWorkitemByIdResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetWorkitemByIdResponse} extends {@link TeaModel}
*
* <p>GetWorkitemByIdResponse</p>
*/
public class GetWorkitemByIdResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private GetWorkitemByIdResponseBody body;
private GetWorkitemByIdResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static GetWorkitemByIdResponse 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 body
*/
public GetWorkitemByIdResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetWorkitemByIdResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(GetWorkitemByIdResponseBody body);
@Override
GetWorkitemByIdResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetWorkitemByIdResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private GetWorkitemByIdResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetWorkitemByIdResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetWorkitemByIdResponseBody body) {
this.body = body;
return this;
}
@Override
public GetWorkitemByIdResponse build() {
return new GetWorkitemByIdResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/GetWorkitemByIdResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetWorkitemByIdResponseBody} extends {@link TeaModel}
*
* <p>GetWorkitemByIdResponseBody</p>
*/
public class GetWorkitemByIdResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private String success;
private GetWorkitemByIdResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetWorkitemByIdResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public String getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String requestId;
private String success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(String success) {
this.success = success;
return this;
}
public GetWorkitemByIdResponseBody build() {
return new GetWorkitemByIdResponseBody(this);
}
}
public static class CfsList extends TeaModel {
@NameInMap("Id")
private String id;
@NameInMap("Name")
private String name;
@NameInMap("Type")
private String type;
@NameInMap("Value")
private String value;
private CfsList(Builder builder) {
this.id = builder.id;
this.name = builder.name;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static CfsList create() {
return builder().build();
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String id;
private String name;
private String type;
private String value;
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public CfsList build() {
return new CfsList(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("AkProjectId")
private Integer akProjectId;
@NameInMap("AssignedTo")
private String assignedTo;
@NameInMap("AssignedToId")
private Integer assignedToId;
@NameInMap("AssignedToIdList")
private String assignedToIdList;
@NameInMap("AssignedToIds")
private String assignedToIds;
@NameInMap("AssignedToMaps")
private String assignedToMaps;
@NameInMap("AssignedToStaffId")
private String assignedToStaffId;
@NameInMap("AttachmentIds")
private String attachmentIds;
@NameInMap("AttachmentList")
private String attachmentList;
@NameInMap("Attachmented")
private Boolean attachmented;
@NameInMap("BlackListNotice")
private String blackListNotice;
@NameInMap("CfsList")
private java.util.List < CfsList> cfsList;
@NameInMap("ChangeLogList")
private String changeLogList;
@NameInMap("CommentList")
private String commentList;
@NameInMap("CommitDate")
private Long commitDate;
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("Description")
private String description;
@NameInMap("Guid")
private String guid;
@NameInMap("Id")
private Integer id;
@NameInMap("IdPath")
private String idPath;
@NameInMap("IgnoreCheck")
private Boolean ignoreCheck;
@NameInMap("IgnoreIntegrate")
private Boolean ignoreIntegrate;
@NameInMap("IssueTypeId")
private Integer issueTypeId;
@NameInMap("LogicalStatus")
private String logicalStatus;
@NameInMap("ModuleIds")
private String moduleIds;
@NameInMap("ModuleList")
private String moduleList;
@NameInMap("ModuleUpdated")
private Boolean moduleUpdated;
@NameInMap("ParentId")
private Integer parentId;
@NameInMap("Priority")
private String priority;
@NameInMap("PriorityId")
private Integer priorityId;
@NameInMap("ProjectIds")
private String projectIds;
@NameInMap("RecordChangeLog")
private Boolean recordChangeLog;
@NameInMap("RegionId")
private Integer regionId;
@NameInMap("RelatedAKProjectGuids")
private String relatedAKProjectGuids;
@NameInMap("RelatedAKProjectIds")
private String relatedAKProjectIds;
@NameInMap("RelatedUserIds")
private String relatedUserIds;
@NameInMap("SendWangwang")
private Boolean sendWangwang;
@NameInMap("SeriousLevel")
private String seriousLevel;
@NameInMap("SeriousLevelId")
private Integer seriousLevelId;
@NameInMap("SkipCollab")
private Boolean skipCollab;
@NameInMap("Stamp")
private String stamp;
@NameInMap("Status")
private String status;
@NameInMap("StatusId")
private Integer statusId;
@NameInMap("StatusStage")
private Integer statusStage;
@NameInMap("Subject")
private String subject;
@NameInMap("TagIdList")
private String tagIdList;
@NameInMap("TemplateId")
private Integer templateId;
@NameInMap("TrackerIds")
private String trackerIds;
@NameInMap("Trackers")
private String trackers;
@NameInMap("UpdateStatusAt")
private Long updateStatusAt;
@NameInMap("UpdatedAt")
private Long updatedAt;
@NameInMap("User")
private String user;
@NameInMap("UserId")
private Integer userId;
@NameInMap("UserStaffId")
private String userStaffId;
@NameInMap("Verifier")
private String verifier;
@NameInMap("VerifierId")
private Integer verifierId;
@NameInMap("VerifierStaffId")
private String verifierStaffId;
@NameInMap("VersionIds")
private String versionIds;
@NameInMap("VersionList")
private String versionList;
@NameInMap("Watched")
private Boolean watched;
private Data(Builder builder) {
this.akProjectId = builder.akProjectId;
this.assignedTo = builder.assignedTo;
this.assignedToId = builder.assignedToId;
this.assignedToIdList = builder.assignedToIdList;
this.assignedToIds = builder.assignedToIds;
this.assignedToMaps = builder.assignedToMaps;
this.assignedToStaffId = builder.assignedToStaffId;
this.attachmentIds = builder.attachmentIds;
this.attachmentList = builder.attachmentList;
this.attachmented = builder.attachmented;
this.blackListNotice = builder.blackListNotice;
this.cfsList = builder.cfsList;
this.changeLogList = builder.changeLogList;
this.commentList = builder.commentList;
this.commitDate = builder.commitDate;
this.createdAt = builder.createdAt;
this.description = builder.description;
this.guid = builder.guid;
this.id = builder.id;
this.idPath = builder.idPath;
this.ignoreCheck = builder.ignoreCheck;
this.ignoreIntegrate = builder.ignoreIntegrate;
this.issueTypeId = builder.issueTypeId;
this.logicalStatus = builder.logicalStatus;
this.moduleIds = builder.moduleIds;
this.moduleList = builder.moduleList;
this.moduleUpdated = builder.moduleUpdated;
this.parentId = builder.parentId;
this.priority = builder.priority;
this.priorityId = builder.priorityId;
this.projectIds = builder.projectIds;
this.recordChangeLog = builder.recordChangeLog;
this.regionId = builder.regionId;
this.relatedAKProjectGuids = builder.relatedAKProjectGuids;
this.relatedAKProjectIds = builder.relatedAKProjectIds;
this.relatedUserIds = builder.relatedUserIds;
this.sendWangwang = builder.sendWangwang;
this.seriousLevel = builder.seriousLevel;
this.seriousLevelId = builder.seriousLevelId;
this.skipCollab = builder.skipCollab;
this.stamp = builder.stamp;
this.status = builder.status;
this.statusId = builder.statusId;
this.statusStage = builder.statusStage;
this.subject = builder.subject;
this.tagIdList = builder.tagIdList;
this.templateId = builder.templateId;
this.trackerIds = builder.trackerIds;
this.trackers = builder.trackers;
this.updateStatusAt = builder.updateStatusAt;
this.updatedAt = builder.updatedAt;
this.user = builder.user;
this.userId = builder.userId;
this.userStaffId = builder.userStaffId;
this.verifier = builder.verifier;
this.verifierId = builder.verifierId;
this.verifierStaffId = builder.verifierStaffId;
this.versionIds = builder.versionIds;
this.versionList = builder.versionList;
this.watched = builder.watched;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return akProjectId
*/
public Integer getAkProjectId() {
return this.akProjectId;
}
/**
* @return assignedTo
*/
public String getAssignedTo() {
return this.assignedTo;
}
/**
* @return assignedToId
*/
public Integer getAssignedToId() {
return this.assignedToId;
}
/**
* @return assignedToIdList
*/
public String getAssignedToIdList() {
return this.assignedToIdList;
}
/**
* @return assignedToIds
*/
public String getAssignedToIds() {
return this.assignedToIds;
}
/**
* @return assignedToMaps
*/
public String getAssignedToMaps() {
return this.assignedToMaps;
}
/**
* @return assignedToStaffId
*/
public String getAssignedToStaffId() {
return this.assignedToStaffId;
}
/**
* @return attachmentIds
*/
public String getAttachmentIds() {
return this.attachmentIds;
}
/**
* @return attachmentList
*/
public String getAttachmentList() {
return this.attachmentList;
}
/**
* @return attachmented
*/
public Boolean getAttachmented() {
return this.attachmented;
}
/**
* @return blackListNotice
*/
public String getBlackListNotice() {
return this.blackListNotice;
}
/**
* @return cfsList
*/
public java.util.List < CfsList> getCfsList() {
return this.cfsList;
}
/**
* @return changeLogList
*/
public String getChangeLogList() {
return this.changeLogList;
}
/**
* @return commentList
*/
public String getCommentList() {
return this.commentList;
}
/**
* @return commitDate
*/
public Long getCommitDate() {
return this.commitDate;
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return guid
*/
public String getGuid() {
return this.guid;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return idPath
*/
public String getIdPath() {
return this.idPath;
}
/**
* @return ignoreCheck
*/
public Boolean getIgnoreCheck() {
return this.ignoreCheck;
}
/**
* @return ignoreIntegrate
*/
public Boolean getIgnoreIntegrate() {
return this.ignoreIntegrate;
}
/**
* @return issueTypeId
*/
public Integer getIssueTypeId() {
return this.issueTypeId;
}
/**
* @return logicalStatus
*/
public String getLogicalStatus() {
return this.logicalStatus;
}
/**
* @return moduleIds
*/
public String getModuleIds() {
return this.moduleIds;
}
/**
* @return moduleList
*/
public String getModuleList() {
return this.moduleList;
}
/**
* @return moduleUpdated
*/
public Boolean getModuleUpdated() {
return this.moduleUpdated;
}
/**
* @return parentId
*/
public Integer getParentId() {
return this.parentId;
}
/**
* @return priority
*/
public String getPriority() {
return this.priority;
}
/**
* @return priorityId
*/
public Integer getPriorityId() {
return this.priorityId;
}
/**
* @return projectIds
*/
public String getProjectIds() {
return this.projectIds;
}
/**
* @return recordChangeLog
*/
public Boolean getRecordChangeLog() {
return this.recordChangeLog;
}
/**
* @return regionId
*/
public Integer getRegionId() {
return this.regionId;
}
/**
* @return relatedAKProjectGuids
*/
public String getRelatedAKProjectGuids() {
return this.relatedAKProjectGuids;
}
/**
* @return relatedAKProjectIds
*/
public String getRelatedAKProjectIds() {
return this.relatedAKProjectIds;
}
/**
* @return relatedUserIds
*/
public String getRelatedUserIds() {
return this.relatedUserIds;
}
/**
* @return sendWangwang
*/
public Boolean getSendWangwang() {
return this.sendWangwang;
}
/**
* @return seriousLevel
*/
public String getSeriousLevel() {
return this.seriousLevel;
}
/**
* @return seriousLevelId
*/
public Integer getSeriousLevelId() {
return this.seriousLevelId;
}
/**
* @return skipCollab
*/
public Boolean getSkipCollab() {
return this.skipCollab;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return statusId
*/
public Integer getStatusId() {
return this.statusId;
}
/**
* @return statusStage
*/
public Integer getStatusStage() {
return this.statusStage;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
/**
* @return tagIdList
*/
public String getTagIdList() {
return this.tagIdList;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return trackerIds
*/
public String getTrackerIds() {
return this.trackerIds;
}
/**
* @return trackers
*/
public String getTrackers() {
return this.trackers;
}
/**
* @return updateStatusAt
*/
public Long getUpdateStatusAt() {
return this.updateStatusAt;
}
/**
* @return updatedAt
*/
public Long getUpdatedAt() {
return this.updatedAt;
}
/**
* @return user
*/
public String getUser() {
return this.user;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
/**
* @return userStaffId
*/
public String getUserStaffId() {
return this.userStaffId;
}
/**
* @return verifier
*/
public String getVerifier() {
return this.verifier;
}
/**
* @return verifierId
*/
public Integer getVerifierId() {
return this.verifierId;
}
/**
* @return verifierStaffId
*/
public String getVerifierStaffId() {
return this.verifierStaffId;
}
/**
* @return versionIds
*/
public String getVersionIds() {
return this.versionIds;
}
/**
* @return versionList
*/
public String getVersionList() {
return this.versionList;
}
/**
* @return watched
*/
public Boolean getWatched() {
return this.watched;
}
public static final class Builder {
private Integer akProjectId;
private String assignedTo;
private Integer assignedToId;
private String assignedToIdList;
private String assignedToIds;
private String assignedToMaps;
private String assignedToStaffId;
private String attachmentIds;
private String attachmentList;
private Boolean attachmented;
private String blackListNotice;
private java.util.List < CfsList> cfsList;
private String changeLogList;
private String commentList;
private Long commitDate;
private Long createdAt;
private String description;
private String guid;
private Integer id;
private String idPath;
private Boolean ignoreCheck;
private Boolean ignoreIntegrate;
private Integer issueTypeId;
private String logicalStatus;
private String moduleIds;
private String moduleList;
private Boolean moduleUpdated;
private Integer parentId;
private String priority;
private Integer priorityId;
private String projectIds;
private Boolean recordChangeLog;
private Integer regionId;
private String relatedAKProjectGuids;
private String relatedAKProjectIds;
private String relatedUserIds;
private Boolean sendWangwang;
private String seriousLevel;
private Integer seriousLevelId;
private Boolean skipCollab;
private String stamp;
private String status;
private Integer statusId;
private Integer statusStage;
private String subject;
private String tagIdList;
private Integer templateId;
private String trackerIds;
private String trackers;
private Long updateStatusAt;
private Long updatedAt;
private String user;
private Integer userId;
private String userStaffId;
private String verifier;
private Integer verifierId;
private String verifierStaffId;
private String versionIds;
private String versionList;
private Boolean watched;
/**
* AkProjectId.
*/
public Builder akProjectId(Integer akProjectId) {
this.akProjectId = akProjectId;
return this;
}
/**
* AssignedTo.
*/
public Builder assignedTo(String assignedTo) {
this.assignedTo = assignedTo;
return this;
}
/**
* AssignedToId.
*/
public Builder assignedToId(Integer assignedToId) {
this.assignedToId = assignedToId;
return this;
}
/**
* AssignedToIdList.
*/
public Builder assignedToIdList(String assignedToIdList) {
this.assignedToIdList = assignedToIdList;
return this;
}
/**
* AssignedToIds.
*/
public Builder assignedToIds(String assignedToIds) {
this.assignedToIds = assignedToIds;
return this;
}
/**
* AssignedToMaps.
*/
public Builder assignedToMaps(String assignedToMaps) {
this.assignedToMaps = assignedToMaps;
return this;
}
/**
* AssignedToStaffId.
*/
public Builder assignedToStaffId(String assignedToStaffId) {
this.assignedToStaffId = assignedToStaffId;
return this;
}
/**
* AttachmentIds.
*/
public Builder attachmentIds(String attachmentIds) {
this.attachmentIds = attachmentIds;
return this;
}
/**
* AttachmentList.
*/
public Builder attachmentList(String attachmentList) {
this.attachmentList = attachmentList;
return this;
}
/**
* Attachmented.
*/
public Builder attachmented(Boolean attachmented) {
this.attachmented = attachmented;
return this;
}
/**
* BlackListNotice.
*/
public Builder blackListNotice(String blackListNotice) {
this.blackListNotice = blackListNotice;
return this;
}
/**
* CfsList.
*/
public Builder cfsList(java.util.List < CfsList> cfsList) {
this.cfsList = cfsList;
return this;
}
/**
* ChangeLogList.
*/
public Builder changeLogList(String changeLogList) {
this.changeLogList = changeLogList;
return this;
}
/**
* CommentList.
*/
public Builder commentList(String commentList) {
this.commentList = commentList;
return this;
}
/**
* CommitDate.
*/
public Builder commitDate(Long commitDate) {
this.commitDate = commitDate;
return this;
}
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Guid.
*/
public Builder guid(String guid) {
this.guid = guid;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IdPath.
*/
public Builder idPath(String idPath) {
this.idPath = idPath;
return this;
}
/**
* IgnoreCheck.
*/
public Builder ignoreCheck(Boolean ignoreCheck) {
this.ignoreCheck = ignoreCheck;
return this;
}
/**
* IgnoreIntegrate.
*/
public Builder ignoreIntegrate(Boolean ignoreIntegrate) {
this.ignoreIntegrate = ignoreIntegrate;
return this;
}
/**
* IssueTypeId.
*/
public Builder issueTypeId(Integer issueTypeId) {
this.issueTypeId = issueTypeId;
return this;
}
/**
* LogicalStatus.
*/
public Builder logicalStatus(String logicalStatus) {
this.logicalStatus = logicalStatus;
return this;
}
/**
* ModuleIds.
*/
public Builder moduleIds(String moduleIds) {
this.moduleIds = moduleIds;
return this;
}
/**
* ModuleList.
*/
public Builder moduleList(String moduleList) {
this.moduleList = moduleList;
return this;
}
/**
* ModuleUpdated.
*/
public Builder moduleUpdated(Boolean moduleUpdated) {
this.moduleUpdated = moduleUpdated;
return this;
}
/**
* ParentId.
*/
public Builder parentId(Integer parentId) {
this.parentId = parentId;
return this;
}
/**
* Priority.
*/
public Builder priority(String priority) {
this.priority = priority;
return this;
}
/**
* PriorityId.
*/
public Builder priorityId(Integer priorityId) {
this.priorityId = priorityId;
return this;
}
/**
* ProjectIds.
*/
public Builder projectIds(String projectIds) {
this.projectIds = projectIds;
return this;
}
/**
* RecordChangeLog.
*/
public Builder recordChangeLog(Boolean recordChangeLog) {
this.recordChangeLog = recordChangeLog;
return this;
}
/**
* RegionId.
*/
public Builder regionId(Integer regionId) {
this.regionId = regionId;
return this;
}
/**
* RelatedAKProjectGuids.
*/
public Builder relatedAKProjectGuids(String relatedAKProjectGuids) {
this.relatedAKProjectGuids = relatedAKProjectGuids;
return this;
}
/**
* RelatedAKProjectIds.
*/
public Builder relatedAKProjectIds(String relatedAKProjectIds) {
this.relatedAKProjectIds = relatedAKProjectIds;
return this;
}
/**
* RelatedUserIds.
*/
public Builder relatedUserIds(String relatedUserIds) {
this.relatedUserIds = relatedUserIds;
return this;
}
/**
* SendWangwang.
*/
public Builder sendWangwang(Boolean sendWangwang) {
this.sendWangwang = sendWangwang;
return this;
}
/**
* SeriousLevel.
*/
public Builder seriousLevel(String seriousLevel) {
this.seriousLevel = seriousLevel;
return this;
}
/**
* SeriousLevelId.
*/
public Builder seriousLevelId(Integer seriousLevelId) {
this.seriousLevelId = seriousLevelId;
return this;
}
/**
* SkipCollab.
*/
public Builder skipCollab(Boolean skipCollab) {
this.skipCollab = skipCollab;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.stamp = stamp;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* StatusId.
*/
public Builder statusId(Integer statusId) {
this.statusId = statusId;
return this;
}
/**
* StatusStage.
*/
public Builder statusStage(Integer statusStage) {
this.statusStage = statusStage;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.subject = subject;
return this;
}
/**
* TagIdList.
*/
public Builder tagIdList(String tagIdList) {
this.tagIdList = tagIdList;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.templateId = templateId;
return this;
}
/**
* TrackerIds.
*/
public Builder trackerIds(String trackerIds) {
this.trackerIds = trackerIds;
return this;
}
/**
* Trackers.
*/
public Builder trackers(String trackers) {
this.trackers = trackers;
return this;
}
/**
* UpdateStatusAt.
*/
public Builder updateStatusAt(Long updateStatusAt) {
this.updateStatusAt = updateStatusAt;
return this;
}
/**
* UpdatedAt.
*/
public Builder updatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* User.
*/
public Builder user(String user) {
this.user = user;
return this;
}
/**
* UserId.
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
/**
* UserStaffId.
*/
public Builder userStaffId(String userStaffId) {
this.userStaffId = userStaffId;
return this;
}
/**
* Verifier.
*/
public Builder verifier(String verifier) {
this.verifier = verifier;
return this;
}
/**
* VerifierId.
*/
public Builder verifierId(Integer verifierId) {
this.verifierId = verifierId;
return this;
}
/**
* VerifierStaffId.
*/
public Builder verifierStaffId(String verifierStaffId) {
this.verifierStaffId = verifierStaffId;
return this;
}
/**
* VersionIds.
*/
public Builder versionIds(String versionIds) {
this.versionIds = versionIds;
return this;
}
/**
* VersionList.
*/
public Builder versionList(String versionList) {
this.versionList = versionList;
return this;
}
/**
* Watched.
*/
public Builder watched(Boolean watched) {
this.watched = watched;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/JoinCompanyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link JoinCompanyRequest} extends {@link RequestModel}
*
* <p>JoinCompanyRequest</p>
*/
public class JoinCompanyRequest extends Request {
@Body
@NameInMap("Code")
private String code;
private JoinCompanyRequest(Builder builder) {
super(builder);
this.code = builder.code;
}
public static Builder builder() {
return new Builder();
}
public static JoinCompanyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
public static final class Builder extends Request.Builder<JoinCompanyRequest, Builder> {
private String code;
private Builder() {
super();
}
private Builder(JoinCompanyRequest response) {
super(response);
this.code = response.code;
}
/**
* Code.
*/
public Builder code(String code) {
this.putBodyParameter("Code", code);
this.code = code;
return this;
}
@Override
public JoinCompanyRequest build() {
return new JoinCompanyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/JoinCompanyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link JoinCompanyResponse} extends {@link TeaModel}
*
* <p>JoinCompanyResponse</p>
*/
public class JoinCompanyResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private JoinCompanyResponseBody body;
private JoinCompanyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static JoinCompanyResponse 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 body
*/
public JoinCompanyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<JoinCompanyResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(JoinCompanyResponseBody body);
@Override
JoinCompanyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<JoinCompanyResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private JoinCompanyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(JoinCompanyResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(JoinCompanyResponseBody body) {
this.body = body;
return this;
}
@Override
public JoinCompanyResponse build() {
return new JoinCompanyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/JoinCompanyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link JoinCompanyResponseBody} extends {@link TeaModel}
*
* <p>JoinCompanyResponseBody</p>
*/
public class JoinCompanyResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private JoinCompanyResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static JoinCompanyResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public JoinCompanyResponseBody build() {
return new JoinCompanyResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("ApplicationId")
private String applicationId;
private Data(Builder builder) {
this.applicationId = builder.applicationId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
public static final class Builder {
private String applicationId;
/**
* ApplicationId.
*/
public Builder applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchProjectsByRegionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchProjectsByRegionRequest} extends {@link RequestModel}
*
* <p>SearchProjectsByRegionRequest</p>
*/
public class SearchProjectsByRegionRequest extends Request {
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("Region")
@Validation(required = true)
private String region;
@Query
@NameInMap("Status")
private String status;
@Query
@NameInMap("ToPage")
private Integer toPage;
private SearchProjectsByRegionRequest(Builder builder) {
super(builder);
this.corpIdentifier = builder.corpIdentifier;
this.pageSize = builder.pageSize;
this.region = builder.region;
this.status = builder.status;
this.toPage = builder.toPage;
}
public static Builder builder() {
return new Builder();
}
public static SearchProjectsByRegionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return toPage
*/
public Integer getToPage() {
return this.toPage;
}
public static final class Builder extends Request.Builder<SearchProjectsByRegionRequest, Builder> {
private String corpIdentifier;
private Integer pageSize;
private String region;
private String status;
private Integer toPage;
private Builder() {
super();
}
private Builder(SearchProjectsByRegionRequest response) {
super(response);
this.corpIdentifier = response.corpIdentifier;
this.pageSize = response.pageSize;
this.region = response.region;
this.status = response.status;
this.toPage = response.toPage;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Region.
*/
public Builder region(String region) {
this.putQueryParameter("Region", region);
this.region = region;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* ToPage.
*/
public Builder toPage(Integer toPage) {
this.putQueryParameter("ToPage", toPage);
this.toPage = toPage;
return this;
}
@Override
public SearchProjectsByRegionRequest build() {
return new SearchProjectsByRegionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchProjectsByRegionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchProjectsByRegionResponse} extends {@link TeaModel}
*
* <p>SearchProjectsByRegionResponse</p>
*/
public class SearchProjectsByRegionResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private SearchProjectsByRegionResponseBody body;
private SearchProjectsByRegionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static SearchProjectsByRegionResponse 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 body
*/
public SearchProjectsByRegionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchProjectsByRegionResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(SearchProjectsByRegionResponseBody body);
@Override
SearchProjectsByRegionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchProjectsByRegionResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private SearchProjectsByRegionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchProjectsByRegionResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchProjectsByRegionResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchProjectsByRegionResponse build() {
return new SearchProjectsByRegionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchProjectsByRegionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchProjectsByRegionResponseBody} extends {@link TeaModel}
*
* <p>SearchProjectsByRegionResponseBody</p>
*/
public class SearchProjectsByRegionResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private SearchProjectsByRegionResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static SearchProjectsByRegionResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public SearchProjectsByRegionResponseBody build() {
return new SearchProjectsByRegionResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AoneId")
private Integer aoneId;
@NameInMap("AoneType")
private String aoneType;
@NameInMap("CustomFieldMap")
private java.util.List < String > customFieldMap;
@NameInMap("Description")
private String description;
@NameInMap("FullName")
private String fullName;
@NameInMap("Icons")
private java.util.List < String > icons;
@NameInMap("Id")
private Integer id;
@NameInMap("IdPath")
private String idPath;
@NameInMap("Mode")
private String mode;
@NameInMap("Name")
private String name;
@NameInMap("ParentId")
private Integer parentId;
@NameInMap("Stamp")
private String stamp;
@NameInMap("Status")
private String status;
@NameInMap("Type")
private String type;
private Data(Builder builder) {
this.aoneId = builder.aoneId;
this.aoneType = builder.aoneType;
this.customFieldMap = builder.customFieldMap;
this.description = builder.description;
this.fullName = builder.fullName;
this.icons = builder.icons;
this.id = builder.id;
this.idPath = builder.idPath;
this.mode = builder.mode;
this.name = builder.name;
this.parentId = builder.parentId;
this.stamp = builder.stamp;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return aoneId
*/
public Integer getAoneId() {
return this.aoneId;
}
/**
* @return aoneType
*/
public String getAoneType() {
return this.aoneType;
}
/**
* @return customFieldMap
*/
public java.util.List < String > getCustomFieldMap() {
return this.customFieldMap;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return fullName
*/
public String getFullName() {
return this.fullName;
}
/**
* @return icons
*/
public java.util.List < String > getIcons() {
return this.icons;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return idPath
*/
public String getIdPath() {
return this.idPath;
}
/**
* @return mode
*/
public String getMode() {
return this.mode;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return parentId
*/
public Integer getParentId() {
return this.parentId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Integer aoneId;
private String aoneType;
private java.util.List < String > customFieldMap;
private String description;
private String fullName;
private java.util.List < String > icons;
private Integer id;
private String idPath;
private String mode;
private String name;
private Integer parentId;
private String stamp;
private String status;
private String type;
/**
* AoneId.
*/
public Builder aoneId(Integer aoneId) {
this.aoneId = aoneId;
return this;
}
/**
* AoneType.
*/
public Builder aoneType(String aoneType) {
this.aoneType = aoneType;
return this;
}
/**
* CustomFieldMap.
*/
public Builder customFieldMap(java.util.List < String > customFieldMap) {
this.customFieldMap = customFieldMap;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* FullName.
*/
public Builder fullName(String fullName) {
this.fullName = fullName;
return this;
}
/**
* Icons.
*/
public Builder icons(java.util.List < String > icons) {
this.icons = icons;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IdPath.
*/
public Builder idPath(String idPath) {
this.idPath = idPath;
return this;
}
/**
* Mode.
*/
public Builder mode(String mode) {
this.mode = mode;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* ParentId.
*/
public Builder parentId(Integer parentId) {
this.parentId = parentId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.stamp = stamp;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchTestCaseRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchTestCaseRequest} extends {@link RequestModel}
*
* <p>SearchTestCaseRequest</p>
*/
public class SearchTestCaseRequest extends Request {
@Body
@NameInMap("AkProjectId")
@Validation(required = true)
private String akProjectId;
@Body
@NameInMap("CaseTag")
private String caseTag;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("CreateDateEnd")
private String createDateEnd;
@Body
@NameInMap("CreateDateStart")
private String createDateStart;
@Body
@NameInMap("PageNum")
private String pageNum;
@Body
@NameInMap("PageSize")
private Integer pageSize;
@Body
@NameInMap("UpdateDateEnd")
private String updateDateEnd;
@Body
@NameInMap("UpdateDateStart")
private String updateDateStart;
private SearchTestCaseRequest(Builder builder) {
super(builder);
this.akProjectId = builder.akProjectId;
this.caseTag = builder.caseTag;
this.corpIdentifier = builder.corpIdentifier;
this.createDateEnd = builder.createDateEnd;
this.createDateStart = builder.createDateStart;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.updateDateEnd = builder.updateDateEnd;
this.updateDateStart = builder.updateDateStart;
}
public static Builder builder() {
return new Builder();
}
public static SearchTestCaseRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return akProjectId
*/
public String getAkProjectId() {
return this.akProjectId;
}
/**
* @return caseTag
*/
public String getCaseTag() {
return this.caseTag;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return createDateEnd
*/
public String getCreateDateEnd() {
return this.createDateEnd;
}
/**
* @return createDateStart
*/
public String getCreateDateStart() {
return this.createDateStart;
}
/**
* @return pageNum
*/
public String getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return updateDateEnd
*/
public String getUpdateDateEnd() {
return this.updateDateEnd;
}
/**
* @return updateDateStart
*/
public String getUpdateDateStart() {
return this.updateDateStart;
}
public static final class Builder extends Request.Builder<SearchTestCaseRequest, Builder> {
private String akProjectId;
private String caseTag;
private String corpIdentifier;
private String createDateEnd;
private String createDateStart;
private String pageNum;
private Integer pageSize;
private String updateDateEnd;
private String updateDateStart;
private Builder() {
super();
}
private Builder(SearchTestCaseRequest response) {
super(response);
this.akProjectId = response.akProjectId;
this.caseTag = response.caseTag;
this.corpIdentifier = response.corpIdentifier;
this.createDateEnd = response.createDateEnd;
this.createDateStart = response.createDateStart;
this.pageNum = response.pageNum;
this.pageSize = response.pageSize;
this.updateDateEnd = response.updateDateEnd;
this.updateDateStart = response.updateDateStart;
}
/**
* AkProjectId.
*/
public Builder akProjectId(String akProjectId) {
this.putBodyParameter("AkProjectId", akProjectId);
this.akProjectId = akProjectId;
return this;
}
/**
* CaseTag.
*/
public Builder caseTag(String caseTag) {
this.putBodyParameter("CaseTag", caseTag);
this.caseTag = caseTag;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* CreateDateEnd.
*/
public Builder createDateEnd(String createDateEnd) {
this.putBodyParameter("CreateDateEnd", createDateEnd);
this.createDateEnd = createDateEnd;
return this;
}
/**
* CreateDateStart.
*/
public Builder createDateStart(String createDateStart) {
this.putBodyParameter("CreateDateStart", createDateStart);
this.createDateStart = createDateStart;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(String pageNum) {
this.putBodyParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putBodyParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* UpdateDateEnd.
*/
public Builder updateDateEnd(String updateDateEnd) {
this.putBodyParameter("UpdateDateEnd", updateDateEnd);
this.updateDateEnd = updateDateEnd;
return this;
}
/**
* UpdateDateStart.
*/
public Builder updateDateStart(String updateDateStart) {
this.putBodyParameter("UpdateDateStart", updateDateStart);
this.updateDateStart = updateDateStart;
return this;
}
@Override
public SearchTestCaseRequest build() {
return new SearchTestCaseRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchTestCaseResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchTestCaseResponse} extends {@link TeaModel}
*
* <p>SearchTestCaseResponse</p>
*/
public class SearchTestCaseResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private SearchTestCaseResponseBody body;
private SearchTestCaseResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static SearchTestCaseResponse 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 body
*/
public SearchTestCaseResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchTestCaseResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(SearchTestCaseResponseBody body);
@Override
SearchTestCaseResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchTestCaseResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private SearchTestCaseResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchTestCaseResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchTestCaseResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchTestCaseResponse build() {
return new SearchTestCaseResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchTestCaseResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchTestCaseResponseBody} extends {@link TeaModel}
*
* <p>SearchTestCaseResponseBody</p>
*/
public class SearchTestCaseResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private SearchTestCaseResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static SearchTestCaseResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public SearchTestCaseResponseBody build() {
return new SearchTestCaseResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("Cases")
private String cases;
@NameInMap("PageNum")
private String pageNum;
@NameInMap("PageSize")
private String pageSize;
@NameInMap("PageTotal")
private String pageTotal;
@NameInMap("TotalCount")
private String totalCount;
private Data(Builder builder) {
this.cases = builder.cases;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.pageTotal = builder.pageTotal;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return cases
*/
public String getCases() {
return this.cases;
}
/**
* @return pageNum
*/
public String getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
/**
* @return pageTotal
*/
public String getPageTotal() {
return this.pageTotal;
}
/**
* @return totalCount
*/
public String getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private String cases;
private String pageNum;
private String pageSize;
private String pageTotal;
private String totalCount;
/**
* Cases.
*/
public Builder cases(String cases) {
this.cases = cases;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(String pageNum) {
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(String pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* PageTotal.
*/
public Builder pageTotal(String pageTotal) {
this.pageTotal = pageTotal;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(String totalCount) {
this.totalCount = totalCount;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchWorkitemRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchWorkitemRequest} extends {@link RequestModel}
*
* <p>SearchWorkitemRequest</p>
*/
public class SearchWorkitemRequest extends Request {
@Body
@NameInMap("AKProjectId")
@Validation(required = true)
private Integer AKProjectId;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("CreatedAtEnd")
private String createdAtEnd;
@Body
@NameInMap("CreatedAtStart")
private String createdAtStart;
@Body
@NameInMap("PageSize")
private Integer pageSize;
@Body
@NameInMap("SprintId")
private Integer sprintId;
@Body
@NameInMap("Stamp")
private String stamp;
@Body
@NameInMap("ToPage")
private Integer toPage;
private SearchWorkitemRequest(Builder builder) {
super(builder);
this.AKProjectId = builder.AKProjectId;
this.corpIdentifier = builder.corpIdentifier;
this.createdAtEnd = builder.createdAtEnd;
this.createdAtStart = builder.createdAtStart;
this.pageSize = builder.pageSize;
this.sprintId = builder.sprintId;
this.stamp = builder.stamp;
this.toPage = builder.toPage;
}
public static Builder builder() {
return new Builder();
}
public static SearchWorkitemRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AKProjectId
*/
public Integer getAKProjectId() {
return this.AKProjectId;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return createdAtEnd
*/
public String getCreatedAtEnd() {
return this.createdAtEnd;
}
/**
* @return createdAtStart
*/
public String getCreatedAtStart() {
return this.createdAtStart;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return sprintId
*/
public Integer getSprintId() {
return this.sprintId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return toPage
*/
public Integer getToPage() {
return this.toPage;
}
public static final class Builder extends Request.Builder<SearchWorkitemRequest, Builder> {
private Integer AKProjectId;
private String corpIdentifier;
private String createdAtEnd;
private String createdAtStart;
private Integer pageSize;
private Integer sprintId;
private String stamp;
private Integer toPage;
private Builder() {
super();
}
private Builder(SearchWorkitemRequest response) {
super(response);
this.AKProjectId = response.AKProjectId;
this.corpIdentifier = response.corpIdentifier;
this.createdAtEnd = response.createdAtEnd;
this.createdAtStart = response.createdAtStart;
this.pageSize = response.pageSize;
this.sprintId = response.sprintId;
this.stamp = response.stamp;
this.toPage = response.toPage;
}
/**
* AKProjectId.
*/
public Builder AKProjectId(Integer AKProjectId) {
this.putBodyParameter("AKProjectId", AKProjectId);
this.AKProjectId = AKProjectId;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* CreatedAtEnd.
*/
public Builder createdAtEnd(String createdAtEnd) {
this.putBodyParameter("CreatedAtEnd", createdAtEnd);
this.createdAtEnd = createdAtEnd;
return this;
}
/**
* CreatedAtStart.
*/
public Builder createdAtStart(String createdAtStart) {
this.putBodyParameter("CreatedAtStart", createdAtStart);
this.createdAtStart = createdAtStart;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putBodyParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SprintId.
*/
public Builder sprintId(Integer sprintId) {
this.putBodyParameter("SprintId", sprintId);
this.sprintId = sprintId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.putBodyParameter("Stamp", stamp);
this.stamp = stamp;
return this;
}
/**
* ToPage.
*/
public Builder toPage(Integer toPage) {
this.putBodyParameter("ToPage", toPage);
this.toPage = toPage;
return this;
}
@Override
public SearchWorkitemRequest build() {
return new SearchWorkitemRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchWorkitemResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchWorkitemResponse} extends {@link TeaModel}
*
* <p>SearchWorkitemResponse</p>
*/
public class SearchWorkitemResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private SearchWorkitemResponseBody body;
private SearchWorkitemResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static SearchWorkitemResponse 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 body
*/
public SearchWorkitemResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchWorkitemResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(SearchWorkitemResponseBody body);
@Override
SearchWorkitemResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchWorkitemResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private SearchWorkitemResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchWorkitemResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchWorkitemResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchWorkitemResponse build() {
return new SearchWorkitemResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchWorkitemResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchWorkitemResponseBody} extends {@link TeaModel}
*
* <p>SearchWorkitemResponseBody</p>
*/
public class SearchWorkitemResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("ToPage")
private Integer toPage;
@NameInMap("TotalCount")
private Integer totalCount;
@NameInMap("TotalPages")
private Integer totalPages;
private SearchWorkitemResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.toPage = builder.toPage;
this.totalCount = builder.totalCount;
this.totalPages = builder.totalPages;
}
public static Builder builder() {
return new Builder();
}
public static SearchWorkitemResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return toPage
*/
public Integer getToPage() {
return this.toPage;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return totalPages
*/
public Integer getTotalPages() {
return this.totalPages;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer toPage;
private Integer totalCount;
private Integer totalPages;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* ToPage.
*/
public Builder toPage(Integer toPage) {
this.toPage = toPage;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* TotalPages.
*/
public Builder totalPages(Integer totalPages) {
this.totalPages = totalPages;
return this;
}
public SearchWorkitemResponseBody build() {
return new SearchWorkitemResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AkPaths")
private String akPaths;
@NameInMap("AkProjectId")
private Integer akProjectId;
@NameInMap("AkVersionIds")
private String akVersionIds;
@NameInMap("AssignedTo")
private String assignedTo;
@NameInMap("AssignedToId")
private Integer assignedToId;
@NameInMap("AssignedToIdList")
private String assignedToIdList;
@NameInMap("AssignedToIds")
private String assignedToIds;
@NameInMap("AssignedToStaffId")
private String assignedToStaffId;
@NameInMap("AttachmentIds")
private String attachmentIds;
@NameInMap("AttachmentList")
private String attachmentList;
@NameInMap("Attachmented")
private Boolean attachmented;
@NameInMap("BlackListNotice")
private String blackListNotice;
@NameInMap("ChangeLogList")
private String changeLogList;
@NameInMap("ClosedDuration")
private Integer closedDuration;
@NameInMap("CommentList")
private String commentList;
@NameInMap("CommitDate")
private Long commitDate;
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("DevDuration")
private Integer devDuration;
@NameInMap("FixedDuration")
private Integer fixedDuration;
@NameInMap("FixedUserId")
private Integer fixedUserId;
@NameInMap("Id")
private Integer id;
@NameInMap("IdPath")
private String idPath;
@NameInMap("IgnoreCheck")
private Boolean ignoreCheck;
@NameInMap("IgnoreIntegrate")
private Boolean ignoreIntegrate;
@NameInMap("IssueRelations")
private String issueRelations;
@NameInMap("IssueTypeId")
private Integer issueTypeId;
@NameInMap("LinePath")
private String linePath;
@NameInMap("LogicalStatus")
private String logicalStatus;
@NameInMap("ModuleIds")
private String moduleIds;
@NameInMap("ModuleList")
private String moduleList;
@NameInMap("ModuleUpdated")
private Boolean moduleUpdated;
@NameInMap("ParentId")
private Integer parentId;
@NameInMap("Priority")
private String priority;
@NameInMap("PriorityId")
private Integer priorityId;
@NameInMap("ProjectId")
private Integer projectId;
@NameInMap("ProjectIds")
private String projectIds;
@NameInMap("RecordChangeLog")
private Boolean recordChangeLog;
@NameInMap("Region")
private String region;
@NameInMap("RelatedAKProjectGuids")
private String relatedAKProjectGuids;
@NameInMap("RelatedAKProjectIds")
private String relatedAKProjectIds;
@NameInMap("RelatedUserIds")
private String relatedUserIds;
@NameInMap("RespondDuration")
private Integer respondDuration;
@NameInMap("Scope")
private Integer scope;
@NameInMap("ScopeUserIds")
private String scopeUserIds;
@NameInMap("SendWangwang")
private Boolean sendWangwang;
@NameInMap("SeriousLevel")
private String seriousLevel;
@NameInMap("SeriousLevelId")
private Integer seriousLevelId;
@NameInMap("SkipCollab")
private Boolean skipCollab;
@NameInMap("Solution")
private Integer solution;
@NameInMap("Source")
private String source;
@NameInMap("SourceId")
private Integer sourceId;
@NameInMap("SprintId")
private Integer sprintId;
@NameInMap("Stamp")
private String stamp;
@NameInMap("Status")
private String status;
@NameInMap("StatusId")
private Integer statusId;
@NameInMap("StatusStage")
private Integer statusStage;
@NameInMap("Subject")
private String subject;
@NameInMap("TagIdList")
private String tagIdList;
@NameInMap("TemplateId")
private Integer templateId;
@NameInMap("TestsuiteId")
private Integer testsuiteId;
@NameInMap("TrackerIds")
private String trackerIds;
@NameInMap("Trackers")
private String trackers;
@NameInMap("UpdatedAt")
private Long updatedAt;
@NameInMap("User")
private String user;
@NameInMap("UserId")
private Integer userId;
@NameInMap("UserStaffId")
private String userStaffId;
@NameInMap("Verifier")
private String verifier;
@NameInMap("VerifierId")
private Integer verifierId;
@NameInMap("VerifierStaffId")
private String verifierStaffId;
@NameInMap("VersionId")
private Integer versionId;
@NameInMap("VersionIds")
private String versionIds;
@NameInMap("VersionList")
private String versionList;
@NameInMap("Watched")
private Boolean watched;
@NameInMap("WatcherIdList")
private String watcherIdList;
private Data(Builder builder) {
this.akPaths = builder.akPaths;
this.akProjectId = builder.akProjectId;
this.akVersionIds = builder.akVersionIds;
this.assignedTo = builder.assignedTo;
this.assignedToId = builder.assignedToId;
this.assignedToIdList = builder.assignedToIdList;
this.assignedToIds = builder.assignedToIds;
this.assignedToStaffId = builder.assignedToStaffId;
this.attachmentIds = builder.attachmentIds;
this.attachmentList = builder.attachmentList;
this.attachmented = builder.attachmented;
this.blackListNotice = builder.blackListNotice;
this.changeLogList = builder.changeLogList;
this.closedDuration = builder.closedDuration;
this.commentList = builder.commentList;
this.commitDate = builder.commitDate;
this.createdAt = builder.createdAt;
this.devDuration = builder.devDuration;
this.fixedDuration = builder.fixedDuration;
this.fixedUserId = builder.fixedUserId;
this.id = builder.id;
this.idPath = builder.idPath;
this.ignoreCheck = builder.ignoreCheck;
this.ignoreIntegrate = builder.ignoreIntegrate;
this.issueRelations = builder.issueRelations;
this.issueTypeId = builder.issueTypeId;
this.linePath = builder.linePath;
this.logicalStatus = builder.logicalStatus;
this.moduleIds = builder.moduleIds;
this.moduleList = builder.moduleList;
this.moduleUpdated = builder.moduleUpdated;
this.parentId = builder.parentId;
this.priority = builder.priority;
this.priorityId = builder.priorityId;
this.projectId = builder.projectId;
this.projectIds = builder.projectIds;
this.recordChangeLog = builder.recordChangeLog;
this.region = builder.region;
this.relatedAKProjectGuids = builder.relatedAKProjectGuids;
this.relatedAKProjectIds = builder.relatedAKProjectIds;
this.relatedUserIds = builder.relatedUserIds;
this.respondDuration = builder.respondDuration;
this.scope = builder.scope;
this.scopeUserIds = builder.scopeUserIds;
this.sendWangwang = builder.sendWangwang;
this.seriousLevel = builder.seriousLevel;
this.seriousLevelId = builder.seriousLevelId;
this.skipCollab = builder.skipCollab;
this.solution = builder.solution;
this.source = builder.source;
this.sourceId = builder.sourceId;
this.sprintId = builder.sprintId;
this.stamp = builder.stamp;
this.status = builder.status;
this.statusId = builder.statusId;
this.statusStage = builder.statusStage;
this.subject = builder.subject;
this.tagIdList = builder.tagIdList;
this.templateId = builder.templateId;
this.testsuiteId = builder.testsuiteId;
this.trackerIds = builder.trackerIds;
this.trackers = builder.trackers;
this.updatedAt = builder.updatedAt;
this.user = builder.user;
this.userId = builder.userId;
this.userStaffId = builder.userStaffId;
this.verifier = builder.verifier;
this.verifierId = builder.verifierId;
this.verifierStaffId = builder.verifierStaffId;
this.versionId = builder.versionId;
this.versionIds = builder.versionIds;
this.versionList = builder.versionList;
this.watched = builder.watched;
this.watcherIdList = builder.watcherIdList;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return akPaths
*/
public String getAkPaths() {
return this.akPaths;
}
/**
* @return akProjectId
*/
public Integer getAkProjectId() {
return this.akProjectId;
}
/**
* @return akVersionIds
*/
public String getAkVersionIds() {
return this.akVersionIds;
}
/**
* @return assignedTo
*/
public String getAssignedTo() {
return this.assignedTo;
}
/**
* @return assignedToId
*/
public Integer getAssignedToId() {
return this.assignedToId;
}
/**
* @return assignedToIdList
*/
public String getAssignedToIdList() {
return this.assignedToIdList;
}
/**
* @return assignedToIds
*/
public String getAssignedToIds() {
return this.assignedToIds;
}
/**
* @return assignedToStaffId
*/
public String getAssignedToStaffId() {
return this.assignedToStaffId;
}
/**
* @return attachmentIds
*/
public String getAttachmentIds() {
return this.attachmentIds;
}
/**
* @return attachmentList
*/
public String getAttachmentList() {
return this.attachmentList;
}
/**
* @return attachmented
*/
public Boolean getAttachmented() {
return this.attachmented;
}
/**
* @return blackListNotice
*/
public String getBlackListNotice() {
return this.blackListNotice;
}
/**
* @return changeLogList
*/
public String getChangeLogList() {
return this.changeLogList;
}
/**
* @return closedDuration
*/
public Integer getClosedDuration() {
return this.closedDuration;
}
/**
* @return commentList
*/
public String getCommentList() {
return this.commentList;
}
/**
* @return commitDate
*/
public Long getCommitDate() {
return this.commitDate;
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return devDuration
*/
public Integer getDevDuration() {
return this.devDuration;
}
/**
* @return fixedDuration
*/
public Integer getFixedDuration() {
return this.fixedDuration;
}
/**
* @return fixedUserId
*/
public Integer getFixedUserId() {
return this.fixedUserId;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return idPath
*/
public String getIdPath() {
return this.idPath;
}
/**
* @return ignoreCheck
*/
public Boolean getIgnoreCheck() {
return this.ignoreCheck;
}
/**
* @return ignoreIntegrate
*/
public Boolean getIgnoreIntegrate() {
return this.ignoreIntegrate;
}
/**
* @return issueRelations
*/
public String getIssueRelations() {
return this.issueRelations;
}
/**
* @return issueTypeId
*/
public Integer getIssueTypeId() {
return this.issueTypeId;
}
/**
* @return linePath
*/
public String getLinePath() {
return this.linePath;
}
/**
* @return logicalStatus
*/
public String getLogicalStatus() {
return this.logicalStatus;
}
/**
* @return moduleIds
*/
public String getModuleIds() {
return this.moduleIds;
}
/**
* @return moduleList
*/
public String getModuleList() {
return this.moduleList;
}
/**
* @return moduleUpdated
*/
public Boolean getModuleUpdated() {
return this.moduleUpdated;
}
/**
* @return parentId
*/
public Integer getParentId() {
return this.parentId;
}
/**
* @return priority
*/
public String getPriority() {
return this.priority;
}
/**
* @return priorityId
*/
public Integer getPriorityId() {
return this.priorityId;
}
/**
* @return projectId
*/
public Integer getProjectId() {
return this.projectId;
}
/**
* @return projectIds
*/
public String getProjectIds() {
return this.projectIds;
}
/**
* @return recordChangeLog
*/
public Boolean getRecordChangeLog() {
return this.recordChangeLog;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return relatedAKProjectGuids
*/
public String getRelatedAKProjectGuids() {
return this.relatedAKProjectGuids;
}
/**
* @return relatedAKProjectIds
*/
public String getRelatedAKProjectIds() {
return this.relatedAKProjectIds;
}
/**
* @return relatedUserIds
*/
public String getRelatedUserIds() {
return this.relatedUserIds;
}
/**
* @return respondDuration
*/
public Integer getRespondDuration() {
return this.respondDuration;
}
/**
* @return scope
*/
public Integer getScope() {
return this.scope;
}
/**
* @return scopeUserIds
*/
public String getScopeUserIds() {
return this.scopeUserIds;
}
/**
* @return sendWangwang
*/
public Boolean getSendWangwang() {
return this.sendWangwang;
}
/**
* @return seriousLevel
*/
public String getSeriousLevel() {
return this.seriousLevel;
}
/**
* @return seriousLevelId
*/
public Integer getSeriousLevelId() {
return this.seriousLevelId;
}
/**
* @return skipCollab
*/
public Boolean getSkipCollab() {
return this.skipCollab;
}
/**
* @return solution
*/
public Integer getSolution() {
return this.solution;
}
/**
* @return source
*/
public String getSource() {
return this.source;
}
/**
* @return sourceId
*/
public Integer getSourceId() {
return this.sourceId;
}
/**
* @return sprintId
*/
public Integer getSprintId() {
return this.sprintId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return statusId
*/
public Integer getStatusId() {
return this.statusId;
}
/**
* @return statusStage
*/
public Integer getStatusStage() {
return this.statusStage;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
/**
* @return tagIdList
*/
public String getTagIdList() {
return this.tagIdList;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return testsuiteId
*/
public Integer getTestsuiteId() {
return this.testsuiteId;
}
/**
* @return trackerIds
*/
public String getTrackerIds() {
return this.trackerIds;
}
/**
* @return trackers
*/
public String getTrackers() {
return this.trackers;
}
/**
* @return updatedAt
*/
public Long getUpdatedAt() {
return this.updatedAt;
}
/**
* @return user
*/
public String getUser() {
return this.user;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
/**
* @return userStaffId
*/
public String getUserStaffId() {
return this.userStaffId;
}
/**
* @return verifier
*/
public String getVerifier() {
return this.verifier;
}
/**
* @return verifierId
*/
public Integer getVerifierId() {
return this.verifierId;
}
/**
* @return verifierStaffId
*/
public String getVerifierStaffId() {
return this.verifierStaffId;
}
/**
* @return versionId
*/
public Integer getVersionId() {
return this.versionId;
}
/**
* @return versionIds
*/
public String getVersionIds() {
return this.versionIds;
}
/**
* @return versionList
*/
public String getVersionList() {
return this.versionList;
}
/**
* @return watched
*/
public Boolean getWatched() {
return this.watched;
}
/**
* @return watcherIdList
*/
public String getWatcherIdList() {
return this.watcherIdList;
}
public static final class Builder {
private String akPaths;
private Integer akProjectId;
private String akVersionIds;
private String assignedTo;
private Integer assignedToId;
private String assignedToIdList;
private String assignedToIds;
private String assignedToStaffId;
private String attachmentIds;
private String attachmentList;
private Boolean attachmented;
private String blackListNotice;
private String changeLogList;
private Integer closedDuration;
private String commentList;
private Long commitDate;
private Long createdAt;
private Integer devDuration;
private Integer fixedDuration;
private Integer fixedUserId;
private Integer id;
private String idPath;
private Boolean ignoreCheck;
private Boolean ignoreIntegrate;
private String issueRelations;
private Integer issueTypeId;
private String linePath;
private String logicalStatus;
private String moduleIds;
private String moduleList;
private Boolean moduleUpdated;
private Integer parentId;
private String priority;
private Integer priorityId;
private Integer projectId;
private String projectIds;
private Boolean recordChangeLog;
private String region;
private String relatedAKProjectGuids;
private String relatedAKProjectIds;
private String relatedUserIds;
private Integer respondDuration;
private Integer scope;
private String scopeUserIds;
private Boolean sendWangwang;
private String seriousLevel;
private Integer seriousLevelId;
private Boolean skipCollab;
private Integer solution;
private String source;
private Integer sourceId;
private Integer sprintId;
private String stamp;
private String status;
private Integer statusId;
private Integer statusStage;
private String subject;
private String tagIdList;
private Integer templateId;
private Integer testsuiteId;
private String trackerIds;
private String trackers;
private Long updatedAt;
private String user;
private Integer userId;
private String userStaffId;
private String verifier;
private Integer verifierId;
private String verifierStaffId;
private Integer versionId;
private String versionIds;
private String versionList;
private Boolean watched;
private String watcherIdList;
/**
* AkPaths.
*/
public Builder akPaths(String akPaths) {
this.akPaths = akPaths;
return this;
}
/**
* AkProjectId.
*/
public Builder akProjectId(Integer akProjectId) {
this.akProjectId = akProjectId;
return this;
}
/**
* AkVersionIds.
*/
public Builder akVersionIds(String akVersionIds) {
this.akVersionIds = akVersionIds;
return this;
}
/**
* AssignedTo.
*/
public Builder assignedTo(String assignedTo) {
this.assignedTo = assignedTo;
return this;
}
/**
* AssignedToId.
*/
public Builder assignedToId(Integer assignedToId) {
this.assignedToId = assignedToId;
return this;
}
/**
* AssignedToIdList.
*/
public Builder assignedToIdList(String assignedToIdList) {
this.assignedToIdList = assignedToIdList;
return this;
}
/**
* AssignedToIds.
*/
public Builder assignedToIds(String assignedToIds) {
this.assignedToIds = assignedToIds;
return this;
}
/**
* AssignedToStaffId.
*/
public Builder assignedToStaffId(String assignedToStaffId) {
this.assignedToStaffId = assignedToStaffId;
return this;
}
/**
* AttachmentIds.
*/
public Builder attachmentIds(String attachmentIds) {
this.attachmentIds = attachmentIds;
return this;
}
/**
* AttachmentList.
*/
public Builder attachmentList(String attachmentList) {
this.attachmentList = attachmentList;
return this;
}
/**
* Attachmented.
*/
public Builder attachmented(Boolean attachmented) {
this.attachmented = attachmented;
return this;
}
/**
* BlackListNotice.
*/
public Builder blackListNotice(String blackListNotice) {
this.blackListNotice = blackListNotice;
return this;
}
/**
* ChangeLogList.
*/
public Builder changeLogList(String changeLogList) {
this.changeLogList = changeLogList;
return this;
}
/**
* ClosedDuration.
*/
public Builder closedDuration(Integer closedDuration) {
this.closedDuration = closedDuration;
return this;
}
/**
* CommentList.
*/
public Builder commentList(String commentList) {
this.commentList = commentList;
return this;
}
/**
* CommitDate.
*/
public Builder commitDate(Long commitDate) {
this.commitDate = commitDate;
return this;
}
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* DevDuration.
*/
public Builder devDuration(Integer devDuration) {
this.devDuration = devDuration;
return this;
}
/**
* FixedDuration.
*/
public Builder fixedDuration(Integer fixedDuration) {
this.fixedDuration = fixedDuration;
return this;
}
/**
* FixedUserId.
*/
public Builder fixedUserId(Integer fixedUserId) {
this.fixedUserId = fixedUserId;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IdPath.
*/
public Builder idPath(String idPath) {
this.idPath = idPath;
return this;
}
/**
* IgnoreCheck.
*/
public Builder ignoreCheck(Boolean ignoreCheck) {
this.ignoreCheck = ignoreCheck;
return this;
}
/**
* IgnoreIntegrate.
*/
public Builder ignoreIntegrate(Boolean ignoreIntegrate) {
this.ignoreIntegrate = ignoreIntegrate;
return this;
}
/**
* IssueRelations.
*/
public Builder issueRelations(String issueRelations) {
this.issueRelations = issueRelations;
return this;
}
/**
* IssueTypeId.
*/
public Builder issueTypeId(Integer issueTypeId) {
this.issueTypeId = issueTypeId;
return this;
}
/**
* LinePath.
*/
public Builder linePath(String linePath) {
this.linePath = linePath;
return this;
}
/**
* LogicalStatus.
*/
public Builder logicalStatus(String logicalStatus) {
this.logicalStatus = logicalStatus;
return this;
}
/**
* ModuleIds.
*/
public Builder moduleIds(String moduleIds) {
this.moduleIds = moduleIds;
return this;
}
/**
* ModuleList.
*/
public Builder moduleList(String moduleList) {
this.moduleList = moduleList;
return this;
}
/**
* ModuleUpdated.
*/
public Builder moduleUpdated(Boolean moduleUpdated) {
this.moduleUpdated = moduleUpdated;
return this;
}
/**
* ParentId.
*/
public Builder parentId(Integer parentId) {
this.parentId = parentId;
return this;
}
/**
* Priority.
*/
public Builder priority(String priority) {
this.priority = priority;
return this;
}
/**
* PriorityId.
*/
public Builder priorityId(Integer priorityId) {
this.priorityId = priorityId;
return this;
}
/**
* ProjectId.
*/
public Builder projectId(Integer projectId) {
this.projectId = projectId;
return this;
}
/**
* ProjectIds.
*/
public Builder projectIds(String projectIds) {
this.projectIds = projectIds;
return this;
}
/**
* RecordChangeLog.
*/
public Builder recordChangeLog(Boolean recordChangeLog) {
this.recordChangeLog = recordChangeLog;
return this;
}
/**
* Region.
*/
public Builder region(String region) {
this.region = region;
return this;
}
/**
* RelatedAKProjectGuids.
*/
public Builder relatedAKProjectGuids(String relatedAKProjectGuids) {
this.relatedAKProjectGuids = relatedAKProjectGuids;
return this;
}
/**
* RelatedAKProjectIds.
*/
public Builder relatedAKProjectIds(String relatedAKProjectIds) {
this.relatedAKProjectIds = relatedAKProjectIds;
return this;
}
/**
* RelatedUserIds.
*/
public Builder relatedUserIds(String relatedUserIds) {
this.relatedUserIds = relatedUserIds;
return this;
}
/**
* RespondDuration.
*/
public Builder respondDuration(Integer respondDuration) {
this.respondDuration = respondDuration;
return this;
}
/**
* Scope.
*/
public Builder scope(Integer scope) {
this.scope = scope;
return this;
}
/**
* ScopeUserIds.
*/
public Builder scopeUserIds(String scopeUserIds) {
this.scopeUserIds = scopeUserIds;
return this;
}
/**
* SendWangwang.
*/
public Builder sendWangwang(Boolean sendWangwang) {
this.sendWangwang = sendWangwang;
return this;
}
/**
* SeriousLevel.
*/
public Builder seriousLevel(String seriousLevel) {
this.seriousLevel = seriousLevel;
return this;
}
/**
* SeriousLevelId.
*/
public Builder seriousLevelId(Integer seriousLevelId) {
this.seriousLevelId = seriousLevelId;
return this;
}
/**
* SkipCollab.
*/
public Builder skipCollab(Boolean skipCollab) {
this.skipCollab = skipCollab;
return this;
}
/**
* Solution.
*/
public Builder solution(Integer solution) {
this.solution = solution;
return this;
}
/**
* Source.
*/
public Builder source(String source) {
this.source = source;
return this;
}
/**
* SourceId.
*/
public Builder sourceId(Integer sourceId) {
this.sourceId = sourceId;
return this;
}
/**
* SprintId.
*/
public Builder sprintId(Integer sprintId) {
this.sprintId = sprintId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.stamp = stamp;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* StatusId.
*/
public Builder statusId(Integer statusId) {
this.statusId = statusId;
return this;
}
/**
* StatusStage.
*/
public Builder statusStage(Integer statusStage) {
this.statusStage = statusStage;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.subject = subject;
return this;
}
/**
* TagIdList.
*/
public Builder tagIdList(String tagIdList) {
this.tagIdList = tagIdList;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.templateId = templateId;
return this;
}
/**
* TestsuiteId.
*/
public Builder testsuiteId(Integer testsuiteId) {
this.testsuiteId = testsuiteId;
return this;
}
/**
* TrackerIds.
*/
public Builder trackerIds(String trackerIds) {
this.trackerIds = trackerIds;
return this;
}
/**
* Trackers.
*/
public Builder trackers(String trackers) {
this.trackers = trackers;
return this;
}
/**
* UpdatedAt.
*/
public Builder updatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* User.
*/
public Builder user(String user) {
this.user = user;
return this;
}
/**
* UserId.
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
/**
* UserStaffId.
*/
public Builder userStaffId(String userStaffId) {
this.userStaffId = userStaffId;
return this;
}
/**
* Verifier.
*/
public Builder verifier(String verifier) {
this.verifier = verifier;
return this;
}
/**
* VerifierId.
*/
public Builder verifierId(Integer verifierId) {
this.verifierId = verifierId;
return this;
}
/**
* VerifierStaffId.
*/
public Builder verifierStaffId(String verifierStaffId) {
this.verifierStaffId = verifierStaffId;
return this;
}
/**
* VersionId.
*/
public Builder versionId(Integer versionId) {
this.versionId = versionId;
return this;
}
/**
* VersionIds.
*/
public Builder versionIds(String versionIds) {
this.versionIds = versionIds;
return this;
}
/**
* VersionList.
*/
public Builder versionList(String versionList) {
this.versionList = versionList;
return this;
}
/**
* Watched.
*/
public Builder watched(Boolean watched) {
this.watched = watched;
return this;
}
/**
* WatcherIdList.
*/
public Builder watcherIdList(String watcherIdList) {
this.watcherIdList = watcherIdList;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchWorkitemWithTotalCountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchWorkitemWithTotalCountRequest} extends {@link RequestModel}
*
* <p>SearchWorkitemWithTotalCountRequest</p>
*/
public class SearchWorkitemWithTotalCountRequest extends Request {
@Body
@NameInMap("AKProjectId")
@Validation(required = true)
private Integer AKProjectId;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("PageSize")
private Integer pageSize;
@Body
@NameInMap("SprintId")
private Integer sprintId;
@Body
@NameInMap("Stamp")
private String stamp;
@Body
@NameInMap("ToPage")
private Integer toPage;
private SearchWorkitemWithTotalCountRequest(Builder builder) {
super(builder);
this.AKProjectId = builder.AKProjectId;
this.corpIdentifier = builder.corpIdentifier;
this.pageSize = builder.pageSize;
this.sprintId = builder.sprintId;
this.stamp = builder.stamp;
this.toPage = builder.toPage;
}
public static Builder builder() {
return new Builder();
}
public static SearchWorkitemWithTotalCountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AKProjectId
*/
public Integer getAKProjectId() {
return this.AKProjectId;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return sprintId
*/
public Integer getSprintId() {
return this.sprintId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return toPage
*/
public Integer getToPage() {
return this.toPage;
}
public static final class Builder extends Request.Builder<SearchWorkitemWithTotalCountRequest, Builder> {
private Integer AKProjectId;
private String corpIdentifier;
private Integer pageSize;
private Integer sprintId;
private String stamp;
private Integer toPage;
private Builder() {
super();
}
private Builder(SearchWorkitemWithTotalCountRequest response) {
super(response);
this.AKProjectId = response.AKProjectId;
this.corpIdentifier = response.corpIdentifier;
this.pageSize = response.pageSize;
this.sprintId = response.sprintId;
this.stamp = response.stamp;
this.toPage = response.toPage;
}
/**
* AKProjectId.
*/
public Builder AKProjectId(Integer AKProjectId) {
this.putBodyParameter("AKProjectId", AKProjectId);
this.AKProjectId = AKProjectId;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putBodyParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SprintId.
*/
public Builder sprintId(Integer sprintId) {
this.putBodyParameter("SprintId", sprintId);
this.sprintId = sprintId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.putBodyParameter("Stamp", stamp);
this.stamp = stamp;
return this;
}
/**
* ToPage.
*/
public Builder toPage(Integer toPage) {
this.putBodyParameter("ToPage", toPage);
this.toPage = toPage;
return this;
}
@Override
public SearchWorkitemWithTotalCountRequest build() {
return new SearchWorkitemWithTotalCountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchWorkitemWithTotalCountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchWorkitemWithTotalCountResponse} extends {@link TeaModel}
*
* <p>SearchWorkitemWithTotalCountResponse</p>
*/
public class SearchWorkitemWithTotalCountResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private SearchWorkitemWithTotalCountResponseBody body;
private SearchWorkitemWithTotalCountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static SearchWorkitemWithTotalCountResponse 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 body
*/
public SearchWorkitemWithTotalCountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchWorkitemWithTotalCountResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(SearchWorkitemWithTotalCountResponseBody body);
@Override
SearchWorkitemWithTotalCountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchWorkitemWithTotalCountResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private SearchWorkitemWithTotalCountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchWorkitemWithTotalCountResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchWorkitemWithTotalCountResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchWorkitemWithTotalCountResponse build() {
return new SearchWorkitemWithTotalCountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SearchWorkitemWithTotalCountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SearchWorkitemWithTotalCountResponseBody} extends {@link TeaModel}
*
* <p>SearchWorkitemWithTotalCountResponseBody</p>
*/
public class SearchWorkitemWithTotalCountResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("ToPage")
private Integer toPage;
@NameInMap("TotalCount")
private Integer totalCount;
@NameInMap("TotalPages")
private Integer totalPages;
private SearchWorkitemWithTotalCountResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.toPage = builder.toPage;
this.totalCount = builder.totalCount;
this.totalPages = builder.totalPages;
}
public static Builder builder() {
return new Builder();
}
public static SearchWorkitemWithTotalCountResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return toPage
*/
public Integer getToPage() {
return this.toPage;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return totalPages
*/
public Integer getTotalPages() {
return this.totalPages;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer toPage;
private Integer totalCount;
private Integer totalPages;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* ToPage.
*/
public Builder toPage(Integer toPage) {
this.toPage = toPage;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* TotalPages.
*/
public Builder totalPages(Integer totalPages) {
this.totalPages = totalPages;
return this;
}
public SearchWorkitemWithTotalCountResponseBody build() {
return new SearchWorkitemWithTotalCountResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AkPaths")
private String akPaths;
@NameInMap("AkProjectId")
private Integer akProjectId;
@NameInMap("AkVersionIds")
private String akVersionIds;
@NameInMap("AssignedTo")
private String assignedTo;
@NameInMap("AssignedToId")
private Integer assignedToId;
@NameInMap("AssignedToIdList")
private String assignedToIdList;
@NameInMap("AssignedToIds")
private String assignedToIds;
@NameInMap("AssignedToStaffId")
private String assignedToStaffId;
@NameInMap("AttachmentIds")
private String attachmentIds;
@NameInMap("AttachmentList")
private String attachmentList;
@NameInMap("Attachmented")
private Boolean attachmented;
@NameInMap("BlackListNotice")
private String blackListNotice;
@NameInMap("ChangeLogList")
private String changeLogList;
@NameInMap("ClosedDuration")
private Integer closedDuration;
@NameInMap("CommentList")
private String commentList;
@NameInMap("CommitDate")
private Long commitDate;
@NameInMap("CreatedAt")
private Long createdAt;
@NameInMap("DevDuration")
private Integer devDuration;
@NameInMap("FixedDuration")
private Integer fixedDuration;
@NameInMap("FixedUserId")
private Integer fixedUserId;
@NameInMap("Id")
private Integer id;
@NameInMap("IdPath")
private String idPath;
@NameInMap("IgnoreCheck")
private Boolean ignoreCheck;
@NameInMap("IgnoreIntegrate")
private Boolean ignoreIntegrate;
@NameInMap("IssueRelations")
private String issueRelations;
@NameInMap("IssueTypeId")
private Integer issueTypeId;
@NameInMap("LinePath")
private String linePath;
@NameInMap("LogicalStatus")
private String logicalStatus;
@NameInMap("ModuleIds")
private String moduleIds;
@NameInMap("ModuleList")
private String moduleList;
@NameInMap("ModuleUpdated")
private Boolean moduleUpdated;
@NameInMap("ParentId")
private Integer parentId;
@NameInMap("Priority")
private String priority;
@NameInMap("PriorityId")
private Integer priorityId;
@NameInMap("ProjectId")
private Integer projectId;
@NameInMap("ProjectIds")
private String projectIds;
@NameInMap("RecordChangeLog")
private Boolean recordChangeLog;
@NameInMap("Region")
private String region;
@NameInMap("RelatedAKProjectGuids")
private String relatedAKProjectGuids;
@NameInMap("RelatedAKProjectIds")
private String relatedAKProjectIds;
@NameInMap("RelatedUserIds")
private String relatedUserIds;
@NameInMap("RespondDuration")
private Integer respondDuration;
@NameInMap("Scope")
private Integer scope;
@NameInMap("ScopeUserIds")
private String scopeUserIds;
@NameInMap("SendWangwang")
private Boolean sendWangwang;
@NameInMap("SeriousLevel")
private String seriousLevel;
@NameInMap("SeriousLevelId")
private Integer seriousLevelId;
@NameInMap("SkipCollab")
private Boolean skipCollab;
@NameInMap("Solution")
private Integer solution;
@NameInMap("Source")
private String source;
@NameInMap("SourceId")
private Integer sourceId;
@NameInMap("SprintId")
private Integer sprintId;
@NameInMap("Stamp")
private String stamp;
@NameInMap("Status")
private String status;
@NameInMap("StatusId")
private Integer statusId;
@NameInMap("StatusStage")
private Integer statusStage;
@NameInMap("Subject")
private String subject;
@NameInMap("TagIdList")
private String tagIdList;
@NameInMap("TemplateId")
private Integer templateId;
@NameInMap("TestsuiteId")
private Integer testsuiteId;
@NameInMap("TrackerIds")
private String trackerIds;
@NameInMap("Trackers")
private String trackers;
@NameInMap("UpdatedAt")
private Long updatedAt;
@NameInMap("User")
private String user;
@NameInMap("UserId")
private Integer userId;
@NameInMap("UserStaffId")
private String userStaffId;
@NameInMap("Verifier")
private String verifier;
@NameInMap("VerifierId")
private Integer verifierId;
@NameInMap("VerifierStaffId")
private String verifierStaffId;
@NameInMap("VersionId")
private Integer versionId;
@NameInMap("VersionIds")
private String versionIds;
@NameInMap("VersionList")
private String versionList;
@NameInMap("Watched")
private Boolean watched;
@NameInMap("WatcherIdList")
private String watcherIdList;
private Data(Builder builder) {
this.akPaths = builder.akPaths;
this.akProjectId = builder.akProjectId;
this.akVersionIds = builder.akVersionIds;
this.assignedTo = builder.assignedTo;
this.assignedToId = builder.assignedToId;
this.assignedToIdList = builder.assignedToIdList;
this.assignedToIds = builder.assignedToIds;
this.assignedToStaffId = builder.assignedToStaffId;
this.attachmentIds = builder.attachmentIds;
this.attachmentList = builder.attachmentList;
this.attachmented = builder.attachmented;
this.blackListNotice = builder.blackListNotice;
this.changeLogList = builder.changeLogList;
this.closedDuration = builder.closedDuration;
this.commentList = builder.commentList;
this.commitDate = builder.commitDate;
this.createdAt = builder.createdAt;
this.devDuration = builder.devDuration;
this.fixedDuration = builder.fixedDuration;
this.fixedUserId = builder.fixedUserId;
this.id = builder.id;
this.idPath = builder.idPath;
this.ignoreCheck = builder.ignoreCheck;
this.ignoreIntegrate = builder.ignoreIntegrate;
this.issueRelations = builder.issueRelations;
this.issueTypeId = builder.issueTypeId;
this.linePath = builder.linePath;
this.logicalStatus = builder.logicalStatus;
this.moduleIds = builder.moduleIds;
this.moduleList = builder.moduleList;
this.moduleUpdated = builder.moduleUpdated;
this.parentId = builder.parentId;
this.priority = builder.priority;
this.priorityId = builder.priorityId;
this.projectId = builder.projectId;
this.projectIds = builder.projectIds;
this.recordChangeLog = builder.recordChangeLog;
this.region = builder.region;
this.relatedAKProjectGuids = builder.relatedAKProjectGuids;
this.relatedAKProjectIds = builder.relatedAKProjectIds;
this.relatedUserIds = builder.relatedUserIds;
this.respondDuration = builder.respondDuration;
this.scope = builder.scope;
this.scopeUserIds = builder.scopeUserIds;
this.sendWangwang = builder.sendWangwang;
this.seriousLevel = builder.seriousLevel;
this.seriousLevelId = builder.seriousLevelId;
this.skipCollab = builder.skipCollab;
this.solution = builder.solution;
this.source = builder.source;
this.sourceId = builder.sourceId;
this.sprintId = builder.sprintId;
this.stamp = builder.stamp;
this.status = builder.status;
this.statusId = builder.statusId;
this.statusStage = builder.statusStage;
this.subject = builder.subject;
this.tagIdList = builder.tagIdList;
this.templateId = builder.templateId;
this.testsuiteId = builder.testsuiteId;
this.trackerIds = builder.trackerIds;
this.trackers = builder.trackers;
this.updatedAt = builder.updatedAt;
this.user = builder.user;
this.userId = builder.userId;
this.userStaffId = builder.userStaffId;
this.verifier = builder.verifier;
this.verifierId = builder.verifierId;
this.verifierStaffId = builder.verifierStaffId;
this.versionId = builder.versionId;
this.versionIds = builder.versionIds;
this.versionList = builder.versionList;
this.watched = builder.watched;
this.watcherIdList = builder.watcherIdList;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return akPaths
*/
public String getAkPaths() {
return this.akPaths;
}
/**
* @return akProjectId
*/
public Integer getAkProjectId() {
return this.akProjectId;
}
/**
* @return akVersionIds
*/
public String getAkVersionIds() {
return this.akVersionIds;
}
/**
* @return assignedTo
*/
public String getAssignedTo() {
return this.assignedTo;
}
/**
* @return assignedToId
*/
public Integer getAssignedToId() {
return this.assignedToId;
}
/**
* @return assignedToIdList
*/
public String getAssignedToIdList() {
return this.assignedToIdList;
}
/**
* @return assignedToIds
*/
public String getAssignedToIds() {
return this.assignedToIds;
}
/**
* @return assignedToStaffId
*/
public String getAssignedToStaffId() {
return this.assignedToStaffId;
}
/**
* @return attachmentIds
*/
public String getAttachmentIds() {
return this.attachmentIds;
}
/**
* @return attachmentList
*/
public String getAttachmentList() {
return this.attachmentList;
}
/**
* @return attachmented
*/
public Boolean getAttachmented() {
return this.attachmented;
}
/**
* @return blackListNotice
*/
public String getBlackListNotice() {
return this.blackListNotice;
}
/**
* @return changeLogList
*/
public String getChangeLogList() {
return this.changeLogList;
}
/**
* @return closedDuration
*/
public Integer getClosedDuration() {
return this.closedDuration;
}
/**
* @return commentList
*/
public String getCommentList() {
return this.commentList;
}
/**
* @return commitDate
*/
public Long getCommitDate() {
return this.commitDate;
}
/**
* @return createdAt
*/
public Long getCreatedAt() {
return this.createdAt;
}
/**
* @return devDuration
*/
public Integer getDevDuration() {
return this.devDuration;
}
/**
* @return fixedDuration
*/
public Integer getFixedDuration() {
return this.fixedDuration;
}
/**
* @return fixedUserId
*/
public Integer getFixedUserId() {
return this.fixedUserId;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return idPath
*/
public String getIdPath() {
return this.idPath;
}
/**
* @return ignoreCheck
*/
public Boolean getIgnoreCheck() {
return this.ignoreCheck;
}
/**
* @return ignoreIntegrate
*/
public Boolean getIgnoreIntegrate() {
return this.ignoreIntegrate;
}
/**
* @return issueRelations
*/
public String getIssueRelations() {
return this.issueRelations;
}
/**
* @return issueTypeId
*/
public Integer getIssueTypeId() {
return this.issueTypeId;
}
/**
* @return linePath
*/
public String getLinePath() {
return this.linePath;
}
/**
* @return logicalStatus
*/
public String getLogicalStatus() {
return this.logicalStatus;
}
/**
* @return moduleIds
*/
public String getModuleIds() {
return this.moduleIds;
}
/**
* @return moduleList
*/
public String getModuleList() {
return this.moduleList;
}
/**
* @return moduleUpdated
*/
public Boolean getModuleUpdated() {
return this.moduleUpdated;
}
/**
* @return parentId
*/
public Integer getParentId() {
return this.parentId;
}
/**
* @return priority
*/
public String getPriority() {
return this.priority;
}
/**
* @return priorityId
*/
public Integer getPriorityId() {
return this.priorityId;
}
/**
* @return projectId
*/
public Integer getProjectId() {
return this.projectId;
}
/**
* @return projectIds
*/
public String getProjectIds() {
return this.projectIds;
}
/**
* @return recordChangeLog
*/
public Boolean getRecordChangeLog() {
return this.recordChangeLog;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return relatedAKProjectGuids
*/
public String getRelatedAKProjectGuids() {
return this.relatedAKProjectGuids;
}
/**
* @return relatedAKProjectIds
*/
public String getRelatedAKProjectIds() {
return this.relatedAKProjectIds;
}
/**
* @return relatedUserIds
*/
public String getRelatedUserIds() {
return this.relatedUserIds;
}
/**
* @return respondDuration
*/
public Integer getRespondDuration() {
return this.respondDuration;
}
/**
* @return scope
*/
public Integer getScope() {
return this.scope;
}
/**
* @return scopeUserIds
*/
public String getScopeUserIds() {
return this.scopeUserIds;
}
/**
* @return sendWangwang
*/
public Boolean getSendWangwang() {
return this.sendWangwang;
}
/**
* @return seriousLevel
*/
public String getSeriousLevel() {
return this.seriousLevel;
}
/**
* @return seriousLevelId
*/
public Integer getSeriousLevelId() {
return this.seriousLevelId;
}
/**
* @return skipCollab
*/
public Boolean getSkipCollab() {
return this.skipCollab;
}
/**
* @return solution
*/
public Integer getSolution() {
return this.solution;
}
/**
* @return source
*/
public String getSource() {
return this.source;
}
/**
* @return sourceId
*/
public Integer getSourceId() {
return this.sourceId;
}
/**
* @return sprintId
*/
public Integer getSprintId() {
return this.sprintId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return statusId
*/
public Integer getStatusId() {
return this.statusId;
}
/**
* @return statusStage
*/
public Integer getStatusStage() {
return this.statusStage;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
/**
* @return tagIdList
*/
public String getTagIdList() {
return this.tagIdList;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return testsuiteId
*/
public Integer getTestsuiteId() {
return this.testsuiteId;
}
/**
* @return trackerIds
*/
public String getTrackerIds() {
return this.trackerIds;
}
/**
* @return trackers
*/
public String getTrackers() {
return this.trackers;
}
/**
* @return updatedAt
*/
public Long getUpdatedAt() {
return this.updatedAt;
}
/**
* @return user
*/
public String getUser() {
return this.user;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
/**
* @return userStaffId
*/
public String getUserStaffId() {
return this.userStaffId;
}
/**
* @return verifier
*/
public String getVerifier() {
return this.verifier;
}
/**
* @return verifierId
*/
public Integer getVerifierId() {
return this.verifierId;
}
/**
* @return verifierStaffId
*/
public String getVerifierStaffId() {
return this.verifierStaffId;
}
/**
* @return versionId
*/
public Integer getVersionId() {
return this.versionId;
}
/**
* @return versionIds
*/
public String getVersionIds() {
return this.versionIds;
}
/**
* @return versionList
*/
public String getVersionList() {
return this.versionList;
}
/**
* @return watched
*/
public Boolean getWatched() {
return this.watched;
}
/**
* @return watcherIdList
*/
public String getWatcherIdList() {
return this.watcherIdList;
}
public static final class Builder {
private String akPaths;
private Integer akProjectId;
private String akVersionIds;
private String assignedTo;
private Integer assignedToId;
private String assignedToIdList;
private String assignedToIds;
private String assignedToStaffId;
private String attachmentIds;
private String attachmentList;
private Boolean attachmented;
private String blackListNotice;
private String changeLogList;
private Integer closedDuration;
private String commentList;
private Long commitDate;
private Long createdAt;
private Integer devDuration;
private Integer fixedDuration;
private Integer fixedUserId;
private Integer id;
private String idPath;
private Boolean ignoreCheck;
private Boolean ignoreIntegrate;
private String issueRelations;
private Integer issueTypeId;
private String linePath;
private String logicalStatus;
private String moduleIds;
private String moduleList;
private Boolean moduleUpdated;
private Integer parentId;
private String priority;
private Integer priorityId;
private Integer projectId;
private String projectIds;
private Boolean recordChangeLog;
private String region;
private String relatedAKProjectGuids;
private String relatedAKProjectIds;
private String relatedUserIds;
private Integer respondDuration;
private Integer scope;
private String scopeUserIds;
private Boolean sendWangwang;
private String seriousLevel;
private Integer seriousLevelId;
private Boolean skipCollab;
private Integer solution;
private String source;
private Integer sourceId;
private Integer sprintId;
private String stamp;
private String status;
private Integer statusId;
private Integer statusStage;
private String subject;
private String tagIdList;
private Integer templateId;
private Integer testsuiteId;
private String trackerIds;
private String trackers;
private Long updatedAt;
private String user;
private Integer userId;
private String userStaffId;
private String verifier;
private Integer verifierId;
private String verifierStaffId;
private Integer versionId;
private String versionIds;
private String versionList;
private Boolean watched;
private String watcherIdList;
/**
* AkPaths.
*/
public Builder akPaths(String akPaths) {
this.akPaths = akPaths;
return this;
}
/**
* AkProjectId.
*/
public Builder akProjectId(Integer akProjectId) {
this.akProjectId = akProjectId;
return this;
}
/**
* AkVersionIds.
*/
public Builder akVersionIds(String akVersionIds) {
this.akVersionIds = akVersionIds;
return this;
}
/**
* AssignedTo.
*/
public Builder assignedTo(String assignedTo) {
this.assignedTo = assignedTo;
return this;
}
/**
* AssignedToId.
*/
public Builder assignedToId(Integer assignedToId) {
this.assignedToId = assignedToId;
return this;
}
/**
* AssignedToIdList.
*/
public Builder assignedToIdList(String assignedToIdList) {
this.assignedToIdList = assignedToIdList;
return this;
}
/**
* AssignedToIds.
*/
public Builder assignedToIds(String assignedToIds) {
this.assignedToIds = assignedToIds;
return this;
}
/**
* AssignedToStaffId.
*/
public Builder assignedToStaffId(String assignedToStaffId) {
this.assignedToStaffId = assignedToStaffId;
return this;
}
/**
* AttachmentIds.
*/
public Builder attachmentIds(String attachmentIds) {
this.attachmentIds = attachmentIds;
return this;
}
/**
* AttachmentList.
*/
public Builder attachmentList(String attachmentList) {
this.attachmentList = attachmentList;
return this;
}
/**
* Attachmented.
*/
public Builder attachmented(Boolean attachmented) {
this.attachmented = attachmented;
return this;
}
/**
* BlackListNotice.
*/
public Builder blackListNotice(String blackListNotice) {
this.blackListNotice = blackListNotice;
return this;
}
/**
* ChangeLogList.
*/
public Builder changeLogList(String changeLogList) {
this.changeLogList = changeLogList;
return this;
}
/**
* ClosedDuration.
*/
public Builder closedDuration(Integer closedDuration) {
this.closedDuration = closedDuration;
return this;
}
/**
* CommentList.
*/
public Builder commentList(String commentList) {
this.commentList = commentList;
return this;
}
/**
* CommitDate.
*/
public Builder commitDate(Long commitDate) {
this.commitDate = commitDate;
return this;
}
/**
* CreatedAt.
*/
public Builder createdAt(Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* DevDuration.
*/
public Builder devDuration(Integer devDuration) {
this.devDuration = devDuration;
return this;
}
/**
* FixedDuration.
*/
public Builder fixedDuration(Integer fixedDuration) {
this.fixedDuration = fixedDuration;
return this;
}
/**
* FixedUserId.
*/
public Builder fixedUserId(Integer fixedUserId) {
this.fixedUserId = fixedUserId;
return this;
}
/**
* Id.
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* IdPath.
*/
public Builder idPath(String idPath) {
this.idPath = idPath;
return this;
}
/**
* IgnoreCheck.
*/
public Builder ignoreCheck(Boolean ignoreCheck) {
this.ignoreCheck = ignoreCheck;
return this;
}
/**
* IgnoreIntegrate.
*/
public Builder ignoreIntegrate(Boolean ignoreIntegrate) {
this.ignoreIntegrate = ignoreIntegrate;
return this;
}
/**
* IssueRelations.
*/
public Builder issueRelations(String issueRelations) {
this.issueRelations = issueRelations;
return this;
}
/**
* IssueTypeId.
*/
public Builder issueTypeId(Integer issueTypeId) {
this.issueTypeId = issueTypeId;
return this;
}
/**
* LinePath.
*/
public Builder linePath(String linePath) {
this.linePath = linePath;
return this;
}
/**
* LogicalStatus.
*/
public Builder logicalStatus(String logicalStatus) {
this.logicalStatus = logicalStatus;
return this;
}
/**
* ModuleIds.
*/
public Builder moduleIds(String moduleIds) {
this.moduleIds = moduleIds;
return this;
}
/**
* ModuleList.
*/
public Builder moduleList(String moduleList) {
this.moduleList = moduleList;
return this;
}
/**
* ModuleUpdated.
*/
public Builder moduleUpdated(Boolean moduleUpdated) {
this.moduleUpdated = moduleUpdated;
return this;
}
/**
* ParentId.
*/
public Builder parentId(Integer parentId) {
this.parentId = parentId;
return this;
}
/**
* Priority.
*/
public Builder priority(String priority) {
this.priority = priority;
return this;
}
/**
* PriorityId.
*/
public Builder priorityId(Integer priorityId) {
this.priorityId = priorityId;
return this;
}
/**
* ProjectId.
*/
public Builder projectId(Integer projectId) {
this.projectId = projectId;
return this;
}
/**
* ProjectIds.
*/
public Builder projectIds(String projectIds) {
this.projectIds = projectIds;
return this;
}
/**
* RecordChangeLog.
*/
public Builder recordChangeLog(Boolean recordChangeLog) {
this.recordChangeLog = recordChangeLog;
return this;
}
/**
* Region.
*/
public Builder region(String region) {
this.region = region;
return this;
}
/**
* RelatedAKProjectGuids.
*/
public Builder relatedAKProjectGuids(String relatedAKProjectGuids) {
this.relatedAKProjectGuids = relatedAKProjectGuids;
return this;
}
/**
* RelatedAKProjectIds.
*/
public Builder relatedAKProjectIds(String relatedAKProjectIds) {
this.relatedAKProjectIds = relatedAKProjectIds;
return this;
}
/**
* RelatedUserIds.
*/
public Builder relatedUserIds(String relatedUserIds) {
this.relatedUserIds = relatedUserIds;
return this;
}
/**
* RespondDuration.
*/
public Builder respondDuration(Integer respondDuration) {
this.respondDuration = respondDuration;
return this;
}
/**
* Scope.
*/
public Builder scope(Integer scope) {
this.scope = scope;
return this;
}
/**
* ScopeUserIds.
*/
public Builder scopeUserIds(String scopeUserIds) {
this.scopeUserIds = scopeUserIds;
return this;
}
/**
* SendWangwang.
*/
public Builder sendWangwang(Boolean sendWangwang) {
this.sendWangwang = sendWangwang;
return this;
}
/**
* SeriousLevel.
*/
public Builder seriousLevel(String seriousLevel) {
this.seriousLevel = seriousLevel;
return this;
}
/**
* SeriousLevelId.
*/
public Builder seriousLevelId(Integer seriousLevelId) {
this.seriousLevelId = seriousLevelId;
return this;
}
/**
* SkipCollab.
*/
public Builder skipCollab(Boolean skipCollab) {
this.skipCollab = skipCollab;
return this;
}
/**
* Solution.
*/
public Builder solution(Integer solution) {
this.solution = solution;
return this;
}
/**
* Source.
*/
public Builder source(String source) {
this.source = source;
return this;
}
/**
* SourceId.
*/
public Builder sourceId(Integer sourceId) {
this.sourceId = sourceId;
return this;
}
/**
* SprintId.
*/
public Builder sprintId(Integer sprintId) {
this.sprintId = sprintId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.stamp = stamp;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* StatusId.
*/
public Builder statusId(Integer statusId) {
this.statusId = statusId;
return this;
}
/**
* StatusStage.
*/
public Builder statusStage(Integer statusStage) {
this.statusStage = statusStage;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.subject = subject;
return this;
}
/**
* TagIdList.
*/
public Builder tagIdList(String tagIdList) {
this.tagIdList = tagIdList;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.templateId = templateId;
return this;
}
/**
* TestsuiteId.
*/
public Builder testsuiteId(Integer testsuiteId) {
this.testsuiteId = testsuiteId;
return this;
}
/**
* TrackerIds.
*/
public Builder trackerIds(String trackerIds) {
this.trackerIds = trackerIds;
return this;
}
/**
* Trackers.
*/
public Builder trackers(String trackers) {
this.trackers = trackers;
return this;
}
/**
* UpdatedAt.
*/
public Builder updatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* User.
*/
public Builder user(String user) {
this.user = user;
return this;
}
/**
* UserId.
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
/**
* UserStaffId.
*/
public Builder userStaffId(String userStaffId) {
this.userStaffId = userStaffId;
return this;
}
/**
* Verifier.
*/
public Builder verifier(String verifier) {
this.verifier = verifier;
return this;
}
/**
* VerifierId.
*/
public Builder verifierId(Integer verifierId) {
this.verifierId = verifierId;
return this;
}
/**
* VerifierStaffId.
*/
public Builder verifierStaffId(String verifierStaffId) {
this.verifierStaffId = verifierStaffId;
return this;
}
/**
* VersionId.
*/
public Builder versionId(Integer versionId) {
this.versionId = versionId;
return this;
}
/**
* VersionIds.
*/
public Builder versionIds(String versionIds) {
this.versionIds = versionIds;
return this;
}
/**
* VersionList.
*/
public Builder versionList(String versionList) {
this.versionList = versionList;
return this;
}
/**
* Watched.
*/
public Builder watched(Boolean watched) {
this.watched = watched;
return this;
}
/**
* WatcherIdList.
*/
public Builder watcherIdList(String watcherIdList) {
this.watcherIdList = watcherIdList;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SyncUserToRdcRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SyncUserToRdcRequest} extends {@link RequestModel}
*
* <p>SyncUserToRdcRequest</p>
*/
public class SyncUserToRdcRequest extends Request {
@Body
@NameInMap("LoginTicket")
private String loginTicket;
private SyncUserToRdcRequest(Builder builder) {
super(builder);
this.loginTicket = builder.loginTicket;
}
public static Builder builder() {
return new Builder();
}
public static SyncUserToRdcRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return loginTicket
*/
public String getLoginTicket() {
return this.loginTicket;
}
public static final class Builder extends Request.Builder<SyncUserToRdcRequest, Builder> {
private String loginTicket;
private Builder() {
super();
}
private Builder(SyncUserToRdcRequest response) {
super(response);
this.loginTicket = response.loginTicket;
}
/**
* LoginTicket.
*/
public Builder loginTicket(String loginTicket) {
this.putBodyParameter("LoginTicket", loginTicket);
this.loginTicket = loginTicket;
return this;
}
@Override
public SyncUserToRdcRequest build() {
return new SyncUserToRdcRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SyncUserToRdcResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SyncUserToRdcResponse} extends {@link TeaModel}
*
* <p>SyncUserToRdcResponse</p>
*/
public class SyncUserToRdcResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private SyncUserToRdcResponseBody body;
private SyncUserToRdcResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static SyncUserToRdcResponse 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 body
*/
public SyncUserToRdcResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SyncUserToRdcResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(SyncUserToRdcResponseBody body);
@Override
SyncUserToRdcResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SyncUserToRdcResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private SyncUserToRdcResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SyncUserToRdcResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(SyncUserToRdcResponseBody body) {
this.body = body;
return this;
}
@Override
public SyncUserToRdcResponse build() {
return new SyncUserToRdcResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/SyncUserToRdcResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SyncUserToRdcResponseBody} extends {@link TeaModel}
*
* <p>SyncUserToRdcResponseBody</p>
*/
public class SyncUserToRdcResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private SyncUserToRdcResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static SyncUserToRdcResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public SyncUserToRdcResponseBody build() {
return new SyncUserToRdcResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("IsValid")
private Boolean isValid;
private Data(Builder builder) {
this.isValid = builder.isValid;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return isValid
*/
public Boolean getIsValid() {
return this.isValid;
}
public static final class Builder {
private Boolean isValid;
/**
* IsValid.
*/
public Builder isValid(Boolean isValid) {
this.isValid = isValid;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/UpdateWorkitemRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateWorkitemRequest} extends {@link RequestModel}
*
* <p>UpdateWorkitemRequest</p>
*/
public class UpdateWorkitemRequest extends Request {
@Body
@NameInMap("AKProjectId")
@Validation(required = true)
private Integer AKProjectId;
@Body
@NameInMap("AssignedTo")
private String assignedTo;
@Body
@NameInMap("CfList")
private java.util.Map < String, ? > cfList;
@Body
@NameInMap("Cfs")
private java.util.Map < String, ? > cfs;
@Query
@NameInMap("CorpIdentifier")
@Validation(required = true)
private String corpIdentifier;
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("IgnoreCheck")
private Boolean ignoreCheck;
@Body
@NameInMap("IssueId")
@Validation(required = true)
private Integer issueId;
@Body
@NameInMap("Modifier")
@Validation(required = true)
private String modifier;
@Body
@NameInMap("Priority")
private String priority;
@Body
@NameInMap("SeriousLevel")
private String seriousLevel;
@Body
@NameInMap("SprintId")
private Integer sprintId;
@Body
@NameInMap("Stamp")
private String stamp;
@Body
@NameInMap("Status")
private String status;
@Body
@NameInMap("Subject")
private String subject;
@Body
@NameInMap("TemplateId")
private Integer templateId;
@Body
@NameInMap("Verifier")
private String verifier;
private UpdateWorkitemRequest(Builder builder) {
super(builder);
this.AKProjectId = builder.AKProjectId;
this.assignedTo = builder.assignedTo;
this.cfList = builder.cfList;
this.cfs = builder.cfs;
this.corpIdentifier = builder.corpIdentifier;
this.description = builder.description;
this.ignoreCheck = builder.ignoreCheck;
this.issueId = builder.issueId;
this.modifier = builder.modifier;
this.priority = builder.priority;
this.seriousLevel = builder.seriousLevel;
this.sprintId = builder.sprintId;
this.stamp = builder.stamp;
this.status = builder.status;
this.subject = builder.subject;
this.templateId = builder.templateId;
this.verifier = builder.verifier;
}
public static Builder builder() {
return new Builder();
}
public static UpdateWorkitemRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AKProjectId
*/
public Integer getAKProjectId() {
return this.AKProjectId;
}
/**
* @return assignedTo
*/
public String getAssignedTo() {
return this.assignedTo;
}
/**
* @return cfList
*/
public java.util.Map < String, ? > getCfList() {
return this.cfList;
}
/**
* @return cfs
*/
public java.util.Map < String, ? > getCfs() {
return this.cfs;
}
/**
* @return corpIdentifier
*/
public String getCorpIdentifier() {
return this.corpIdentifier;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return ignoreCheck
*/
public Boolean getIgnoreCheck() {
return this.ignoreCheck;
}
/**
* @return issueId
*/
public Integer getIssueId() {
return this.issueId;
}
/**
* @return modifier
*/
public String getModifier() {
return this.modifier;
}
/**
* @return priority
*/
public String getPriority() {
return this.priority;
}
/**
* @return seriousLevel
*/
public String getSeriousLevel() {
return this.seriousLevel;
}
/**
* @return sprintId
*/
public Integer getSprintId() {
return this.sprintId;
}
/**
* @return stamp
*/
public String getStamp() {
return this.stamp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return verifier
*/
public String getVerifier() {
return this.verifier;
}
public static final class Builder extends Request.Builder<UpdateWorkitemRequest, Builder> {
private Integer AKProjectId;
private String assignedTo;
private java.util.Map < String, ? > cfList;
private java.util.Map < String, ? > cfs;
private String corpIdentifier;
private String description;
private Boolean ignoreCheck;
private Integer issueId;
private String modifier;
private String priority;
private String seriousLevel;
private Integer sprintId;
private String stamp;
private String status;
private String subject;
private Integer templateId;
private String verifier;
private Builder() {
super();
}
private Builder(UpdateWorkitemRequest response) {
super(response);
this.AKProjectId = response.AKProjectId;
this.assignedTo = response.assignedTo;
this.cfList = response.cfList;
this.cfs = response.cfs;
this.corpIdentifier = response.corpIdentifier;
this.description = response.description;
this.ignoreCheck = response.ignoreCheck;
this.issueId = response.issueId;
this.modifier = response.modifier;
this.priority = response.priority;
this.seriousLevel = response.seriousLevel;
this.sprintId = response.sprintId;
this.stamp = response.stamp;
this.status = response.status;
this.subject = response.subject;
this.templateId = response.templateId;
this.verifier = response.verifier;
}
/**
* AKProjectId.
*/
public Builder AKProjectId(Integer AKProjectId) {
this.putBodyParameter("AKProjectId", AKProjectId);
this.AKProjectId = AKProjectId;
return this;
}
/**
* AssignedTo.
*/
public Builder assignedTo(String assignedTo) {
this.putBodyParameter("AssignedTo", assignedTo);
this.assignedTo = assignedTo;
return this;
}
/**
* CfList.
*/
public Builder cfList(java.util.Map < String, ? > cfList) {
this.putBodyParameter("CfList", cfList);
this.cfList = cfList;
return this;
}
/**
* Cfs.
*/
public Builder cfs(java.util.Map < String, ? > cfs) {
this.putBodyParameter("Cfs", cfs);
this.cfs = cfs;
return this;
}
/**
* CorpIdentifier.
*/
public Builder corpIdentifier(String corpIdentifier) {
this.putQueryParameter("CorpIdentifier", corpIdentifier);
this.corpIdentifier = corpIdentifier;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* IgnoreCheck.
*/
public Builder ignoreCheck(Boolean ignoreCheck) {
this.putBodyParameter("IgnoreCheck", ignoreCheck);
this.ignoreCheck = ignoreCheck;
return this;
}
/**
* IssueId.
*/
public Builder issueId(Integer issueId) {
this.putBodyParameter("IssueId", issueId);
this.issueId = issueId;
return this;
}
/**
* Modifier.
*/
public Builder modifier(String modifier) {
this.putBodyParameter("Modifier", modifier);
this.modifier = modifier;
return this;
}
/**
* Priority.
*/
public Builder priority(String priority) {
this.putBodyParameter("Priority", priority);
this.priority = priority;
return this;
}
/**
* SeriousLevel.
*/
public Builder seriousLevel(String seriousLevel) {
this.putBodyParameter("SeriousLevel", seriousLevel);
this.seriousLevel = seriousLevel;
return this;
}
/**
* SprintId.
*/
public Builder sprintId(Integer sprintId) {
this.putBodyParameter("SprintId", sprintId);
this.sprintId = sprintId;
return this;
}
/**
* Stamp.
*/
public Builder stamp(String stamp) {
this.putBodyParameter("Stamp", stamp);
this.stamp = stamp;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.putBodyParameter("Status", status);
this.status = status;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.putBodyParameter("Subject", subject);
this.subject = subject;
return this;
}
/**
* TemplateId.
*/
public Builder templateId(Integer templateId) {
this.putBodyParameter("TemplateId", templateId);
this.templateId = templateId;
return this;
}
/**
* Verifier.
*/
public Builder verifier(String verifier) {
this.putBodyParameter("Verifier", verifier);
this.verifier = verifier;
return this;
}
@Override
public UpdateWorkitemRequest build() {
return new UpdateWorkitemRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/UpdateWorkitemResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateWorkitemResponse} extends {@link TeaModel}
*
* <p>UpdateWorkitemResponse</p>
*/
public class UpdateWorkitemResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private UpdateWorkitemResponseBody body;
private UpdateWorkitemResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static UpdateWorkitemResponse 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 body
*/
public UpdateWorkitemResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateWorkitemResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder body(UpdateWorkitemResponseBody body);
@Override
UpdateWorkitemResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateWorkitemResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private UpdateWorkitemResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateWorkitemResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateWorkitemResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateWorkitemResponse build() {
return new UpdateWorkitemResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821 | java-sources/com/aliyun/alibabacloud-rdc20180821/1.0.0/com/aliyun/sdk/service/rdc20180821/models/UpdateWorkitemResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rdc20180821.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateWorkitemResponseBody} extends {@link TeaModel}
*
* <p>UpdateWorkitemResponseBody</p>
*/
public class UpdateWorkitemResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Boolean data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private UpdateWorkitemResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static UpdateWorkitemResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Boolean getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Boolean data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Boolean data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public UpdateWorkitemResponseBody build() {
return new UpdateWorkitemResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.rds20140815.models.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
/**
* @param request the request parameters of AcceptRCInquiredSystemEvent AcceptRCInquiredSystemEventRequest
* @return AcceptRCInquiredSystemEventResponse
*/
CompletableFuture<AcceptRCInquiredSystemEventResponse> acceptRCInquiredSystemEvent(AcceptRCInquiredSystemEventRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/365562.html">Use the cloud migration feature</a></p>
* </blockquote>
*
* @param request the request parameters of ActivateMigrationTargetInstance ActivateMigrationTargetInstanceRequest
* @return ActivateMigrationTargetInstanceResponse
*/
CompletableFuture<ActivateMigrationTargetInstanceResponse> activateMigrationTargetInstance(ActivateMigrationTargetInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>Each tag consists of a tag key and a tag value. The tag key is required, and the tag value is optional.</li>
* <li>The tag key and tag value cannot start with aliyun.</li>
* <li>The tag key and tag value are not case-sensitive.</li>
* <li>The maximum length of a tag key is 64 characters, and the maximum length of a tag value is 128 characters.</li>
* <li>A maximum of 10 tags can be added to each instance. Each tag that is added to the same instance must have a unique tag key. If you add a new tag to the instance and the key of the new tag is the same as that of an existing tag, the new tag overwrites the existing tag.</li>
* </ul>
*
* @param request the request parameters of AddTagsToResource AddTagsToResourceRequest
* @return AddTagsToResourceResponse
*/
CompletableFuture<AddTagsToResourceResponse> addTagsToResource(AddTagsToResourceRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/26128.html">Apply for a public endpoint for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97738.html">Apply for a public endpoint for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97736.html">Apply for a public endpoint for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97740.html">Apply for a public endpoint for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of AllocateInstancePublicConnection AllocateInstancePublicConnectionRequest
* @return AllocateInstancePublicConnectionResponse
*/
CompletableFuture<AllocateInstancePublicConnectionResponse> allocateInstancePublicConnection(AllocateInstancePublicConnectionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>If read-only instances are attached to a primary ApsaraDB RDS for SQL Server instance, you can call this operation to apply for a unified read-only routing endpoint for the primary instance. After you apply for a read-only routing endpoint for a primary instance, the existing endpoints of the primary instance and its read-only instances remain valid. In addition, you can still apply for internal and public endpoints.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The instance is in the Running state.</li>
* <li>Read-only instances are attached to the primary instance.</li>
* <li>The instance does not have an ongoing Data Transmission Service (DTS) migration task.</li>
* <li>The instance runs one of the following database versions and RDS editions:<ul>
* <li>SQL Server on RDS Cluster Edition</li>
* <li>MySQL 5.7 on RDS High-availability Edition (with local disks)</li>
* <li>MySQL 5.6</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of AllocateReadWriteSplittingConnection AllocateReadWriteSplittingConnectionRequest
* @return AllocateReadWriteSplittingConnectionResponse
*/
CompletableFuture<AllocateReadWriteSplittingConnectionResponse> allocateReadWriteSplittingConnection(AllocateReadWriteSplittingConnectionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
* <h3><a href="#"></a>Precautions</h3>
* <p>If the RDS Custom instance uses a public IP address, the public IP address is automatically released after you associate an EIP with the instance.</p>
*
* @param request the request parameters of AssociateEipAddressWithRCInstance AssociateEipAddressWithRCInstanceRequest
* @return AssociateEipAddressWithRCInstanceResponse
*/
CompletableFuture<AssociateEipAddressWithRCInstanceResponse> associateEipAddressWithRCInstance(AssociateEipAddressWithRCInstanceRequest request);
/**
* @param request the request parameters of AttachRCDisk AttachRCDiskRequest
* @return AttachRCDiskResponse
*/
CompletableFuture<AttachRCDiskResponse> attachRCDisk(AttachRCDiskRequest request);
/**
* @param request the request parameters of AttachRCInstances AttachRCInstancesRequest
* @return AttachRCInstancesResponse
*/
CompletableFuture<AttachRCInstancesResponse> attachRCInstances(AttachRCInstancesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of AttachWhitelistTemplateToInstance AttachWhitelistTemplateToInstanceRequest
* @return AttachWhitelistTemplateToInstanceResponse
*/
CompletableFuture<AttachWhitelistTemplateToInstanceResponse> attachWhitelistTemplateToInstance(AttachWhitelistTemplateToInstanceRequest request);
/**
* @param request the request parameters of AuthorizeRCSecurityGroupPermission AuthorizeRCSecurityGroupPermissionRequest
* @return AuthorizeRCSecurityGroupPermissionResponse
*/
CompletableFuture<AuthorizeRCSecurityGroupPermissionResponse> authorizeRCSecurityGroupPermission(AuthorizeRCSecurityGroupPermissionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>When the <a href="https://help.aliyun.com/document_detail/51073.html">read/write splitting</a> feature is enabled, this operation is used to calculate system-assigned read weights. For more information about custom read weights, see <a href="https://help.aliyun.com/document_detail/610423.html">DescribeDBInstanceNetInfo</a>.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>If the instance runs MySQL, the instance uses a shared proxy.</li>
* <li>The instance runs one of the following MySQL versions and RDS editions:<ul>
* <li>MySQL 5.7 on RDS High-availability Edition (with local disks)</li>
* <li>MySQL 5.6</li>
* <li>SQL Server on RDS Cluster Edition</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of CalculateDBInstanceWeight CalculateDBInstanceWeightRequest
* @return CalculateDBInstanceWeightResponse
*/
CompletableFuture<CalculateDBInstanceWeightResponse> calculateDBInstanceWeight(CalculateDBInstanceWeightRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/104183.html">Scheduled events for ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104452.html">Scheduled events for ApsaraDB RDS for PostgreSQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104451.html">Scheduled events for ApsaraDB RDS for SQL Server instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104454.html">Scheduled events for ApsaraDB RDS for MariaDB instances</a></li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Tasks cannot be canceled in the following situations:</p>
* <ul>
* <li>The allowCancel parameter is set to 0.</li>
* <li>The current time is later than the task start time.</li>
* <li>The status of the task is not set to 3. The value 3 specifies that the task is waiting to be executed.</li>
* </ul>
*
* @param request the request parameters of CancelActiveOperationTasks CancelActiveOperationTasksRequest
* @return CancelActiveOperationTasksResponse
*/
CompletableFuture<CancelActiveOperationTasksResponse> cancelActiveOperationTasks(CancelActiveOperationTasksRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of CheckAccountNameAvailable CheckAccountNameAvailableRequest
* @return CheckAccountNameAvailableResponse
*/
CompletableFuture<CheckAccountNameAvailableResponse> checkAccountNameAvailable(CheckAccountNameAvailableRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of CheckCloudResourceAuthorized CheckCloudResourceAuthorizedRequest
* @return CheckCloudResourceAuthorizedResponse
*/
CompletableFuture<CheckCloudResourceAuthorizedResponse> checkCloudResourceAuthorized(CheckCloudResourceAuthorizedRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server<blockquote>
* <p> If your ApsaraDB RDS for PostgreSQL instance uses the new architecture and is created after October 10, 2022, this feature is not supported for the RDS instance. For more information, see <a href="~~452313~~">[Notice] SLR authorization is required to create an ApsaraDB RDS for PostgreSQL instance from October 10, 2022</a>.</p>
* </blockquote>
* </li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a> and <a href="https://help.aliyun.com/document_detail/120875.html">Restore the data of an ApsaraDB RDS for MySQL instance across regions</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature of an ApsaraDB RDS for PostgreSQL instance</a> and <a href="https://help.aliyun.com/document_detail/206662.html">Restore the data of an ApsaraDB RDS for PostgreSQL across regions</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature of an ApsaraDB RDS for SQL Server instance</a> and <a href="https://help.aliyun.com/document_detail/187924.html">Restore the data of an ApsaraDB RDS for SQL Server across regions</a></li>
* </ul>
*
* @param request the request parameters of CheckCreateDdrDBInstance CheckCreateDdrDBInstanceRequest
* @return CheckCreateDdrDBInstanceResponse
*/
CompletableFuture<CheckCreateDdrDBInstanceResponse> checkCreateDdrDBInstance(CheckCreateDdrDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of CheckDBNameAvailable CheckDBNameAvailableRequest
* @return CheckDBNameAvailableResponse
*/
CompletableFuture<CheckDBNameAvailableResponse> checkDBNameAvailable(CheckDBNameAvailableRequest request);
/**
* @param request the request parameters of CheckInstanceExist CheckInstanceExistRequest
* @return CheckInstanceExistResponse
*/
CompletableFuture<CheckInstanceExistResponse> checkInstanceExist(CheckInstanceExistRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of CheckServiceLinkedRole CheckServiceLinkedRoleRequest
* @return CheckServiceLinkedRoleResponse
*/
CompletableFuture<CheckServiceLinkedRoleResponse> checkServiceLinkedRole(CheckServiceLinkedRoleRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96147.html">Restore data of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96776.html">Restore data of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95722.html">Restore data of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97151.html">Restore data of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CloneDBInstance CloneDBInstanceRequest
* @return CloneDBInstanceResponse
*/
CompletableFuture<CloneDBInstanceResponse> cloneDBInstance(CloneDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of CloneParameterGroup CloneParameterGroupRequest
* @return CloneParameterGroupResponse
*/
CompletableFuture<CloneParameterGroupResponse> cloneParameterGroup(CloneParameterGroupRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>After you call the <a href="https://help.aliyun.com/document_detail/610443.html">QueryNotify</a> operation to query notifications for an instance, you can call this operation to mark the notifications as confirmed.</p>
*
* @param request the request parameters of ConfirmNotify ConfirmNotifyRequest
* @return ConfirmNotifyResponse
*/
CompletableFuture<ConfirmNotifyResponse> confirmNotify(ConfirmNotifyRequest request);
/**
* <b>description</b> :
* <p>This operation is phased out.</p>
*
* @param request the request parameters of CopyDatabase CopyDatabaseRequest
* @return CopyDatabaseResponse
*/
CompletableFuture<CopyDatabaseResponse> copyDatabase(CopyDatabaseRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS SQL Server</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/95702.html">Replicate databases between ApsaraDB RDS for SQL Server instances</a></p>
* </blockquote>
*
* @param request the request parameters of CopyDatabaseBetweenInstances CopyDatabaseBetweenInstancesRequest
* @return CopyDatabaseBetweenInstancesResponse
*/
CompletableFuture<CopyDatabaseBetweenInstancesResponse> copyDatabaseBetweenInstances(CopyDatabaseBetweenInstancesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96089.html">Create an account on an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96753.html">Create an account on an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95810.html">Create an account on an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97132.html">Create an account on an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateAccount CreateAccountRequest
* @return CreateAccountResponse
*/
CompletableFuture<CreateAccountResponse> createAccount(CreateAccountRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>This operation uses the backup feature of ApsaraDB RDS to create a backup set. You can also call an operation of Database Backup (DBS) to create a backup set. For more information, see <a href="https://help.aliyun.com/document_detail/2402073.html">List of operations by function</a>.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The instance is in the Running state.</li>
* <li>The instance does not have ongoing backup tasks.</li>
* <li>The number of backup sets that can be created for an instance per day cannot exceed 20.</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/378074.html">Use the data backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96772.html">Use the data backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95717.html">Use the data backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97147.html">Use the data backup feature for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateBackup CreateBackupRequest
* @return CreateBackupResponse
*/
CompletableFuture<CreateBackupResponse> createBackup(CreateBackupRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/365562.html">Use the cloud migration feature</a></p>
* </blockquote>
*
* @param request the request parameters of CreateCloudMigrationPrecheckTask CreateCloudMigrationPrecheckTaskRequest
* @return CreateCloudMigrationPrecheckTaskResponse
*/
CompletableFuture<CreateCloudMigrationPrecheckTaskResponse> createCloudMigrationPrecheckTask(CreateCloudMigrationPrecheckTaskRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/365562.html">Use the cloud migration feature</a></p>
* </blockquote>
*
* @param request the request parameters of CreateCloudMigrationTask CreateCloudMigrationTaskRequest
* @return CreateCloudMigrationTaskResponse
*/
CompletableFuture<CreateCloudMigrationTaskResponse> createCloudMigrationTask(CreateCloudMigrationTaskRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the related topics. If an error message appears when you call this operation, you can search for the error message to view the cause of the error.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/148036.html">Create an ApsaraDB RDS for MySQL instance</a>.</li>
* <li><a href="https://help.aliyun.com/document_detail/412231.html">Create a serverless ApsaraDB RDS for MySQL instance</a>.</li>
* <li><a href="https://help.aliyun.com/document_detail/148038.html">Create an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/607753.html">Create a serverless ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/428615.html">Create an ApsaraDB RDS for PostgreSQL instance for which Babelfish is enabled</a></li>
* <li><a href="https://help.aliyun.com/document_detail/148037.html">Create an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/603465.html">Create a serverless ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/148040.html">Create an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDBInstance CreateDBInstanceRequest
* @return CreateDBInstanceResponse
*/
CompletableFuture<CreateDBInstanceResponse> createDBInstance(CreateDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/464132.html">Create a read-only endpoint for a cluster</a></p>
* </blockquote>
*
* @param request the request parameters of CreateDBInstanceEndpoint CreateDBInstanceEndpointRequest
* @return CreateDBInstanceEndpointResponse
*/
CompletableFuture<CreateDBInstanceEndpointResponse> createDBInstanceEndpoint(CreateDBInstanceEndpointRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>You can create a public endpoint of an endpoint type only when no public endpoint is created for this endpoint type.</li>
* <li>The node weights and other configurations are the same as those of the internal endpoint of this endpoint type. Each type of endpoint can contain an internal endpoint and a public endpoint.</li>
* </ul>
*
* @param request the request parameters of CreateDBInstanceEndpointAddress CreateDBInstanceEndpointAddressRequest
* @return CreateDBInstanceEndpointAddressResponse
*/
CompletableFuture<CreateDBInstanceEndpointAddressResponse> createDBInstanceEndpointAddress(CreateDBInstanceEndpointAddressRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>: Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96065.html">Manage ApsaraDB RDS for MySQL instances in the recycle bin</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96752.html">Manage ApsaraDB RDS for PostgreSQL instances in the recycle bin</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95669.html">Manage ApsaraDB RDS for SQL Server instances in the recycle bin</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97131.html">Manage ApsaraDB RDS for MariaDB instances in the recycle bin</a></li>
* </ul>
*
* @param request the request parameters of CreateDBInstanceForRebuild CreateDBInstanceForRebuildRequest
* @return CreateDBInstanceForRebuildResponse
*/
CompletableFuture<CreateDBInstanceForRebuildResponse> createDBInstanceForRebuild(CreateDBInstanceForRebuildRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of CreateDBInstanceSecurityGroupRule CreateDBInstanceSecurityGroupRuleRequest
* @return CreateDBInstanceSecurityGroupRuleResponse
*/
CompletableFuture<CreateDBInstanceSecurityGroupRuleResponse> createDBInstanceSecurityGroupRule(CreateDBInstanceSecurityGroupRuleRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>MySQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/464129.html">Add a node to an ApsaraDB RDS for MySQL cluster</a></p>
* </blockquote>
*
* @param request the request parameters of CreateDBNodes CreateDBNodesRequest
* @return CreateDBNodesResponse
*/
CompletableFuture<CreateDBNodesResponse> createDBNodes(CreateDBNodesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/184921.html">Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418274.html">Configure the dedicated proxy endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDBProxyEndpointAddress CreateDBProxyEndpointAddressRequest
* @return CreateDBProxyEndpointAddressResponse
*/
CompletableFuture<CreateDBProxyEndpointAddressResponse> createDBProxyEndpointAddress(CreateDBProxyEndpointAddressRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96105.html">Create a database in an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96758.html">Create a database in an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95698.html">Create a database in an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97136.html">Create a database in an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDatabase CreateDatabaseRequest
* @return CreateDatabaseResponse
*/
CompletableFuture<CreateDatabaseResponse> createDatabase(CreateDatabaseRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> Before restoration, you can call the CheckCreateDdrDBInstance operation to check whether a cross-region backup set can be used for cross-region restoration.</p>
* </blockquote>
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDdrInstance CreateDdrInstanceRequest
* @return CreateDdrInstanceResponse
*/
CompletableFuture<CreateDdrInstanceResponse> createDdrInstance(CreateDdrInstanceRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> This operation is no longer maintained. You can call the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
* After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report.</p>
* </blockquote>
*
* @param request the request parameters of CreateDiagnosticReport CreateDiagnosticReportRequest
* @return CreateDiagnosticReportResponse
*/
CompletableFuture<CreateDiagnosticReportResponse> createDiagnosticReport(CreateDiagnosticReportRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of CreateGADInstance CreateGADInstanceRequest
* @return CreateGADInstanceResponse
*/
CompletableFuture<CreateGADInstanceResponse> createGADInstance(CreateGADInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/331851.html">Add or remove unit nodes</a></p>
* </blockquote>
*
* @param request the request parameters of CreateGadInstanceMember CreateGadInstanceMemberRequest
* @return CreateGadInstanceMemberResponse
*/
CompletableFuture<CreateGadInstanceMemberResponse> createGadInstanceMember(CreateGadInstanceMemberRequest request);
/**
* @param request the request parameters of CreateMaskingRules CreateMaskingRulesRequest
* @return CreateMaskingRulesResponse
*/
CompletableFuture<CreateMaskingRulesResponse> createMaskingRules(CreateMaskingRulesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>Limits</h3>
* <p>Data migration across Alibaba Cloud accounts is not supported. For example, backup files in an Object Storage Service (OSS) bucket within Alibaba Cloud Account A cannot be migrated to an ApsaraDB RDS for SQL Server instance within Alibaba Cloud Account B.</p>
* <blockquote>
* <p> You can migrate backup files from an OSS bucket within Alibaba Cloud Account A to an OSS bucket within Alibaba Cloud Account B. Make sure that the data in the OSS bucket and the RDS instance belong to the same Alibaba Cloud account. Then, you can call this operation to create a migration task. For more information, see <a href="https://help.aliyun.com/document_detail/342762.html">Use Data Online Migration to migrate data between accounts</a>.</p>
* </blockquote>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following topic. Make sure that you fully understand the prerequisites, preparations, and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/100019.html">Migrate data from a self-managed SQL Server instance to an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of CreateMigrateTask CreateMigrateTaskRequest
* @return CreateMigrateTaskResponse
*/
CompletableFuture<CreateMigrateTaskResponse> createMigrateTask(CreateMigrateTaskRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* This operation is used to migrate backup data to the cloud. Before you call this operation, make sure that you understand the descriptions in the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/95737.html">Migrate the full backup data of a self-managed SQL Server database to an ApsaraDB RDS instance that runs SQL Server 2008 R2</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95738.html">Migrate full backup data of SQL Server 2012, 2014, 2016, 2017, or 2019 databases</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95736.html">Migrate incremental backup data to ApsaraDB RDS for SQL Server 2012, 2014, 2016, 2017, or 2019</a></li>
* </ul>
*
* @param request the request parameters of CreateOnlineDatabaseTask CreateOnlineDatabaseTaskRequest
* @return CreateOnlineDatabaseTaskResponse
*/
CompletableFuture<CreateOnlineDatabaseTaskResponse> createOnlineDatabaseTask(CreateOnlineDatabaseTaskRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/464130.html">Delete a node from an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition</a></p>
* </blockquote>
*
* @param request the request parameters of CreateOrderForDeleteDBNodes CreateOrderForDeleteDBNodesRequest
* @return CreateOrderForDeleteDBNodesResponse
*/
CompletableFuture<CreateOrderForDeleteDBNodesResponse> createOrderForDeleteDBNodes(CreateOrderForDeleteDBNodesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of CreateParameterGroup CreateParameterGroupRequest
* @return CreateParameterGroupResponse
*/
CompletableFuture<CreateParameterGroupResponse> createParameterGroup(CreateParameterGroupRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Install only the extensions that are supported by the major engine version of the instance. Otherwise, the installation fails.</p>
* <ul>
* <li>For more information, see <a href="https://help.aliyun.com/document_detail/142340.html">Supported extensions</a>.</li>
* <li>You can call an API operation to query the major engine version of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/610394.html">DescribeDBInstanceAttribute</a>.</li>
* </ul>
*
* @param request the request parameters of CreatePostgresExtensions CreatePostgresExtensionsRequest
* @return CreatePostgresExtensionsResponse
*/
CompletableFuture<CreatePostgresExtensionsResponse> createPostgresExtensions(CreatePostgresExtensionsRequest request);
/**
* @param request the request parameters of CreateRCDeploymentSet CreateRCDeploymentSetRequest
* @return CreateRCDeploymentSetResponse
*/
CompletableFuture<CreateRCDeploymentSetResponse> createRCDeploymentSet(CreateRCDeploymentSetRequest request);
/**
* <b>description</b> :
* <p> The disk can be an ultra disk, an Enterprise SSD (ESSD), an SSD, or a Premium ESSD. By default, Premium ESSD is used.</p>
* <ul>
* <li>When you set InstanceChargeType to <strong>Prepaid</strong>, the disk billing method is subscription. You must set <strong>InstanceId</strong> to the ID of a subscription instance. The expiration time of the disk must be the same as that of the instance to which the disk is attached.</li>
* <li>When you set <strong>InstanceChargeType</strong> to Postpaid, the disk billing method is pay-as-you-go. You do not need to attach the disk to an instance. You can also attach the pay-as-you-go disk to an instance of any billing method based on your business requirements.</li>
* <li>The type and number of disks that can be attached to an instance vary based on instance specifications.</li>
* </ul>
*
* @param request the request parameters of CreateRCDisk CreateRCDiskRequest
* @return CreateRCDiskResponse
*/
CompletableFuture<CreateRCDiskResponse> createRCDisk(CreateRCDiskRequest request);
/**
* @param request the request parameters of CreateRCNodePool CreateRCNodePoolRequest
* @return CreateRCNodePoolResponse
*/
CompletableFuture<CreateRCNodePoolResponse> createRCNodePool(CreateRCNodePoolRequest request);
/**
* <b>description</b> :
* <p>In the following scenarios, you cannot create snapshots for a specific disk:</p>
* <ul>
* <li>The number of manual snapshots of the disk has reached 256.</li>
* <li>A snapshot is being created for the disk.</li>
* <li>The instance to which the disk is attached has never been started.</li>
* <li>The instance to which the disk is attached is not in the <strong>Stopped</strong> or <strong>Running</strong> state.
* When you create a snapshot, take note of the following items:</li>
* <li>If a snapshot is being created, the snapshot cannot be used to create a custom image by calling the CreateImage operation.</li>
* <li>When a snapshot is being created for a disk that is attached to an RDS Custom instance, do not change the instance state.</li>
* <li>You can create snapshots for a disk that is in the <strong>Expired</strong> state. If the release time scheduled for a disk arrives when a snapshot is being created for the disk, the snapshot in the Creating state is deleted when the disk is released.</li>
* </ul>
*
* @param request the request parameters of CreateRCSnapshot CreateRCSnapshotRequest
* @return CreateRCSnapshotResponse
*/
CompletableFuture<CreateRCSnapshotResponse> createRCSnapshot(CreateRCSnapshotRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/56991.html">Create a read-only ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/108959.html">Create a read-only ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/99005.html">Create a read-only ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of CreateReadOnlyDBInstance CreateReadOnlyDBInstanceRequest
* @return CreateReadOnlyDBInstanceResponse
*/
CompletableFuture<CreateReadOnlyDBInstanceResponse> createReadOnlyDBInstance(CreateReadOnlyDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* <li>SQL Server<blockquote>
* <p> The parameters vary based on database engines.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of CreateReplicationLink CreateReplicationLinkRequest
* @return CreateReplicationLinkResponse
*/
CompletableFuture<CreateReplicationLinkResponse> createReplicationLink(CreateReplicationLinkRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of CreateSecret CreateSecretRequest
* @return CreateSecretResponse
*/
CompletableFuture<CreateSecretResponse> createSecret(CreateSecretRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/342840.html">Service-linked roles</a></p>
* </blockquote>
*
* @param request the request parameters of CreateServiceLinkedRole CreateServiceLinkedRoleRequest
* @return CreateServiceLinkedRoleResponse
*/
CompletableFuture<CreateServiceLinkedRoleResponse> createServiceLinkedRole(CreateServiceLinkedRoleRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>Your RDS instance runs SQL Server 2008 R2 with local disks.</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/95724.html">Restore the data of an ApsaraDB RDS for SQL Server instance by using a temporary RDS instance</a></p>
* </blockquote>
*
* @param request the request parameters of CreateTempDBInstance CreateTempDBInstanceRequest
* @return CreateTempDBInstanceResponse
*/
CompletableFuture<CreateTempDBInstanceResponse> createTempDBInstance(CreateTempDBInstanceRequest request);
/**
* @param request the request parameters of CreateYouhuiForOrder CreateYouhuiForOrderRequest
* @return CreateYouhuiForOrderResponse
*/
CompletableFuture<CreateYouhuiForOrderResponse> createYouhuiForOrder(CreateYouhuiForOrderRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DeleteADSetting DeleteADSettingRequest
* @return DeleteADSettingResponse
*/
CompletableFuture<DeleteADSettingResponse> deleteADSetting(DeleteADSettingRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96104.html">Delete a database account from an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/147649.html">Delete a database account from an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95694.html">Delete a database account from an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97135.html">Delete a database account from an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteAccount DeleteAccountRequest
* @return DeleteAccountResponse
*/
CompletableFuture<DeleteAccountResponse> deleteAccount(DeleteAccountRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p>Only instances that run RDS High-availability Edition are supported.</p>
* </blockquote>
* </li>
* </ul>
* <h3>Description</h3>
* <p>You can call this operation to delete backup sets of the instance itself. Backup sets of the associated instances such as read-only, disaster recovery, and cloned instances are not deleted.</p>
* <h3>Precautions</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The instance is in the Running state.</li>
* <li>If the log backup feature is disabled, instances cannot be restored by point in time. You can delete data backup sets that are retained for more than seven days.</li>
* <li>If the log backup feature is enabled and the log backup retention period is shorter than the data backup retention period, you can delete the data backup files that are retained for a period longer than the log backup retention period.</li>
* </ul>
*
* @param request the request parameters of DeleteBackup DeleteBackupRequest
* @return DeleteBackupResponse
*/
CompletableFuture<DeleteBackupResponse> deleteBackup(DeleteBackupRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <blockquote>
* <p> **This operation is not supported for new users. **Select other methods to <a href="https://help.aliyun.com/document_detail/95718.html">reduce or save backup costs</a>. Users who are added to the whitelist can still use the backup file. Check the availability of the backup file before you delete it. After the backup file is deleted, you cannot retrieve it.</p>
* </blockquote>
*
* @param request the request parameters of DeleteBackupFile DeleteBackupFileRequest
* @return DeleteBackupFileResponse
*/
CompletableFuture<DeleteBackupFileResponse> deleteBackupFile(DeleteBackupFileRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Note Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96057.html">Release an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96749.html">Release an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95662.html">Release an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97128.html">Release an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteDBInstance DeleteDBInstanceRequest
* @return DeleteDBInstanceResponse
*/
CompletableFuture<DeleteDBInstanceResponse> deleteDBInstance(DeleteDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/464133.html">Delete the read-only endpoint of an ApsaraDB RDS for MySQL cluster</a></p>
* </blockquote>
*
* @param request the request parameters of DeleteDBInstanceEndpoint DeleteDBInstanceEndpointRequest
* @return DeleteDBInstanceEndpointResponse
*/
CompletableFuture<DeleteDBInstanceEndpointResponse> deleteDBInstanceEndpoint(DeleteDBInstanceEndpointRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>Precautions</h3>
* <p>You can delete only the public endpoint of each endpoint type from the instance. If you want to delete an internal endpoint of any endpoint type, you can directly delete the type of endpoint.</p>
*
* @param request the request parameters of DeleteDBInstanceEndpointAddress DeleteDBInstanceEndpointAddressRequest
* @return DeleteDBInstanceEndpointAddressResponse
*/
CompletableFuture<DeleteDBInstanceEndpointAddressResponse> deleteDBInstanceEndpointAddress(DeleteDBInstanceEndpointAddressRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of DeleteDBInstanceSecurityGroupRule DeleteDBInstanceSecurityGroupRuleRequest
* @return DeleteDBInstanceSecurityGroupRuleResponse
*/
CompletableFuture<DeleteDBInstanceSecurityGroupRuleResponse> deleteDBInstanceSecurityGroupRule(DeleteDBInstanceSecurityGroupRuleRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/464130.html">Delete a node from an ApsaraDB RDS for MySQL cluster</a></p>
* </blockquote>
*
* @param request the request parameters of DeleteDBNodes DeleteDBNodesRequest
* @return DeleteDBNodesResponse
*/
CompletableFuture<DeleteDBNodesResponse> deleteDBNodes(DeleteDBNodesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/184921.html">Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418274.html">Configure the dedicated proxy endpoint for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteDBProxyEndpointAddress DeleteDBProxyEndpointAddressRequest
* @return DeleteDBProxyEndpointAddressResponse
*/
CompletableFuture<DeleteDBProxyEndpointAddressResponse> deleteDBProxyEndpointAddress(DeleteDBProxyEndpointAddressRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96106.html">Delete a database from an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96759.html">Delete a database from an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95699.html">Delete a database from an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97137.html">Delete a database from an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteDatabase DeleteDatabaseRequest
* @return DeleteDatabaseResponse
*/
CompletableFuture<DeleteDatabaseResponse> deleteDatabase(DeleteDatabaseRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <ul>
* <li>A global active database cluster cannot be restored after it is deleted. Proceed with caution.</li>
* <li>If you delete a global active database cluster, the system removes all nodes and Data Transmission Service (DTS) synchronization tasks from the cluster. However, the system does not release the ApsaraDB RDS for MySQL instances that run as nodes in the cluster. If you no longer need the ApsaraDB RDS for MySQL instances, you can call the <a href="https://help.aliyun.com/document_detail/26229.html">DeleteDBInstance</a> to release the instances one after another.</li>
* </ul>
*
* @param request the request parameters of DeleteGadInstance DeleteGadInstanceRequest
* @return DeleteGadInstanceResponse
*/
CompletableFuture<DeleteGadInstanceResponse> deleteGadInstance(DeleteGadInstanceRequest request);
/**
* @param request the request parameters of DeleteMaskingRules DeleteMaskingRulesRequest
* @return DeleteMaskingRulesResponse
*/
CompletableFuture<DeleteMaskingRulesResponse> deleteMaskingRules(DeleteMaskingRulesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of DeleteParameterGroup DeleteParameterGroupRequest
* @return DeleteParameterGroupResponse
*/
CompletableFuture<DeleteParameterGroupResponse> deleteParameterGroup(DeleteParameterGroupRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
*
* @param request the request parameters of DeletePostgresExtensions DeletePostgresExtensionsRequest
* @return DeletePostgresExtensionsResponse
*/
CompletableFuture<DeletePostgresExtensionsResponse> deletePostgresExtensions(DeletePostgresExtensionsRequest request);
/**
* @param request the request parameters of DeleteRCClusterNodes DeleteRCClusterNodesRequest
* @return DeleteRCClusterNodesResponse
*/
CompletableFuture<DeleteRCClusterNodesResponse> deleteRCClusterNodes(DeleteRCClusterNodesRequest request);
/**
* @param request the request parameters of DeleteRCDeploymentSet DeleteRCDeploymentSetRequest
* @return DeleteRCDeploymentSetResponse
*/
CompletableFuture<DeleteRCDeploymentSetResponse> deleteRCDeploymentSet(DeleteRCDeploymentSetRequest request);
/**
* <b>description</b> :
* <p>Before you call this operation, take note of the following items:</p>
* <ul>
* <li>Manual snapshots of the disk are retained.</li>
* <li>The disk must be in the Unattached (Available) state.</li>
* <li>If no disk with the specified disk ID exists, the request will be ignored.</li>
* </ul>
*
* @param request the request parameters of DeleteRCDisk DeleteRCDiskRequest
* @return DeleteRCDiskResponse
*/
CompletableFuture<DeleteRCDiskResponse> deleteRCDisk(DeleteRCDiskRequest request);
/**
* @param request the request parameters of DeleteRCInstance DeleteRCInstanceRequest
* @return DeleteRCInstanceResponse
*/
CompletableFuture<DeleteRCInstanceResponse> deleteRCInstance(DeleteRCInstanceRequest request);
/**
* <b>description</b> :
* <p>After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.</p>
*
* @param request the request parameters of DeleteRCInstances DeleteRCInstancesRequest
* @return DeleteRCInstancesResponse
*/
CompletableFuture<DeleteRCInstancesResponse> deleteRCInstances(DeleteRCInstancesRequest request);
/**
* @param request the request parameters of DeleteRCNodePool DeleteRCNodePoolRequest
* @return DeleteRCNodePoolResponse
*/
CompletableFuture<DeleteRCNodePoolResponse> deleteRCNodePool(DeleteRCNodePoolRequest request);
/**
* <b>description</b> :
* <p>Before you call this operation, take note of the following items:</p>
* <ul>
* <li>If the specified snapshot ID does not exist, the request will be ignored.</li>
* <li>If the snapshot is used to create custom images, the snapshot cannot be deleted. You must delete the created custom images before you can delete the snapshot.</li>
* <li>If the snapshot is used to create cloud disks and <code>Force</code> is not specified or is set to <code>false</code>, the snapshot cannot be directly deleted. If you want to delete the snapshot, set <code>Force</code> to true to forcefully delete the snapshot. The cloud disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.</li>
* </ul>
*
* @param request the request parameters of DeleteRCSnapshot DeleteRCSnapshotRequest
* @return DeleteRCSnapshotResponse
*/
CompletableFuture<DeleteRCSnapshotResponse> deleteRCSnapshot(DeleteRCSnapshotRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DeleteReplicationLink DeleteReplicationLinkRequest
* @return DeleteReplicationLinkResponse
*/
CompletableFuture<DeleteReplicationLinkResponse> deleteReplicationLink(DeleteReplicationLinkRequest request);
/**
* @param request the request parameters of DeleteSecret DeleteSecretRequest
* @return DeleteSecretResponse
*/
CompletableFuture<DeleteSecretResponse> deleteSecret(DeleteSecretRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>Precautions</h3>
* <p>You can delete a replication slot only when the status of the slot is <strong>INACTIVE</strong>. You can call the DescribeSlots operation to query the status of a replication slot.</p>
*
* @param request the request parameters of DeleteSlot DeleteSlotRequest
* @return DeleteSlotResponse
*/
CompletableFuture<DeleteSlotResponse> deleteSlot(DeleteSlotRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.</li>
* <li>This operation deletes full backup files only from the ApsaraDB RDS console. This operation does not affect the full backup files that are stored as objects in Object Storage Service (OSS) buckets. After you call this operation to delete a full backup file, you can call the ImportUserBackupFile operation to reimport the full backup file.</li>
* </ul>
*
* @param request the request parameters of DeleteUserBackupFile DeleteUserBackupFileRequest
* @return DeleteUserBackupFileResponse
*/
CompletableFuture<DeleteUserBackupFileResponse> deleteUserBackupFile(DeleteUserBackupFileRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of DescibeImportsFromDatabase DescibeImportsFromDatabaseRequest
* @return DescibeImportsFromDatabaseResponse
*/
CompletableFuture<DescibeImportsFromDatabaseResponse> descibeImportsFromDatabase(DescibeImportsFromDatabaseRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeADInfo DescribeADInfoRequest
* @return DescribeADInfoResponse
*/
CompletableFuture<DescribeADInfoResponse> describeADInfo(DescribeADInfoRequest request);
/**
* @param request the request parameters of DescribeAccountMaskingPrivilege DescribeAccountMaskingPrivilegeRequest
* @return DescribeAccountMaskingPrivilegeResponse
*/
CompletableFuture<DescribeAccountMaskingPrivilegeResponse> describeAccountMaskingPrivilege(DescribeAccountMaskingPrivilegeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeAccounts DescribeAccountsRequest
* @return DescribeAccountsResponse
*/
CompletableFuture<DescribeAccountsResponse> describeAccounts(DescribeAccountsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeActionEventPolicy DescribeActionEventPolicyRequest
* @return DescribeActionEventPolicyResponse
*/
CompletableFuture<DescribeActionEventPolicyResponse> describeActionEventPolicy(DescribeActionEventPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeActiveOperationTasks DescribeActiveOperationTasksRequest
* @return DescribeActiveOperationTasksResponse
*/
CompletableFuture<DescribeActiveOperationTasksResponse> describeActiveOperationTasks(DescribeActiveOperationTasksRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeAllWhitelistTemplate DescribeAllWhitelistTemplateRequest
* @return DescribeAllWhitelistTemplateResponse
*/
CompletableFuture<DescribeAllWhitelistTemplateResponse> describeAllWhitelistTemplate(DescribeAllWhitelistTemplateRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/155180.html">Create and view an analytic instance</a></p>
*
* @param request the request parameters of DescribeAnalyticdbByPrimaryDBInstance DescribeAnalyticdbByPrimaryDBInstanceRequest
* @return DescribeAnalyticdbByPrimaryDBInstanceResponse
*/
CompletableFuture<DescribeAnalyticdbByPrimaryDBInstanceResponse> describeAnalyticdbByPrimaryDBInstance(DescribeAnalyticdbByPrimaryDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeAvailableClasses DescribeAvailableClassesRequest
* @return DescribeAvailableClassesResponse
*/
CompletableFuture<DescribeAvailableClassesResponse> describeAvailableClasses(DescribeAvailableClassesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeAvailableCrossRegion DescribeAvailableCrossRegionRequest
* @return DescribeAvailableCrossRegionResponse
*/
CompletableFuture<DescribeAvailableCrossRegionResponse> describeAvailableCrossRegion(DescribeAvailableCrossRegionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/299200.html">View the Enhanced Monitoring metrics</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeAvailableMetrics DescribeAvailableMetricsRequest
* @return DescribeAvailableMetricsResponse
*/
CompletableFuture<DescribeAvailableMetricsResponse> describeAvailableMetrics(DescribeAvailableMetricsRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> To view the time range within which you can restore data from a standard backup set, see DescribeBackups.</p>
* </blockquote>
* <h3><a href="#"></a>Supported database engines</h3>
* <p>ApsaraDB RDS for MySQL instances with local disks</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeAvailableRecoveryTime DescribeAvailableRecoveryTimeRequest
* @return DescribeAvailableRecoveryTimeResponse
*/
CompletableFuture<DescribeAvailableRecoveryTimeResponse> describeAvailableRecoveryTime(DescribeAvailableRecoveryTimeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB<blockquote>
* <p>You can call this operation to query the available zones for an instance. The query result may be different from the zones available on the buy page of the ApsaraDB RDS console. The values of some parameters on the buy page vary based on the actual sales policy. The actual information on the <a href="https://rdsbuy.console.aliyun.com/create/rds/PostgreSQL">buy page</a> prevails.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of DescribeAvailableZones DescribeAvailableZonesRequest
* @return DescribeAvailableZonesResponse
*/
CompletableFuture<DescribeAvailableZonesResponse> describeAvailableZones(DescribeAvailableZonesRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p>This operation is phased out.</p>
* </blockquote>
*
* @param request the request parameters of DescribeBackupDatabase DescribeBackupDatabaseRequest
* @return DescribeBackupDatabaseResponse
*/
CompletableFuture<DescribeBackupDatabaseResponse> describeBackupDatabase(DescribeBackupDatabaseRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeBackupPolicy DescribeBackupPolicyRequest
* @return DescribeBackupPolicyResponse
*/
CompletableFuture<DescribeBackupPolicyResponse> describeBackupPolicy(DescribeBackupPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeBackupTasks DescribeBackupTasksRequest
* @return DescribeBackupTasksResponse
*/
CompletableFuture<DescribeBackupTasksResponse> describeBackupTasks(DescribeBackupTasksRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeBackups DescribeBackupsRequest
* @return DescribeBackupsResponse
*/
CompletableFuture<DescribeBackupsResponse> describeBackups(DescribeBackupsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>MariaDB</li>
* </ul>
* <h3>Usage notes</h3>
* <ul>
* <li>If the return value of the <strong>DownloadLink</strong> parameter is NULL, ApsaraDB RDS does not provide a download URL.</li>
* <li>If the return value of the <strong>DownloadLink</strong> parameter is not NULL, ApsaraDB RDS provides a URL for you to download backup files. The expiration time of the URL is specified by the <strong>LinkExpiredTime</strong> parameter. You must download the backup files before the expiration time.</li>
* <li>If you use a RAM user to download backup files, you must grant permissions to the RAM user. For more information, see <a href="https://help.aliyun.com/document_detail/100043.html">Grant backup file download permissions to a RAM user with read-only permissions</a>.</li>
* <li>Each log file that is returned by this operation contains the log entries that are generated over the time range that is specified by the StartTime and EndTime parameters.</li>
* </ul>
*
* @param request the request parameters of DescribeBinlogFiles DescribeBinlogFilesRequest
* @return DescribeBinlogFilesResponse
*/
CompletableFuture<DescribeBinlogFilesResponse> describeBinlogFiles(DescribeBinlogFilesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeCharacterSetName DescribeCharacterSetNameRequest
* @return DescribeCharacterSetNameResponse
*/
CompletableFuture<DescribeCharacterSetNameResponse> describeCharacterSetName(DescribeCharacterSetNameRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeClassDetails DescribeClassDetailsRequest
* @return DescribeClassDetailsResponse
*/
CompletableFuture<DescribeClassDetailsResponse> describeClassDetails(DescribeClassDetailsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeCloudMigrationPrecheckResult DescribeCloudMigrationPrecheckResultRequest
* @return DescribeCloudMigrationPrecheckResultResponse
*/
CompletableFuture<DescribeCloudMigrationPrecheckResultResponse> describeCloudMigrationPrecheckResult(DescribeCloudMigrationPrecheckResultRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeCloudMigrationResult DescribeCloudMigrationResultRequest
* @return DescribeCloudMigrationResultResponse
*/
CompletableFuture<DescribeCloudMigrationResultResponse> describeCloudMigrationResult(DescribeCloudMigrationResultRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of DescribeCollationTimeZones DescribeCollationTimeZonesRequest
* @return DescribeCollationTimeZonesResponse
*/
CompletableFuture<DescribeCollationTimeZonesResponse> describeCollationTimeZones(DescribeCollationTimeZonesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>RDS PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2928780.html">Assured serverless</a></p>
*
* @param request the request parameters of DescribeComputeBurstConfig DescribeComputeBurstConfigRequest
* @return DescribeComputeBurstConfigResponse
*/
CompletableFuture<DescribeComputeBurstConfigResponse> describeComputeBurstConfig(DescribeComputeBurstConfigRequest request);
/**
* <b>description</b> :
* <p>ApsaraDB RDS for MySQL instances support cross-region backup and restoration. For more information, see <a href="https://help.aliyun.com/document_detail/120824.html">Back up an ApsaraDB RDS for MySQL instance across regions</a> and <a href="https://help.aliyun.com/document_detail/120875.html">Restore the data of an ApsaraDB RDS for MySQL instance across regions</a>.
* Before you call this operation, make sure that the instance runs one of the following database engines:</p>
* <ul>
* <li>MySQL. For more information, see <a href="https://help.aliyun.com/document_detail/120824.html">Back up an ApsaraDB RDS for MySQL instance across regions</a>.</li>
* <li>SQL Server. For more information, see <a href="https://help.aliyun.com/document_detail/187923.html">Back up an ApsaraDB RDS for SQL Server instance across regions</a>.</li>
* <li>PostgreSQL. For more information, see <a href="https://help.aliyun.com/document_detail/206671.html">Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeCrossBackupMetaList DescribeCrossBackupMetaListRequest
* @return DescribeCrossBackupMetaListResponse
*/
CompletableFuture<DescribeCrossBackupMetaListResponse> describeCrossBackupMetaList(DescribeCrossBackupMetaListRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeCrossRegionBackupDBInstance DescribeCrossRegionBackupDBInstanceRequest
* @return DescribeCrossRegionBackupDBInstanceResponse
*/
CompletableFuture<DescribeCrossRegionBackupDBInstanceResponse> describeCrossRegionBackupDBInstance(DescribeCrossRegionBackupDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>ApsaraDB RDS for MySQL instances with local disks</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a><blockquote>
* <p> For more information about how to query cross-region log backup files, see DescribeCrossRegionLogBackupFiles.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of DescribeCrossRegionBackups DescribeCrossRegionBackupsRequest
* @return DescribeCrossRegionBackupsResponse
*/
CompletableFuture<DescribeCrossRegionBackupsResponse> describeCrossRegionBackups(DescribeCrossRegionBackupsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a><blockquote>
* <p> For more information about how to query cross-region data backup files, see <a href="https://help.aliyun.com/document_detail/121733.html">DescribeCrossRegionBackups</a>.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of DescribeCrossRegionLogBackupFiles DescribeCrossRegionLogBackupFilesRequest
* @return DescribeCrossRegionLogBackupFilesResponse
*/
CompletableFuture<DescribeCrossRegionLogBackupFilesResponse> describeCrossRegionLogBackupFiles(DescribeCrossRegionLogBackupFilesRequest request);
/**
* @param request the request parameters of DescribeCurrentModifyOrder DescribeCurrentModifyOrderRequest
* @return DescribeCurrentModifyOrderResponse
*/
CompletableFuture<DescribeCurrentModifyOrderResponse> describeCurrentModifyOrder(DescribeCurrentModifyOrderRequest request);
/**
* @param request the request parameters of DescribeCustinsResourceInfo DescribeCustinsResourceInfoRequest
* @return DescribeCustinsResourceInfoResponse
*/
CompletableFuture<DescribeCustinsResourceInfoResponse> describeCustinsResourceInfo(DescribeCustinsResourceInfoRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceAttribute DescribeDBInstanceAttributeRequest
* @return DescribeDBInstanceAttributeResponse
*/
CompletableFuture<DescribeDBInstanceAttributeResponse> describeDBInstanceAttribute(DescribeDBInstanceAttributeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceByTags DescribeDBInstanceByTagsRequest
* @return DescribeDBInstanceByTagsResponse
*/
CompletableFuture<DescribeDBInstanceByTagsResponse> describeDBInstanceByTags(DescribeDBInstanceByTagsRequest request);
/**
* @param request the request parameters of DescribeDBInstanceConnectivity DescribeDBInstanceConnectivityRequest
* @return DescribeDBInstanceConnectivityResponse
*/
CompletableFuture<DescribeDBInstanceConnectivityResponse> describeDBInstanceConnectivity(DescribeDBInstanceConnectivityRequest request);
/**
* <b>description</b> :
* <p>This operation is phased out.</p>
*
* @param request the request parameters of DescribeDBInstanceDetail DescribeDBInstanceDetailRequest
* @return DescribeDBInstanceDetailResponse
*/
CompletableFuture<DescribeDBInstanceDetailResponse> describeDBInstanceDetail(DescribeDBInstanceDetailRequest request);
/**
* @param request the request parameters of DescribeDBInstanceEncryptionKey DescribeDBInstanceEncryptionKeyRequest
* @return DescribeDBInstanceEncryptionKeyResponse
*/
CompletableFuture<DescribeDBInstanceEncryptionKeyResponse> describeDBInstanceEncryptionKey(DescribeDBInstanceEncryptionKeyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
*
* @param request the request parameters of DescribeDBInstanceEndpoints DescribeDBInstanceEndpointsRequest
* @return DescribeDBInstanceEndpointsResponse
*/
CompletableFuture<DescribeDBInstanceEndpointsResponse> describeDBInstanceEndpoints(DescribeDBInstanceEndpointsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96055.html">Query the data replication mode of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/151265.html">Query the data replication mode of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/415433.html">Query the data replication mode of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceHAConfig DescribeDBInstanceHAConfigRequest
* @return DescribeDBInstanceHAConfigResponse
*/
CompletableFuture<DescribeDBInstanceHAConfigResponse> describeDBInstanceHAConfig(DescribeDBInstanceHAConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceIPArrayList DescribeDBInstanceIPArrayListRequest
* @return DescribeDBInstanceIPArrayListResponse
*/
CompletableFuture<DescribeDBInstanceIPArrayListResponse> describeDBInstanceIPArrayList(DescribeDBInstanceIPArrayListRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <ul>
* <li>The RDS instance runs RDS Basic Edition, RDS High-availability Edition, or RDS Cluster Edition. If your RDS instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.</li>
* <li>The RDS instance belongs to a general-purpose or dedicated instance family. The shared instance family is not supported.</li>
* <li>If the RDS instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the Creation Time parameter of an instance in the Status section of the Basic Information page in the ApsaraDB RDS console.</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/124321.html">Configure a distributed transaction whitelist</a></li>
* <li><a href="https://help.aliyun.com/document_detail/124188.html">Connect Kingdee K/3 WISE to an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceIpHostname DescribeDBInstanceIpHostnameRequest
* @return DescribeDBInstanceIpHostnameResponse
*/
CompletableFuture<DescribeDBInstanceIpHostnameResponse> describeDBInstanceIpHostname(DescribeDBInstanceIpHostnameRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/299200.html">View the Enhanced Monitoring metrics</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeDBInstanceMetrics DescribeDBInstanceMetricsRequest
* @return DescribeDBInstanceMetricsResponse
*/
CompletableFuture<DescribeDBInstanceMetricsResponse> describeDBInstanceMetrics(DescribeDBInstanceMetricsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceMonitor DescribeDBInstanceMonitorRequest
* @return DescribeDBInstanceMonitorResponse
*/
CompletableFuture<DescribeDBInstanceMonitorResponse> describeDBInstanceMonitor(DescribeDBInstanceMonitorRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceNetInfo DescribeDBInstanceNetInfoRequest
* @return DescribeDBInstanceNetInfoResponse
*/
CompletableFuture<DescribeDBInstanceNetInfoResponse> describeDBInstanceNetInfo(DescribeDBInstanceNetInfoRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceNetInfoForChannel DescribeDBInstanceNetInfoForChannelRequest
* @return DescribeDBInstanceNetInfoForChannelResponse
*/
CompletableFuture<DescribeDBInstanceNetInfoForChannelResponse> describeDBInstanceNetInfoForChannel(DescribeDBInstanceNetInfoForChannelRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstancePerformance DescribeDBInstancePerformanceRequest
* @return DescribeDBInstancePerformanceResponse
*/
CompletableFuture<DescribeDBInstancePerformanceResponse> describeDBInstancePerformance(DescribeDBInstancePerformanceRequest request);
/**
* @deprecated OpenAPI DescribeDBInstancePromoteActivity is deprecated * @param request the request parameters of DescribeDBInstancePromoteActivity DescribeDBInstancePromoteActivityRequest
* @return DescribeDBInstancePromoteActivityResponse
*/
@Deprecated
CompletableFuture<DescribeDBInstancePromoteActivityResponse> describeDBInstancePromoteActivity(DescribeDBInstancePromoteActivityRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>This operation is used to query the shared proxy settings of an instance that runs MySQL or the read/write splitting settings of an instance that runs SQL Server. For more information about how to query the dedicated proxy settings of an ApsaraDB RDS for MySQL instance, see <a href="https://help.aliyun.com/document_detail/610506.html">DescribeDBProxy</a>.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature must be enabled for the primary instance.</li>
* <li>The read/write splitting feature must be enabled for the primary instance.</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceProxyConfiguration DescribeDBInstanceProxyConfigurationRequest
* @return DescribeDBInstanceProxyConfigurationResponse
*/
CompletableFuture<DescribeDBInstanceProxyConfigurationResponse> describeDBInstanceProxyConfiguration(DescribeDBInstanceProxyConfigurationRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/2856487.html">ApsaraDB RDS for MySQL native replication instances</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeDBInstanceReplication DescribeDBInstanceReplicationRequest
* @return DescribeDBInstanceReplicationResponse
*/
CompletableFuture<DescribeDBInstanceReplicationResponse> describeDBInstanceReplication(DescribeDBInstanceReplicationRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96120.html">Use the SSL encryption feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/229518.html">Use the SSL encryption feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95715.html">Use the SSL encryption feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceSSL DescribeDBInstanceSSLRequest
* @return DescribeDBInstanceSSLResponse
*/
CompletableFuture<DescribeDBInstanceSSLResponse> describeDBInstanceSSL(DescribeDBInstanceSSLRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of DescribeDBInstanceSecurityGroupRule DescribeDBInstanceSecurityGroupRuleRequest
* @return DescribeDBInstanceSecurityGroupRuleResponse
*/
CompletableFuture<DescribeDBInstanceSecurityGroupRuleResponse> describeDBInstanceSecurityGroupRule(DescribeDBInstanceSecurityGroupRuleRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceTDE DescribeDBInstanceTDERequest
* @return DescribeDBInstanceTDEResponse
*/
CompletableFuture<DescribeDBInstanceTDEResponse> describeDBInstanceTDE(DescribeDBInstanceTDERequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstances DescribeDBInstancesRequest
* @return DescribeDBInstancesResponse
*/
CompletableFuture<DescribeDBInstancesResponse> describeDBInstances(DescribeDBInstancesRequest request);
/**
* @deprecated OpenAPI DescribeDBInstancesAsCsv is deprecated, please use Rds::2014-08-15::DescribeDBInstances instead. * @description > The DescribeDBInstancesAsCsv operation is phased out. You can call the DescribeDBInstances operation.
*
* @param request the request parameters of DescribeDBInstancesAsCsv DescribeDBInstancesAsCsvRequest
* @return DescribeDBInstancesAsCsvResponse
*/
@Deprecated
CompletableFuture<DescribeDBInstancesAsCsvResponse> describeDBInstancesAsCsv(DescribeDBInstancesAsCsvRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstancesByExpireTime DescribeDBInstancesByExpireTimeRequest
* @return DescribeDBInstancesByExpireTimeResponse
*/
CompletableFuture<DescribeDBInstancesByExpireTimeResponse> describeDBInstancesByExpireTime(DescribeDBInstancesByExpireTimeRequest request);
/**
* <b>description</b> :
* <p>This operation is phased out.</p>
*
* @param request the request parameters of DescribeDBInstancesByPerformance DescribeDBInstancesByPerformanceRequest
* @return DescribeDBInstancesByPerformanceResponse
*/
CompletableFuture<DescribeDBInstancesByPerformanceResponse> describeDBInstancesByPerformance(DescribeDBInstancesByPerformanceRequest request);
/**
* @deprecated OpenAPI DescribeDBInstancesForClone is deprecated, please use Rds::2014-08-15::DescribeDBInstances instead. * @description This operation is phased out.
*
* @param request the request parameters of DescribeDBInstancesForClone DescribeDBInstancesForCloneRequest
* @return DescribeDBInstancesForCloneResponse
*/
@Deprecated
CompletableFuture<DescribeDBInstancesForCloneResponse> describeDBInstancesForClone(DescribeDBInstancesForCloneRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Before you purchase or upgrade an instance that runs MySQL or PostgreSQL, you can call the DescribeDBMiniEngineVersions operation to query the minor engine versions that are available for the instance.</p>
*
* @param request the request parameters of DescribeDBMiniEngineVersions DescribeDBMiniEngineVersionsRequest
* @return DescribeDBMiniEngineVersionsResponse
*/
CompletableFuture<DescribeDBMiniEngineVersionsResponse> describeDBMiniEngineVersions(DescribeDBMiniEngineVersionsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeDBProxy DescribeDBProxyRequest
* @return DescribeDBProxyResponse
*/
CompletableFuture<DescribeDBProxyResponse> describeDBProxy(DescribeDBProxyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeDBProxyEndpoint DescribeDBProxyEndpointRequest
* @return DescribeDBProxyEndpointResponse
*/
CompletableFuture<DescribeDBProxyEndpointResponse> describeDBProxyEndpoint(DescribeDBProxyEndpointRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p> Starting October 17, 2023, ApsaraDB RDS provides a dedicated proxy free of charge for each ApsaraDB RDS for MySQL instance on RDS Cluster Edition. For more information, see <a href="~~2555466~~">[Special offers/Price changes] One proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition</a>.</p>
* </blockquote>
* </li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/194241.html">View the monitoring data of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418275.html">View the monitoring data of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBProxyPerformance DescribeDBProxyPerformanceRequest
* @return DescribeDBProxyPerformanceResponse
*/
CompletableFuture<DescribeDBProxyPerformanceResponse> describeDBProxyPerformance(DescribeDBProxyPerformanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/124321.html">Configures a distributed transaction whitelist for an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeDTCSecurityIpHostsForSQLServer DescribeDTCSecurityIpHostsForSQLServerRequest
* @return DescribeDTCSecurityIpHostsForSQLServerResponse
*/
CompletableFuture<DescribeDTCSecurityIpHostsForSQLServerResponse> describeDTCSecurityIpHostsForSQLServer(DescribeDTCSecurityIpHostsForSQLServerRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDatabases DescribeDatabasesRequest
* @return DescribeDatabasesResponse
*/
CompletableFuture<DescribeDatabasesResponse> describeDatabases(DescribeDatabasesRequest request);
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances in a cluster at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of DescribeDedicatedHostGroups DescribeDedicatedHostGroupsRequest
* @return DescribeDedicatedHostGroupsResponse
*/
CompletableFuture<DescribeDedicatedHostGroupsResponse> describeDedicatedHostGroups(DescribeDedicatedHostGroupsRequest request);
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of DescribeDedicatedHosts DescribeDedicatedHostsRequest
* @return DescribeDedicatedHostsResponse
*/
CompletableFuture<DescribeDedicatedHostsResponse> describeDedicatedHosts(DescribeDedicatedHostsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>MySQL</p>
* <blockquote>
* <p>This operation is available only for instances that use local disks.</p>
* </blockquote>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* For more information about how to retain the data backup files of an instance after the instance is released, see <a href="https://help.aliyun.com/document_detail/98818.html">Configure automatic backup</a>.</p>
* </blockquote>
*
* @param request the request parameters of DescribeDetachedBackups DescribeDetachedBackupsRequest
* @return DescribeDetachedBackupsResponse
*/
CompletableFuture<DescribeDetachedBackupsResponse> describeDetachedBackups(DescribeDetachedBackupsRequest request);
/**
* @deprecated OpenAPI DescribeDiagnosticReportList is deprecated * @description > This operation is phased out.
*
* @param request the request parameters of DescribeDiagnosticReportList DescribeDiagnosticReportListRequest
* @return DescribeDiagnosticReportListResponse
*/
@Deprecated
CompletableFuture<DescribeDiagnosticReportListResponse> describeDiagnosticReportList(DescribeDiagnosticReportListRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeErrorLogs DescribeErrorLogsRequest
* @return DescribeErrorLogsResponse
*/
CompletableFuture<DescribeErrorLogsResponse> describeErrorLogs(DescribeErrorLogsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/129759.html">Historical events of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131008.html">Historical events of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131013.html">Historical events of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131010.html">Historical events of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeEvents DescribeEventsRequest
* @return DescribeEventsResponse
*/
CompletableFuture<DescribeEventsResponse> describeEvents(DescribeEventsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of DescribeGadInstances DescribeGadInstancesRequest
* @return DescribeGadInstancesResponse
*/
CompletableFuture<DescribeGadInstancesResponse> describeGadInstances(DescribeGadInstancesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/207467.html">What is availability detection?</a></p>
*
* @param request the request parameters of DescribeHADiagnoseConfig DescribeHADiagnoseConfigRequest
* @return DescribeHADiagnoseConfigResponse
*/
CompletableFuture<DescribeHADiagnoseConfigResponse> describeHADiagnoseConfig(DescribeHADiagnoseConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeHASwitchConfig DescribeHASwitchConfigRequest
* @return DescribeHASwitchConfigResponse
*/
CompletableFuture<DescribeHASwitchConfigResponse> describeHASwitchConfig(DescribeHASwitchConfigRequest request);
/**
* @param request the request parameters of DescribeHistoryEvents DescribeHistoryEventsRequest
* @return DescribeHistoryEventsResponse
*/
CompletableFuture<DescribeHistoryEventsResponse> describeHistoryEvents(DescribeHistoryEventsRequest request);
/**
* @param request the request parameters of DescribeHistoryEventsStat DescribeHistoryEventsStatRequest
* @return DescribeHistoryEventsStatResponse
*/
CompletableFuture<DescribeHistoryEventsStatResponse> describeHistoryEventsStat(DescribeHistoryEventsStatRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/474275.html">Tasks of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/474537.html">Tasks of an ApsaraDB RDS for PostrgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/614826.html">Tasks of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeHistoryTasks DescribeHistoryTasksRequest
* @return DescribeHistoryTasksResponse
*/
CompletableFuture<DescribeHistoryTasksResponse> describeHistoryTasks(DescribeHistoryTasksRequest request);
/**
* @param request the request parameters of DescribeHistoryTasksStat DescribeHistoryTasksStatRequest
* @return DescribeHistoryTasksStatResponse
*/
CompletableFuture<DescribeHistoryTasksStatResponse> describeHistoryTasksStat(DescribeHistoryTasksStatRequest request);
/**
* @param request the request parameters of DescribeHostGroupElasticStrategyParameters DescribeHostGroupElasticStrategyParametersRequest
* @return DescribeHostGroupElasticStrategyParametersResponse
*/
CompletableFuture<DescribeHostGroupElasticStrategyParametersResponse> describeHostGroupElasticStrategyParameters(DescribeHostGroupElasticStrategyParametersRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Prerequisite</h3>
* <ul>
* <li>The instance meets the following requirements:<ul>
* <li>The instance resides in a region other than the China (Zhangjiakou) region.</li>
* <li>The instance runs RDS Basic Edition, RDS Cluster Edition, or RDS High-availability Edition. If your instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.</li>
* <li>The instance belongs to the general-purpose or dedicated instance family. The shared instance family is not supported.</li>
* <li>The instance resides in a virtual private cloud (VPC). For more information about how to change the network type of an RDS instance, see <a href="https://help.aliyun.com/document_detail/95707.html">Change the network type</a>.</li>
* <li>If the instance runs RDS High-availability Edition or RDS Cluster Edition, the instance is created on or after January 1, 2021. If the instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the <strong>Creation Time</strong> parameter of an instance in the <strong>Status</strong> section of the <strong>Basic Information</strong> page in the ApsaraDB RDS console.</li>
* </ul>
* </li>
* <li>Your <strong>Alibaba Cloud account</strong> is used for logons.</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/354862.html">Create a host account and use the host account for logons</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeHostWebShell DescribeHostWebShellRequest
* @return DescribeHostWebShellResponse
*/
CompletableFuture<DescribeHostWebShellResponse> describeHostWebShell(DescribeHostWebShellRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeInstanceAutoRenewalAttribute DescribeInstanceAutoRenewalAttributeRequest
* @return DescribeInstanceAutoRenewalAttributeResponse
*/
CompletableFuture<DescribeInstanceAutoRenewalAttributeResponse> describeInstanceAutoRenewalAttribute(DescribeInstanceAutoRenewalAttributeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeInstanceCrossBackupPolicy DescribeInstanceCrossBackupPolicyRequest
* @return DescribeInstanceCrossBackupPolicyResponse
*/
CompletableFuture<DescribeInstanceCrossBackupPolicyResponse> describeInstanceCrossBackupPolicy(DescribeInstanceCrossBackupPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeInstanceKeywords DescribeInstanceKeywordsRequest
* @return DescribeInstanceKeywordsResponse
*/
CompletableFuture<DescribeInstanceKeywordsResponse> describeInstanceKeywords(DescribeInstanceKeywordsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeInstanceLinkedWhitelistTemplate DescribeInstanceLinkedWhitelistTemplateRequest
* @return DescribeInstanceLinkedWhitelistTemplateResponse
*/
CompletableFuture<DescribeInstanceLinkedWhitelistTemplateResponse> describeInstanceLinkedWhitelistTemplate(DescribeInstanceLinkedWhitelistTemplateRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeKmsAssociateResources DescribeKmsAssociateResourcesRequest
* @return DescribeKmsAssociateResourcesResponse
*/
CompletableFuture<DescribeKmsAssociateResourcesResponse> describeKmsAssociateResources(DescribeKmsAssociateResourcesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeLocalAvailableRecoveryTime DescribeLocalAvailableRecoveryTimeRequest
* @return DescribeLocalAvailableRecoveryTimeResponse
*/
CompletableFuture<DescribeLocalAvailableRecoveryTimeResponse> describeLocalAvailableRecoveryTime(DescribeLocalAvailableRecoveryTimeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server</p>
* <blockquote>
* <p> You can call the DescribeBinlogFiles operation to query the log files of instances that run different database engines.</p>
* </blockquote>
*
* @param request the request parameters of DescribeLogBackupFiles DescribeLogBackupFilesRequest
* @return DescribeLogBackupFilesResponse
*/
CompletableFuture<DescribeLogBackupFilesResponse> describeLogBackupFiles(DescribeLogBackupFilesRequest request);
/**
* @param request the request parameters of DescribeMarketingActivity DescribeMarketingActivityRequest
* @return DescribeMarketingActivityResponse
*/
CompletableFuture<DescribeMarketingActivityResponse> describeMarketingActivity(DescribeMarketingActivityRequest request);
/**
* @param request the request parameters of DescribeMaskingRules DescribeMaskingRulesRequest
* @return DescribeMaskingRulesResponse
*/
CompletableFuture<DescribeMaskingRulesResponse> describeMaskingRules(DescribeMaskingRulesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <blockquote>
* <p>This operation is available for RDS instances that run MySQL 8.0, MySQL 5.7, and MySQL 5.6 on RDS High-availability Edition with local disks.</p>
* </blockquote>
* <h3><a href="#"></a>Description</h3>
* <p>Before you call the <a href="https://help.aliyun.com/document_detail/131510.html">RestoreTable</a> operation to restore individual databases or tables of an ApsaraDB RDS for MySQL instance, you can call this operation to query the information about the databases and tables that can be restored. For more information, see <a href="https://help.aliyun.com/document_detail/103175.html">Restore individual databases and tables of an ApsaraDB RDS for MySQL instance</a>.</p>
*
* @param request the request parameters of DescribeMetaList DescribeMetaListRequest
* @return DescribeMetaListResponse
*/
CompletableFuture<DescribeMetaListResponse> describeMetaList(DescribeMetaListRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeMigrateTaskById DescribeMigrateTaskByIdRequest
* @return DescribeMigrateTaskByIdResponse
*/
CompletableFuture<DescribeMigrateTaskByIdResponse> describeMigrateTaskById(DescribeMigrateTaskByIdRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>This operation allows you to query the migration tasks that are created for the instance over the last week.</p>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>This operation is supported only for migration tasks that are created to migrate full backup files.</li>
* <li>This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.</li>
* </ul>
*
* @param request the request parameters of DescribeMigrateTasks DescribeMigrateTasksRequest
* @return DescribeMigrateTasksResponse
*/
CompletableFuture<DescribeMigrateTasksResponse> describeMigrateTasks(DescribeMigrateTasksRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
*
* @param request the request parameters of DescribeModifyPGHbaConfigLog DescribeModifyPGHbaConfigLogRequest
* @return DescribeModifyPGHbaConfigLogResponse
*/
CompletableFuture<DescribeModifyPGHbaConfigLogResponse> describeModifyPGHbaConfigLog(DescribeModifyPGHbaConfigLogRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeModifyParameterLog DescribeModifyParameterLogRequest
* @return DescribeModifyParameterLogResponse
*/
CompletableFuture<DescribeModifyParameterLogResponse> describeModifyParameterLog(DescribeModifyParameterLogRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <p>This operation is not supported for instances that run SQL Server 2017 EE or SQL Server 2019 EE.</p>
*
* @param request the request parameters of DescribeOssDownloads DescribeOssDownloadsRequest
* @return DescribeOssDownloadsResponse
*/
CompletableFuture<DescribeOssDownloadsResponse> describeOssDownloads(DescribeOssDownloadsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
*
* @param request the request parameters of DescribePGHbaConfig DescribePGHbaConfigRequest
* @return DescribePGHbaConfigResponse
*/
CompletableFuture<DescribePGHbaConfigResponse> describePGHbaConfig(DescribePGHbaConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeParameterGroup DescribeParameterGroupRequest
* @return DescribeParameterGroupResponse
*/
CompletableFuture<DescribeParameterGroupResponse> describeParameterGroup(DescribeParameterGroupRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of DescribeParameterGroups DescribeParameterGroupsRequest
* @return DescribeParameterGroupsResponse
*/
CompletableFuture<DescribeParameterGroupsResponse> describeParameterGroups(DescribeParameterGroupsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeParameterTemplates DescribeParameterTemplatesRequest
* @return DescribeParameterTemplatesResponse
*/
CompletableFuture<DescribeParameterTemplatesResponse> describeParameterTemplates(DescribeParameterTemplatesRequest request);
/**
* <b>description</b> :
* <h3>Applicable engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeParameters DescribeParametersRequest
* @return DescribeParametersResponse
*/
CompletableFuture<DescribeParametersResponse> describeParameters(DescribeParametersRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
*
* @param request the request parameters of DescribePostgresExtensions DescribePostgresExtensionsRequest
* @return DescribePostgresExtensionsResponse
*/
CompletableFuture<DescribePostgresExtensionsResponse> describePostgresExtensions(DescribePostgresExtensionsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribePrice DescribePriceRequest
* @return DescribePriceResponse
*/
CompletableFuture<DescribePriceResponse> describePrice(DescribePriceRequest request);
/**
* @param request the request parameters of DescribeQuickSaleConfig DescribeQuickSaleConfigRequest
* @return DescribeQuickSaleConfigResponse
*/
CompletableFuture<DescribeQuickSaleConfigResponse> describeQuickSaleConfig(DescribeQuickSaleConfigRequest request);
/**
* @param request the request parameters of DescribeRCCloudAssistantStatus DescribeRCCloudAssistantStatusRequest
* @return DescribeRCCloudAssistantStatusResponse
*/
CompletableFuture<DescribeRCCloudAssistantStatusResponse> describeRCCloudAssistantStatus(DescribeRCCloudAssistantStatusRequest request);
/**
* <b>description</b> :
* <p>Kubeconfig files store identity and authentication information that is used by clients to access ACK clusters. To use kubectl to manage an ACK cluster, you must use the kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.</p>
*
* @param request the request parameters of DescribeRCClusterConfig DescribeRCClusterConfigRequest
* @return DescribeRCClusterConfigResponse
*/
CompletableFuture<DescribeRCClusterConfigResponse> describeRCClusterConfig(DescribeRCClusterConfigRequest request);
/**
* @param request the request parameters of DescribeRCClusterNodes DescribeRCClusterNodesRequest
* @return DescribeRCClusterNodesResponse
*/
CompletableFuture<DescribeRCClusterNodesResponse> describeRCClusterNodes(DescribeRCClusterNodesRequest request);
/**
* @param request the request parameters of DescribeRCClusters DescribeRCClustersRequest
* @return DescribeRCClustersResponse
*/
CompletableFuture<DescribeRCClustersResponse> describeRCClusters(DescribeRCClustersRequest request);
/**
* @param request the request parameters of DescribeRCDeploymentSets DescribeRCDeploymentSetsRequest
* @return DescribeRCDeploymentSetsResponse
*/
CompletableFuture<DescribeRCDeploymentSetsResponse> describeRCDeploymentSets(DescribeRCDeploymentSetsRequest request);
/**
* @param request the request parameters of DescribeRCDisks DescribeRCDisksRequest
* @return DescribeRCDisksResponse
*/
CompletableFuture<DescribeRCDisksResponse> describeRCDisks(DescribeRCDisksRequest request);
/**
* @param request the request parameters of DescribeRCImageList DescribeRCImageListRequest
* @return DescribeRCImageListResponse
*/
CompletableFuture<DescribeRCImageListResponse> describeRCImageList(DescribeRCImageListRequest request);
/**
* @param request the request parameters of DescribeRCInstanceAttribute DescribeRCInstanceAttributeRequest
* @return DescribeRCInstanceAttributeResponse
*/
CompletableFuture<DescribeRCInstanceAttributeResponse> describeRCInstanceAttribute(DescribeRCInstanceAttributeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
*
* @param request the request parameters of DescribeRCInstanceDdosCount DescribeRCInstanceDdosCountRequest
* @return DescribeRCInstanceDdosCountResponse
*/
CompletableFuture<DescribeRCInstanceDdosCountResponse> describeRCInstanceDdosCount(DescribeRCInstanceDdosCountRequest request);
/**
* <b>description</b> :
* <p> You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.</p>
* <ul>
* <li>If you do not specify the EventCycleStatus or InstanceEventCycleStatus parameter, only system events in the Avoidated, Executed, Canceled, or Failed state are included in the query results by default.</li>
* <li>You can also specify the InstanceEventCycleStatus parameter in the request to query the system events that are in the Scheduled, Executing, or Inquiring state.</li>
* </ul>
*
* @param request the request parameters of DescribeRCInstanceHistoryEvents DescribeRCInstanceHistoryEventsRequest
* @return DescribeRCInstanceHistoryEventsResponse
*/
CompletableFuture<DescribeRCInstanceHistoryEventsResponse> describeRCInstanceHistoryEvents(DescribeRCInstanceHistoryEventsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
* <blockquote>
* <p> If one or more assets of the current Alibaba Cloud account are added to an <a href="https://help.aliyun.com/document_detail/63643.html">Anti-DDoS Origin instance</a>, you can call the DescribeRCInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.</p>
* </blockquote>
*
* @param request the request parameters of DescribeRCInstanceIpAddress DescribeRCInstanceIpAddressRequest
* @return DescribeRCInstanceIpAddressResponse
*/
CompletableFuture<DescribeRCInstanceIpAddressResponse> describeRCInstanceIpAddress(DescribeRCInstanceIpAddressRequest request);
/**
* @param request the request parameters of DescribeRCInstanceTypeFamilies DescribeRCInstanceTypeFamiliesRequest
* @return DescribeRCInstanceTypeFamiliesResponse
*/
CompletableFuture<DescribeRCInstanceTypeFamiliesResponse> describeRCInstanceTypeFamilies(DescribeRCInstanceTypeFamiliesRequest request);
/**
* @param request the request parameters of DescribeRCInstanceTypes DescribeRCInstanceTypesRequest
* @return DescribeRCInstanceTypesResponse
*/
CompletableFuture<DescribeRCInstanceTypesResponse> describeRCInstanceTypes(DescribeRCInstanceTypesRequest request);
/**
* <b>description</b> :
* <p>The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.</p>
*
* @param request the request parameters of DescribeRCInstanceVncUrl DescribeRCInstanceVncUrlRequest
* @return DescribeRCInstanceVncUrlResponse
*/
CompletableFuture<DescribeRCInstanceVncUrlResponse> describeRCInstanceVncUrl(DescribeRCInstanceVncUrlRequest request);
/**
* @param request the request parameters of DescribeRCInstances DescribeRCInstancesRequest
* @return DescribeRCInstancesResponse
*/
CompletableFuture<DescribeRCInstancesResponse> describeRCInstances(DescribeRCInstancesRequest request);
/**
* @param request the request parameters of DescribeRCInvocationResults DescribeRCInvocationResultsRequest
* @return DescribeRCInvocationResultsResponse
*/
CompletableFuture<DescribeRCInvocationResultsResponse> describeRCInvocationResults(DescribeRCInvocationResultsRequest request);
/**
* @param request the request parameters of DescribeRCMetricList DescribeRCMetricListRequest
* @return DescribeRCMetricListResponse
*/
CompletableFuture<DescribeRCMetricListResponse> describeRCMetricList(DescribeRCMetricListRequest request);
/**
* @param request the request parameters of DescribeRCNodePool DescribeRCNodePoolRequest
* @return DescribeRCNodePoolResponse
*/
CompletableFuture<DescribeRCNodePoolResponse> describeRCNodePool(DescribeRCNodePoolRequest request);
/**
* @param request the request parameters of DescribeRCSecurityGroupList DescribeRCSecurityGroupListRequest
* @return DescribeRCSecurityGroupListResponse
*/
CompletableFuture<DescribeRCSecurityGroupListResponse> describeRCSecurityGroupList(DescribeRCSecurityGroupListRequest request);
/**
* @param request the request parameters of DescribeRCSecurityGroupPermission DescribeRCSecurityGroupPermissionRequest
* @return DescribeRCSecurityGroupPermissionResponse
*/
CompletableFuture<DescribeRCSecurityGroupPermissionResponse> describeRCSecurityGroupPermission(DescribeRCSecurityGroupPermissionRequest request);
/**
* @param request the request parameters of DescribeRCSnapshots DescribeRCSnapshotsRequest
* @return DescribeRCSnapshotsResponse
*/
CompletableFuture<DescribeRCSnapshotsResponse> describeRCSnapshots(DescribeRCSnapshotsRequest request);
/**
* @param request the request parameters of DescribeRCVCluster DescribeRCVClusterRequest
* @return DescribeRCVClusterResponse
*/
CompletableFuture<DescribeRCVClusterResponse> describeRCVCluster(DescribeRCVClusterRequest request);
/**
* @deprecated OpenAPI DescribeRdsResourceSettings is deprecated * @param request the request parameters of DescribeRdsResourceSettings DescribeRdsResourceSettingsRequest
* @return DescribeRdsResourceSettingsResponse
*/
@Deprecated
CompletableFuture<DescribeRdsResourceSettingsResponse> describeRdsResourceSettings(DescribeRdsResourceSettingsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeReadDBInstanceDelay DescribeReadDBInstanceDelayRequest
* @return DescribeReadDBInstanceDelayResponse
*/
CompletableFuture<DescribeReadDBInstanceDelayResponse> describeReadDBInstanceDelay(DescribeReadDBInstanceDelayRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeRegionInfos DescribeRegionInfosRequest
* @return DescribeRegionInfosResponse
*/
CompletableFuture<DescribeRegionInfosResponse> describeRegionInfos(DescribeRegionInfosRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeRegions DescribeRegionsRequest
* @return DescribeRegionsResponse
*/
CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeRenewalPrice DescribeRenewalPriceRequest
* @return DescribeRenewalPriceResponse
*/
CompletableFuture<DescribeRenewalPriceResponse> describeRenewalPrice(DescribeRenewalPriceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeReplicationLinkLogs DescribeReplicationLinkLogsRequest
* @return DescribeReplicationLinkLogsResponse
*/
CompletableFuture<DescribeReplicationLinkLogsResponse> describeReplicationLinkLogs(DescribeReplicationLinkLogsRequest request);
/**
* @param request the request parameters of DescribeResourceDetails DescribeResourceDetailsRequest
* @return DescribeResourceDetailsResponse
*/
CompletableFuture<DescribeResourceDetailsResponse> describeResourceDetails(DescribeResourceDetailsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeResourceUsage DescribeResourceUsageRequest
* @return DescribeResourceUsageResponse
*/
CompletableFuture<DescribeResourceUsageResponse> describeResourceUsage(DescribeResourceUsageRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeSQLCollectorPolicy DescribeSQLCollectorPolicyRequest
* @return DescribeSQLCollectorPolicyResponse
*/
CompletableFuture<DescribeSQLCollectorPolicyResponse> describeSQLCollectorPolicy(DescribeSQLCollectorPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeSQLCollectorRetention DescribeSQLCollectorRetentionRequest
* @return DescribeSQLCollectorRetentionResponse
*/
CompletableFuture<DescribeSQLCollectorRetentionResponse> describeSQLCollectorRetention(DescribeSQLCollectorRetentionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server
* **
* <strong>Note</strong> If your instance runs SQL Server, only SQL Server 2008 R2 is supported.</li>
* </ul>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>The DescribeSQLLogFiles operation does not return the log files that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.</li>
* <li>The DescribeSQLLogFiles operation does not return the log files that are generated by the SQL Explorer feature and manually exported from the ApsaraDB RDS console. The DescribeSQLLogFiles operation returns the SQL Explorer log files that are generated by calling the <a href="https://help.aliyun.com/document_detail/610533.html">DescribeSQLLogRecords</a> operation with the request parameter <strong>Form</strong> set to <strong>File</strong>.</li>
* <li>The exported files are retained for only two days.
* **
* <strong>Note</strong> If you have enabled Database Autonomy Service (DAS) Enterprise Edition V2 or V3 and have enabled the SQL Explorer and Audit feature, the exported files are retained for seven days. You can call the <a href="https://help.aliyun.com/document_detail/2778837.html">DescribeSqlLogConfig</a> operation to query the information about the enabled DAS Enterprise Edition.</li>
* </ul>
*
* @param request the request parameters of DescribeSQLLogFiles DescribeSQLLogFilesRequest
* @return DescribeSQLLogFilesResponse
*/
CompletableFuture<DescribeSQLLogFilesResponse> describeSQLLogFiles(DescribeSQLLogFilesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <ul>
* <li>You can call this operation up to 1,000 times per minute per account. The calls initiated by using both your Alibaba Cloud account and RAM users within your Alibaba Cloud account are counted.</li>
* <li>This operation cannot be used to query the logs that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.</li>
* <li>When you call this operation and set the <strong>Form</strong> parameter to <strong>File</strong> to generate an audit file, a maximum of 1 million log entries can be recorded in the audit file, and you cannot filter log entries by keyword.</li>
* </ul>
*
* @param request the request parameters of DescribeSQLLogRecords DescribeSQLLogRecordsRequest
* @return DescribeSQLLogRecordsResponse
*/
CompletableFuture<DescribeSQLLogRecordsResponse> describeSQLLogRecords(DescribeSQLLogRecordsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeSQLLogReportList DescribeSQLLogReportListRequest
* @return DescribeSQLLogReportListResponse
*/
CompletableFuture<DescribeSQLLogReportListResponse> describeSQLLogReportList(DescribeSQLLogReportListRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of DescribeSecrets DescribeSecretsRequest
* @return DescribeSecretsResponse
*/
CompletableFuture<DescribeSecretsResponse> describeSecrets(DescribeSecretsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/201042.html">Configure a security group for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206310.html">Configure a security group for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/2392322.html">Configure a security group for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeSecurityGroupConfiguration DescribeSecurityGroupConfigurationRequest
* @return DescribeSecurityGroupConfigurationResponse
*/
CompletableFuture<DescribeSecurityGroupConfigurationResponse> describeSecurityGroupConfiguration(DescribeSecurityGroupConfigurationRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeSlots DescribeSlotsRequest
* @return DescribeSlotsResponse
*/
CompletableFuture<DescribeSlotsResponse> describeSlots(DescribeSlotsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>Precautions</h3>
* <p>The response parameters returned by this operation are updated every minute.</p>
*
* @param request the request parameters of DescribeSlowLogRecords DescribeSlowLogRecordsRequest
* @return DescribeSlowLogRecordsResponse
*/
CompletableFuture<DescribeSlowLogRecordsResponse> describeSlowLogRecords(DescribeSlowLogRecordsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL
* **
* <strong>Note</strong> This operation is not supported for RDS instances that run MySQL 5.7 on RDS Basic Edition.</li>
* <li>SQL Server
* **
* <strong>Note</strong> This operation is supported only for RDS instances that run SQL Server 2008 R2.</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Prerequisites</h3>
* <ul>
* <li>Slow query logs are not collected in real time and may show a latency of 6 to 8 hours.</li>
* <li>If the return result is empty, check whether the StartTime and EndTime parameters are in UTC. If yes, no slow logs are generated within the specified time range.</li>
* <li>Starting from September 01, 2024, the template algorithm for slow queries is optimized. When you call the operation, you must change the value of the <strong>SQLHASH</strong> parameter. For more information, see <a href="~~2845725~~">[Notice] Optimization of the template algorithm for slow queries</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeSlowLogs DescribeSlowLogsRequest
* @return DescribeSlowLogsResponse
*/
CompletableFuture<DescribeSlowLogsResponse> describeSlowLogs(DescribeSlowLogsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of DescribeSupportOnlineResizeDisk DescribeSupportOnlineResizeDiskRequest
* @return DescribeSupportOnlineResizeDiskResponse
*/
CompletableFuture<DescribeSupportOnlineResizeDiskResponse> describeSupportOnlineResizeDisk(DescribeSupportOnlineResizeDiskRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <ul>
* <li>If an instance ID is specified, all tags that are added to this instance are queried, and other filter conditions are invalid.</li>
* <li>If you specify only TagKey, the results that match the specified TagKey are returned. If you specify both TagKey and TagValue, the results that match both the specified TagKey and TagValue are returned.</li>
* </ul>
*
* @param request the request parameters of DescribeTags DescribeTagsRequest
* @return DescribeTagsResponse
*/
CompletableFuture<DescribeTagsResponse> describeTags(DescribeTagsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <blockquote>
* <p> You can call the <a href="https://help.aliyun.com/document_detail/2627863.html">DescribeHistoryTasks</a> operation to query the tasks on an ApsaraDB RDS for MySQL or ApsaraDB RDS for PostgreSQL instance</p>
* </blockquote>
*
* @param request the request parameters of DescribeTasks DescribeTasksRequest
* @return DescribeTasksResponse
*/
CompletableFuture<DescribeTasksResponse> describeTasks(DescribeTasksRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL
* PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/2794383.html">Check report for the major engine version upgrade of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/218391.html">Introduction to the check report of a major engine version upgrade for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeUpgradeMajorVersionPrecheckTask DescribeUpgradeMajorVersionPrecheckTaskRequest
* @return DescribeUpgradeMajorVersionPrecheckTaskResponse
*/
CompletableFuture<DescribeUpgradeMajorVersionPrecheckTaskResponse> describeUpgradeMajorVersionPrecheckTask(DescribeUpgradeMajorVersionPrecheckTaskRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>PostgreSQL</p>
*
* @param request the request parameters of DescribeUpgradeMajorVersionTasks DescribeUpgradeMajorVersionTasksRequest
* @return DescribeUpgradeMajorVersionTasksResponse
*/
CompletableFuture<DescribeUpgradeMajorVersionTasksResponse> describeUpgradeMajorVersionTasks(DescribeUpgradeMajorVersionTasksRequest request);
/**
* @param request the request parameters of DescribeVSwitchList DescribeVSwitchListRequest
* @return DescribeVSwitchListResponse
*/
CompletableFuture<DescribeVSwitchListResponse> describeVSwitchList(DescribeVSwitchListRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeVSwitches DescribeVSwitchesRequest
* @return DescribeVSwitchesResponse
*/
CompletableFuture<DescribeVSwitchesResponse> describeVSwitches(DescribeVSwitchesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeWhitelistTemplate DescribeWhitelistTemplateRequest
* @return DescribeWhitelistTemplateResponse
*/
CompletableFuture<DescribeWhitelistTemplateResponse> describeWhitelistTemplate(DescribeWhitelistTemplateRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeWhitelistTemplateLinkedInstance DescribeWhitelistTemplateLinkedInstanceRequest
* @return DescribeWhitelistTemplateLinkedInstanceResponse
*/
CompletableFuture<DescribeWhitelistTemplateLinkedInstanceResponse> describeWhitelistTemplateLinkedInstance(DescribeWhitelistTemplateLinkedInstanceRequest request);
/**
* <b>description</b> :
* <p>The DestroyDBInstance operation is phased out.</p>
*
* @param request the request parameters of DestroyDBInstance DestroyDBInstanceRequest
* @return DestroyDBInstanceResponse
*/
CompletableFuture<DestroyDBInstanceResponse> destroyDBInstance(DestroyDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <p>This operation can be used to remove only unit nodes.</p>
*
* @param request the request parameters of DetachGadInstanceMember DetachGadInstanceMemberRequest
* @return DetachGadInstanceMemberResponse
*/
CompletableFuture<DetachGadInstanceMemberResponse> detachGadInstanceMember(DetachGadInstanceMemberRequest request);
/**
* @param request the request parameters of DetachRCDisk DetachRCDiskRequest
* @return DetachRCDiskResponse
*/
CompletableFuture<DetachRCDiskResponse> detachRCDisk(DetachRCDiskRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DetachWhitelistTemplateToInstance DetachWhitelistTemplateToInstanceRequest
* @return DetachWhitelistTemplateToInstanceResponse
*/
CompletableFuture<DetachWhitelistTemplateToInstanceResponse> detachWhitelistTemplateToInstance(DetachWhitelistTemplateToInstanceRequest request);
/**
* @param request the request parameters of EvaluateLocalExtendDisk EvaluateLocalExtendDiskRequest
* @return EvaluateLocalExtendDiskResponse
*/
CompletableFuture<EvaluateLocalExtendDiskResponse> evaluateLocalExtendDisk(EvaluateLocalExtendDiskRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
*
* @param request the request parameters of GetDBInstanceTopology GetDBInstanceTopologyRequest
* @return GetDBInstanceTopologyResponse
*/
CompletableFuture<GetDBInstanceTopologyResponse> getDBInstanceTopology(GetDBInstanceTopologyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS MySQL</p>
*
* @param request the request parameters of GetDbProxyInstanceSsl GetDbProxyInstanceSslRequest
* @return GetDbProxyInstanceSslResponse
*/
CompletableFuture<GetDbProxyInstanceSslResponse> getDbProxyInstanceSsl(GetDbProxyInstanceSslRequest request);
/**
* <b>description</b> :
* <p>Each account can be granted permissions on one or more databases. Before you call this operation, make sure that the instance is in the Running state.</p>
* <blockquote>
* <p>This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition or run PostgreSQL with local disks.</p>
* </blockquote>
*
* @param request the request parameters of GrantAccountPrivilege GrantAccountPrivilegeRequest
* @return GrantAccountPrivilegeResponse
*/
CompletableFuture<GrantAccountPrivilegeResponse> grantAccountPrivilege(GrantAccountPrivilegeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96102.html">Grant permissions to the service account of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95693.html">Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of GrantOperatorPermission GrantOperatorPermissionRequest
* @return GrantOperatorPermissionResponse
*/
CompletableFuture<GrantOperatorPermissionResponse> grantOperatorPermission(GrantOperatorPermissionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>Description</h3>
* <p>A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance.</p>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The self-managed MySQL instance runs MySQL 5.7 and is backed up by using XtraBackup. The name of the backup file ends with <code>_qp.xb</code>. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.</li>
* <li>The full backup file of the self-managed MySQL instance is uploaded to an Object Storage Service (OSS) bucket in the region of the ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.<blockquote>
* <p> This operation is supported only for MySQL 5.7.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of ImportUserBackupFile ImportUserBackupFileRequest
* @return ImportUserBackupFileResponse
*/
CompletableFuture<ImportUserBackupFileResponse> importUserBackupFile(ImportUserBackupFileRequest request);
/**
* @param request the request parameters of InstallRCCloudAssistant InstallRCCloudAssistantRequest
* @return InstallRCCloudAssistantResponse
*/
CompletableFuture<InstallRCCloudAssistantResponse> installRCCloudAssistant(InstallRCCloudAssistantRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of ListClasses ListClassesRequest
* @return ListClassesResponse
*/
CompletableFuture<ListClassesResponse> listClasses(ListClassesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of ListTagResources ListTagResourcesRequest
* @return ListTagResourcesResponse
*/
CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <ul>
* <li>A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.</li>
* <li>Before you call the <a href="https://help.aliyun.com/document_detail/26228.html">CreateDBInstance</a> operation to create an ApsaraDB RDS for MySQL instance into which you want to import full backup files, you can call this operation to query the IDs of full backup files.</li>
* <li>You can call the <a href="https://help.aliyun.com/document_detail/260266.html">ImportUserBackupFile</a> operation to import a full backup file into an ApsaraDB RDS for MySQL instance.</li>
* </ul>
*
* @param request the request parameters of ListUserBackupFiles ListUserBackupFilesRequest
* @return ListUserBackupFilesResponse
*/
CompletableFuture<ListUserBackupFilesResponse> listUserBackupFiles(ListUserBackupFilesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/147649.html">Lock an account of an ApsaraDB RDS for PostgreSQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of LockAccount LockAccountRequest
* @return LockAccountResponse
*/
CompletableFuture<LockAccountResponse> lockAccount(LockAccountRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96746.html">Migrate an ApsaraDB RDS for MySQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96746.html">Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95658.html">Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region</a></li>
* </ul>
*
* @param request the request parameters of MigrateConnectionToOtherZone MigrateConnectionToOtherZoneRequest
* @return MigrateConnectionToOtherZoneResponse
*/
CompletableFuture<MigrateConnectionToOtherZoneResponse> migrateConnectionToOtherZone(MigrateConnectionToOtherZoneRequest request);
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of MigrateDBInstance MigrateDBInstanceRequest
* @return MigrateDBInstanceResponse
*/
CompletableFuture<MigrateDBInstanceResponse> migrateDBInstance(MigrateDBInstanceRequest request);
/**
* @param request the request parameters of MigrateDBNodes MigrateDBNodesRequest
* @return MigrateDBNodesResponse
*/
CompletableFuture<MigrateDBNodesResponse> migrateDBNodes(MigrateDBNodesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96117.html">Change the whitelist mode of an ApsaraDB RDS for MySQL instance to the enhanced whitelist mode</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96767.html">Change the whitelist mode of an ApsaraDB RDS for PostgreSQL instance to the enhanced whitelist mode</a></li>
* </ul>
*
* @param request the request parameters of MigrateSecurityIPMode MigrateSecurityIPModeRequest
* @return MigrateSecurityIPModeResponse
*/
CompletableFuture<MigrateSecurityIPModeResponse> migrateSecurityIPMode(MigrateSecurityIPModeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96053.html">Migrate an ApsaraDB RDS for MySQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96746.html">Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95658.html">Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region</a></li>
* </ul>
*
* @param request the request parameters of MigrateToOtherZone MigrateToOtherZoneRequest
* @return MigrateToOtherZoneResponse
*/
CompletableFuture<MigrateToOtherZoneResponse> migrateToOtherZone(MigrateToOtherZoneRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/170734.html">Connect an RDS instance to a self-managed domain</a></li>
* </ul>
*
* @param request the request parameters of ModifyADInfo ModifyADInfoRequest
* @return ModifyADInfoResponse
*/
CompletableFuture<ModifyADInfoResponse> modifyADInfo(ModifyADInfoRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of ModifyAccountCheckPolicy ModifyAccountCheckPolicyRequest
* @return ModifyAccountCheckPolicyResponse
*/
CompletableFuture<ModifyAccountCheckPolicyResponse> modifyAccountCheckPolicy(ModifyAccountCheckPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of ModifyAccountDescription ModifyAccountDescriptionRequest
* @return ModifyAccountDescriptionResponse
*/
CompletableFuture<ModifyAccountDescriptionResponse> modifyAccountDescription(ModifyAccountDescriptionRequest request);
/**
* @param request the request parameters of ModifyAccountMaskingPrivilege ModifyAccountMaskingPrivilegeRequest
* @return ModifyAccountMaskingPrivilegeResponse
*/
CompletableFuture<ModifyAccountMaskingPrivilegeResponse> modifyAccountMaskingPrivilege(ModifyAccountMaskingPrivilegeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server (This parameter is unavailable for ApsaraDB RDS for SQL Server instances that belong to the shared instance family and run SQL Server 2008 R2.)</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/95640.html">Create a custom password policy for an account of an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyAccountSecurityPolicy ModifyAccountSecurityPolicyRequest
* @return ModifyAccountSecurityPolicyResponse
*/
CompletableFuture<ModifyAccountSecurityPolicyResponse> modifyAccountSecurityPolicy(ModifyAccountSecurityPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131008.html">View the event history of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131013.html">View the event history of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131010.html">View the event history of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyActionEventPolicy ModifyActionEventPolicyRequest
* @return ModifyActionEventPolicyResponse
*/
CompletableFuture<ModifyActionEventPolicyResponse> modifyActionEventPolicy(ModifyActionEventPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/104183.html">Scheduled events for ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104452.html">Scheduled events for ApsaraDB RDS for PostgreSQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104451.html">Scheduled events for ApsaraDB RDS for SQL Server instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104454.html">Scheduled events for ApsaraDB RDS for MariaDB instances</a></li>
* </ul>
*
* @param request the request parameters of ModifyActiveOperationTasks ModifyActiveOperationTasksRequest
* @return ModifyActiveOperationTasksResponse
*/
CompletableFuture<ModifyActiveOperationTasksResponse> modifyActiveOperationTasks(ModifyActiveOperationTasksRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/98818.html">Configure an automatic backup policy for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96772.html">Configure an automatic backup policy for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95717.html">Configure an automatic backup policy for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97147.html">Configure an automatic backup policy for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyBackupPolicy ModifyBackupPolicyRequest
* @return ModifyBackupPolicyResponse
*/
CompletableFuture<ModifyBackupPolicyResponse> modifyBackupPolicy(ModifyBackupPolicyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
*
* @param request the request parameters of ModifyBackupSetExpireTime ModifyBackupSetExpireTimeRequest
* @return ModifyBackupSetExpireTimeResponse
*/
CompletableFuture<ModifyBackupSetExpireTimeResponse> modifyBackupSetExpireTime(ModifyBackupSetExpireTimeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/95700.html">Change the character set collation and the time zone of system databases</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyCollationTimeZone ModifyCollationTimeZoneRequest
* @return ModifyCollationTimeZoneResponse
*/
CompletableFuture<ModifyCollationTimeZoneResponse> modifyCollationTimeZone(ModifyCollationTimeZoneRequest request);
/**
* @param request the request parameters of ModifyComputeBurstConfig ModifyComputeBurstConfigRequest
* @return ModifyComputeBurstConfigResponse
*/
CompletableFuture<ModifyComputeBurstConfigResponse> modifyComputeBurstConfig(ModifyComputeBurstConfigRequest request);
/**
* @param request the request parameters of ModifyCustinsResource ModifyCustinsResourceRequest
* @return ModifyCustinsResourceResponse
*/
CompletableFuture<ModifyCustinsResourceResponse> modifyCustinsResource(ModifyCustinsResourceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of ModifyDBDescription ModifyDBDescriptionRequest
* @return ModifyDBDescriptionResponse
*/
CompletableFuture<ModifyDBDescriptionResponse> modifyDBDescription(ModifyDBDescriptionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96059.html">Modify automatic update settings for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146895.html">Modify automatic update settings for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceAutoUpgradeMinorVersion ModifyDBInstanceAutoUpgradeMinorVersionRequest
* @return ModifyDBInstanceAutoUpgradeMinorVersionResponse
*/
CompletableFuture<ModifyDBInstanceAutoUpgradeMinorVersionResponse> modifyDBInstanceAutoUpgradeMinorVersion(ModifyDBInstanceAutoUpgradeMinorVersionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* <li>SQL Server<blockquote>
* <p> The configuration items that are supported are pgbouncer and clear_errorlog. For more information, see <a href="https://help.aliyun.com/document_detail/2398301.html">PgBouncer of ApsaraDB RDS for PostgreSQL instances</a> and <a href="https://help.aliyun.com/document_detail/95645.html">Error log cleanup of ApsaraDB RDS for SQL Server instances</a>.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceConfig ModifyDBInstanceConfigRequest
* @return ModifyDBInstanceConfigResponse
*/
CompletableFuture<ModifyDBInstanceConfigResponse> modifyDBInstanceConfig(ModifyDBInstanceConfigRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96163.html">Change the endpoint and port number of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96788.html">Change the endpoint and port number of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95740.html">Change the endpoint and port number of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97157.html">Change the endpoint and port number of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceConnectionString ModifyDBInstanceConnectionStringRequest
* @return ModifyDBInstanceConnectionStringResponse
*/
CompletableFuture<ModifyDBInstanceConnectionStringResponse> modifyDBInstanceConnectionString(ModifyDBInstanceConnectionStringRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96056.html">Configure a data replication latency for a read-only ApsaraDB RDS for MySQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceDelayedReplicationTime ModifyDBInstanceDelayedReplicationTimeRequest
* @return ModifyDBInstanceDelayedReplicationTimeResponse
*/
CompletableFuture<ModifyDBInstanceDelayedReplicationTimeResponse> modifyDBInstanceDelayedReplicationTime(ModifyDBInstanceDelayedReplicationTimeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/414512.html">Enable and disable instance release protection for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/471512.html">Enable and disable instance release protection for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/416209.html">Enable and disable instance release protection for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/414512.html">Enable and disable release protection for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceDeletionProtection ModifyDBInstanceDeletionProtectionRequest
* @return ModifyDBInstanceDeletionProtectionResponse
*/
CompletableFuture<ModifyDBInstanceDeletionProtectionResponse> modifyDBInstanceDeletionProtection(ModifyDBInstanceDeletionProtectionRequest request);
/**
* @param request the request parameters of ModifyDBInstanceDescription ModifyDBInstanceDescriptionRequest
* @return ModifyDBInstanceDescriptionResponse
*/
CompletableFuture<ModifyDBInstanceDescriptionResponse> modifyDBInstanceDescription(ModifyDBInstanceDescriptionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
*
* @param request the request parameters of ModifyDBInstanceEndpoint ModifyDBInstanceEndpointRequest
* @return ModifyDBInstanceEndpointResponse
*/
CompletableFuture<ModifyDBInstanceEndpointResponse> modifyDBInstanceEndpoint(ModifyDBInstanceEndpointRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>You can modify the following information about the endpoint of an instance: the public and internal endpoints, the public and internal ports, and the virtual private cloud (VPC), vSwitch, and IP address of the internal endpoint.</li>
* <li>The VPC and vSwitch must be modified at the same time. If you specify the VPC, vSwitch, and IP address of the internal endpoint, you do not need to specify the endpoint and port. If you specify the endpoint and port, you do not need to specify the VPC, vSwitch, and IP address of the internal endpoint.</li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceEndpointAddress ModifyDBInstanceEndpointAddressRequest
* @return ModifyDBInstanceEndpointAddressResponse
*/
CompletableFuture<ModifyDBInstanceEndpointAddressResponse> modifyDBInstanceEndpointAddress(ModifyDBInstanceEndpointAddressRequest request);
/**
* @param request the request parameters of ModifyDBInstanceHAConfig ModifyDBInstanceHAConfigRequest
* @return ModifyDBInstanceHAConfigResponse
*/
CompletableFuture<ModifyDBInstanceHAConfigResponse> modifyDBInstanceHAConfig(ModifyDBInstanceHAConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96052.html">Set a maintenance window for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96799.html">Set a maintenance window for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95657.html">Set a maintenance window for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97473.html">Set a maintenance window for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceMaintainTime ModifyDBInstanceMaintainTimeRequest
* @return ModifyDBInstanceMaintainTimeResponse
*/
CompletableFuture<ModifyDBInstanceMaintainTimeResponse> modifyDBInstanceMaintainTime(ModifyDBInstanceMaintainTimeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/299200.html">View the Enhanced Monitoring metrics</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyDBInstanceMetrics ModifyDBInstanceMetricsRequest
* @return ModifyDBInstanceMetricsResponse
*/
CompletableFuture<ModifyDBInstanceMetricsResponse> modifyDBInstanceMetrics(ModifyDBInstanceMetricsRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>If you use the Every 5 Seconds monitoring frequency, you are charged additional fees. Before you call this operation, make sure that you understand the <a href="https://help.aliyun.com/document_detail/45020.html">billing methods and pricing</a> of ApsaraDB RDS.</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96112.html">Configure the monitoring frequency for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95710.html">Configure the monitoring frequency for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceMonitor ModifyDBInstanceMonitorRequest
* @return ModifyDBInstanceMonitorResponse
*/
CompletableFuture<ModifyDBInstanceMonitorResponse> modifyDBInstanceMonitor(ModifyDBInstanceMonitorRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96110.html">Configure the hybrid access solution for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95708.html">Configure the hybrid access solution for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceNetworkExpireTime ModifyDBInstanceNetworkExpireTimeRequest
* @return ModifyDBInstanceNetworkExpireTimeResponse
*/
CompletableFuture<ModifyDBInstanceNetworkExpireTimeResponse> modifyDBInstanceNetworkExpireTime(ModifyDBInstanceNetworkExpireTimeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96109.html">Change the network type of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96761.html">Change the network type of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95707.html">Change the network type of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceNetworkType ModifyDBInstanceNetworkTypeRequest
* @return ModifyDBInstanceNetworkTypeResponse
*/
CompletableFuture<ModifyDBInstanceNetworkTypeResponse> modifyDBInstanceNetworkType(ModifyDBInstanceNetworkTypeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96048.html">Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96743.html">Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95631.html">Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97120.html">Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstancePayType ModifyDBInstancePayTypeRequest
* @return ModifyDBInstancePayTypeResponse
*/
CompletableFuture<ModifyDBInstancePayTypeResponse> modifyDBInstancePayType(ModifyDBInstancePayTypeRequest request);
/**
* <b>description</b> :
* <p>If you want to enable the native replication feature for an ApsaraDB RDS for MySQL instance, the following requirements must be met:</p>
* <ul>
* <li>The RDS instance runs MySQL 5.7.</li>
* <li>The RDS instance runs RDS Basic Edition.</li>
* <li>The RDS instance uses the pay-as-you-go or subscription billing method.</li>
* <li>The RDS instance runs a minor engine version of 20240930 or later.
* For more information, see <a href="https://help.aliyun.com/document_detail/2856530.html">Enable the native replication feature</a>.</li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceReplicationSwitch ModifyDBInstanceReplicationSwitchRequest
* @return ModifyDBInstanceReplicationSwitchResponse
*/
CompletableFuture<ModifyDBInstanceReplicationSwitchResponse> modifyDBInstanceReplicationSwitch(ModifyDBInstanceReplicationSwitchRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96120.html">Use the SSL encryption feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/229517.html">Use the SSL encryption feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95715.html">Use the SSL encryption feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceSSL ModifyDBInstanceSSLRequest
* @return ModifyDBInstanceSSLResponse
*/
CompletableFuture<ModifyDBInstanceSSLResponse> modifyDBInstanceSSL(ModifyDBInstanceSSLRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of ModifyDBInstanceSecurityGroupRule ModifyDBInstanceSecurityGroupRuleRequest
* @return ModifyDBInstanceSecurityGroupRuleResponse
*/
CompletableFuture<ModifyDBInstanceSecurityGroupRuleResponse> modifyDBInstanceSecurityGroupRule(ModifyDBInstanceSecurityGroupRuleRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Billing details</h3>
* <p><a href="https://help.aliyun.com/document_detail/57178.html">Fees for specification changes</a> are generated if the call is successful. Before you call this operation, carefully read the following topics.</p>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96061.html">Change the specifications of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96750.html">Change the specifications of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95665.html">Change the specifications of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97129.html">Change the specifications of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceSpec ModifyDBInstanceSpecRequest
* @return ModifyDBInstanceSpecResponse
*/
CompletableFuture<ModifyDBInstanceSpecResponse> modifyDBInstanceSpec(ModifyDBInstanceSpecRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96121.html">Configure TDE for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/465652.html">Configure TDE for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95716.html">Configure TDE for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceTDE ModifyDBInstanceTDERequest
* @return ModifyDBInstanceTDEResponse
*/
CompletableFuture<ModifyDBInstanceTDEResponse> modifyDBInstanceTDE(ModifyDBInstanceTDERequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2627998.html">Change instance specifications</a></p>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the related topics.</p>
* </blockquote>
*
* @param request the request parameters of ModifyDBNode ModifyDBNodeRequest
* @return ModifyDBNodeResponse
*/
CompletableFuture<ModifyDBNodeResponse> modifyDBNode(ModifyDBNodeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see <a href="~~2555466~~">[Special offers/Price changes] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition</a>.</p>
* </blockquote>
* </li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/197456.html">Enable the database proxy feature of ApsaraDB RDS for MySQL</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418272.html">Enable the database proxy feature of ApsaraDB RDS for PostgreSQL</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBProxy ModifyDBProxyRequest
* @return ModifyDBProxyResponse
*/
CompletableFuture<ModifyDBProxyResponse> modifyDBProxy(ModifyDBProxyRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/2621331.html">Configure the connection settings for a database proxy endpoint for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418273.html">Configure the connection settings for a database proxy endpoint for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBProxyEndpoint ModifyDBProxyEndpointRequest
* @return ModifyDBProxyEndpointResponse
*/
CompletableFuture<ModifyDBProxyEndpointResponse> modifyDBProxyEndpoint(ModifyDBProxyEndpointRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/184921.html">Configure the database proxy endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418274.html">Configure the database proxy endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBProxyEndpointAddress ModifyDBProxyEndpointAddressRequest
* @return ModifyDBProxyEndpointAddressResponse
*/
CompletableFuture<ModifyDBProxyEndpointAddressResponse> modifyDBProxyEndpointAddress(ModifyDBProxyEndpointAddressRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see <a href="~~2555466~~">[Special offers/Price changes] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition</a>.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of ModifyDBProxyInstance ModifyDBProxyInstanceRequest
* @return ModifyDBProxyInstanceResponse
*/
CompletableFuture<ModifyDBProxyInstanceResponse> modifyDBProxyInstance(ModifyDBProxyInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/124321.html">Configure a distributed transaction whitelist</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyDTCSecurityIpHostsForSQLServer ModifyDTCSecurityIpHostsForSQLServerRequest
* @return ModifyDTCSecurityIpHostsForSQLServerResponse
*/
CompletableFuture<ModifyDTCSecurityIpHostsForSQLServerResponse> modifyDTCSecurityIpHostsForSQLServer(ModifyDTCSecurityIpHostsForSQLServerRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/173826.html">Configure automatic storage expansion for ApsaraDB RDS for MySQL</a></li>
* <li><a href="https://help.aliyun.com/document_detail/432496.html">Configure automatic storage expansion for ApsaraDB RDS for PostgreSQL</a></li>
* </ul>
*
* @param request the request parameters of ModifyDasInstanceConfig ModifyDasInstanceConfigRequest
* @return ModifyDasInstanceConfigResponse
*/
CompletableFuture<ModifyDasInstanceConfigResponse> modifyDasInstanceConfig(ModifyDasInstanceConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <p>You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses cloud disks to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see <a href="https://help.aliyun.com/document_detail/2401398.html">Modify database properties</a> and <a href="https://help.aliyun.com/document_detail/2767189.html">Archive cloud disk data to an OSS bucket</a>.</p>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
*
* @param request the request parameters of ModifyDatabaseConfig ModifyDatabaseConfigRequest
* @return ModifyDatabaseConfigResponse
*/
CompletableFuture<ModifyDatabaseConfigResponse> modifyDatabaseConfig(ModifyDatabaseConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
* <a href="https://help.aliyun.com/document_detail/188164.html">Configure SSL encryption for a proxy endpoint</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyDbProxyInstanceSsl ModifyDbProxyInstanceSslRequest
* @return ModifyDbProxyInstanceSslResponse
*/
CompletableFuture<ModifyDbProxyInstanceSslResponse> modifyDbProxyInstanceSsl(ModifyDbProxyInstanceSslRequest request);
/**
* @param request the request parameters of ModifyEventInfo ModifyEventInfoRequest
* @return ModifyEventInfoResponse
*/
CompletableFuture<ModifyEventInfoResponse> modifyEventInfo(ModifyEventInfoRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/207467.html">What is availability check?</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyHADiagnoseConfig ModifyHADiagnoseConfigRequest
* @return ModifyHADiagnoseConfigResponse
*/
CompletableFuture<ModifyHADiagnoseConfigResponse> modifyHADiagnoseConfig(ModifyHADiagnoseConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96054.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96747.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95659.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97127.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyHASwitchConfig ModifyHASwitchConfigRequest
* @return ModifyHASwitchConfigResponse
*/
CompletableFuture<ModifyHASwitchConfigResponse> modifyHASwitchConfig(ModifyHASwitchConfigRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Notice: Fees are generated if the call is successful. Before you call this operation, carefully read the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96049.html">Use the auto-renewal feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96740.html">Use the auto-renewal feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95635.html">Use the auto-renewal feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97121.html">Use the auto-renewal feature for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyInstanceAutoRenewalAttribute ModifyInstanceAutoRenewalAttributeRequest
* @return ModifyInstanceAutoRenewalAttributeResponse
*/
CompletableFuture<ModifyInstanceAutoRenewalAttributeResponse> modifyInstanceAutoRenewalAttribute(ModifyInstanceAutoRenewalAttributeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyInstanceCrossBackupPolicy ModifyInstanceCrossBackupPolicyRequest
* @return ModifyInstanceCrossBackupPolicyResponse
*/
CompletableFuture<ModifyInstanceCrossBackupPolicyResponse> modifyInstanceCrossBackupPolicy(ModifyInstanceCrossBackupPolicyRequest request);
/**
* @param request the request parameters of ModifyMaskingRules ModifyMaskingRulesRequest
* @return ModifyMaskingRulesResponse
*/
CompletableFuture<ModifyMaskingRulesResponse> modifyMaskingRules(ModifyMaskingRulesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/349288.html">Connect an ApsaraDB RDS for PostgreSQL instance to a self-managed AD domain</a></li>
* <li><a href="https://www.postgresql.org/docs/11/auth-pg-hba-conf.html">The pg_hba.conf File</a></li>
* </ul>
*
* @param request the request parameters of ModifyPGHbaConfig ModifyPGHbaConfigRequest
* @return ModifyPGHbaConfigResponse
*/
CompletableFuture<ModifyPGHbaConfigResponse> modifyPGHbaConfig(ModifyPGHbaConfigRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96063.html">Modify the parameters of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96751.html">Modify the parameters of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95667.html">Modify the parameters of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97130.html">Modify the parameters of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyParameter ModifyParameterRequest
* @return ModifyParameterResponse
*/
CompletableFuture<ModifyParameterResponse> modifyParameter(ModifyParameterRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of ModifyParameterGroup ModifyParameterGroupRequest
* @return ModifyParameterGroupResponse
*/
CompletableFuture<ModifyParameterGroupResponse> modifyParameterGroup(ModifyParameterGroupRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> To minimize the impacts on your business, we recommend that you change specifications during off-peak hours.
* Take note of the following items:</p>
* </blockquote>
* <ul>
* <li>For a pay-as-you-go Enterprise SSD (ESSD), you can upgrade or downgrade its PL. However, you cannot downgrade the performance level to PL0.</li>
* <li>The ESSD must be in the In Use (In_Use) or Unattached (Available) state.</li>
* <li>If the ESSD is attached to an instance, the instance must be in the Running or Stopped state. The instance cannot be in the Expired state or stopped due to overdue payments.</li>
* <li>The performance level of an ESSD is limited by the capacity of the ESSD. If you cannot upgrade the PL of an ESSD, you can expand the capacity of the ESSD.</li>
* </ul>
*
* @param request the request parameters of ModifyRCDiskSpec ModifyRCDiskSpecRequest
* @return ModifyRCDiskSpecResponse
*/
CompletableFuture<ModifyRCDiskSpecResponse> modifyRCDiskSpec(ModifyRCDiskSpecRequest request);
/**
* <b>description</b> :
* <p>Before you call this operation, make sure that you are familiar with the billing methods, pricing, and refund rules of RDS Custom.
* Before you call this operation, take note of the following items:</p>
* <ul>
* <li>You cannot change the instance type of an expired instance. You can renew the instance and try again.</li>
* <li>When you downgrade the instance type of an instance, take note of the following items:<ul>
* <li>The instance must be in the Stopped state.</li>
* <li>The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.</li>
* </ul>
* </li>
* <li>The operation is asynchronous. Wait 5 to 10 seconds for the instance type change to complete. Then, restart the instance by calling the RebootInstance operation or by using the console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect. If the instance is in the Stopped state, you need only to start the instance. You do not need to restart the instance after it enters the Running state.</li>
* </ul>
*
* @param request the request parameters of ModifyRCInstance ModifyRCInstanceRequest
* @return ModifyRCInstanceResponse
*/
CompletableFuture<ModifyRCInstanceResponse> modifyRCInstance(ModifyRCInstanceRequest request);
/**
* @param request the request parameters of ModifyRCInstanceAttribute ModifyRCInstanceAttributeRequest
* @return ModifyRCInstanceAttributeResponse
*/
CompletableFuture<ModifyRCInstanceAttributeResponse> modifyRCInstanceAttribute(ModifyRCInstanceAttributeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>Before you call this operation, make sure that you are familiar with the subscription and pay-as-you-go billing methods and pricing of RDS Custom.</li>
* <li>The instances must be in the <strong>Running</strong> or <strong>Stopped</strong> state, and you have no overdue payments for the instances.</li>
* <li>The disk is in the <strong>In_use</strong> state and the billing method of the disk has not been changed within the previous 15 minutes.</li>
* <li>After you change the billing method, the payment is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled.</li>
* </ul>
* <h3><a href="#"></a>Considerations</h3>
* <p>For more information, see the following documentation:</p>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/2878542.html">Change the billing method of an instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/2878547.html">Change the billing method of a disk</a></li>
* </ul>
*
* @param request the request parameters of ModifyRCInstanceChargeType ModifyRCInstanceChargeTypeRequest
* @return ModifyRCInstanceChargeTypeResponse
*/
CompletableFuture<ModifyRCInstanceChargeTypeResponse> modifyRCInstanceChargeType(ModifyRCInstanceChargeTypeRequest request);
/**
* @param request the request parameters of ModifyRCInstanceDescription ModifyRCInstanceDescriptionRequest
* @return ModifyRCInstanceDescriptionResponse
*/
CompletableFuture<ModifyRCInstanceDescriptionResponse> modifyRCInstanceDescription(ModifyRCInstanceDescriptionRequest request);
/**
* @param request the request parameters of ModifyRCInstanceKeyPair ModifyRCInstanceKeyPairRequest
* @return ModifyRCInstanceKeyPairResponse
*/
CompletableFuture<ModifyRCInstanceKeyPairResponse> modifyRCInstanceKeyPair(ModifyRCInstanceKeyPairRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>Custom for SQL Server</p>
*
* @param request the request parameters of ModifyRCInstanceNetworkSpec ModifyRCInstanceNetworkSpecRequest
* @return ModifyRCInstanceNetworkSpecResponse
*/
CompletableFuture<ModifyRCInstanceNetworkSpecResponse> modifyRCInstanceNetworkSpec(ModifyRCInstanceNetworkSpecRequest request);
/**
* @param request the request parameters of ModifyRCSecurityGroupPermission ModifyRCSecurityGroupPermissionRequest
* @return ModifyRCSecurityGroupPermissionResponse
*/
CompletableFuture<ModifyRCSecurityGroupPermissionResponse> modifyRCSecurityGroupPermission(ModifyRCSecurityGroupPermissionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The read/write splitting feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The instance must run one of the following database engine versions and RDS editions:<ul>
* <li>MySQL 5.7 on RDS High-availability Edition with local disks</li>
* <li>MySQL 5.6</li>
* <li>SQL Server on RDS Cluster Edition</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of ModifyReadWriteSplittingConnection ModifyReadWriteSplittingConnectionRequest
* @return ModifyReadWriteSplittingConnectionResponse
*/
CompletableFuture<ModifyReadWriteSplittingConnectionResponse> modifyReadWriteSplittingConnection(ModifyReadWriteSplittingConnectionRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/96056.html">Set the data replication latency of a read-only ApsaraDB RDS for MySQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyReadonlyInstanceDelayReplicationTime ModifyReadonlyInstanceDelayReplicationTimeRequest
* @return ModifyReadonlyInstanceDelayReplicationTimeResponse
*/
CompletableFuture<ModifyReadonlyInstanceDelayReplicationTimeResponse> modifyReadonlyInstanceDelayReplicationTime(ModifyReadonlyInstanceDelayReplicationTimeRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/94487.html">Transfer resources across resource groups</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyResourceGroup ModifyResourceGroupRequest
* @return ModifyResourceGroupResponse
*/
CompletableFuture<ModifyResourceGroupResponse> modifyResourceGroup(ModifyResourceGroupRequest request);
/**
* <b>description</b> :
* <p>This operation can still be called but is no longer maintained. We recommend that you call the <a href="https://help.aliyun.com/document_detail/2778835.html">ModifySqlLogConfig</a> operation instead of this operation.</p>
*
* @param request the request parameters of ModifySQLCollectorPolicy ModifySQLCollectorPolicyRequest
* @return ModifySQLCollectorPolicyResponse
*/
CompletableFuture<ModifySQLCollectorPolicyResponse> modifySQLCollectorPolicy(ModifySQLCollectorPolicyRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3>Precautions</h3>
* <p>After you shorten the log backup retention period, log backup files that are stored longer than the specified log backup retention period are immediately deleted.</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/476574.html">Use the SQL Explorer and Audit feature</a></p>
* </blockquote>
*
* @param request the request parameters of ModifySQLCollectorRetention ModifySQLCollectorRetentionRequest
* @return ModifySQLCollectorRetentionResponse
*/
CompletableFuture<ModifySQLCollectorRetentionResponse> modifySQLCollectorRetention(ModifySQLCollectorRetentionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/201042.html">Configure a security group for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206310.html">Configure a security group for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/2392322.html">Configure a security group for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifySecurityGroupConfiguration ModifySecurityGroupConfigurationRequest
* @return ModifySecurityGroupConfigurationResponse
*/
CompletableFuture<ModifySecurityGroupConfigurationResponse> modifySecurityGroupConfiguration(ModifySecurityGroupConfigurationRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96118.html">Configure an IP address whitelist for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/43187.html">Configure an IP address whitelist for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/43186.html">Configure an IP address whitelist for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/90336.html">Configure an IP address whitelist for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifySecurityIps ModifySecurityIpsRequest
* @return ModifySecurityIpsResponse
*/
CompletableFuture<ModifySecurityIpsResponse> modifySecurityIps(ModifySecurityIpsRequest request);
/**
* @param request the request parameters of ModifyTaskInfo ModifyTaskInfoRequest
* @return ModifyTaskInfoResponse
*/
CompletableFuture<ModifyTaskInfoResponse> modifyTaskInfo(ModifyTaskInfoRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of ModifyWhitelistTemplate ModifyWhitelistTemplateRequest
* @return ModifyWhitelistTemplateResponse
*/
CompletableFuture<ModifyWhitelistTemplateResponse> modifyWhitelistTemplate(ModifyWhitelistTemplateRequest request);
/**
* @param request the request parameters of PreCheckCreateOrderForDeleteDBNodes PreCheckCreateOrderForDeleteDBNodesRequest
* @return PreCheckCreateOrderForDeleteDBNodesResponse
*/
CompletableFuture<PreCheckCreateOrderForDeleteDBNodesResponse> preCheckCreateOrderForDeleteDBNodes(PreCheckCreateOrderForDeleteDBNodesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>Description</h3>
* <p>The system automatically uploads log backup files to Object Storage Service (OSS) buckets. If the remaining storage of an instance is insufficient, you can call this operation to upload the log backup files of the instance to OSS buckets. After the upload is complete, the system deletes these files from the instance to release storage. This operation is called to upload log backup files from an instance to OSS buckets and then delete these files from the instance. If the instance runs SQL Server, transaction log backup files are compressed before they are uploaded.</p>
* <h3>Precautions</h3>
* <ul>
* <li>When you upload log backup files, the data restoration feature is not affected.</li>
* <li>This operation is called to release storage. The backup storage usage is not reduced.</li>
* <li>The OSS buckets to which log backup files are uploaded are provided by the system. You do not need to purchase these OSS buckets. In addition, you cannot access these OSS buckets.</li>
* </ul>
*
* @param request the request parameters of PurgeDBInstanceLog PurgeDBInstanceLogRequest
* @return PurgeDBInstanceLogResponse
*/
CompletableFuture<PurgeDBInstanceLogResponse> purgeDBInstanceLog(PurgeDBInstanceLogRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>Feature description</h3>
* <p>The notifications are highlighted at the top of the ApsaraDB RDS console. The notifications include renewal reminders and reminders of instance creation failures.
* After you call this operation to query notifications, you can call the <a href="https://help.aliyun.com/document_detail/610444.html">ConfirmNotify</a> operation to mark the notifications as confirmed, which means that you understand the content of the notifications.</p>
*
* @param request the request parameters of QueryNotify QueryNotifyRequest
* @return QueryNotifyResponse
*/
CompletableFuture<QueryNotifyResponse> queryNotify(QueryNotifyRequest request);
/**
* @param request the request parameters of QueryRecommendByCode QueryRecommendByCodeRequest
* @return QueryRecommendByCodeResponse
*/
CompletableFuture<QueryRecommendByCodeResponse> queryRecommendByCode(QueryRecommendByCodeRequest request);
/**
* @param request the request parameters of RebootRCInstance RebootRCInstanceRequest
* @return RebootRCInstanceResponse
*/
CompletableFuture<RebootRCInstanceResponse> rebootRCInstance(RebootRCInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of RebootRCInstances RebootRCInstancesRequest
* @return RebootRCInstancesResponse
*/
CompletableFuture<RebootRCInstancesResponse> rebootRCInstances(RebootRCInstancesRequest request);
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of RebuildDBInstance RebuildDBInstanceRequest
* @return RebuildDBInstanceResponse
*/
CompletableFuture<RebuildDBInstanceResponse> rebuildDBInstance(RebuildDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of RebuildReplicationLink RebuildReplicationLinkRequest
* @return RebuildReplicationLinkResponse
*/
CompletableFuture<RebuildReplicationLinkResponse> rebuildReplicationLink(RebuildReplicationLinkRequest request);
/**
* <b>description</b> :
* <p>The operation is phased out.</p>
*
* @param request the request parameters of ReceiveDBInstance ReceiveDBInstanceRequest
* @return ReceiveDBInstanceResponse
*/
CompletableFuture<ReceiveDBInstanceResponse> receiveDBInstance(ReceiveDBInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server 2012 or later</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/95722.html">Restore the data of an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of RecoveryDBInstance RecoveryDBInstanceRequest
* @return RecoveryDBInstanceResponse
*/
CompletableFuture<RecoveryDBInstanceResponse> recoveryDBInstance(RecoveryDBInstanceRequest request);
/**
* <b>description</b> :
* <p>RedeployInstance is an <strong>asynchronous</strong> operation. It migrates data before it restarts the instance. If the instance is successfully redeployed, it enters the Running state. If the instance fails to be redeployed, it returns to the original physical server and the state before the redeployment.
* When you call this operation, take note of the following items:
* The instance must be in the Running or Stopped state. After the instance is redeployed, the state of the instance has the following changes:</p>
* <ul>
* <li>If the instance is in the Running state before redeployment, the instance enters the Stopped state.</li>
* <li>If the instance is in the Stopped state before redeployment, the instance enters the Starting state.</li>
* <li>If an instance receives notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for the instance, you cannot call this operation to redeploy the instance.
* The following table lists the types and states of events that you can handle by calling the RedeployInstance operation.</li>
* <li>Instance redeployment due to system maintenance: SystemMaintenance.Redeploy. The event state is Inquiring or Scheduled.</li>
* <li>Instance redeployment due to system failures: SystemFailure.Redeploy. The event state is Inquiring.</li>
* </ul>
*
* @param request the request parameters of RedeployRCInstance RedeployRCInstanceRequest
* @return RedeployRCInstanceResponse
*/
CompletableFuture<RedeployRCInstanceResponse> redeployRCInstance(RedeployRCInstanceRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/26128.html">Release the public endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97738.html">Release the public endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97736.html">Release the public endpoint of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97740.html">Release the public endpoint of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ReleaseInstanceConnection ReleaseInstanceConnectionRequest
* @return ReleaseInstanceConnectionResponse
*/
CompletableFuture<ReleaseInstanceConnectionResponse> releaseInstanceConnection(ReleaseInstanceConnectionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/26128.html">Release the public endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97738.html">Release the public endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97736.html">Release the public endpoint of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97740.html">Release the public endpoint of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ReleaseInstancePublicConnection ReleaseInstancePublicConnectionRequest
* @return ReleaseInstancePublicConnectionResponse
*/
CompletableFuture<ReleaseInstancePublicConnectionResponse> releaseInstancePublicConnection(ReleaseInstancePublicConnectionRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The read/write splitting feature is enabled for the instance.</li>
* <li>The instance must run one of the following database engine versions and RDS editions:<ul>
* <li>MySQL 5.7 on RDS High-availability Edition (with local disks)</li>
* <li>MySQL 5.6</li>
* <li>SQL Server on RDS Cluster Edition</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of ReleaseReadWriteSplittingConnection ReleaseReadWriteSplittingConnectionRequest
* @return ReleaseReadWriteSplittingConnectionResponse
*/
CompletableFuture<ReleaseReadWriteSplittingConnectionResponse> releaseReadWriteSplittingConnection(ReleaseReadWriteSplittingConnectionRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>A maximum of 10 tags can be removed in a single request.</li>
* <li>If a tag is removed from all instances to which the tag is added, the tag is automatically deleted.</li>
* <li>If you specify only TagKey, all tags that match the TagKey condition are removed.</li>
* <li>You must specify at least TagKey or a pair of TagKey and TagValue.</li>
* </ul>
*
* @param request the request parameters of RemoveTagsFromResource RemoveTagsFromResourceRequest
* @return RemoveTagsFromResourceResponse
*/
CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(RemoveTagsFromResourceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96050.html">Manually renew an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96741.html">Manually renew an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95637.html">Manually renew an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97122.html">Manually renew an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of RenewInstance RenewInstanceRequest
* @return RenewInstanceResponse
*/
CompletableFuture<RenewInstanceResponse> renewInstance(RenewInstanceRequest request);
/**
* @param request the request parameters of RenewRCInstance RenewRCInstanceRequest
* @return RenewRCInstanceResponse
*/
CompletableFuture<RenewRCInstanceResponse> renewRCInstance(RenewRCInstanceRequest request);
/**
* <b>description</b> :
* <p> The instance must be in the Stopped state.</p>
* <ul>
* <li>If you reinstall the system, the data on the original system disk is lost. Exercise caution when you perform this operation.</li>
* </ul>
*
* @param request the request parameters of ReplaceRCInstanceSystemDisk ReplaceRCInstanceSystemDiskRequest
* @return ReplaceRCInstanceSystemDiskResponse
*/
CompletableFuture<ReplaceRCInstanceSystemDiskResponse> replaceRCInstanceSystemDisk(ReplaceRCInstanceSystemDiskRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/140724.html">Reset of the permissions of privileged accounts</a></p>
* </blockquote>
*
* @param request the request parameters of ResetAccount ResetAccountRequest
* @return ResetAccountResponse
*/
CompletableFuture<ResetAccountResponse> resetAccount(ResetAccountRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96100.html">Reset the password of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96814.html">Reset the password of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95691.html">Reset the password of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97133.html">Reset the password of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ResetAccountPassword ResetAccountPasswordRequest
* @return ResetAccountPasswordResponse
*/
CompletableFuture<ResetAccountPasswordResponse> resetAccountPassword(ResetAccountPasswordRequest request);
/**
* @param request the request parameters of ResizeRCInstanceDisk ResizeRCInstanceDiskRequest
* @return ResizeRCInstanceDiskResponse
*/
CompletableFuture<ResizeRCInstanceDiskResponse> resizeRCInstanceDisk(ResizeRCInstanceDiskRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96051.html">Restart an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96798.html">Restart an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95656.html">Restart an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97472.html">Restart an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of RestartDBInstance RestartDBInstanceRequest
* @return RestartDBInstanceResponse
*/
CompletableFuture<RestartDBInstanceResponse> restartDBInstance(RestartDBInstanceRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> Before restoration, you can call the CheckCreateDdrDBInstance operation to check whether a cross-region backup set can be used for cross-region restoration.</p>
* </blockquote>
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/120875.html">Restore the data of an ApsaraDB RDS for MySQL instance across regions</a></li>
* </ul>
*
* @param request the request parameters of RestoreDdrTable RestoreDdrTableRequest
* @return RestoreDdrTableResponse
*/
CompletableFuture<RestoreDdrTableResponse> restoreDdrTable(RestoreDdrTableRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/103175.html">Restore individual databases and tables of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/613672.html">Restore individual databases and tables of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of RestoreTable RestoreTableRequest
* @return RestoreTableResponse
*/
CompletableFuture<RestoreTableResponse> restoreTable(RestoreTableRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Prerequisites</h3>
* <ul>
* <li>The instance is in the Running state.</li>
* <li>The database is in the Running state.</li>
* </ul>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>The permissions that can be revoked include SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, and TRIGGER.</li>
* <li>This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition and run PostgreSQL.</li>
* </ul>
*
* @param request the request parameters of RevokeAccountPrivilege RevokeAccountPrivilegeRequest
* @return RevokeAccountPrivilegeResponse
*/
CompletableFuture<RevokeAccountPrivilegeResponse> revokeAccountPrivilege(RevokeAccountPrivilegeRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96102.html">Grant permissions to the service account of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146887.html">Grant permissions to the service account of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95693.html">Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of RevokeOperatorPermission RevokeOperatorPermissionRequest
* @return RevokeOperatorPermissionResponse
*/
CompletableFuture<RevokeOperatorPermissionResponse> revokeOperatorPermission(RevokeOperatorPermissionRequest request);
/**
* @param request the request parameters of RevokeRCSecurityGroupPermission RevokeRCSecurityGroupPermissionRequest
* @return RevokeRCSecurityGroupPermissionResponse
*/
CompletableFuture<RevokeRCSecurityGroupPermissionResponse> revokeRCSecurityGroupPermission(RevokeRCSecurityGroupPermissionRequest request);
/**
* @param request the request parameters of RunRCCommand RunRCCommandRequest
* @return RunRCCommandResponse
*/
CompletableFuture<RunRCCommandResponse> runRCCommand(RunRCCommandRequest request);
/**
* <b>description</b> :
* <p> Before you create RDS Custom instances, you must submit a ticket to add your Alibaba Cloud account to a whitelist.</p>
* <ul>
* <li>You can create only subscription RDS Custom instances.</li>
* <li>Subscription RDS Custom instances are supported in the China (Shanghai), China (Shenzhen), China (Beijing), and China (Hangzhou) regions.</li>
* </ul>
*
* @param request the request parameters of RunRCInstances RunRCInstancesRequest
* @return RunRCInstancesResponse
*/
CompletableFuture<RunRCInstancesResponse> runRCInstances(RunRCInstancesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/462504.html">Start an ApsaraDB RDS for SQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of StartDBInstance StartDBInstanceRequest
* @return StartDBInstanceResponse
*/
CompletableFuture<StartDBInstanceResponse> startDBInstance(StartDBInstanceRequest request);
/**
* @param request the request parameters of StartRCInstance StartRCInstanceRequest
* @return StartRCInstanceResponse
*/
CompletableFuture<StartRCInstanceResponse> startRCInstance(StartRCInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of StartRCInstances StartRCInstancesRequest
* @return StartRCInstancesResponse
*/
CompletableFuture<StartRCInstancesResponse> startRCInstances(StartRCInstancesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/462504.html">Suspend an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of StopDBInstance StopDBInstanceRequest
* @return StopDBInstanceResponse
*/
CompletableFuture<StopDBInstanceResponse> stopDBInstance(StopDBInstanceRequest request);
/**
* @param request the request parameters of StopRCInstance StopRCInstanceRequest
* @return StopRCInstanceResponse
*/
CompletableFuture<StopRCInstanceResponse> stopRCInstance(StopRCInstanceRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of StopRCInstances StopRCInstancesRequest
* @return StopRCInstancesResponse
*/
CompletableFuture<StopRCInstancesResponse> stopRCInstances(StopRCInstancesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96054.html">Switch workloads between primary and secondary ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96747.html">Switch workloads between primary and secondary ApsaraDB RDS for PostgreSQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95659.html">Switch workloads between primary and secondary ApsaraDB RDS for SQL Server instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97127.html">Switch workloads between primary and secondary ApsaraDB RDS for MariaDB instances</a></li>
* </ul>
*
* @param request the request parameters of SwitchDBInstanceHA SwitchDBInstanceHARequest
* @return SwitchDBInstanceHAResponse
*/
CompletableFuture<SwitchDBInstanceHAResponse> switchDBInstanceHA(SwitchDBInstanceHARequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>Prerequisites</h3>
* <ul>
* <li>The instance is connected by using its internal or public endpoint.</li>
* <li>The instance is in the Running state.</li>
* <li>The number of times that you have switched the instance between its internal and public endpoints within the last 24 hours does not reach 20.</li>
* <li>The instance resides in the classic network.</li>
* </ul>
* <h3>Usage notes</h3>
* <p>After the endpoint that is used to connect to the instance is changed, you must update the endpoint information in the code of your application and restart the application.</p>
*
* @param request the request parameters of SwitchDBInstanceNetType SwitchDBInstanceNetTypeRequest
* @return SwitchDBInstanceNetTypeResponse
*/
CompletableFuture<SwitchDBInstanceNetTypeResponse> switchDBInstanceNetType(SwitchDBInstanceNetTypeRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/137567.html">Change the VPC and vSwitch for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146885.html">Change the vSwitch for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/347675.html">Change the VPC and vSwitch for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of SwitchDBInstanceVpc SwitchDBInstanceVpcRequest
* @return SwitchDBInstanceVpcResponse
*/
CompletableFuture<SwitchDBInstanceVpcResponse> switchDBInstanceVpc(SwitchDBInstanceVpcRequest request);
/**
* <b>description</b> :
* <p>Supported database engine</p>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of SwitchOverMajorVersionUpgrade SwitchOverMajorVersionUpgradeRequest
* @return SwitchOverMajorVersionUpgradeResponse
*/
CompletableFuture<SwitchOverMajorVersionUpgradeResponse> switchOverMajorVersionUpgrade(SwitchOverMajorVersionUpgradeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of SwitchReplicationLink SwitchReplicationLinkRequest
* @return SwitchReplicationLinkResponse
*/
CompletableFuture<SwitchReplicationLinkResponse> switchReplicationLink(SwitchReplicationLinkRequest request);
/**
* @param request the request parameters of SyncRCKeyPair SyncRCKeyPairRequest
* @return SyncRCKeyPairResponse
*/
CompletableFuture<SyncRCKeyPairResponse> syncRCKeyPair(SyncRCKeyPairRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
*
* @param request the request parameters of SyncRCSecurityGroup SyncRCSecurityGroupRequest
* @return SyncRCSecurityGroupResponse
*/
CompletableFuture<SyncRCSecurityGroupResponse> syncRCSecurityGroup(SyncRCSecurityGroupRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96149.html">Create tags for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96777.html">Create tags for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95726.html">Create tags for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97152.html">Create tags for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of TagResources TagResourcesRequest
* @return TagResourcesResponse
*/
CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of TerminateMigrateTask TerminateMigrateTaskRequest
* @return TerminateMigrateTaskResponse
*/
CompletableFuture<TerminateMigrateTaskResponse> terminateMigrateTask(TerminateMigrateTaskRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Fees are generated if the call is successful. Before you call this operation, you must read the following documentation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96048.html">Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/161875.html">Change the billing method of an ApsaraDB RDS for MySQL instance from subscription to pay-as-you-go</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96743.html">Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/162756.html">Change the billing method of an ApsaraDB RDS for PostgreSQL instance from subscription to pay-as-you-go</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95631.html">Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/162755.html">Change the billing method of an ApsaraDB RDS for SQL Server instance from subscription to pay-as-you-go</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97120.html">Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/169252.html">Change the billing method of an ApsaraDB RDS for MariaDB instance from subscription to pay-as-you-go</a></li>
* </ul>
*
* @param request the request parameters of TransformDBInstancePayType TransformDBInstancePayTypeRequest
* @return TransformDBInstancePayTypeResponse
*/
CompletableFuture<TransformDBInstancePayTypeResponse> transformDBInstancePayType(TransformDBInstancePayTypeRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
*
* @param request the request parameters of UnassociateEipAddressWithRCInstance UnassociateEipAddressWithRCInstanceRequest
* @return UnassociateEipAddressWithRCInstanceResponse
*/
CompletableFuture<UnassociateEipAddressWithRCInstanceResponse> unassociateEipAddressWithRCInstance(UnassociateEipAddressWithRCInstanceRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/147649.html">Lock an account of an ApsaraDB RDS for PostgreSQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of UnlockAccount UnlockAccountRequest
* @return UnlockAccountResponse
*/
CompletableFuture<UnlockAccountResponse> unlockAccount(UnlockAccountRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>You can remove up to 20 tags at a time.</li>
* <li>If a tag is removed from an instance and is not added to other instances, the tag is automatically deleted.</li>
* </ul>
*
* @param request the request parameters of UntagResources UntagResourcesRequest
* @return UntagResourcesResponse
*/
CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
*
* @param request the request parameters of UpdatePostgresExtensions UpdatePostgresExtensionsRequest
* @return UpdatePostgresExtensionsResponse
*/
CompletableFuture<UpdatePostgresExtensionsResponse> updatePostgresExtensions(UpdatePostgresExtensionsRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3>References</h3>
* <p>A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 or MySQL 8.0 instance to an ApsaraDB RDS for MySQL instance</a>.</p>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
*
* @param request the request parameters of UpdateUserBackupFile UpdateUserBackupFileRequest
* @return UpdateUserBackupFileResponse
*/
CompletableFuture<UpdateUserBackupFileResponse> updateUserBackupFile(UpdateUserBackupFileRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>MySQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/96058.html">Upgrade the major engine version of an ApsaraDB RDS for MySQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of UpgradeDBInstanceEngineVersion UpgradeDBInstanceEngineVersionRequest
* @return UpgradeDBInstanceEngineVersionResponse
*/
CompletableFuture<UpgradeDBInstanceEngineVersionResponse> upgradeDBInstanceEngineVersion(UpgradeDBInstanceEngineVersionRequest request);
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96059.html">Update the minor engine version of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146895.html">Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/213582.html">Update the minor engine version of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of UpgradeDBInstanceKernelVersion UpgradeDBInstanceKernelVersionRequest
* @return UpgradeDBInstanceKernelVersionResponse
*/
CompletableFuture<UpgradeDBInstanceKernelVersionResponse> upgradeDBInstanceKernelVersion(UpgradeDBInstanceKernelVersionRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <p>Fees are generated if the call is successful. Before you call this operation, read the following documentation and make sure that you fully understand the billing rules, prerequisites, and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance</a></p>
*
* @param request the request parameters of UpgradeDBInstanceMajorVersion UpgradeDBInstanceMajorVersionRequest
* @return UpgradeDBInstanceMajorVersionResponse
*/
CompletableFuture<UpgradeDBInstanceMajorVersionResponse> upgradeDBInstanceMajorVersion(UpgradeDBInstanceMajorVersionRequest request);
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of UpgradeDBInstanceMajorVersionPrecheck UpgradeDBInstanceMajorVersionPrecheckRequest
* @return UpgradeDBInstanceMajorVersionPrecheckResponse
*/
CompletableFuture<UpgradeDBInstanceMajorVersionPrecheckResponse> upgradeDBInstanceMajorVersionPrecheck(UpgradeDBInstanceMajorVersionPrecheckRequest request);
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/197465.html">Upgrade the database proxy version of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418469.html">Upgrade the database proxy version of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of UpgradeDBProxyInstanceKernelVersion UpgradeDBProxyInstanceKernelVersionRequest
* @return UpgradeDBProxyInstanceKernelVersionResponse
*/
CompletableFuture<UpgradeDBProxyInstanceKernelVersionResponse> upgradeDBProxyInstanceKernelVersion(UpgradeDBProxyInstanceKernelVersionRequest request);
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/DefaultAsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815;
import com.aliyun.core.http.*;
import com.aliyun.sdk.service.rds20140815.models.*;
import darabonba.core.utils.*;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import java.util.concurrent.CompletableFuture;
/**
* <p>Main client.</p>
*/
public final class DefaultAsyncClient implements AsyncClient {
protected final String product;
protected final String version;
protected final String endpointRule;
protected final java.util.Map<String, String> endpointMap;
protected final TeaRequest REQUEST;
protected final TeaAsyncHandler handler;
protected DefaultAsyncClient(ClientConfiguration configuration) {
this.handler = new TeaAsyncHandler(configuration);
this.product = "Rds";
this.version = "2014-08-15";
this.endpointRule = "regional";
this.endpointMap = CommonUtil.buildMap(
new TeaPair("cn-qingdao", "rds.aliyuncs.com"),
new TeaPair("cn-beijing", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou", "rds.aliyuncs.com"),
new TeaPair("cn-shanghai", "rds.aliyuncs.com"),
new TeaPair("cn-shenzhen", "rds.aliyuncs.com"),
new TeaPair("cn-heyuan", "rds.aliyuncs.com"),
new TeaPair("cn-hongkong", "rds.aliyuncs.com"),
new TeaPair("ap-southeast-1", "rds.aliyuncs.com"),
new TeaPair("us-west-1", "rds.aliyuncs.com"),
new TeaPair("us-east-1", "rds.aliyuncs.com"),
new TeaPair("cn-shanghai-finance-1", "rds.aliyuncs.com"),
new TeaPair("cn-shenzhen-finance-1", "rds.aliyuncs.com"),
new TeaPair("cn-north-2-gov-1", "rds.aliyuncs.com"),
new TeaPair("ap-northeast-2-pop", "rds.aliyuncs.com"),
new TeaPair("cn-beijing-finance-1", "rds.aliyuncs.com"),
new TeaPair("cn-beijing-finance-pop", "rds.aliyuncs.com"),
new TeaPair("cn-beijing-gov-1", "rds.aliyuncs.com"),
new TeaPair("cn-beijing-nu16-b01", "rds.aliyuncs.com"),
new TeaPair("cn-edge-1", "rds.aliyuncs.com"),
new TeaPair("cn-fujian", "rds.aliyuncs.com"),
new TeaPair("cn-haidian-cm12-c01", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou-bj-b01", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou-finance", "rds-vpc.cn-hangzhou-finance.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-prod-1", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-test-1", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-test-2", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-test-3", "rds.aliyuncs.com"),
new TeaPair("cn-hangzhou-test-306", "rds.aliyuncs.com"),
new TeaPair("cn-hongkong-finance-pop", "rds.aliyuncs.com"),
new TeaPair("cn-qingdao-nebula", "rds.aliyuncs.com"),
new TeaPair("cn-shanghai-et15-b01", "rds.aliyuncs.com"),
new TeaPair("cn-shanghai-et2-b01", "rds.aliyuncs.com"),
new TeaPair("cn-shanghai-inner", "rds.aliyuncs.com"),
new TeaPair("cn-shanghai-internal-test-1", "rds.aliyuncs.com"),
new TeaPair("cn-shenzhen-inner", "rds.aliyuncs.com"),
new TeaPair("cn-shenzhen-st4-d01", "rds.aliyuncs.com"),
new TeaPair("cn-shenzhen-su18-b01", "rds.aliyuncs.com"),
new TeaPair("cn-wuhan", "rds.aliyuncs.com"),
new TeaPair("cn-yushanfang", "rds.aliyuncs.com"),
new TeaPair("cn-zhangbei", "rds.aliyuncs.com"),
new TeaPair("cn-zhangbei-na61-b01", "rds.aliyuncs.com"),
new TeaPair("cn-zhangjiakou-na62-a01", "rds.aliyuncs.com"),
new TeaPair("cn-zhengzhou-nebula-1", "rds.aliyuncs.com"),
new TeaPair("eu-west-1-oxs", "rds.aliyuncs.com"),
new TeaPair("rus-west-1-pop", "rds.aliyuncs.com")
);
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
}
@Override
public void close() {
this.handler.close();
}
/**
* @param request the request parameters of AcceptRCInquiredSystemEvent AcceptRCInquiredSystemEventRequest
* @return AcceptRCInquiredSystemEventResponse
*/
@Override
public CompletableFuture<AcceptRCInquiredSystemEventResponse> acceptRCInquiredSystemEvent(AcceptRCInquiredSystemEventRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AcceptRCInquiredSystemEvent").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AcceptRCInquiredSystemEventResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AcceptRCInquiredSystemEventResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/365562.html">Use the cloud migration feature</a></p>
* </blockquote>
*
* @param request the request parameters of ActivateMigrationTargetInstance ActivateMigrationTargetInstanceRequest
* @return ActivateMigrationTargetInstanceResponse
*/
@Override
public CompletableFuture<ActivateMigrationTargetInstanceResponse> activateMigrationTargetInstance(ActivateMigrationTargetInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ActivateMigrationTargetInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ActivateMigrationTargetInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ActivateMigrationTargetInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>Each tag consists of a tag key and a tag value. The tag key is required, and the tag value is optional.</li>
* <li>The tag key and tag value cannot start with aliyun.</li>
* <li>The tag key and tag value are not case-sensitive.</li>
* <li>The maximum length of a tag key is 64 characters, and the maximum length of a tag value is 128 characters.</li>
* <li>A maximum of 10 tags can be added to each instance. Each tag that is added to the same instance must have a unique tag key. If you add a new tag to the instance and the key of the new tag is the same as that of an existing tag, the new tag overwrites the existing tag.</li>
* </ul>
*
* @param request the request parameters of AddTagsToResource AddTagsToResourceRequest
* @return AddTagsToResourceResponse
*/
@Override
public CompletableFuture<AddTagsToResourceResponse> addTagsToResource(AddTagsToResourceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddTagsToResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddTagsToResourceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddTagsToResourceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/26128.html">Apply for a public endpoint for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97738.html">Apply for a public endpoint for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97736.html">Apply for a public endpoint for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97740.html">Apply for a public endpoint for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of AllocateInstancePublicConnection AllocateInstancePublicConnectionRequest
* @return AllocateInstancePublicConnectionResponse
*/
@Override
public CompletableFuture<AllocateInstancePublicConnectionResponse> allocateInstancePublicConnection(AllocateInstancePublicConnectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AllocateInstancePublicConnection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AllocateInstancePublicConnectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AllocateInstancePublicConnectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>If read-only instances are attached to a primary ApsaraDB RDS for SQL Server instance, you can call this operation to apply for a unified read-only routing endpoint for the primary instance. After you apply for a read-only routing endpoint for a primary instance, the existing endpoints of the primary instance and its read-only instances remain valid. In addition, you can still apply for internal and public endpoints.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The instance is in the Running state.</li>
* <li>Read-only instances are attached to the primary instance.</li>
* <li>The instance does not have an ongoing Data Transmission Service (DTS) migration task.</li>
* <li>The instance runs one of the following database versions and RDS editions:<ul>
* <li>SQL Server on RDS Cluster Edition</li>
* <li>MySQL 5.7 on RDS High-availability Edition (with local disks)</li>
* <li>MySQL 5.6</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of AllocateReadWriteSplittingConnection AllocateReadWriteSplittingConnectionRequest
* @return AllocateReadWriteSplittingConnectionResponse
*/
@Override
public CompletableFuture<AllocateReadWriteSplittingConnectionResponse> allocateReadWriteSplittingConnection(AllocateReadWriteSplittingConnectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AllocateReadWriteSplittingConnection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AllocateReadWriteSplittingConnectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AllocateReadWriteSplittingConnectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
* <h3><a href="#"></a>Precautions</h3>
* <p>If the RDS Custom instance uses a public IP address, the public IP address is automatically released after you associate an EIP with the instance.</p>
*
* @param request the request parameters of AssociateEipAddressWithRCInstance AssociateEipAddressWithRCInstanceRequest
* @return AssociateEipAddressWithRCInstanceResponse
*/
@Override
public CompletableFuture<AssociateEipAddressWithRCInstanceResponse> associateEipAddressWithRCInstance(AssociateEipAddressWithRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AssociateEipAddressWithRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AssociateEipAddressWithRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AssociateEipAddressWithRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of AttachRCDisk AttachRCDiskRequest
* @return AttachRCDiskResponse
*/
@Override
public CompletableFuture<AttachRCDiskResponse> attachRCDisk(AttachRCDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AttachRCDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AttachRCDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AttachRCDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of AttachRCInstances AttachRCInstancesRequest
* @return AttachRCInstancesResponse
*/
@Override
public CompletableFuture<AttachRCInstancesResponse> attachRCInstances(AttachRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AttachRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AttachRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AttachRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of AttachWhitelistTemplateToInstance AttachWhitelistTemplateToInstanceRequest
* @return AttachWhitelistTemplateToInstanceResponse
*/
@Override
public CompletableFuture<AttachWhitelistTemplateToInstanceResponse> attachWhitelistTemplateToInstance(AttachWhitelistTemplateToInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AttachWhitelistTemplateToInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AttachWhitelistTemplateToInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AttachWhitelistTemplateToInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of AuthorizeRCSecurityGroupPermission AuthorizeRCSecurityGroupPermissionRequest
* @return AuthorizeRCSecurityGroupPermissionResponse
*/
@Override
public CompletableFuture<AuthorizeRCSecurityGroupPermissionResponse> authorizeRCSecurityGroupPermission(AuthorizeRCSecurityGroupPermissionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AuthorizeRCSecurityGroupPermission").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AuthorizeRCSecurityGroupPermissionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AuthorizeRCSecurityGroupPermissionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>When the <a href="https://help.aliyun.com/document_detail/51073.html">read/write splitting</a> feature is enabled, this operation is used to calculate system-assigned read weights. For more information about custom read weights, see <a href="https://help.aliyun.com/document_detail/610423.html">DescribeDBInstanceNetInfo</a>.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>If the instance runs MySQL, the instance uses a shared proxy.</li>
* <li>The instance runs one of the following MySQL versions and RDS editions:<ul>
* <li>MySQL 5.7 on RDS High-availability Edition (with local disks)</li>
* <li>MySQL 5.6</li>
* <li>SQL Server on RDS Cluster Edition</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of CalculateDBInstanceWeight CalculateDBInstanceWeightRequest
* @return CalculateDBInstanceWeightResponse
*/
@Override
public CompletableFuture<CalculateDBInstanceWeightResponse> calculateDBInstanceWeight(CalculateDBInstanceWeightRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CalculateDBInstanceWeight").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CalculateDBInstanceWeightResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CalculateDBInstanceWeightResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/104183.html">Scheduled events for ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104452.html">Scheduled events for ApsaraDB RDS for PostgreSQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104451.html">Scheduled events for ApsaraDB RDS for SQL Server instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104454.html">Scheduled events for ApsaraDB RDS for MariaDB instances</a></li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Tasks cannot be canceled in the following situations:</p>
* <ul>
* <li>The allowCancel parameter is set to 0.</li>
* <li>The current time is later than the task start time.</li>
* <li>The status of the task is not set to 3. The value 3 specifies that the task is waiting to be executed.</li>
* </ul>
*
* @param request the request parameters of CancelActiveOperationTasks CancelActiveOperationTasksRequest
* @return CancelActiveOperationTasksResponse
*/
@Override
public CompletableFuture<CancelActiveOperationTasksResponse> cancelActiveOperationTasks(CancelActiveOperationTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CancelActiveOperationTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CancelActiveOperationTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CancelActiveOperationTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of CheckAccountNameAvailable CheckAccountNameAvailableRequest
* @return CheckAccountNameAvailableResponse
*/
@Override
public CompletableFuture<CheckAccountNameAvailableResponse> checkAccountNameAvailable(CheckAccountNameAvailableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CheckAccountNameAvailable").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckAccountNameAvailableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CheckAccountNameAvailableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of CheckCloudResourceAuthorized CheckCloudResourceAuthorizedRequest
* @return CheckCloudResourceAuthorizedResponse
*/
@Override
public CompletableFuture<CheckCloudResourceAuthorizedResponse> checkCloudResourceAuthorized(CheckCloudResourceAuthorizedRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CheckCloudResourceAuthorized").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckCloudResourceAuthorizedResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CheckCloudResourceAuthorizedResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server<blockquote>
* <p> If your ApsaraDB RDS for PostgreSQL instance uses the new architecture and is created after October 10, 2022, this feature is not supported for the RDS instance. For more information, see <a href="~~452313~~">[Notice] SLR authorization is required to create an ApsaraDB RDS for PostgreSQL instance from October 10, 2022</a>.</p>
* </blockquote>
* </li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a> and <a href="https://help.aliyun.com/document_detail/120875.html">Restore the data of an ApsaraDB RDS for MySQL instance across regions</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature of an ApsaraDB RDS for PostgreSQL instance</a> and <a href="https://help.aliyun.com/document_detail/206662.html">Restore the data of an ApsaraDB RDS for PostgreSQL across regions</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature of an ApsaraDB RDS for SQL Server instance</a> and <a href="https://help.aliyun.com/document_detail/187924.html">Restore the data of an ApsaraDB RDS for SQL Server across regions</a></li>
* </ul>
*
* @param request the request parameters of CheckCreateDdrDBInstance CheckCreateDdrDBInstanceRequest
* @return CheckCreateDdrDBInstanceResponse
*/
@Override
public CompletableFuture<CheckCreateDdrDBInstanceResponse> checkCreateDdrDBInstance(CheckCreateDdrDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CheckCreateDdrDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckCreateDdrDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CheckCreateDdrDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of CheckDBNameAvailable CheckDBNameAvailableRequest
* @return CheckDBNameAvailableResponse
*/
@Override
public CompletableFuture<CheckDBNameAvailableResponse> checkDBNameAvailable(CheckDBNameAvailableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CheckDBNameAvailable").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckDBNameAvailableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CheckDBNameAvailableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CheckInstanceExist CheckInstanceExistRequest
* @return CheckInstanceExistResponse
*/
@Override
public CompletableFuture<CheckInstanceExistResponse> checkInstanceExist(CheckInstanceExistRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CheckInstanceExist").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckInstanceExistResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CheckInstanceExistResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of CheckServiceLinkedRole CheckServiceLinkedRoleRequest
* @return CheckServiceLinkedRoleResponse
*/
@Override
public CompletableFuture<CheckServiceLinkedRoleResponse> checkServiceLinkedRole(CheckServiceLinkedRoleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CheckServiceLinkedRole").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckServiceLinkedRoleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CheckServiceLinkedRoleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96147.html">Restore data of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96776.html">Restore data of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95722.html">Restore data of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97151.html">Restore data of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CloneDBInstance CloneDBInstanceRequest
* @return CloneDBInstanceResponse
*/
@Override
public CompletableFuture<CloneDBInstanceResponse> cloneDBInstance(CloneDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CloneDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CloneDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CloneDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of CloneParameterGroup CloneParameterGroupRequest
* @return CloneParameterGroupResponse
*/
@Override
public CompletableFuture<CloneParameterGroupResponse> cloneParameterGroup(CloneParameterGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CloneParameterGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CloneParameterGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CloneParameterGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>After you call the <a href="https://help.aliyun.com/document_detail/610443.html">QueryNotify</a> operation to query notifications for an instance, you can call this operation to mark the notifications as confirmed.</p>
*
* @param request the request parameters of ConfirmNotify ConfirmNotifyRequest
* @return ConfirmNotifyResponse
*/
@Override
public CompletableFuture<ConfirmNotifyResponse> confirmNotify(ConfirmNotifyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ConfirmNotify").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ConfirmNotifyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ConfirmNotifyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>This operation is phased out.</p>
*
* @param request the request parameters of CopyDatabase CopyDatabaseRequest
* @return CopyDatabaseResponse
*/
@Override
public CompletableFuture<CopyDatabaseResponse> copyDatabase(CopyDatabaseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CopyDatabase").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CopyDatabaseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CopyDatabaseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS SQL Server</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/95702.html">Replicate databases between ApsaraDB RDS for SQL Server instances</a></p>
* </blockquote>
*
* @param request the request parameters of CopyDatabaseBetweenInstances CopyDatabaseBetweenInstancesRequest
* @return CopyDatabaseBetweenInstancesResponse
*/
@Override
public CompletableFuture<CopyDatabaseBetweenInstancesResponse> copyDatabaseBetweenInstances(CopyDatabaseBetweenInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CopyDatabaseBetweenInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CopyDatabaseBetweenInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CopyDatabaseBetweenInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96089.html">Create an account on an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96753.html">Create an account on an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95810.html">Create an account on an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97132.html">Create an account on an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateAccount CreateAccountRequest
* @return CreateAccountResponse
*/
@Override
public CompletableFuture<CreateAccountResponse> createAccount(CreateAccountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateAccount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateAccountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateAccountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>This operation uses the backup feature of ApsaraDB RDS to create a backup set. You can also call an operation of Database Backup (DBS) to create a backup set. For more information, see <a href="https://help.aliyun.com/document_detail/2402073.html">List of operations by function</a>.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The instance is in the Running state.</li>
* <li>The instance does not have ongoing backup tasks.</li>
* <li>The number of backup sets that can be created for an instance per day cannot exceed 20.</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/378074.html">Use the data backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96772.html">Use the data backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95717.html">Use the data backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97147.html">Use the data backup feature for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateBackup CreateBackupRequest
* @return CreateBackupResponse
*/
@Override
public CompletableFuture<CreateBackupResponse> createBackup(CreateBackupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateBackup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateBackupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateBackupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/365562.html">Use the cloud migration feature</a></p>
* </blockquote>
*
* @param request the request parameters of CreateCloudMigrationPrecheckTask CreateCloudMigrationPrecheckTaskRequest
* @return CreateCloudMigrationPrecheckTaskResponse
*/
@Override
public CompletableFuture<CreateCloudMigrationPrecheckTaskResponse> createCloudMigrationPrecheckTask(CreateCloudMigrationPrecheckTaskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateCloudMigrationPrecheckTask").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateCloudMigrationPrecheckTaskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateCloudMigrationPrecheckTaskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/365562.html">Use the cloud migration feature</a></p>
* </blockquote>
*
* @param request the request parameters of CreateCloudMigrationTask CreateCloudMigrationTaskRequest
* @return CreateCloudMigrationTaskResponse
*/
@Override
public CompletableFuture<CreateCloudMigrationTaskResponse> createCloudMigrationTask(CreateCloudMigrationTaskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateCloudMigrationTask").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateCloudMigrationTaskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateCloudMigrationTaskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the related topics. If an error message appears when you call this operation, you can search for the error message to view the cause of the error.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/148036.html">Create an ApsaraDB RDS for MySQL instance</a>.</li>
* <li><a href="https://help.aliyun.com/document_detail/412231.html">Create a serverless ApsaraDB RDS for MySQL instance</a>.</li>
* <li><a href="https://help.aliyun.com/document_detail/148038.html">Create an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/607753.html">Create a serverless ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/428615.html">Create an ApsaraDB RDS for PostgreSQL instance for which Babelfish is enabled</a></li>
* <li><a href="https://help.aliyun.com/document_detail/148037.html">Create an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/603465.html">Create a serverless ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/148040.html">Create an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDBInstance CreateDBInstanceRequest
* @return CreateDBInstanceResponse
*/
@Override
public CompletableFuture<CreateDBInstanceResponse> createDBInstance(CreateDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/464132.html">Create a read-only endpoint for a cluster</a></p>
* </blockquote>
*
* @param request the request parameters of CreateDBInstanceEndpoint CreateDBInstanceEndpointRequest
* @return CreateDBInstanceEndpointResponse
*/
@Override
public CompletableFuture<CreateDBInstanceEndpointResponse> createDBInstanceEndpoint(CreateDBInstanceEndpointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBInstanceEndpoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBInstanceEndpointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBInstanceEndpointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>You can create a public endpoint of an endpoint type only when no public endpoint is created for this endpoint type.</li>
* <li>The node weights and other configurations are the same as those of the internal endpoint of this endpoint type. Each type of endpoint can contain an internal endpoint and a public endpoint.</li>
* </ul>
*
* @param request the request parameters of CreateDBInstanceEndpointAddress CreateDBInstanceEndpointAddressRequest
* @return CreateDBInstanceEndpointAddressResponse
*/
@Override
public CompletableFuture<CreateDBInstanceEndpointAddressResponse> createDBInstanceEndpointAddress(CreateDBInstanceEndpointAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBInstanceEndpointAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBInstanceEndpointAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBInstanceEndpointAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>: Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96065.html">Manage ApsaraDB RDS for MySQL instances in the recycle bin</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96752.html">Manage ApsaraDB RDS for PostgreSQL instances in the recycle bin</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95669.html">Manage ApsaraDB RDS for SQL Server instances in the recycle bin</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97131.html">Manage ApsaraDB RDS for MariaDB instances in the recycle bin</a></li>
* </ul>
*
* @param request the request parameters of CreateDBInstanceForRebuild CreateDBInstanceForRebuildRequest
* @return CreateDBInstanceForRebuildResponse
*/
@Override
public CompletableFuture<CreateDBInstanceForRebuildResponse> createDBInstanceForRebuild(CreateDBInstanceForRebuildRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBInstanceForRebuild").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBInstanceForRebuildResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBInstanceForRebuildResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of CreateDBInstanceSecurityGroupRule CreateDBInstanceSecurityGroupRuleRequest
* @return CreateDBInstanceSecurityGroupRuleResponse
*/
@Override
public CompletableFuture<CreateDBInstanceSecurityGroupRuleResponse> createDBInstanceSecurityGroupRule(CreateDBInstanceSecurityGroupRuleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBInstanceSecurityGroupRule").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBInstanceSecurityGroupRuleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBInstanceSecurityGroupRuleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>MySQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/464129.html">Add a node to an ApsaraDB RDS for MySQL cluster</a></p>
* </blockquote>
*
* @param request the request parameters of CreateDBNodes CreateDBNodesRequest
* @return CreateDBNodesResponse
*/
@Override
public CompletableFuture<CreateDBNodesResponse> createDBNodes(CreateDBNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/184921.html">Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418274.html">Configure the dedicated proxy endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDBProxyEndpointAddress CreateDBProxyEndpointAddressRequest
* @return CreateDBProxyEndpointAddressResponse
*/
@Override
public CompletableFuture<CreateDBProxyEndpointAddressResponse> createDBProxyEndpointAddress(CreateDBProxyEndpointAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDBProxyEndpointAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDBProxyEndpointAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDBProxyEndpointAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96105.html">Create a database in an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96758.html">Create a database in an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95698.html">Create a database in an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97136.html">Create a database in an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDatabase CreateDatabaseRequest
* @return CreateDatabaseResponse
*/
@Override
public CompletableFuture<CreateDatabaseResponse> createDatabase(CreateDatabaseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDatabase").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDatabaseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDatabaseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> Before restoration, you can call the CheckCreateDdrDBInstance operation to check whether a cross-region backup set can be used for cross-region restoration.</p>
* </blockquote>
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of CreateDdrInstance CreateDdrInstanceRequest
* @return CreateDdrInstanceResponse
*/
@Override
public CompletableFuture<CreateDdrInstanceResponse> createDdrInstance(CreateDdrInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDdrInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDdrInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDdrInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> This operation is no longer maintained. You can call the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
* After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report.</p>
* </blockquote>
*
* @param request the request parameters of CreateDiagnosticReport CreateDiagnosticReportRequest
* @return CreateDiagnosticReportResponse
*/
@Override
public CompletableFuture<CreateDiagnosticReportResponse> createDiagnosticReport(CreateDiagnosticReportRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDiagnosticReport").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDiagnosticReportResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDiagnosticReportResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of CreateGADInstance CreateGADInstanceRequest
* @return CreateGADInstanceResponse
*/
@Override
public CompletableFuture<CreateGADInstanceResponse> createGADInstance(CreateGADInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateGADInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateGADInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateGADInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/331851.html">Add or remove unit nodes</a></p>
* </blockquote>
*
* @param request the request parameters of CreateGadInstanceMember CreateGadInstanceMemberRequest
* @return CreateGadInstanceMemberResponse
*/
@Override
public CompletableFuture<CreateGadInstanceMemberResponse> createGadInstanceMember(CreateGadInstanceMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateGadInstanceMember").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateGadInstanceMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateGadInstanceMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateMaskingRules CreateMaskingRulesRequest
* @return CreateMaskingRulesResponse
*/
@Override
public CompletableFuture<CreateMaskingRulesResponse> createMaskingRules(CreateMaskingRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateMaskingRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateMaskingRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateMaskingRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>Limits</h3>
* <p>Data migration across Alibaba Cloud accounts is not supported. For example, backup files in an Object Storage Service (OSS) bucket within Alibaba Cloud Account A cannot be migrated to an ApsaraDB RDS for SQL Server instance within Alibaba Cloud Account B.</p>
* <blockquote>
* <p> You can migrate backup files from an OSS bucket within Alibaba Cloud Account A to an OSS bucket within Alibaba Cloud Account B. Make sure that the data in the OSS bucket and the RDS instance belong to the same Alibaba Cloud account. Then, you can call this operation to create a migration task. For more information, see <a href="https://help.aliyun.com/document_detail/342762.html">Use Data Online Migration to migrate data between accounts</a>.</p>
* </blockquote>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following topic. Make sure that you fully understand the prerequisites, preparations, and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/100019.html">Migrate data from a self-managed SQL Server instance to an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of CreateMigrateTask CreateMigrateTaskRequest
* @return CreateMigrateTaskResponse
*/
@Override
public CompletableFuture<CreateMigrateTaskResponse> createMigrateTask(CreateMigrateTaskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateMigrateTask").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateMigrateTaskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateMigrateTaskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* This operation is used to migrate backup data to the cloud. Before you call this operation, make sure that you understand the descriptions in the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/95737.html">Migrate the full backup data of a self-managed SQL Server database to an ApsaraDB RDS instance that runs SQL Server 2008 R2</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95738.html">Migrate full backup data of SQL Server 2012, 2014, 2016, 2017, or 2019 databases</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95736.html">Migrate incremental backup data to ApsaraDB RDS for SQL Server 2012, 2014, 2016, 2017, or 2019</a></li>
* </ul>
*
* @param request the request parameters of CreateOnlineDatabaseTask CreateOnlineDatabaseTaskRequest
* @return CreateOnlineDatabaseTaskResponse
*/
@Override
public CompletableFuture<CreateOnlineDatabaseTaskResponse> createOnlineDatabaseTask(CreateOnlineDatabaseTaskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateOnlineDatabaseTask").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateOnlineDatabaseTaskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateOnlineDatabaseTaskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/464130.html">Delete a node from an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition</a></p>
* </blockquote>
*
* @param request the request parameters of CreateOrderForDeleteDBNodes CreateOrderForDeleteDBNodesRequest
* @return CreateOrderForDeleteDBNodesResponse
*/
@Override
public CompletableFuture<CreateOrderForDeleteDBNodesResponse> createOrderForDeleteDBNodes(CreateOrderForDeleteDBNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateOrderForDeleteDBNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateOrderForDeleteDBNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateOrderForDeleteDBNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of CreateParameterGroup CreateParameterGroupRequest
* @return CreateParameterGroupResponse
*/
@Override
public CompletableFuture<CreateParameterGroupResponse> createParameterGroup(CreateParameterGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateParameterGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateParameterGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateParameterGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Install only the extensions that are supported by the major engine version of the instance. Otherwise, the installation fails.</p>
* <ul>
* <li>For more information, see <a href="https://help.aliyun.com/document_detail/142340.html">Supported extensions</a>.</li>
* <li>You can call an API operation to query the major engine version of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/610394.html">DescribeDBInstanceAttribute</a>.</li>
* </ul>
*
* @param request the request parameters of CreatePostgresExtensions CreatePostgresExtensionsRequest
* @return CreatePostgresExtensionsResponse
*/
@Override
public CompletableFuture<CreatePostgresExtensionsResponse> createPostgresExtensions(CreatePostgresExtensionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreatePostgresExtensions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreatePostgresExtensionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreatePostgresExtensionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateRCDeploymentSet CreateRCDeploymentSetRequest
* @return CreateRCDeploymentSetResponse
*/
@Override
public CompletableFuture<CreateRCDeploymentSetResponse> createRCDeploymentSet(CreateRCDeploymentSetRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateRCDeploymentSet").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateRCDeploymentSetResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateRCDeploymentSetResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> The disk can be an ultra disk, an Enterprise SSD (ESSD), an SSD, or a Premium ESSD. By default, Premium ESSD is used.</p>
* <ul>
* <li>When you set InstanceChargeType to <strong>Prepaid</strong>, the disk billing method is subscription. You must set <strong>InstanceId</strong> to the ID of a subscription instance. The expiration time of the disk must be the same as that of the instance to which the disk is attached.</li>
* <li>When you set <strong>InstanceChargeType</strong> to Postpaid, the disk billing method is pay-as-you-go. You do not need to attach the disk to an instance. You can also attach the pay-as-you-go disk to an instance of any billing method based on your business requirements.</li>
* <li>The type and number of disks that can be attached to an instance vary based on instance specifications.</li>
* </ul>
*
* @param request the request parameters of CreateRCDisk CreateRCDiskRequest
* @return CreateRCDiskResponse
*/
@Override
public CompletableFuture<CreateRCDiskResponse> createRCDisk(CreateRCDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateRCDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateRCDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateRCDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateRCNodePool CreateRCNodePoolRequest
* @return CreateRCNodePoolResponse
*/
@Override
public CompletableFuture<CreateRCNodePoolResponse> createRCNodePool(CreateRCNodePoolRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateRCNodePool").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateRCNodePoolResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateRCNodePoolResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>In the following scenarios, you cannot create snapshots for a specific disk:</p>
* <ul>
* <li>The number of manual snapshots of the disk has reached 256.</li>
* <li>A snapshot is being created for the disk.</li>
* <li>The instance to which the disk is attached has never been started.</li>
* <li>The instance to which the disk is attached is not in the <strong>Stopped</strong> or <strong>Running</strong> state.
* When you create a snapshot, take note of the following items:</li>
* <li>If a snapshot is being created, the snapshot cannot be used to create a custom image by calling the CreateImage operation.</li>
* <li>When a snapshot is being created for a disk that is attached to an RDS Custom instance, do not change the instance state.</li>
* <li>You can create snapshots for a disk that is in the <strong>Expired</strong> state. If the release time scheduled for a disk arrives when a snapshot is being created for the disk, the snapshot in the Creating state is deleted when the disk is released.</li>
* </ul>
*
* @param request the request parameters of CreateRCSnapshot CreateRCSnapshotRequest
* @return CreateRCSnapshotResponse
*/
@Override
public CompletableFuture<CreateRCSnapshotResponse> createRCSnapshot(CreateRCSnapshotRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateRCSnapshot").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateRCSnapshotResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateRCSnapshotResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/56991.html">Create a read-only ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/108959.html">Create a read-only ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/99005.html">Create a read-only ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of CreateReadOnlyDBInstance CreateReadOnlyDBInstanceRequest
* @return CreateReadOnlyDBInstanceResponse
*/
@Override
public CompletableFuture<CreateReadOnlyDBInstanceResponse> createReadOnlyDBInstance(CreateReadOnlyDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateReadOnlyDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateReadOnlyDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateReadOnlyDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* <li>SQL Server<blockquote>
* <p> The parameters vary based on database engines.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of CreateReplicationLink CreateReplicationLinkRequest
* @return CreateReplicationLinkResponse
*/
@Override
public CompletableFuture<CreateReplicationLinkResponse> createReplicationLink(CreateReplicationLinkRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateReplicationLink").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateReplicationLinkResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateReplicationLinkResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of CreateSecret CreateSecretRequest
* @return CreateSecretResponse
*/
@Override
public CompletableFuture<CreateSecretResponse> createSecret(CreateSecretRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateSecret").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSecretResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateSecretResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/342840.html">Service-linked roles</a></p>
* </blockquote>
*
* @param request the request parameters of CreateServiceLinkedRole CreateServiceLinkedRoleRequest
* @return CreateServiceLinkedRoleResponse
*/
@Override
public CompletableFuture<CreateServiceLinkedRoleResponse> createServiceLinkedRole(CreateServiceLinkedRoleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateServiceLinkedRole").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateServiceLinkedRoleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateServiceLinkedRoleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>Your RDS instance runs SQL Server 2008 R2 with local disks.</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/95724.html">Restore the data of an ApsaraDB RDS for SQL Server instance by using a temporary RDS instance</a></p>
* </blockquote>
*
* @param request the request parameters of CreateTempDBInstance CreateTempDBInstanceRequest
* @return CreateTempDBInstanceResponse
*/
@Override
public CompletableFuture<CreateTempDBInstanceResponse> createTempDBInstance(CreateTempDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateTempDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateTempDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateTempDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateYouhuiForOrder CreateYouhuiForOrderRequest
* @return CreateYouhuiForOrderResponse
*/
@Override
public CompletableFuture<CreateYouhuiForOrderResponse> createYouhuiForOrder(CreateYouhuiForOrderRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateYouhuiForOrder").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateYouhuiForOrderResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateYouhuiForOrderResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DeleteADSetting DeleteADSettingRequest
* @return DeleteADSettingResponse
*/
@Override
public CompletableFuture<DeleteADSettingResponse> deleteADSetting(DeleteADSettingRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteADSetting").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteADSettingResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteADSettingResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96104.html">Delete a database account from an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/147649.html">Delete a database account from an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95694.html">Delete a database account from an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97135.html">Delete a database account from an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteAccount DeleteAccountRequest
* @return DeleteAccountResponse
*/
@Override
public CompletableFuture<DeleteAccountResponse> deleteAccount(DeleteAccountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteAccount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteAccountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteAccountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p>Only instances that run RDS High-availability Edition are supported.</p>
* </blockquote>
* </li>
* </ul>
* <h3>Description</h3>
* <p>You can call this operation to delete backup sets of the instance itself. Backup sets of the associated instances such as read-only, disaster recovery, and cloned instances are not deleted.</p>
* <h3>Precautions</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The instance is in the Running state.</li>
* <li>If the log backup feature is disabled, instances cannot be restored by point in time. You can delete data backup sets that are retained for more than seven days.</li>
* <li>If the log backup feature is enabled and the log backup retention period is shorter than the data backup retention period, you can delete the data backup files that are retained for a period longer than the log backup retention period.</li>
* </ul>
*
* @param request the request parameters of DeleteBackup DeleteBackupRequest
* @return DeleteBackupResponse
*/
@Override
public CompletableFuture<DeleteBackupResponse> deleteBackup(DeleteBackupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteBackup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteBackupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteBackupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <blockquote>
* <p> **This operation is not supported for new users. **Select other methods to <a href="https://help.aliyun.com/document_detail/95718.html">reduce or save backup costs</a>. Users who are added to the whitelist can still use the backup file. Check the availability of the backup file before you delete it. After the backup file is deleted, you cannot retrieve it.</p>
* </blockquote>
*
* @param request the request parameters of DeleteBackupFile DeleteBackupFileRequest
* @return DeleteBackupFileResponse
*/
@Override
public CompletableFuture<DeleteBackupFileResponse> deleteBackupFile(DeleteBackupFileRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteBackupFile").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteBackupFileResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteBackupFileResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Note Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96057.html">Release an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96749.html">Release an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95662.html">Release an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97128.html">Release an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteDBInstance DeleteDBInstanceRequest
* @return DeleteDBInstanceResponse
*/
@Override
public CompletableFuture<DeleteDBInstanceResponse> deleteDBInstance(DeleteDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/464133.html">Delete the read-only endpoint of an ApsaraDB RDS for MySQL cluster</a></p>
* </blockquote>
*
* @param request the request parameters of DeleteDBInstanceEndpoint DeleteDBInstanceEndpointRequest
* @return DeleteDBInstanceEndpointResponse
*/
@Override
public CompletableFuture<DeleteDBInstanceEndpointResponse> deleteDBInstanceEndpoint(DeleteDBInstanceEndpointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDBInstanceEndpoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDBInstanceEndpointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDBInstanceEndpointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>Precautions</h3>
* <p>You can delete only the public endpoint of each endpoint type from the instance. If you want to delete an internal endpoint of any endpoint type, you can directly delete the type of endpoint.</p>
*
* @param request the request parameters of DeleteDBInstanceEndpointAddress DeleteDBInstanceEndpointAddressRequest
* @return DeleteDBInstanceEndpointAddressResponse
*/
@Override
public CompletableFuture<DeleteDBInstanceEndpointAddressResponse> deleteDBInstanceEndpointAddress(DeleteDBInstanceEndpointAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDBInstanceEndpointAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDBInstanceEndpointAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDBInstanceEndpointAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of DeleteDBInstanceSecurityGroupRule DeleteDBInstanceSecurityGroupRuleRequest
* @return DeleteDBInstanceSecurityGroupRuleResponse
*/
@Override
public CompletableFuture<DeleteDBInstanceSecurityGroupRuleResponse> deleteDBInstanceSecurityGroupRule(DeleteDBInstanceSecurityGroupRuleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDBInstanceSecurityGroupRule").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDBInstanceSecurityGroupRuleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDBInstanceSecurityGroupRuleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/464130.html">Delete a node from an ApsaraDB RDS for MySQL cluster</a></p>
* </blockquote>
*
* @param request the request parameters of DeleteDBNodes DeleteDBNodesRequest
* @return DeleteDBNodesResponse
*/
@Override
public CompletableFuture<DeleteDBNodesResponse> deleteDBNodes(DeleteDBNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDBNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDBNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDBNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/184921.html">Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418274.html">Configure the dedicated proxy endpoint for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteDBProxyEndpointAddress DeleteDBProxyEndpointAddressRequest
* @return DeleteDBProxyEndpointAddressResponse
*/
@Override
public CompletableFuture<DeleteDBProxyEndpointAddressResponse> deleteDBProxyEndpointAddress(DeleteDBProxyEndpointAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDBProxyEndpointAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDBProxyEndpointAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDBProxyEndpointAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96106.html">Delete a database from an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96759.html">Delete a database from an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95699.html">Delete a database from an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97137.html">Delete a database from an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DeleteDatabase DeleteDatabaseRequest
* @return DeleteDatabaseResponse
*/
@Override
public CompletableFuture<DeleteDatabaseResponse> deleteDatabase(DeleteDatabaseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDatabase").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDatabaseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDatabaseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <ul>
* <li>A global active database cluster cannot be restored after it is deleted. Proceed with caution.</li>
* <li>If you delete a global active database cluster, the system removes all nodes and Data Transmission Service (DTS) synchronization tasks from the cluster. However, the system does not release the ApsaraDB RDS for MySQL instances that run as nodes in the cluster. If you no longer need the ApsaraDB RDS for MySQL instances, you can call the <a href="https://help.aliyun.com/document_detail/26229.html">DeleteDBInstance</a> to release the instances one after another.</li>
* </ul>
*
* @param request the request parameters of DeleteGadInstance DeleteGadInstanceRequest
* @return DeleteGadInstanceResponse
*/
@Override
public CompletableFuture<DeleteGadInstanceResponse> deleteGadInstance(DeleteGadInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteGadInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteGadInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteGadInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteMaskingRules DeleteMaskingRulesRequest
* @return DeleteMaskingRulesResponse
*/
@Override
public CompletableFuture<DeleteMaskingRulesResponse> deleteMaskingRules(DeleteMaskingRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteMaskingRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteMaskingRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteMaskingRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of DeleteParameterGroup DeleteParameterGroupRequest
* @return DeleteParameterGroupResponse
*/
@Override
public CompletableFuture<DeleteParameterGroupResponse> deleteParameterGroup(DeleteParameterGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteParameterGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteParameterGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteParameterGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
*
* @param request the request parameters of DeletePostgresExtensions DeletePostgresExtensionsRequest
* @return DeletePostgresExtensionsResponse
*/
@Override
public CompletableFuture<DeletePostgresExtensionsResponse> deletePostgresExtensions(DeletePostgresExtensionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeletePostgresExtensions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeletePostgresExtensionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeletePostgresExtensionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteRCClusterNodes DeleteRCClusterNodesRequest
* @return DeleteRCClusterNodesResponse
*/
@Override
public CompletableFuture<DeleteRCClusterNodesResponse> deleteRCClusterNodes(DeleteRCClusterNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCClusterNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCClusterNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCClusterNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteRCDeploymentSet DeleteRCDeploymentSetRequest
* @return DeleteRCDeploymentSetResponse
*/
@Override
public CompletableFuture<DeleteRCDeploymentSetResponse> deleteRCDeploymentSet(DeleteRCDeploymentSetRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCDeploymentSet").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCDeploymentSetResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCDeploymentSetResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Before you call this operation, take note of the following items:</p>
* <ul>
* <li>Manual snapshots of the disk are retained.</li>
* <li>The disk must be in the Unattached (Available) state.</li>
* <li>If no disk with the specified disk ID exists, the request will be ignored.</li>
* </ul>
*
* @param request the request parameters of DeleteRCDisk DeleteRCDiskRequest
* @return DeleteRCDiskResponse
*/
@Override
public CompletableFuture<DeleteRCDiskResponse> deleteRCDisk(DeleteRCDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteRCInstance DeleteRCInstanceRequest
* @return DeleteRCInstanceResponse
*/
@Override
public CompletableFuture<DeleteRCInstanceResponse> deleteRCInstance(DeleteRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.</p>
*
* @param request the request parameters of DeleteRCInstances DeleteRCInstancesRequest
* @return DeleteRCInstancesResponse
*/
@Override
public CompletableFuture<DeleteRCInstancesResponse> deleteRCInstances(DeleteRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteRCNodePool DeleteRCNodePoolRequest
* @return DeleteRCNodePoolResponse
*/
@Override
public CompletableFuture<DeleteRCNodePoolResponse> deleteRCNodePool(DeleteRCNodePoolRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCNodePool").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCNodePoolResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCNodePoolResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Before you call this operation, take note of the following items:</p>
* <ul>
* <li>If the specified snapshot ID does not exist, the request will be ignored.</li>
* <li>If the snapshot is used to create custom images, the snapshot cannot be deleted. You must delete the created custom images before you can delete the snapshot.</li>
* <li>If the snapshot is used to create cloud disks and <code>Force</code> is not specified or is set to <code>false</code>, the snapshot cannot be directly deleted. If you want to delete the snapshot, set <code>Force</code> to true to forcefully delete the snapshot. The cloud disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.</li>
* </ul>
*
* @param request the request parameters of DeleteRCSnapshot DeleteRCSnapshotRequest
* @return DeleteRCSnapshotResponse
*/
@Override
public CompletableFuture<DeleteRCSnapshotResponse> deleteRCSnapshot(DeleteRCSnapshotRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRCSnapshot").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRCSnapshotResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRCSnapshotResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DeleteReplicationLink DeleteReplicationLinkRequest
* @return DeleteReplicationLinkResponse
*/
@Override
public CompletableFuture<DeleteReplicationLinkResponse> deleteReplicationLink(DeleteReplicationLinkRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteReplicationLink").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteReplicationLinkResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteReplicationLinkResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteSecret DeleteSecretRequest
* @return DeleteSecretResponse
*/
@Override
public CompletableFuture<DeleteSecretResponse> deleteSecret(DeleteSecretRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteSecret").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSecretResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteSecretResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>Precautions</h3>
* <p>You can delete a replication slot only when the status of the slot is <strong>INACTIVE</strong>. You can call the DescribeSlots operation to query the status of a replication slot.</p>
*
* @param request the request parameters of DeleteSlot DeleteSlotRequest
* @return DeleteSlotResponse
*/
@Override
public CompletableFuture<DeleteSlotResponse> deleteSlot(DeleteSlotRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteSlot").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSlotResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteSlotResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.</li>
* <li>This operation deletes full backup files only from the ApsaraDB RDS console. This operation does not affect the full backup files that are stored as objects in Object Storage Service (OSS) buckets. After you call this operation to delete a full backup file, you can call the ImportUserBackupFile operation to reimport the full backup file.</li>
* </ul>
*
* @param request the request parameters of DeleteUserBackupFile DeleteUserBackupFileRequest
* @return DeleteUserBackupFileResponse
*/
@Override
public CompletableFuture<DeleteUserBackupFileResponse> deleteUserBackupFile(DeleteUserBackupFileRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteUserBackupFile").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteUserBackupFileResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteUserBackupFileResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of DescibeImportsFromDatabase DescibeImportsFromDatabaseRequest
* @return DescibeImportsFromDatabaseResponse
*/
@Override
public CompletableFuture<DescibeImportsFromDatabaseResponse> descibeImportsFromDatabase(DescibeImportsFromDatabaseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescibeImportsFromDatabase").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescibeImportsFromDatabaseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescibeImportsFromDatabaseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeADInfo DescribeADInfoRequest
* @return DescribeADInfoResponse
*/
@Override
public CompletableFuture<DescribeADInfoResponse> describeADInfo(DescribeADInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeADInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeADInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeADInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeAccountMaskingPrivilege DescribeAccountMaskingPrivilegeRequest
* @return DescribeAccountMaskingPrivilegeResponse
*/
@Override
public CompletableFuture<DescribeAccountMaskingPrivilegeResponse> describeAccountMaskingPrivilege(DescribeAccountMaskingPrivilegeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAccountMaskingPrivilege").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAccountMaskingPrivilegeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAccountMaskingPrivilegeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeAccounts DescribeAccountsRequest
* @return DescribeAccountsResponse
*/
@Override
public CompletableFuture<DescribeAccountsResponse> describeAccounts(DescribeAccountsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAccounts").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAccountsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAccountsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeActionEventPolicy DescribeActionEventPolicyRequest
* @return DescribeActionEventPolicyResponse
*/
@Override
public CompletableFuture<DescribeActionEventPolicyResponse> describeActionEventPolicy(DescribeActionEventPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeActionEventPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeActionEventPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeActionEventPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeActiveOperationTasks DescribeActiveOperationTasksRequest
* @return DescribeActiveOperationTasksResponse
*/
@Override
public CompletableFuture<DescribeActiveOperationTasksResponse> describeActiveOperationTasks(DescribeActiveOperationTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeActiveOperationTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeActiveOperationTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeActiveOperationTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeAllWhitelistTemplate DescribeAllWhitelistTemplateRequest
* @return DescribeAllWhitelistTemplateResponse
*/
@Override
public CompletableFuture<DescribeAllWhitelistTemplateResponse> describeAllWhitelistTemplate(DescribeAllWhitelistTemplateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAllWhitelistTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAllWhitelistTemplateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAllWhitelistTemplateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/155180.html">Create and view an analytic instance</a></p>
*
* @param request the request parameters of DescribeAnalyticdbByPrimaryDBInstance DescribeAnalyticdbByPrimaryDBInstanceRequest
* @return DescribeAnalyticdbByPrimaryDBInstanceResponse
*/
@Override
public CompletableFuture<DescribeAnalyticdbByPrimaryDBInstanceResponse> describeAnalyticdbByPrimaryDBInstance(DescribeAnalyticdbByPrimaryDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAnalyticdbByPrimaryDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAnalyticdbByPrimaryDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAnalyticdbByPrimaryDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeAvailableClasses DescribeAvailableClassesRequest
* @return DescribeAvailableClassesResponse
*/
@Override
public CompletableFuture<DescribeAvailableClassesResponse> describeAvailableClasses(DescribeAvailableClassesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAvailableClasses").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAvailableClassesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAvailableClassesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeAvailableCrossRegion DescribeAvailableCrossRegionRequest
* @return DescribeAvailableCrossRegionResponse
*/
@Override
public CompletableFuture<DescribeAvailableCrossRegionResponse> describeAvailableCrossRegion(DescribeAvailableCrossRegionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAvailableCrossRegion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAvailableCrossRegionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAvailableCrossRegionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/299200.html">View the Enhanced Monitoring metrics</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeAvailableMetrics DescribeAvailableMetricsRequest
* @return DescribeAvailableMetricsResponse
*/
@Override
public CompletableFuture<DescribeAvailableMetricsResponse> describeAvailableMetrics(DescribeAvailableMetricsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAvailableMetrics").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAvailableMetricsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAvailableMetricsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> To view the time range within which you can restore data from a standard backup set, see DescribeBackups.</p>
* </blockquote>
* <h3><a href="#"></a>Supported database engines</h3>
* <p>ApsaraDB RDS for MySQL instances with local disks</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeAvailableRecoveryTime DescribeAvailableRecoveryTimeRequest
* @return DescribeAvailableRecoveryTimeResponse
*/
@Override
public CompletableFuture<DescribeAvailableRecoveryTimeResponse> describeAvailableRecoveryTime(DescribeAvailableRecoveryTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAvailableRecoveryTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAvailableRecoveryTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAvailableRecoveryTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB<blockquote>
* <p>You can call this operation to query the available zones for an instance. The query result may be different from the zones available on the buy page of the ApsaraDB RDS console. The values of some parameters on the buy page vary based on the actual sales policy. The actual information on the <a href="https://rdsbuy.console.aliyun.com/create/rds/PostgreSQL">buy page</a> prevails.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of DescribeAvailableZones DescribeAvailableZonesRequest
* @return DescribeAvailableZonesResponse
*/
@Override
public CompletableFuture<DescribeAvailableZonesResponse> describeAvailableZones(DescribeAvailableZonesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAvailableZones").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAvailableZonesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAvailableZonesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p>This operation is phased out.</p>
* </blockquote>
*
* @param request the request parameters of DescribeBackupDatabase DescribeBackupDatabaseRequest
* @return DescribeBackupDatabaseResponse
*/
@Override
public CompletableFuture<DescribeBackupDatabaseResponse> describeBackupDatabase(DescribeBackupDatabaseRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeBackupDatabase").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeBackupDatabaseResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeBackupDatabaseResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeBackupPolicy DescribeBackupPolicyRequest
* @return DescribeBackupPolicyResponse
*/
@Override
public CompletableFuture<DescribeBackupPolicyResponse> describeBackupPolicy(DescribeBackupPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeBackupPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeBackupPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeBackupPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeBackupTasks DescribeBackupTasksRequest
* @return DescribeBackupTasksResponse
*/
@Override
public CompletableFuture<DescribeBackupTasksResponse> describeBackupTasks(DescribeBackupTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeBackupTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeBackupTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeBackupTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeBackups DescribeBackupsRequest
* @return DescribeBackupsResponse
*/
@Override
public CompletableFuture<DescribeBackupsResponse> describeBackups(DescribeBackupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeBackups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeBackupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeBackupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>MariaDB</li>
* </ul>
* <h3>Usage notes</h3>
* <ul>
* <li>If the return value of the <strong>DownloadLink</strong> parameter is NULL, ApsaraDB RDS does not provide a download URL.</li>
* <li>If the return value of the <strong>DownloadLink</strong> parameter is not NULL, ApsaraDB RDS provides a URL for you to download backup files. The expiration time of the URL is specified by the <strong>LinkExpiredTime</strong> parameter. You must download the backup files before the expiration time.</li>
* <li>If you use a RAM user to download backup files, you must grant permissions to the RAM user. For more information, see <a href="https://help.aliyun.com/document_detail/100043.html">Grant backup file download permissions to a RAM user with read-only permissions</a>.</li>
* <li>Each log file that is returned by this operation contains the log entries that are generated over the time range that is specified by the StartTime and EndTime parameters.</li>
* </ul>
*
* @param request the request parameters of DescribeBinlogFiles DescribeBinlogFilesRequest
* @return DescribeBinlogFilesResponse
*/
@Override
public CompletableFuture<DescribeBinlogFilesResponse> describeBinlogFiles(DescribeBinlogFilesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeBinlogFiles").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeBinlogFilesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeBinlogFilesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeCharacterSetName DescribeCharacterSetNameRequest
* @return DescribeCharacterSetNameResponse
*/
@Override
public CompletableFuture<DescribeCharacterSetNameResponse> describeCharacterSetName(DescribeCharacterSetNameRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCharacterSetName").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCharacterSetNameResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCharacterSetNameResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeClassDetails DescribeClassDetailsRequest
* @return DescribeClassDetailsResponse
*/
@Override
public CompletableFuture<DescribeClassDetailsResponse> describeClassDetails(DescribeClassDetailsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeClassDetails").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeClassDetailsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeClassDetailsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeCloudMigrationPrecheckResult DescribeCloudMigrationPrecheckResultRequest
* @return DescribeCloudMigrationPrecheckResultResponse
*/
@Override
public CompletableFuture<DescribeCloudMigrationPrecheckResultResponse> describeCloudMigrationPrecheckResult(DescribeCloudMigrationPrecheckResultRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCloudMigrationPrecheckResult").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCloudMigrationPrecheckResultResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCloudMigrationPrecheckResultResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeCloudMigrationResult DescribeCloudMigrationResultRequest
* @return DescribeCloudMigrationResultResponse
*/
@Override
public CompletableFuture<DescribeCloudMigrationResultResponse> describeCloudMigrationResult(DescribeCloudMigrationResultRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCloudMigrationResult").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCloudMigrationResultResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCloudMigrationResultResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of DescribeCollationTimeZones DescribeCollationTimeZonesRequest
* @return DescribeCollationTimeZonesResponse
*/
@Override
public CompletableFuture<DescribeCollationTimeZonesResponse> describeCollationTimeZones(DescribeCollationTimeZonesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCollationTimeZones").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCollationTimeZonesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCollationTimeZonesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>RDS PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2928780.html">Assured serverless</a></p>
*
* @param request the request parameters of DescribeComputeBurstConfig DescribeComputeBurstConfigRequest
* @return DescribeComputeBurstConfigResponse
*/
@Override
public CompletableFuture<DescribeComputeBurstConfigResponse> describeComputeBurstConfig(DescribeComputeBurstConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeComputeBurstConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeComputeBurstConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeComputeBurstConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>ApsaraDB RDS for MySQL instances support cross-region backup and restoration. For more information, see <a href="https://help.aliyun.com/document_detail/120824.html">Back up an ApsaraDB RDS for MySQL instance across regions</a> and <a href="https://help.aliyun.com/document_detail/120875.html">Restore the data of an ApsaraDB RDS for MySQL instance across regions</a>.
* Before you call this operation, make sure that the instance runs one of the following database engines:</p>
* <ul>
* <li>MySQL. For more information, see <a href="https://help.aliyun.com/document_detail/120824.html">Back up an ApsaraDB RDS for MySQL instance across regions</a>.</li>
* <li>SQL Server. For more information, see <a href="https://help.aliyun.com/document_detail/187923.html">Back up an ApsaraDB RDS for SQL Server instance across regions</a>.</li>
* <li>PostgreSQL. For more information, see <a href="https://help.aliyun.com/document_detail/206671.html">Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeCrossBackupMetaList DescribeCrossBackupMetaListRequest
* @return DescribeCrossBackupMetaListResponse
*/
@Override
public CompletableFuture<DescribeCrossBackupMetaListResponse> describeCrossBackupMetaList(DescribeCrossBackupMetaListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCrossBackupMetaList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCrossBackupMetaListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCrossBackupMetaListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeCrossRegionBackupDBInstance DescribeCrossRegionBackupDBInstanceRequest
* @return DescribeCrossRegionBackupDBInstanceResponse
*/
@Override
public CompletableFuture<DescribeCrossRegionBackupDBInstanceResponse> describeCrossRegionBackupDBInstance(DescribeCrossRegionBackupDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCrossRegionBackupDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCrossRegionBackupDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCrossRegionBackupDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>ApsaraDB RDS for MySQL instances with local disks</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a><blockquote>
* <p> For more information about how to query cross-region log backup files, see DescribeCrossRegionLogBackupFiles.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of DescribeCrossRegionBackups DescribeCrossRegionBackupsRequest
* @return DescribeCrossRegionBackupsResponse
*/
@Override
public CompletableFuture<DescribeCrossRegionBackupsResponse> describeCrossRegionBackups(DescribeCrossRegionBackupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCrossRegionBackups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCrossRegionBackupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCrossRegionBackupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a><blockquote>
* <p> For more information about how to query cross-region data backup files, see <a href="https://help.aliyun.com/document_detail/121733.html">DescribeCrossRegionBackups</a>.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of DescribeCrossRegionLogBackupFiles DescribeCrossRegionLogBackupFilesRequest
* @return DescribeCrossRegionLogBackupFilesResponse
*/
@Override
public CompletableFuture<DescribeCrossRegionLogBackupFilesResponse> describeCrossRegionLogBackupFiles(DescribeCrossRegionLogBackupFilesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCrossRegionLogBackupFiles").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCrossRegionLogBackupFilesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCrossRegionLogBackupFilesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeCurrentModifyOrder DescribeCurrentModifyOrderRequest
* @return DescribeCurrentModifyOrderResponse
*/
@Override
public CompletableFuture<DescribeCurrentModifyOrderResponse> describeCurrentModifyOrder(DescribeCurrentModifyOrderRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCurrentModifyOrder").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCurrentModifyOrderResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCurrentModifyOrderResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeCustinsResourceInfo DescribeCustinsResourceInfoRequest
* @return DescribeCustinsResourceInfoResponse
*/
@Override
public CompletableFuture<DescribeCustinsResourceInfoResponse> describeCustinsResourceInfo(DescribeCustinsResourceInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCustinsResourceInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCustinsResourceInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCustinsResourceInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceAttribute DescribeDBInstanceAttributeRequest
* @return DescribeDBInstanceAttributeResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceAttributeResponse> describeDBInstanceAttribute(DescribeDBInstanceAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceByTags DescribeDBInstanceByTagsRequest
* @return DescribeDBInstanceByTagsResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceByTagsResponse> describeDBInstanceByTags(DescribeDBInstanceByTagsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceByTags").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceByTagsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceByTagsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeDBInstanceConnectivity DescribeDBInstanceConnectivityRequest
* @return DescribeDBInstanceConnectivityResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceConnectivityResponse> describeDBInstanceConnectivity(DescribeDBInstanceConnectivityRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceConnectivity").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceConnectivityResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceConnectivityResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>This operation is phased out.</p>
*
* @param request the request parameters of DescribeDBInstanceDetail DescribeDBInstanceDetailRequest
* @return DescribeDBInstanceDetailResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceDetailResponse> describeDBInstanceDetail(DescribeDBInstanceDetailRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceDetail").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceDetailResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceDetailResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeDBInstanceEncryptionKey DescribeDBInstanceEncryptionKeyRequest
* @return DescribeDBInstanceEncryptionKeyResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceEncryptionKeyResponse> describeDBInstanceEncryptionKey(DescribeDBInstanceEncryptionKeyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceEncryptionKey").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceEncryptionKeyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceEncryptionKeyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
*
* @param request the request parameters of DescribeDBInstanceEndpoints DescribeDBInstanceEndpointsRequest
* @return DescribeDBInstanceEndpointsResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceEndpointsResponse> describeDBInstanceEndpoints(DescribeDBInstanceEndpointsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceEndpoints").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceEndpointsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceEndpointsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96055.html">Query the data replication mode of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/151265.html">Query the data replication mode of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/415433.html">Query the data replication mode of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceHAConfig DescribeDBInstanceHAConfigRequest
* @return DescribeDBInstanceHAConfigResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceHAConfigResponse> describeDBInstanceHAConfig(DescribeDBInstanceHAConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceHAConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceHAConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceHAConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceIPArrayList DescribeDBInstanceIPArrayListRequest
* @return DescribeDBInstanceIPArrayListResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceIPArrayListResponse> describeDBInstanceIPArrayList(DescribeDBInstanceIPArrayListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceIPArrayList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceIPArrayListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceIPArrayListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <ul>
* <li>The RDS instance runs RDS Basic Edition, RDS High-availability Edition, or RDS Cluster Edition. If your RDS instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.</li>
* <li>The RDS instance belongs to a general-purpose or dedicated instance family. The shared instance family is not supported.</li>
* <li>If the RDS instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the Creation Time parameter of an instance in the Status section of the Basic Information page in the ApsaraDB RDS console.</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/124321.html">Configure a distributed transaction whitelist</a></li>
* <li><a href="https://help.aliyun.com/document_detail/124188.html">Connect Kingdee K/3 WISE to an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceIpHostname DescribeDBInstanceIpHostnameRequest
* @return DescribeDBInstanceIpHostnameResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceIpHostnameResponse> describeDBInstanceIpHostname(DescribeDBInstanceIpHostnameRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceIpHostname").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceIpHostnameResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceIpHostnameResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/299200.html">View the Enhanced Monitoring metrics</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeDBInstanceMetrics DescribeDBInstanceMetricsRequest
* @return DescribeDBInstanceMetricsResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceMetricsResponse> describeDBInstanceMetrics(DescribeDBInstanceMetricsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceMetrics").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceMetricsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceMetricsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceMonitor DescribeDBInstanceMonitorRequest
* @return DescribeDBInstanceMonitorResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceMonitorResponse> describeDBInstanceMonitor(DescribeDBInstanceMonitorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceMonitor").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceMonitorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceMonitorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceNetInfo DescribeDBInstanceNetInfoRequest
* @return DescribeDBInstanceNetInfoResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceNetInfoResponse> describeDBInstanceNetInfo(DescribeDBInstanceNetInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceNetInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceNetInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceNetInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceNetInfoForChannel DescribeDBInstanceNetInfoForChannelRequest
* @return DescribeDBInstanceNetInfoForChannelResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceNetInfoForChannelResponse> describeDBInstanceNetInfoForChannel(DescribeDBInstanceNetInfoForChannelRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceNetInfoForChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceNetInfoForChannelResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceNetInfoForChannelResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstancePerformance DescribeDBInstancePerformanceRequest
* @return DescribeDBInstancePerformanceResponse
*/
@Override
public CompletableFuture<DescribeDBInstancePerformanceResponse> describeDBInstancePerformance(DescribeDBInstancePerformanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstancePerformance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancePerformanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancePerformanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI DescribeDBInstancePromoteActivity is deprecated * @param request the request parameters of DescribeDBInstancePromoteActivity DescribeDBInstancePromoteActivityRequest
* @return DescribeDBInstancePromoteActivityResponse
*/
@Deprecated
@Override
public CompletableFuture<DescribeDBInstancePromoteActivityResponse> describeDBInstancePromoteActivity(DescribeDBInstancePromoteActivityRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstancePromoteActivity").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancePromoteActivityResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancePromoteActivityResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <p>This operation is used to query the shared proxy settings of an instance that runs MySQL or the read/write splitting settings of an instance that runs SQL Server. For more information about how to query the dedicated proxy settings of an ApsaraDB RDS for MySQL instance, see <a href="https://help.aliyun.com/document_detail/610506.html">DescribeDBProxy</a>.</p>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature must be enabled for the primary instance.</li>
* <li>The read/write splitting feature must be enabled for the primary instance.</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceProxyConfiguration DescribeDBInstanceProxyConfigurationRequest
* @return DescribeDBInstanceProxyConfigurationResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceProxyConfigurationResponse> describeDBInstanceProxyConfiguration(DescribeDBInstanceProxyConfigurationRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceProxyConfiguration").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceProxyConfigurationResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceProxyConfigurationResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/2856487.html">ApsaraDB RDS for MySQL native replication instances</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeDBInstanceReplication DescribeDBInstanceReplicationRequest
* @return DescribeDBInstanceReplicationResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceReplicationResponse> describeDBInstanceReplication(DescribeDBInstanceReplicationRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceReplication").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceReplicationResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceReplicationResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96120.html">Use the SSL encryption feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/229518.html">Use the SSL encryption feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95715.html">Use the SSL encryption feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceSSL DescribeDBInstanceSSLRequest
* @return DescribeDBInstanceSSLResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceSSLResponse> describeDBInstanceSSL(DescribeDBInstanceSSLRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceSSL").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceSSLResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceSSLResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of DescribeDBInstanceSecurityGroupRule DescribeDBInstanceSecurityGroupRuleRequest
* @return DescribeDBInstanceSecurityGroupRuleResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceSecurityGroupRuleResponse> describeDBInstanceSecurityGroupRule(DescribeDBInstanceSecurityGroupRuleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceSecurityGroupRule").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceSecurityGroupRuleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceSecurityGroupRuleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstanceTDE DescribeDBInstanceTDERequest
* @return DescribeDBInstanceTDEResponse
*/
@Override
public CompletableFuture<DescribeDBInstanceTDEResponse> describeDBInstanceTDE(DescribeDBInstanceTDERequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstanceTDE").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstanceTDEResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstanceTDEResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstances DescribeDBInstancesRequest
* @return DescribeDBInstancesResponse
*/
@Override
public CompletableFuture<DescribeDBInstancesResponse> describeDBInstances(DescribeDBInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI DescribeDBInstancesAsCsv is deprecated, please use Rds::2014-08-15::DescribeDBInstances instead. * @description > The DescribeDBInstancesAsCsv operation is phased out. You can call the DescribeDBInstances operation.
*
* @param request the request parameters of DescribeDBInstancesAsCsv DescribeDBInstancesAsCsvRequest
* @return DescribeDBInstancesAsCsvResponse
*/
@Deprecated
@Override
public CompletableFuture<DescribeDBInstancesAsCsvResponse> describeDBInstancesAsCsv(DescribeDBInstancesAsCsvRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstancesAsCsv").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancesAsCsvResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancesAsCsvResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDBInstancesByExpireTime DescribeDBInstancesByExpireTimeRequest
* @return DescribeDBInstancesByExpireTimeResponse
*/
@Override
public CompletableFuture<DescribeDBInstancesByExpireTimeResponse> describeDBInstancesByExpireTime(DescribeDBInstancesByExpireTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstancesByExpireTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancesByExpireTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancesByExpireTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>This operation is phased out.</p>
*
* @param request the request parameters of DescribeDBInstancesByPerformance DescribeDBInstancesByPerformanceRequest
* @return DescribeDBInstancesByPerformanceResponse
*/
@Override
public CompletableFuture<DescribeDBInstancesByPerformanceResponse> describeDBInstancesByPerformance(DescribeDBInstancesByPerformanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstancesByPerformance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancesByPerformanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancesByPerformanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI DescribeDBInstancesForClone is deprecated, please use Rds::2014-08-15::DescribeDBInstances instead. * @description This operation is phased out.
*
* @param request the request parameters of DescribeDBInstancesForClone DescribeDBInstancesForCloneRequest
* @return DescribeDBInstancesForCloneResponse
*/
@Deprecated
@Override
public CompletableFuture<DescribeDBInstancesForCloneResponse> describeDBInstancesForClone(DescribeDBInstancesForCloneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBInstancesForClone").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBInstancesForCloneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBInstancesForCloneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Before you purchase or upgrade an instance that runs MySQL or PostgreSQL, you can call the DescribeDBMiniEngineVersions operation to query the minor engine versions that are available for the instance.</p>
*
* @param request the request parameters of DescribeDBMiniEngineVersions DescribeDBMiniEngineVersionsRequest
* @return DescribeDBMiniEngineVersionsResponse
*/
@Override
public CompletableFuture<DescribeDBMiniEngineVersionsResponse> describeDBMiniEngineVersions(DescribeDBMiniEngineVersionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBMiniEngineVersions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBMiniEngineVersionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBMiniEngineVersionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeDBProxy DescribeDBProxyRequest
* @return DescribeDBProxyResponse
*/
@Override
public CompletableFuture<DescribeDBProxyResponse> describeDBProxy(DescribeDBProxyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBProxy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBProxyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBProxyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeDBProxyEndpoint DescribeDBProxyEndpointRequest
* @return DescribeDBProxyEndpointResponse
*/
@Override
public CompletableFuture<DescribeDBProxyEndpointResponse> describeDBProxyEndpoint(DescribeDBProxyEndpointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBProxyEndpoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBProxyEndpointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBProxyEndpointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p> Starting October 17, 2023, ApsaraDB RDS provides a dedicated proxy free of charge for each ApsaraDB RDS for MySQL instance on RDS Cluster Edition. For more information, see <a href="~~2555466~~">[Special offers/Price changes] One proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition</a>.</p>
* </blockquote>
* </li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/194241.html">View the monitoring data of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418275.html">View the monitoring data of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeDBProxyPerformance DescribeDBProxyPerformanceRequest
* @return DescribeDBProxyPerformanceResponse
*/
@Override
public CompletableFuture<DescribeDBProxyPerformanceResponse> describeDBProxyPerformance(DescribeDBProxyPerformanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDBProxyPerformance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDBProxyPerformanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDBProxyPerformanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/124321.html">Configures a distributed transaction whitelist for an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeDTCSecurityIpHostsForSQLServer DescribeDTCSecurityIpHostsForSQLServerRequest
* @return DescribeDTCSecurityIpHostsForSQLServerResponse
*/
@Override
public CompletableFuture<DescribeDTCSecurityIpHostsForSQLServerResponse> describeDTCSecurityIpHostsForSQLServer(DescribeDTCSecurityIpHostsForSQLServerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDTCSecurityIpHostsForSQLServer").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDTCSecurityIpHostsForSQLServerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDTCSecurityIpHostsForSQLServerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeDatabases DescribeDatabasesRequest
* @return DescribeDatabasesResponse
*/
@Override
public CompletableFuture<DescribeDatabasesResponse> describeDatabases(DescribeDatabasesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDatabases").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDatabasesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDatabasesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances in a cluster at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of DescribeDedicatedHostGroups DescribeDedicatedHostGroupsRequest
* @return DescribeDedicatedHostGroupsResponse
*/
@Override
public CompletableFuture<DescribeDedicatedHostGroupsResponse> describeDedicatedHostGroups(DescribeDedicatedHostGroupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDedicatedHostGroups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDedicatedHostGroupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDedicatedHostGroupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of DescribeDedicatedHosts DescribeDedicatedHostsRequest
* @return DescribeDedicatedHostsResponse
*/
@Override
public CompletableFuture<DescribeDedicatedHostsResponse> describeDedicatedHosts(DescribeDedicatedHostsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDedicatedHosts").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDedicatedHostsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDedicatedHostsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>MySQL</p>
* <blockquote>
* <p>This operation is available only for instances that use local disks.</p>
* </blockquote>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* For more information about how to retain the data backup files of an instance after the instance is released, see <a href="https://help.aliyun.com/document_detail/98818.html">Configure automatic backup</a>.</p>
* </blockquote>
*
* @param request the request parameters of DescribeDetachedBackups DescribeDetachedBackupsRequest
* @return DescribeDetachedBackupsResponse
*/
@Override
public CompletableFuture<DescribeDetachedBackupsResponse> describeDetachedBackups(DescribeDetachedBackupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDetachedBackups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDetachedBackupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDetachedBackupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI DescribeDiagnosticReportList is deprecated * @description > This operation is phased out.
*
* @param request the request parameters of DescribeDiagnosticReportList DescribeDiagnosticReportListRequest
* @return DescribeDiagnosticReportListResponse
*/
@Deprecated
@Override
public CompletableFuture<DescribeDiagnosticReportListResponse> describeDiagnosticReportList(DescribeDiagnosticReportListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDiagnosticReportList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDiagnosticReportListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDiagnosticReportListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeErrorLogs DescribeErrorLogsRequest
* @return DescribeErrorLogsResponse
*/
@Override
public CompletableFuture<DescribeErrorLogsResponse> describeErrorLogs(DescribeErrorLogsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeErrorLogs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeErrorLogsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeErrorLogsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/129759.html">Historical events of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131008.html">Historical events of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131013.html">Historical events of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131010.html">Historical events of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeEvents DescribeEventsRequest
* @return DescribeEventsResponse
*/
@Override
public CompletableFuture<DescribeEventsResponse> describeEvents(DescribeEventsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeEvents").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeEventsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeEventsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of DescribeGadInstances DescribeGadInstancesRequest
* @return DescribeGadInstancesResponse
*/
@Override
public CompletableFuture<DescribeGadInstancesResponse> describeGadInstances(DescribeGadInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeGadInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeGadInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeGadInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/207467.html">What is availability detection?</a></p>
*
* @param request the request parameters of DescribeHADiagnoseConfig DescribeHADiagnoseConfigRequest
* @return DescribeHADiagnoseConfigResponse
*/
@Override
public CompletableFuture<DescribeHADiagnoseConfigResponse> describeHADiagnoseConfig(DescribeHADiagnoseConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHADiagnoseConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHADiagnoseConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHADiagnoseConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeHASwitchConfig DescribeHASwitchConfigRequest
* @return DescribeHASwitchConfigResponse
*/
@Override
public CompletableFuture<DescribeHASwitchConfigResponse> describeHASwitchConfig(DescribeHASwitchConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHASwitchConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHASwitchConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHASwitchConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeHistoryEvents DescribeHistoryEventsRequest
* @return DescribeHistoryEventsResponse
*/
@Override
public CompletableFuture<DescribeHistoryEventsResponse> describeHistoryEvents(DescribeHistoryEventsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHistoryEvents").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHistoryEventsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHistoryEventsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeHistoryEventsStat DescribeHistoryEventsStatRequest
* @return DescribeHistoryEventsStatResponse
*/
@Override
public CompletableFuture<DescribeHistoryEventsStatResponse> describeHistoryEventsStat(DescribeHistoryEventsStatRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHistoryEventsStat").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHistoryEventsStatResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHistoryEventsStatResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/474275.html">Tasks of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/474537.html">Tasks of an ApsaraDB RDS for PostrgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/614826.html">Tasks of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeHistoryTasks DescribeHistoryTasksRequest
* @return DescribeHistoryTasksResponse
*/
@Override
public CompletableFuture<DescribeHistoryTasksResponse> describeHistoryTasks(DescribeHistoryTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHistoryTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHistoryTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHistoryTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeHistoryTasksStat DescribeHistoryTasksStatRequest
* @return DescribeHistoryTasksStatResponse
*/
@Override
public CompletableFuture<DescribeHistoryTasksStatResponse> describeHistoryTasksStat(DescribeHistoryTasksStatRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHistoryTasksStat").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHistoryTasksStatResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHistoryTasksStatResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeHostGroupElasticStrategyParameters DescribeHostGroupElasticStrategyParametersRequest
* @return DescribeHostGroupElasticStrategyParametersResponse
*/
@Override
public CompletableFuture<DescribeHostGroupElasticStrategyParametersResponse> describeHostGroupElasticStrategyParameters(DescribeHostGroupElasticStrategyParametersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHostGroupElasticStrategyParameters").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHostGroupElasticStrategyParametersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHostGroupElasticStrategyParametersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Prerequisite</h3>
* <ul>
* <li>The instance meets the following requirements:<ul>
* <li>The instance resides in a region other than the China (Zhangjiakou) region.</li>
* <li>The instance runs RDS Basic Edition, RDS Cluster Edition, or RDS High-availability Edition. If your instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.</li>
* <li>The instance belongs to the general-purpose or dedicated instance family. The shared instance family is not supported.</li>
* <li>The instance resides in a virtual private cloud (VPC). For more information about how to change the network type of an RDS instance, see <a href="https://help.aliyun.com/document_detail/95707.html">Change the network type</a>.</li>
* <li>If the instance runs RDS High-availability Edition or RDS Cluster Edition, the instance is created on or after January 1, 2021. If the instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the <strong>Creation Time</strong> parameter of an instance in the <strong>Status</strong> section of the <strong>Basic Information</strong> page in the ApsaraDB RDS console.</li>
* </ul>
* </li>
* <li>Your <strong>Alibaba Cloud account</strong> is used for logons.</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/354862.html">Create a host account and use the host account for logons</a></p>
* </blockquote>
*
* @param request the request parameters of DescribeHostWebShell DescribeHostWebShellRequest
* @return DescribeHostWebShellResponse
*/
@Override
public CompletableFuture<DescribeHostWebShellResponse> describeHostWebShell(DescribeHostWebShellRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHostWebShell").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHostWebShellResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHostWebShellResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeInstanceAutoRenewalAttribute DescribeInstanceAutoRenewalAttributeRequest
* @return DescribeInstanceAutoRenewalAttributeResponse
*/
@Override
public CompletableFuture<DescribeInstanceAutoRenewalAttributeResponse> describeInstanceAutoRenewalAttribute(DescribeInstanceAutoRenewalAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeInstanceAutoRenewalAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeInstanceAutoRenewalAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeInstanceAutoRenewalAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeInstanceCrossBackupPolicy DescribeInstanceCrossBackupPolicyRequest
* @return DescribeInstanceCrossBackupPolicyResponse
*/
@Override
public CompletableFuture<DescribeInstanceCrossBackupPolicyResponse> describeInstanceCrossBackupPolicy(DescribeInstanceCrossBackupPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeInstanceCrossBackupPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeInstanceCrossBackupPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeInstanceCrossBackupPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeInstanceKeywords DescribeInstanceKeywordsRequest
* @return DescribeInstanceKeywordsResponse
*/
@Override
public CompletableFuture<DescribeInstanceKeywordsResponse> describeInstanceKeywords(DescribeInstanceKeywordsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeInstanceKeywords").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeInstanceKeywordsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeInstanceKeywordsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeInstanceLinkedWhitelistTemplate DescribeInstanceLinkedWhitelistTemplateRequest
* @return DescribeInstanceLinkedWhitelistTemplateResponse
*/
@Override
public CompletableFuture<DescribeInstanceLinkedWhitelistTemplateResponse> describeInstanceLinkedWhitelistTemplate(DescribeInstanceLinkedWhitelistTemplateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeInstanceLinkedWhitelistTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeInstanceLinkedWhitelistTemplateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeInstanceLinkedWhitelistTemplateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeKmsAssociateResources DescribeKmsAssociateResourcesRequest
* @return DescribeKmsAssociateResourcesResponse
*/
@Override
public CompletableFuture<DescribeKmsAssociateResourcesResponse> describeKmsAssociateResources(DescribeKmsAssociateResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeKmsAssociateResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeKmsAssociateResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeKmsAssociateResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeLocalAvailableRecoveryTime DescribeLocalAvailableRecoveryTimeRequest
* @return DescribeLocalAvailableRecoveryTimeResponse
*/
@Override
public CompletableFuture<DescribeLocalAvailableRecoveryTimeResponse> describeLocalAvailableRecoveryTime(DescribeLocalAvailableRecoveryTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLocalAvailableRecoveryTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLocalAvailableRecoveryTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLocalAvailableRecoveryTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server</p>
* <blockquote>
* <p> You can call the DescribeBinlogFiles operation to query the log files of instances that run different database engines.</p>
* </blockquote>
*
* @param request the request parameters of DescribeLogBackupFiles DescribeLogBackupFilesRequest
* @return DescribeLogBackupFilesResponse
*/
@Override
public CompletableFuture<DescribeLogBackupFilesResponse> describeLogBackupFiles(DescribeLogBackupFilesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLogBackupFiles").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLogBackupFilesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLogBackupFilesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeMarketingActivity DescribeMarketingActivityRequest
* @return DescribeMarketingActivityResponse
*/
@Override
public CompletableFuture<DescribeMarketingActivityResponse> describeMarketingActivity(DescribeMarketingActivityRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMarketingActivity").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMarketingActivityResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMarketingActivityResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeMaskingRules DescribeMaskingRulesRequest
* @return DescribeMaskingRulesResponse
*/
@Override
public CompletableFuture<DescribeMaskingRulesResponse> describeMaskingRules(DescribeMaskingRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMaskingRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMaskingRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMaskingRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <blockquote>
* <p>This operation is available for RDS instances that run MySQL 8.0, MySQL 5.7, and MySQL 5.6 on RDS High-availability Edition with local disks.</p>
* </blockquote>
* <h3><a href="#"></a>Description</h3>
* <p>Before you call the <a href="https://help.aliyun.com/document_detail/131510.html">RestoreTable</a> operation to restore individual databases or tables of an ApsaraDB RDS for MySQL instance, you can call this operation to query the information about the databases and tables that can be restored. For more information, see <a href="https://help.aliyun.com/document_detail/103175.html">Restore individual databases and tables of an ApsaraDB RDS for MySQL instance</a>.</p>
*
* @param request the request parameters of DescribeMetaList DescribeMetaListRequest
* @return DescribeMetaListResponse
*/
@Override
public CompletableFuture<DescribeMetaListResponse> describeMetaList(DescribeMetaListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMetaList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMetaListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMetaListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeMigrateTaskById DescribeMigrateTaskByIdRequest
* @return DescribeMigrateTaskByIdResponse
*/
@Override
public CompletableFuture<DescribeMigrateTaskByIdResponse> describeMigrateTaskById(DescribeMigrateTaskByIdRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMigrateTaskById").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMigrateTaskByIdResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMigrateTaskByIdResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>This operation allows you to query the migration tasks that are created for the instance over the last week.</p>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>This operation is supported only for migration tasks that are created to migrate full backup files.</li>
* <li>This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.</li>
* </ul>
*
* @param request the request parameters of DescribeMigrateTasks DescribeMigrateTasksRequest
* @return DescribeMigrateTasksResponse
*/
@Override
public CompletableFuture<DescribeMigrateTasksResponse> describeMigrateTasks(DescribeMigrateTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMigrateTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMigrateTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMigrateTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
*
* @param request the request parameters of DescribeModifyPGHbaConfigLog DescribeModifyPGHbaConfigLogRequest
* @return DescribeModifyPGHbaConfigLogResponse
*/
@Override
public CompletableFuture<DescribeModifyPGHbaConfigLogResponse> describeModifyPGHbaConfigLog(DescribeModifyPGHbaConfigLogRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeModifyPGHbaConfigLog").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeModifyPGHbaConfigLogResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeModifyPGHbaConfigLogResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeModifyParameterLog DescribeModifyParameterLogRequest
* @return DescribeModifyParameterLogResponse
*/
@Override
public CompletableFuture<DescribeModifyParameterLogResponse> describeModifyParameterLog(DescribeModifyParameterLogRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeModifyParameterLog").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeModifyParameterLogResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeModifyParameterLogResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <p>This operation is not supported for instances that run SQL Server 2017 EE or SQL Server 2019 EE.</p>
*
* @param request the request parameters of DescribeOssDownloads DescribeOssDownloadsRequest
* @return DescribeOssDownloadsResponse
*/
@Override
public CompletableFuture<DescribeOssDownloadsResponse> describeOssDownloads(DescribeOssDownloadsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeOssDownloads").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeOssDownloadsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeOssDownloadsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
*
* @param request the request parameters of DescribePGHbaConfig DescribePGHbaConfigRequest
* @return DescribePGHbaConfigResponse
*/
@Override
public CompletableFuture<DescribePGHbaConfigResponse> describePGHbaConfig(DescribePGHbaConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribePGHbaConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribePGHbaConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribePGHbaConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeParameterGroup DescribeParameterGroupRequest
* @return DescribeParameterGroupResponse
*/
@Override
public CompletableFuture<DescribeParameterGroupResponse> describeParameterGroup(DescribeParameterGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeParameterGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeParameterGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeParameterGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of DescribeParameterGroups DescribeParameterGroupsRequest
* @return DescribeParameterGroupsResponse
*/
@Override
public CompletableFuture<DescribeParameterGroupsResponse> describeParameterGroups(DescribeParameterGroupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeParameterGroups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeParameterGroupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeParameterGroupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeParameterTemplates DescribeParameterTemplatesRequest
* @return DescribeParameterTemplatesResponse
*/
@Override
public CompletableFuture<DescribeParameterTemplatesResponse> describeParameterTemplates(DescribeParameterTemplatesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeParameterTemplates").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeParameterTemplatesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeParameterTemplatesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Applicable engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeParameters DescribeParametersRequest
* @return DescribeParametersResponse
*/
@Override
public CompletableFuture<DescribeParametersResponse> describeParameters(DescribeParametersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeParameters").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeParametersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeParametersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
*
* @param request the request parameters of DescribePostgresExtensions DescribePostgresExtensionsRequest
* @return DescribePostgresExtensionsResponse
*/
@Override
public CompletableFuture<DescribePostgresExtensionsResponse> describePostgresExtensions(DescribePostgresExtensionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribePostgresExtensions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribePostgresExtensionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribePostgresExtensionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribePrice DescribePriceRequest
* @return DescribePriceResponse
*/
@Override
public CompletableFuture<DescribePriceResponse> describePrice(DescribePriceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribePrice").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribePriceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribePriceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeQuickSaleConfig DescribeQuickSaleConfigRequest
* @return DescribeQuickSaleConfigResponse
*/
@Override
public CompletableFuture<DescribeQuickSaleConfigResponse> describeQuickSaleConfig(DescribeQuickSaleConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeQuickSaleConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeQuickSaleConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeQuickSaleConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCCloudAssistantStatus DescribeRCCloudAssistantStatusRequest
* @return DescribeRCCloudAssistantStatusResponse
*/
@Override
public CompletableFuture<DescribeRCCloudAssistantStatusResponse> describeRCCloudAssistantStatus(DescribeRCCloudAssistantStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCCloudAssistantStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCCloudAssistantStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCCloudAssistantStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Kubeconfig files store identity and authentication information that is used by clients to access ACK clusters. To use kubectl to manage an ACK cluster, you must use the kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.</p>
*
* @param request the request parameters of DescribeRCClusterConfig DescribeRCClusterConfigRequest
* @return DescribeRCClusterConfigResponse
*/
@Override
public CompletableFuture<DescribeRCClusterConfigResponse> describeRCClusterConfig(DescribeRCClusterConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCClusterConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCClusterConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCClusterConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCClusterNodes DescribeRCClusterNodesRequest
* @return DescribeRCClusterNodesResponse
*/
@Override
public CompletableFuture<DescribeRCClusterNodesResponse> describeRCClusterNodes(DescribeRCClusterNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCClusterNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCClusterNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCClusterNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCClusters DescribeRCClustersRequest
* @return DescribeRCClustersResponse
*/
@Override
public CompletableFuture<DescribeRCClustersResponse> describeRCClusters(DescribeRCClustersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCClusters").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCClustersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCClustersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCDeploymentSets DescribeRCDeploymentSetsRequest
* @return DescribeRCDeploymentSetsResponse
*/
@Override
public CompletableFuture<DescribeRCDeploymentSetsResponse> describeRCDeploymentSets(DescribeRCDeploymentSetsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCDeploymentSets").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCDeploymentSetsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCDeploymentSetsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCDisks DescribeRCDisksRequest
* @return DescribeRCDisksResponse
*/
@Override
public CompletableFuture<DescribeRCDisksResponse> describeRCDisks(DescribeRCDisksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCDisks").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCDisksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCDisksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCImageList DescribeRCImageListRequest
* @return DescribeRCImageListResponse
*/
@Override
public CompletableFuture<DescribeRCImageListResponse> describeRCImageList(DescribeRCImageListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCImageList").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCImageListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCImageListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCInstanceAttribute DescribeRCInstanceAttributeRequest
* @return DescribeRCInstanceAttributeResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceAttributeResponse> describeRCInstanceAttribute(DescribeRCInstanceAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
*
* @param request the request parameters of DescribeRCInstanceDdosCount DescribeRCInstanceDdosCountRequest
* @return DescribeRCInstanceDdosCountResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceDdosCountResponse> describeRCInstanceDdosCount(DescribeRCInstanceDdosCountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceDdosCount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceDdosCountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceDdosCountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.</p>
* <ul>
* <li>If you do not specify the EventCycleStatus or InstanceEventCycleStatus parameter, only system events in the Avoidated, Executed, Canceled, or Failed state are included in the query results by default.</li>
* <li>You can also specify the InstanceEventCycleStatus parameter in the request to query the system events that are in the Scheduled, Executing, or Inquiring state.</li>
* </ul>
*
* @param request the request parameters of DescribeRCInstanceHistoryEvents DescribeRCInstanceHistoryEventsRequest
* @return DescribeRCInstanceHistoryEventsResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceHistoryEventsResponse> describeRCInstanceHistoryEvents(DescribeRCInstanceHistoryEventsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceHistoryEvents").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceHistoryEventsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceHistoryEventsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
* <blockquote>
* <p> If one or more assets of the current Alibaba Cloud account are added to an <a href="https://help.aliyun.com/document_detail/63643.html">Anti-DDoS Origin instance</a>, you can call the DescribeRCInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.</p>
* </blockquote>
*
* @param request the request parameters of DescribeRCInstanceIpAddress DescribeRCInstanceIpAddressRequest
* @return DescribeRCInstanceIpAddressResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceIpAddressResponse> describeRCInstanceIpAddress(DescribeRCInstanceIpAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceIpAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceIpAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceIpAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCInstanceTypeFamilies DescribeRCInstanceTypeFamiliesRequest
* @return DescribeRCInstanceTypeFamiliesResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceTypeFamiliesResponse> describeRCInstanceTypeFamilies(DescribeRCInstanceTypeFamiliesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceTypeFamilies").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceTypeFamiliesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceTypeFamiliesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCInstanceTypes DescribeRCInstanceTypesRequest
* @return DescribeRCInstanceTypesResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceTypesResponse> describeRCInstanceTypes(DescribeRCInstanceTypesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceTypes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceTypesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceTypesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.</p>
*
* @param request the request parameters of DescribeRCInstanceVncUrl DescribeRCInstanceVncUrlRequest
* @return DescribeRCInstanceVncUrlResponse
*/
@Override
public CompletableFuture<DescribeRCInstanceVncUrlResponse> describeRCInstanceVncUrl(DescribeRCInstanceVncUrlRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstanceVncUrl").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstanceVncUrlResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstanceVncUrlResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCInstances DescribeRCInstancesRequest
* @return DescribeRCInstancesResponse
*/
@Override
public CompletableFuture<DescribeRCInstancesResponse> describeRCInstances(DescribeRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCInvocationResults DescribeRCInvocationResultsRequest
* @return DescribeRCInvocationResultsResponse
*/
@Override
public CompletableFuture<DescribeRCInvocationResultsResponse> describeRCInvocationResults(DescribeRCInvocationResultsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCInvocationResults").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCInvocationResultsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCInvocationResultsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCMetricList DescribeRCMetricListRequest
* @return DescribeRCMetricListResponse
*/
@Override
public CompletableFuture<DescribeRCMetricListResponse> describeRCMetricList(DescribeRCMetricListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCMetricList").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCMetricListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCMetricListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCNodePool DescribeRCNodePoolRequest
* @return DescribeRCNodePoolResponse
*/
@Override
public CompletableFuture<DescribeRCNodePoolResponse> describeRCNodePool(DescribeRCNodePoolRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCNodePool").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCNodePoolResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCNodePoolResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCSecurityGroupList DescribeRCSecurityGroupListRequest
* @return DescribeRCSecurityGroupListResponse
*/
@Override
public CompletableFuture<DescribeRCSecurityGroupListResponse> describeRCSecurityGroupList(DescribeRCSecurityGroupListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCSecurityGroupList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCSecurityGroupListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCSecurityGroupListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCSecurityGroupPermission DescribeRCSecurityGroupPermissionRequest
* @return DescribeRCSecurityGroupPermissionResponse
*/
@Override
public CompletableFuture<DescribeRCSecurityGroupPermissionResponse> describeRCSecurityGroupPermission(DescribeRCSecurityGroupPermissionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCSecurityGroupPermission").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCSecurityGroupPermissionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCSecurityGroupPermissionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCSnapshots DescribeRCSnapshotsRequest
* @return DescribeRCSnapshotsResponse
*/
@Override
public CompletableFuture<DescribeRCSnapshotsResponse> describeRCSnapshots(DescribeRCSnapshotsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCSnapshots").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCSnapshotsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCSnapshotsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRCVCluster DescribeRCVClusterRequest
* @return DescribeRCVClusterResponse
*/
@Override
public CompletableFuture<DescribeRCVClusterResponse> describeRCVCluster(DescribeRCVClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRCVCluster").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRCVClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRCVClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI DescribeRdsResourceSettings is deprecated * @param request the request parameters of DescribeRdsResourceSettings DescribeRdsResourceSettingsRequest
* @return DescribeRdsResourceSettingsResponse
*/
@Deprecated
@Override
public CompletableFuture<DescribeRdsResourceSettingsResponse> describeRdsResourceSettings(DescribeRdsResourceSettingsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRdsResourceSettings").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRdsResourceSettingsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRdsResourceSettingsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeReadDBInstanceDelay DescribeReadDBInstanceDelayRequest
* @return DescribeReadDBInstanceDelayResponse
*/
@Override
public CompletableFuture<DescribeReadDBInstanceDelayResponse> describeReadDBInstanceDelay(DescribeReadDBInstanceDelayRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeReadDBInstanceDelay").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeReadDBInstanceDelayResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeReadDBInstanceDelayResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeRegionInfos DescribeRegionInfosRequest
* @return DescribeRegionInfosResponse
*/
@Override
public CompletableFuture<DescribeRegionInfosResponse> describeRegionInfos(DescribeRegionInfosRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRegionInfos").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRegionInfosResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRegionInfosResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeRegions DescribeRegionsRequest
* @return DescribeRegionsResponse
*/
@Override
public CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRegions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRegionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRegionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeRenewalPrice DescribeRenewalPriceRequest
* @return DescribeRenewalPriceResponse
*/
@Override
public CompletableFuture<DescribeRenewalPriceResponse> describeRenewalPrice(DescribeRenewalPriceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRenewalPrice").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRenewalPriceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRenewalPriceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeReplicationLinkLogs DescribeReplicationLinkLogsRequest
* @return DescribeReplicationLinkLogsResponse
*/
@Override
public CompletableFuture<DescribeReplicationLinkLogsResponse> describeReplicationLinkLogs(DescribeReplicationLinkLogsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeReplicationLinkLogs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeReplicationLinkLogsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeReplicationLinkLogsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeResourceDetails DescribeResourceDetailsRequest
* @return DescribeResourceDetailsResponse
*/
@Override
public CompletableFuture<DescribeResourceDetailsResponse> describeResourceDetails(DescribeResourceDetailsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeResourceDetails").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeResourceDetailsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeResourceDetailsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeResourceUsage DescribeResourceUsageRequest
* @return DescribeResourceUsageResponse
*/
@Override
public CompletableFuture<DescribeResourceUsageResponse> describeResourceUsage(DescribeResourceUsageRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeResourceUsage").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeResourceUsageResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeResourceUsageResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeSQLCollectorPolicy DescribeSQLCollectorPolicyRequest
* @return DescribeSQLCollectorPolicyResponse
*/
@Override
public CompletableFuture<DescribeSQLCollectorPolicyResponse> describeSQLCollectorPolicy(DescribeSQLCollectorPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSQLCollectorPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSQLCollectorPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSQLCollectorPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeSQLCollectorRetention DescribeSQLCollectorRetentionRequest
* @return DescribeSQLCollectorRetentionResponse
*/
@Override
public CompletableFuture<DescribeSQLCollectorRetentionResponse> describeSQLCollectorRetention(DescribeSQLCollectorRetentionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSQLCollectorRetention").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSQLCollectorRetentionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSQLCollectorRetentionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server
* **
* <strong>Note</strong> If your instance runs SQL Server, only SQL Server 2008 R2 is supported.</li>
* </ul>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>The DescribeSQLLogFiles operation does not return the log files that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.</li>
* <li>The DescribeSQLLogFiles operation does not return the log files that are generated by the SQL Explorer feature and manually exported from the ApsaraDB RDS console. The DescribeSQLLogFiles operation returns the SQL Explorer log files that are generated by calling the <a href="https://help.aliyun.com/document_detail/610533.html">DescribeSQLLogRecords</a> operation with the request parameter <strong>Form</strong> set to <strong>File</strong>.</li>
* <li>The exported files are retained for only two days.
* **
* <strong>Note</strong> If you have enabled Database Autonomy Service (DAS) Enterprise Edition V2 or V3 and have enabled the SQL Explorer and Audit feature, the exported files are retained for seven days. You can call the <a href="https://help.aliyun.com/document_detail/2778837.html">DescribeSqlLogConfig</a> operation to query the information about the enabled DAS Enterprise Edition.</li>
* </ul>
*
* @param request the request parameters of DescribeSQLLogFiles DescribeSQLLogFilesRequest
* @return DescribeSQLLogFilesResponse
*/
@Override
public CompletableFuture<DescribeSQLLogFilesResponse> describeSQLLogFiles(DescribeSQLLogFilesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSQLLogFiles").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSQLLogFilesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSQLLogFilesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <ul>
* <li>You can call this operation up to 1,000 times per minute per account. The calls initiated by using both your Alibaba Cloud account and RAM users within your Alibaba Cloud account are counted.</li>
* <li>This operation cannot be used to query the logs that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.</li>
* <li>When you call this operation and set the <strong>Form</strong> parameter to <strong>File</strong> to generate an audit file, a maximum of 1 million log entries can be recorded in the audit file, and you cannot filter log entries by keyword.</li>
* </ul>
*
* @param request the request parameters of DescribeSQLLogRecords DescribeSQLLogRecordsRequest
* @return DescribeSQLLogRecordsResponse
*/
@Override
public CompletableFuture<DescribeSQLLogRecordsResponse> describeSQLLogRecords(DescribeSQLLogRecordsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSQLLogRecords").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSQLLogRecordsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSQLLogRecordsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeSQLLogReportList DescribeSQLLogReportListRequest
* @return DescribeSQLLogReportListResponse
*/
@Override
public CompletableFuture<DescribeSQLLogReportListResponse> describeSQLLogReportList(DescribeSQLLogReportListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSQLLogReportList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSQLLogReportListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSQLLogReportListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>MySQL</li>
* </ul>
*
* @param request the request parameters of DescribeSecrets DescribeSecretsRequest
* @return DescribeSecretsResponse
*/
@Override
public CompletableFuture<DescribeSecretsResponse> describeSecrets(DescribeSecretsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSecrets").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSecretsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSecretsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/201042.html">Configure a security group for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206310.html">Configure a security group for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/2392322.html">Configure a security group for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeSecurityGroupConfiguration DescribeSecurityGroupConfigurationRequest
* @return DescribeSecurityGroupConfigurationResponse
*/
@Override
public CompletableFuture<DescribeSecurityGroupConfigurationResponse> describeSecurityGroupConfiguration(DescribeSecurityGroupConfigurationRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSecurityGroupConfiguration").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSecurityGroupConfigurationResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSecurityGroupConfigurationResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of DescribeSlots DescribeSlotsRequest
* @return DescribeSlotsResponse
*/
@Override
public CompletableFuture<DescribeSlotsResponse> describeSlots(DescribeSlotsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSlots").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSlotsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSlotsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>Precautions</h3>
* <p>The response parameters returned by this operation are updated every minute.</p>
*
* @param request the request parameters of DescribeSlowLogRecords DescribeSlowLogRecordsRequest
* @return DescribeSlowLogRecordsResponse
*/
@Override
public CompletableFuture<DescribeSlowLogRecordsResponse> describeSlowLogRecords(DescribeSlowLogRecordsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSlowLogRecords").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSlowLogRecordsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSlowLogRecordsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL
* **
* <strong>Note</strong> This operation is not supported for RDS instances that run MySQL 5.7 on RDS Basic Edition.</li>
* <li>SQL Server
* **
* <strong>Note</strong> This operation is supported only for RDS instances that run SQL Server 2008 R2.</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Prerequisites</h3>
* <ul>
* <li>Slow query logs are not collected in real time and may show a latency of 6 to 8 hours.</li>
* <li>If the return result is empty, check whether the StartTime and EndTime parameters are in UTC. If yes, no slow logs are generated within the specified time range.</li>
* <li>Starting from September 01, 2024, the template algorithm for slow queries is optimized. When you call the operation, you must change the value of the <strong>SQLHASH</strong> parameter. For more information, see <a href="~~2845725~~">[Notice] Optimization of the template algorithm for slow queries</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeSlowLogs DescribeSlowLogsRequest
* @return DescribeSlowLogsResponse
*/
@Override
public CompletableFuture<DescribeSlowLogsResponse> describeSlowLogs(DescribeSlowLogsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSlowLogs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSlowLogsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSlowLogsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of DescribeSupportOnlineResizeDisk DescribeSupportOnlineResizeDiskRequest
* @return DescribeSupportOnlineResizeDiskResponse
*/
@Override
public CompletableFuture<DescribeSupportOnlineResizeDiskResponse> describeSupportOnlineResizeDisk(DescribeSupportOnlineResizeDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeSupportOnlineResizeDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeSupportOnlineResizeDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeSupportOnlineResizeDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <ul>
* <li>If an instance ID is specified, all tags that are added to this instance are queried, and other filter conditions are invalid.</li>
* <li>If you specify only TagKey, the results that match the specified TagKey are returned. If you specify both TagKey and TagValue, the results that match both the specified TagKey and TagValue are returned.</li>
* </ul>
*
* @param request the request parameters of DescribeTags DescribeTagsRequest
* @return DescribeTagsResponse
*/
@Override
public CompletableFuture<DescribeTagsResponse> describeTags(DescribeTagsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeTags").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeTagsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeTagsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <blockquote>
* <p> You can call the <a href="https://help.aliyun.com/document_detail/2627863.html">DescribeHistoryTasks</a> operation to query the tasks on an ApsaraDB RDS for MySQL or ApsaraDB RDS for PostgreSQL instance</p>
* </blockquote>
*
* @param request the request parameters of DescribeTasks DescribeTasksRequest
* @return DescribeTasksResponse
*/
@Override
public CompletableFuture<DescribeTasksResponse> describeTasks(DescribeTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL
* PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/2794383.html">Check report for the major engine version upgrade of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/218391.html">Introduction to the check report of a major engine version upgrade for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of DescribeUpgradeMajorVersionPrecheckTask DescribeUpgradeMajorVersionPrecheckTaskRequest
* @return DescribeUpgradeMajorVersionPrecheckTaskResponse
*/
@Override
public CompletableFuture<DescribeUpgradeMajorVersionPrecheckTaskResponse> describeUpgradeMajorVersionPrecheckTask(DescribeUpgradeMajorVersionPrecheckTaskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeUpgradeMajorVersionPrecheckTask").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeUpgradeMajorVersionPrecheckTaskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeUpgradeMajorVersionPrecheckTaskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>PostgreSQL</p>
*
* @param request the request parameters of DescribeUpgradeMajorVersionTasks DescribeUpgradeMajorVersionTasksRequest
* @return DescribeUpgradeMajorVersionTasksResponse
*/
@Override
public CompletableFuture<DescribeUpgradeMajorVersionTasksResponse> describeUpgradeMajorVersionTasks(DescribeUpgradeMajorVersionTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeUpgradeMajorVersionTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeUpgradeMajorVersionTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeUpgradeMajorVersionTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeVSwitchList DescribeVSwitchListRequest
* @return DescribeVSwitchListResponse
*/
@Override
public CompletableFuture<DescribeVSwitchListResponse> describeVSwitchList(DescribeVSwitchListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVSwitchList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVSwitchListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVSwitchListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of DescribeVSwitches DescribeVSwitchesRequest
* @return DescribeVSwitchesResponse
*/
@Override
public CompletableFuture<DescribeVSwitchesResponse> describeVSwitches(DescribeVSwitchesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVSwitches").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVSwitchesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVSwitchesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeWhitelistTemplate DescribeWhitelistTemplateRequest
* @return DescribeWhitelistTemplateResponse
*/
@Override
public CompletableFuture<DescribeWhitelistTemplateResponse> describeWhitelistTemplate(DescribeWhitelistTemplateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeWhitelistTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWhitelistTemplateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeWhitelistTemplateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DescribeWhitelistTemplateLinkedInstance DescribeWhitelistTemplateLinkedInstanceRequest
* @return DescribeWhitelistTemplateLinkedInstanceResponse
*/
@Override
public CompletableFuture<DescribeWhitelistTemplateLinkedInstanceResponse> describeWhitelistTemplateLinkedInstance(DescribeWhitelistTemplateLinkedInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeWhitelistTemplateLinkedInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeWhitelistTemplateLinkedInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeWhitelistTemplateLinkedInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>The DestroyDBInstance operation is phased out.</p>
*
* @param request the request parameters of DestroyDBInstance DestroyDBInstanceRequest
* @return DestroyDBInstanceResponse
*/
@Override
public CompletableFuture<DestroyDBInstanceResponse> destroyDBInstance(DestroyDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DestroyDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DestroyDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DestroyDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#">Usage notes</a></h3>
* <p>This operation can be used to remove only unit nodes.</p>
*
* @param request the request parameters of DetachGadInstanceMember DetachGadInstanceMemberRequest
* @return DetachGadInstanceMemberResponse
*/
@Override
public CompletableFuture<DetachGadInstanceMemberResponse> detachGadInstanceMember(DetachGadInstanceMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DetachGadInstanceMember").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DetachGadInstanceMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DetachGadInstanceMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DetachRCDisk DetachRCDiskRequest
* @return DetachRCDiskResponse
*/
@Override
public CompletableFuture<DetachRCDiskResponse> detachRCDisk(DetachRCDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DetachRCDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DetachRCDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DetachRCDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of DetachWhitelistTemplateToInstance DetachWhitelistTemplateToInstanceRequest
* @return DetachWhitelistTemplateToInstanceResponse
*/
@Override
public CompletableFuture<DetachWhitelistTemplateToInstanceResponse> detachWhitelistTemplateToInstance(DetachWhitelistTemplateToInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DetachWhitelistTemplateToInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DetachWhitelistTemplateToInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DetachWhitelistTemplateToInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of EvaluateLocalExtendDisk EvaluateLocalExtendDiskRequest
* @return EvaluateLocalExtendDiskResponse
*/
@Override
public CompletableFuture<EvaluateLocalExtendDiskResponse> evaluateLocalExtendDisk(EvaluateLocalExtendDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("EvaluateLocalExtendDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(EvaluateLocalExtendDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<EvaluateLocalExtendDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
*
* @param request the request parameters of GetDBInstanceTopology GetDBInstanceTopologyRequest
* @return GetDBInstanceTopologyResponse
*/
@Override
public CompletableFuture<GetDBInstanceTopologyResponse> getDBInstanceTopology(GetDBInstanceTopologyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetDBInstanceTopology").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDBInstanceTopologyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDBInstanceTopologyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS MySQL</p>
*
* @param request the request parameters of GetDbProxyInstanceSsl GetDbProxyInstanceSslRequest
* @return GetDbProxyInstanceSslResponse
*/
@Override
public CompletableFuture<GetDbProxyInstanceSslResponse> getDbProxyInstanceSsl(GetDbProxyInstanceSslRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetDbProxyInstanceSsl").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDbProxyInstanceSslResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDbProxyInstanceSslResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Each account can be granted permissions on one or more databases. Before you call this operation, make sure that the instance is in the Running state.</p>
* <blockquote>
* <p>This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition or run PostgreSQL with local disks.</p>
* </blockquote>
*
* @param request the request parameters of GrantAccountPrivilege GrantAccountPrivilegeRequest
* @return GrantAccountPrivilegeResponse
*/
@Override
public CompletableFuture<GrantAccountPrivilegeResponse> grantAccountPrivilege(GrantAccountPrivilegeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GrantAccountPrivilege").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GrantAccountPrivilegeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GrantAccountPrivilegeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96102.html">Grant permissions to the service account of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95693.html">Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of GrantOperatorPermission GrantOperatorPermissionRequest
* @return GrantOperatorPermissionResponse
*/
@Override
public CompletableFuture<GrantOperatorPermissionResponse> grantOperatorPermission(GrantOperatorPermissionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GrantOperatorPermission").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GrantOperatorPermissionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GrantOperatorPermissionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>Description</h3>
* <p>A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance.</p>
* <h3><a href="#"></a>Usage notes</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The self-managed MySQL instance runs MySQL 5.7 and is backed up by using XtraBackup. The name of the backup file ends with <code>_qp.xb</code>. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.</li>
* <li>The full backup file of the self-managed MySQL instance is uploaded to an Object Storage Service (OSS) bucket in the region of the ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.<blockquote>
* <p> This operation is supported only for MySQL 5.7.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of ImportUserBackupFile ImportUserBackupFileRequest
* @return ImportUserBackupFileResponse
*/
@Override
public CompletableFuture<ImportUserBackupFileResponse> importUserBackupFile(ImportUserBackupFileRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ImportUserBackupFile").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ImportUserBackupFileResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ImportUserBackupFileResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of InstallRCCloudAssistant InstallRCCloudAssistantRequest
* @return InstallRCCloudAssistantResponse
*/
@Override
public CompletableFuture<InstallRCCloudAssistantResponse> installRCCloudAssistant(InstallRCCloudAssistantRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("InstallRCCloudAssistant").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(InstallRCCloudAssistantResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<InstallRCCloudAssistantResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of ListClasses ListClassesRequest
* @return ListClassesResponse
*/
@Override
public CompletableFuture<ListClassesResponse> listClasses(ListClassesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListClasses").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListClassesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListClassesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
*
* @param request the request parameters of ListTagResources ListTagResourcesRequest
* @return ListTagResourcesResponse
*/
@Override
public CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListTagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListTagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>Feature description</h3>
* <ul>
* <li>A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 instance to the cloud</a>.</li>
* <li>Before you call the <a href="https://help.aliyun.com/document_detail/26228.html">CreateDBInstance</a> operation to create an ApsaraDB RDS for MySQL instance into which you want to import full backup files, you can call this operation to query the IDs of full backup files.</li>
* <li>You can call the <a href="https://help.aliyun.com/document_detail/260266.html">ImportUserBackupFile</a> operation to import a full backup file into an ApsaraDB RDS for MySQL instance.</li>
* </ul>
*
* @param request the request parameters of ListUserBackupFiles ListUserBackupFilesRequest
* @return ListUserBackupFilesResponse
*/
@Override
public CompletableFuture<ListUserBackupFilesResponse> listUserBackupFiles(ListUserBackupFilesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListUserBackupFiles").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListUserBackupFilesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListUserBackupFilesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/147649.html">Lock an account of an ApsaraDB RDS for PostgreSQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of LockAccount LockAccountRequest
* @return LockAccountResponse
*/
@Override
public CompletableFuture<LockAccountResponse> lockAccount(LockAccountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("LockAccount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(LockAccountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<LockAccountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96746.html">Migrate an ApsaraDB RDS for MySQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96746.html">Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95658.html">Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region</a></li>
* </ul>
*
* @param request the request parameters of MigrateConnectionToOtherZone MigrateConnectionToOtherZoneRequest
* @return MigrateConnectionToOtherZoneResponse
*/
@Override
public CompletableFuture<MigrateConnectionToOtherZoneResponse> migrateConnectionToOtherZone(MigrateConnectionToOtherZoneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MigrateConnectionToOtherZone").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MigrateConnectionToOtherZoneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<MigrateConnectionToOtherZoneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of MigrateDBInstance MigrateDBInstanceRequest
* @return MigrateDBInstanceResponse
*/
@Override
public CompletableFuture<MigrateDBInstanceResponse> migrateDBInstance(MigrateDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MigrateDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MigrateDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<MigrateDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of MigrateDBNodes MigrateDBNodesRequest
* @return MigrateDBNodesResponse
*/
@Override
public CompletableFuture<MigrateDBNodesResponse> migrateDBNodes(MigrateDBNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MigrateDBNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MigrateDBNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<MigrateDBNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96117.html">Change the whitelist mode of an ApsaraDB RDS for MySQL instance to the enhanced whitelist mode</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96767.html">Change the whitelist mode of an ApsaraDB RDS for PostgreSQL instance to the enhanced whitelist mode</a></li>
* </ul>
*
* @param request the request parameters of MigrateSecurityIPMode MigrateSecurityIPModeRequest
* @return MigrateSecurityIPModeResponse
*/
@Override
public CompletableFuture<MigrateSecurityIPModeResponse> migrateSecurityIPMode(MigrateSecurityIPModeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MigrateSecurityIPMode").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MigrateSecurityIPModeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<MigrateSecurityIPModeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96053.html">Migrate an ApsaraDB RDS for MySQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96746.html">Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95658.html">Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region</a></li>
* </ul>
*
* @param request the request parameters of MigrateToOtherZone MigrateToOtherZoneRequest
* @return MigrateToOtherZoneResponse
*/
@Override
public CompletableFuture<MigrateToOtherZoneResponse> migrateToOtherZone(MigrateToOtherZoneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MigrateToOtherZone").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MigrateToOtherZoneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<MigrateToOtherZoneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/170734.html">Connect an RDS instance to a self-managed domain</a></li>
* </ul>
*
* @param request the request parameters of ModifyADInfo ModifyADInfoRequest
* @return ModifyADInfoResponse
*/
@Override
public CompletableFuture<ModifyADInfoResponse> modifyADInfo(ModifyADInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyADInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyADInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyADInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of ModifyAccountCheckPolicy ModifyAccountCheckPolicyRequest
* @return ModifyAccountCheckPolicyResponse
*/
@Override
public CompletableFuture<ModifyAccountCheckPolicyResponse> modifyAccountCheckPolicy(ModifyAccountCheckPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyAccountCheckPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyAccountCheckPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyAccountCheckPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of ModifyAccountDescription ModifyAccountDescriptionRequest
* @return ModifyAccountDescriptionResponse
*/
@Override
public CompletableFuture<ModifyAccountDescriptionResponse> modifyAccountDescription(ModifyAccountDescriptionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyAccountDescription").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyAccountDescriptionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyAccountDescriptionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyAccountMaskingPrivilege ModifyAccountMaskingPrivilegeRequest
* @return ModifyAccountMaskingPrivilegeResponse
*/
@Override
public CompletableFuture<ModifyAccountMaskingPrivilegeResponse> modifyAccountMaskingPrivilege(ModifyAccountMaskingPrivilegeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyAccountMaskingPrivilege").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyAccountMaskingPrivilegeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyAccountMaskingPrivilegeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server (This parameter is unavailable for ApsaraDB RDS for SQL Server instances that belong to the shared instance family and run SQL Server 2008 R2.)</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/95640.html">Create a custom password policy for an account of an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyAccountSecurityPolicy ModifyAccountSecurityPolicyRequest
* @return ModifyAccountSecurityPolicyResponse
*/
@Override
public CompletableFuture<ModifyAccountSecurityPolicyResponse> modifyAccountSecurityPolicy(ModifyAccountSecurityPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyAccountSecurityPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyAccountSecurityPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyAccountSecurityPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131008.html">View the event history of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131013.html">View the event history of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/131010.html">View the event history of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyActionEventPolicy ModifyActionEventPolicyRequest
* @return ModifyActionEventPolicyResponse
*/
@Override
public CompletableFuture<ModifyActionEventPolicyResponse> modifyActionEventPolicy(ModifyActionEventPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyActionEventPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyActionEventPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyActionEventPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/104183.html">Scheduled events for ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104452.html">Scheduled events for ApsaraDB RDS for PostgreSQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104451.html">Scheduled events for ApsaraDB RDS for SQL Server instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/104454.html">Scheduled events for ApsaraDB RDS for MariaDB instances</a></li>
* </ul>
*
* @param request the request parameters of ModifyActiveOperationTasks ModifyActiveOperationTasksRequest
* @return ModifyActiveOperationTasksResponse
*/
@Override
public CompletableFuture<ModifyActiveOperationTasksResponse> modifyActiveOperationTasks(ModifyActiveOperationTasksRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyActiveOperationTasks").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyActiveOperationTasksResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyActiveOperationTasksResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/98818.html">Configure an automatic backup policy for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96772.html">Configure an automatic backup policy for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95717.html">Configure an automatic backup policy for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97147.html">Configure an automatic backup policy for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyBackupPolicy ModifyBackupPolicyRequest
* @return ModifyBackupPolicyResponse
*/
@Override
public CompletableFuture<ModifyBackupPolicyResponse> modifyBackupPolicy(ModifyBackupPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyBackupPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyBackupPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyBackupPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
*
* @param request the request parameters of ModifyBackupSetExpireTime ModifyBackupSetExpireTimeRequest
* @return ModifyBackupSetExpireTimeResponse
*/
@Override
public CompletableFuture<ModifyBackupSetExpireTimeResponse> modifyBackupSetExpireTime(ModifyBackupSetExpireTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyBackupSetExpireTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyBackupSetExpireTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyBackupSetExpireTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/95700.html">Change the character set collation and the time zone of system databases</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyCollationTimeZone ModifyCollationTimeZoneRequest
* @return ModifyCollationTimeZoneResponse
*/
@Override
public CompletableFuture<ModifyCollationTimeZoneResponse> modifyCollationTimeZone(ModifyCollationTimeZoneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyCollationTimeZone").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyCollationTimeZoneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyCollationTimeZoneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyComputeBurstConfig ModifyComputeBurstConfigRequest
* @return ModifyComputeBurstConfigResponse
*/
@Override
public CompletableFuture<ModifyComputeBurstConfigResponse> modifyComputeBurstConfig(ModifyComputeBurstConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyComputeBurstConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyComputeBurstConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyComputeBurstConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyCustinsResource ModifyCustinsResourceRequest
* @return ModifyCustinsResourceResponse
*/
@Override
public CompletableFuture<ModifyCustinsResourceResponse> modifyCustinsResource(ModifyCustinsResourceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyCustinsResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyCustinsResourceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyCustinsResourceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
*
* @param request the request parameters of ModifyDBDescription ModifyDBDescriptionRequest
* @return ModifyDBDescriptionResponse
*/
@Override
public CompletableFuture<ModifyDBDescriptionResponse> modifyDBDescription(ModifyDBDescriptionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBDescription").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBDescriptionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBDescriptionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96059.html">Modify automatic update settings for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146895.html">Modify automatic update settings for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceAutoUpgradeMinorVersion ModifyDBInstanceAutoUpgradeMinorVersionRequest
* @return ModifyDBInstanceAutoUpgradeMinorVersionResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceAutoUpgradeMinorVersionResponse> modifyDBInstanceAutoUpgradeMinorVersion(ModifyDBInstanceAutoUpgradeMinorVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceAutoUpgradeMinorVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceAutoUpgradeMinorVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceAutoUpgradeMinorVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* <li>SQL Server<blockquote>
* <p> The configuration items that are supported are pgbouncer and clear_errorlog. For more information, see <a href="https://help.aliyun.com/document_detail/2398301.html">PgBouncer of ApsaraDB RDS for PostgreSQL instances</a> and <a href="https://help.aliyun.com/document_detail/95645.html">Error log cleanup of ApsaraDB RDS for SQL Server instances</a>.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceConfig ModifyDBInstanceConfigRequest
* @return ModifyDBInstanceConfigResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceConfigResponse> modifyDBInstanceConfig(ModifyDBInstanceConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96163.html">Change the endpoint and port number of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96788.html">Change the endpoint and port number of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95740.html">Change the endpoint and port number of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97157.html">Change the endpoint and port number of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceConnectionString ModifyDBInstanceConnectionStringRequest
* @return ModifyDBInstanceConnectionStringResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceConnectionStringResponse> modifyDBInstanceConnectionString(ModifyDBInstanceConnectionStringRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceConnectionString").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceConnectionStringResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceConnectionStringResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96056.html">Configure a data replication latency for a read-only ApsaraDB RDS for MySQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceDelayedReplicationTime ModifyDBInstanceDelayedReplicationTimeRequest
* @return ModifyDBInstanceDelayedReplicationTimeResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceDelayedReplicationTimeResponse> modifyDBInstanceDelayedReplicationTime(ModifyDBInstanceDelayedReplicationTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceDelayedReplicationTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceDelayedReplicationTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceDelayedReplicationTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/414512.html">Enable and disable instance release protection for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/471512.html">Enable and disable instance release protection for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/416209.html">Enable and disable instance release protection for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/414512.html">Enable and disable release protection for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceDeletionProtection ModifyDBInstanceDeletionProtectionRequest
* @return ModifyDBInstanceDeletionProtectionResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceDeletionProtectionResponse> modifyDBInstanceDeletionProtection(ModifyDBInstanceDeletionProtectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceDeletionProtection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceDeletionProtectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceDeletionProtectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyDBInstanceDescription ModifyDBInstanceDescriptionRequest
* @return ModifyDBInstanceDescriptionResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceDescriptionResponse> modifyDBInstanceDescription(ModifyDBInstanceDescriptionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceDescription").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceDescriptionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceDescriptionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>MySQL</p>
*
* @param request the request parameters of ModifyDBInstanceEndpoint ModifyDBInstanceEndpointRequest
* @return ModifyDBInstanceEndpointResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceEndpointResponse> modifyDBInstanceEndpoint(ModifyDBInstanceEndpointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceEndpoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceEndpointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceEndpointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>You can modify the following information about the endpoint of an instance: the public and internal endpoints, the public and internal ports, and the virtual private cloud (VPC), vSwitch, and IP address of the internal endpoint.</li>
* <li>The VPC and vSwitch must be modified at the same time. If you specify the VPC, vSwitch, and IP address of the internal endpoint, you do not need to specify the endpoint and port. If you specify the endpoint and port, you do not need to specify the VPC, vSwitch, and IP address of the internal endpoint.</li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceEndpointAddress ModifyDBInstanceEndpointAddressRequest
* @return ModifyDBInstanceEndpointAddressResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceEndpointAddressResponse> modifyDBInstanceEndpointAddress(ModifyDBInstanceEndpointAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceEndpointAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceEndpointAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceEndpointAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyDBInstanceHAConfig ModifyDBInstanceHAConfigRequest
* @return ModifyDBInstanceHAConfigResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceHAConfigResponse> modifyDBInstanceHAConfig(ModifyDBInstanceHAConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceHAConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceHAConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceHAConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96052.html">Set a maintenance window for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96799.html">Set a maintenance window for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95657.html">Set a maintenance window for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97473.html">Set a maintenance window for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceMaintainTime ModifyDBInstanceMaintainTimeRequest
* @return ModifyDBInstanceMaintainTimeResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceMaintainTimeResponse> modifyDBInstanceMaintainTime(ModifyDBInstanceMaintainTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceMaintainTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceMaintainTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceMaintainTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/299200.html">View the Enhanced Monitoring metrics</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyDBInstanceMetrics ModifyDBInstanceMetricsRequest
* @return ModifyDBInstanceMetricsResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceMetricsResponse> modifyDBInstanceMetrics(ModifyDBInstanceMetricsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceMetrics").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceMetricsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceMetricsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <p>If you use the Every 5 Seconds monitoring frequency, you are charged additional fees. Before you call this operation, make sure that you understand the <a href="https://help.aliyun.com/document_detail/45020.html">billing methods and pricing</a> of ApsaraDB RDS.</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96112.html">Configure the monitoring frequency for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95710.html">Configure the monitoring frequency for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceMonitor ModifyDBInstanceMonitorRequest
* @return ModifyDBInstanceMonitorResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceMonitorResponse> modifyDBInstanceMonitor(ModifyDBInstanceMonitorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceMonitor").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceMonitorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceMonitorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96110.html">Configure the hybrid access solution for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95708.html">Configure the hybrid access solution for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceNetworkExpireTime ModifyDBInstanceNetworkExpireTimeRequest
* @return ModifyDBInstanceNetworkExpireTimeResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceNetworkExpireTimeResponse> modifyDBInstanceNetworkExpireTime(ModifyDBInstanceNetworkExpireTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceNetworkExpireTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceNetworkExpireTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceNetworkExpireTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96109.html">Change the network type of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96761.html">Change the network type of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95707.html">Change the network type of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceNetworkType ModifyDBInstanceNetworkTypeRequest
* @return ModifyDBInstanceNetworkTypeResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceNetworkTypeResponse> modifyDBInstanceNetworkType(ModifyDBInstanceNetworkTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceNetworkType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceNetworkTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceNetworkTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96048.html">Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96743.html">Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95631.html">Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97120.html">Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstancePayType ModifyDBInstancePayTypeRequest
* @return ModifyDBInstancePayTypeResponse
*/
@Override
public CompletableFuture<ModifyDBInstancePayTypeResponse> modifyDBInstancePayType(ModifyDBInstancePayTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstancePayType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstancePayTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstancePayTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>If you want to enable the native replication feature for an ApsaraDB RDS for MySQL instance, the following requirements must be met:</p>
* <ul>
* <li>The RDS instance runs MySQL 5.7.</li>
* <li>The RDS instance runs RDS Basic Edition.</li>
* <li>The RDS instance uses the pay-as-you-go or subscription billing method.</li>
* <li>The RDS instance runs a minor engine version of 20240930 or later.
* For more information, see <a href="https://help.aliyun.com/document_detail/2856530.html">Enable the native replication feature</a>.</li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceReplicationSwitch ModifyDBInstanceReplicationSwitchRequest
* @return ModifyDBInstanceReplicationSwitchResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceReplicationSwitchResponse> modifyDBInstanceReplicationSwitch(ModifyDBInstanceReplicationSwitchRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceReplicationSwitch").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceReplicationSwitchResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceReplicationSwitchResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96120.html">Use the SSL encryption feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/229517.html">Use the SSL encryption feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95715.html">Use the SSL encryption feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceSSL ModifyDBInstanceSSLRequest
* @return ModifyDBInstanceSSLResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceSSLResponse> modifyDBInstanceSSL(ModifyDBInstanceSSLRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceSSL").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceSSLResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceSSLResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2392322.html">Configure security group settings for an ApsaraDB RDS for SQL Server instance</a></p>
*
* @param request the request parameters of ModifyDBInstanceSecurityGroupRule ModifyDBInstanceSecurityGroupRuleRequest
* @return ModifyDBInstanceSecurityGroupRuleResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceSecurityGroupRuleResponse> modifyDBInstanceSecurityGroupRule(ModifyDBInstanceSecurityGroupRuleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceSecurityGroupRule").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceSecurityGroupRuleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceSecurityGroupRuleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Billing details</h3>
* <p><a href="https://help.aliyun.com/document_detail/57178.html">Fees for specification changes</a> are generated if the call is successful. Before you call this operation, carefully read the following topics.</p>
* <h3><a href="#"></a>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96061.html">Change the specifications of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96750.html">Change the specifications of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95665.html">Change the specifications of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97129.html">Change the specifications of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceSpec ModifyDBInstanceSpecRequest
* @return ModifyDBInstanceSpecResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceSpecResponse> modifyDBInstanceSpec(ModifyDBInstanceSpecRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceSpec").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceSpecResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceSpecResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96121.html">Configure TDE for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/465652.html">Configure TDE for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95716.html">Configure TDE for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBInstanceTDE ModifyDBInstanceTDERequest
* @return ModifyDBInstanceTDEResponse
*/
@Override
public CompletableFuture<ModifyDBInstanceTDEResponse> modifyDBInstanceTDE(ModifyDBInstanceTDERequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBInstanceTDE").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBInstanceTDEResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBInstanceTDEResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>MySQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2627998.html">Change instance specifications</a></p>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the related topics.</p>
* </blockquote>
*
* @param request the request parameters of ModifyDBNode ModifyDBNodeRequest
* @return ModifyDBNodeResponse
*/
@Override
public CompletableFuture<ModifyDBNodeResponse> modifyDBNode(ModifyDBNodeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBNode").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBNodeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBNodeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see <a href="~~2555466~~">[Special offers/Price changes] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition</a>.</p>
* </blockquote>
* </li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/197456.html">Enable the database proxy feature of ApsaraDB RDS for MySQL</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418272.html">Enable the database proxy feature of ApsaraDB RDS for PostgreSQL</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBProxy ModifyDBProxyRequest
* @return ModifyDBProxyResponse
*/
@Override
public CompletableFuture<ModifyDBProxyResponse> modifyDBProxy(ModifyDBProxyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBProxy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBProxyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBProxyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/2621331.html">Configure the connection settings for a database proxy endpoint for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418273.html">Configure the connection settings for a database proxy endpoint for an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBProxyEndpoint ModifyDBProxyEndpointRequest
* @return ModifyDBProxyEndpointResponse
*/
@Override
public CompletableFuture<ModifyDBProxyEndpointResponse> modifyDBProxyEndpoint(ModifyDBProxyEndpointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBProxyEndpoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBProxyEndpointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBProxyEndpointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/184921.html">Configure the database proxy endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418274.html">Configure the database proxy endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyDBProxyEndpointAddress ModifyDBProxyEndpointAddressRequest
* @return ModifyDBProxyEndpointAddressResponse
*/
@Override
public CompletableFuture<ModifyDBProxyEndpointAddressResponse> modifyDBProxyEndpointAddress(ModifyDBProxyEndpointAddressRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBProxyEndpointAddress").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBProxyEndpointAddressResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBProxyEndpointAddressResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL<blockquote>
* <p> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see <a href="~~2555466~~">[Special offers/Price changes] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition</a>.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of ModifyDBProxyInstance ModifyDBProxyInstanceRequest
* @return ModifyDBProxyInstanceResponse
*/
@Override
public CompletableFuture<ModifyDBProxyInstanceResponse> modifyDBProxyInstance(ModifyDBProxyInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDBProxyInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDBProxyInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDBProxyInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/124321.html">Configure a distributed transaction whitelist</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyDTCSecurityIpHostsForSQLServer ModifyDTCSecurityIpHostsForSQLServerRequest
* @return ModifyDTCSecurityIpHostsForSQLServerResponse
*/
@Override
public CompletableFuture<ModifyDTCSecurityIpHostsForSQLServerResponse> modifyDTCSecurityIpHostsForSQLServer(ModifyDTCSecurityIpHostsForSQLServerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDTCSecurityIpHostsForSQLServer").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDTCSecurityIpHostsForSQLServerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDTCSecurityIpHostsForSQLServerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/173826.html">Configure automatic storage expansion for ApsaraDB RDS for MySQL</a></li>
* <li><a href="https://help.aliyun.com/document_detail/432496.html">Configure automatic storage expansion for ApsaraDB RDS for PostgreSQL</a></li>
* </ul>
*
* @param request the request parameters of ModifyDasInstanceConfig ModifyDasInstanceConfigRequest
* @return ModifyDasInstanceConfigResponse
*/
@Override
public CompletableFuture<ModifyDasInstanceConfigResponse> modifyDasInstanceConfig(ModifyDasInstanceConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDasInstanceConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDasInstanceConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDasInstanceConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <p>You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses cloud disks to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see <a href="https://help.aliyun.com/document_detail/2401398.html">Modify database properties</a> and <a href="https://help.aliyun.com/document_detail/2767189.html">Archive cloud disk data to an OSS bucket</a>.</p>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
*
* @param request the request parameters of ModifyDatabaseConfig ModifyDatabaseConfigRequest
* @return ModifyDatabaseConfigResponse
*/
@Override
public CompletableFuture<ModifyDatabaseConfigResponse> modifyDatabaseConfig(ModifyDatabaseConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDatabaseConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDatabaseConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDatabaseConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
* <a href="https://help.aliyun.com/document_detail/188164.html">Configure SSL encryption for a proxy endpoint</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyDbProxyInstanceSsl ModifyDbProxyInstanceSslRequest
* @return ModifyDbProxyInstanceSslResponse
*/
@Override
public CompletableFuture<ModifyDbProxyInstanceSslResponse> modifyDbProxyInstanceSsl(ModifyDbProxyInstanceSslRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyDbProxyInstanceSsl").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyDbProxyInstanceSslResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyDbProxyInstanceSslResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyEventInfo ModifyEventInfoRequest
* @return ModifyEventInfoResponse
*/
@Override
public CompletableFuture<ModifyEventInfoResponse> modifyEventInfo(ModifyEventInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyEventInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyEventInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyEventInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/207467.html">What is availability check?</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyHADiagnoseConfig ModifyHADiagnoseConfigRequest
* @return ModifyHADiagnoseConfigResponse
*/
@Override
public CompletableFuture<ModifyHADiagnoseConfigResponse> modifyHADiagnoseConfig(ModifyHADiagnoseConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyHADiagnoseConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyHADiagnoseConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyHADiagnoseConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96054.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96747.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95659.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97127.html">Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyHASwitchConfig ModifyHASwitchConfigRequest
* @return ModifyHASwitchConfigResponse
*/
@Override
public CompletableFuture<ModifyHASwitchConfigResponse> modifyHASwitchConfig(ModifyHASwitchConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyHASwitchConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyHASwitchConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyHASwitchConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Notice: Fees are generated if the call is successful. Before you call this operation, carefully read the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96049.html">Use the auto-renewal feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96740.html">Use the auto-renewal feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95635.html">Use the auto-renewal feature for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97121.html">Use the auto-renewal feature for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyInstanceAutoRenewalAttribute ModifyInstanceAutoRenewalAttributeRequest
* @return ModifyInstanceAutoRenewalAttributeResponse
*/
@Override
public CompletableFuture<ModifyInstanceAutoRenewalAttributeResponse> modifyInstanceAutoRenewalAttribute(ModifyInstanceAutoRenewalAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyInstanceAutoRenewalAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyInstanceAutoRenewalAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyInstanceAutoRenewalAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206671.html">Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/187923.html">Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyInstanceCrossBackupPolicy ModifyInstanceCrossBackupPolicyRequest
* @return ModifyInstanceCrossBackupPolicyResponse
*/
@Override
public CompletableFuture<ModifyInstanceCrossBackupPolicyResponse> modifyInstanceCrossBackupPolicy(ModifyInstanceCrossBackupPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyInstanceCrossBackupPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyInstanceCrossBackupPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyInstanceCrossBackupPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyMaskingRules ModifyMaskingRulesRequest
* @return ModifyMaskingRulesResponse
*/
@Override
public CompletableFuture<ModifyMaskingRulesResponse> modifyMaskingRules(ModifyMaskingRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyMaskingRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyMaskingRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyMaskingRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/349288.html">Connect an ApsaraDB RDS for PostgreSQL instance to a self-managed AD domain</a></li>
* <li><a href="https://www.postgresql.org/docs/11/auth-pg-hba-conf.html">The pg_hba.conf File</a></li>
* </ul>
*
* @param request the request parameters of ModifyPGHbaConfig ModifyPGHbaConfigRequest
* @return ModifyPGHbaConfigResponse
*/
@Override
public CompletableFuture<ModifyPGHbaConfigResponse> modifyPGHbaConfig(ModifyPGHbaConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyPGHbaConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyPGHbaConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyPGHbaConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96063.html">Modify the parameters of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96751.html">Modify the parameters of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95667.html">Modify the parameters of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97130.html">Modify the parameters of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifyParameter ModifyParameterRequest
* @return ModifyParameterResponse
*/
@Override
public CompletableFuture<ModifyParameterResponse> modifyParameter(ModifyParameterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyParameter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyParameterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyParameterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/130565.html">Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/457176.html">Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances</a></li>
* </ul>
*
* @param request the request parameters of ModifyParameterGroup ModifyParameterGroupRequest
* @return ModifyParameterGroupResponse
*/
@Override
public CompletableFuture<ModifyParameterGroupResponse> modifyParameterGroup(ModifyParameterGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyParameterGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyParameterGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyParameterGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> To minimize the impacts on your business, we recommend that you change specifications during off-peak hours.
* Take note of the following items:</p>
* </blockquote>
* <ul>
* <li>For a pay-as-you-go Enterprise SSD (ESSD), you can upgrade or downgrade its PL. However, you cannot downgrade the performance level to PL0.</li>
* <li>The ESSD must be in the In Use (In_Use) or Unattached (Available) state.</li>
* <li>If the ESSD is attached to an instance, the instance must be in the Running or Stopped state. The instance cannot be in the Expired state or stopped due to overdue payments.</li>
* <li>The performance level of an ESSD is limited by the capacity of the ESSD. If you cannot upgrade the PL of an ESSD, you can expand the capacity of the ESSD.</li>
* </ul>
*
* @param request the request parameters of ModifyRCDiskSpec ModifyRCDiskSpecRequest
* @return ModifyRCDiskSpecResponse
*/
@Override
public CompletableFuture<ModifyRCDiskSpecResponse> modifyRCDiskSpec(ModifyRCDiskSpecRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCDiskSpec").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCDiskSpecResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCDiskSpecResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Before you call this operation, make sure that you are familiar with the billing methods, pricing, and refund rules of RDS Custom.
* Before you call this operation, take note of the following items:</p>
* <ul>
* <li>You cannot change the instance type of an expired instance. You can renew the instance and try again.</li>
* <li>When you downgrade the instance type of an instance, take note of the following items:<ul>
* <li>The instance must be in the Stopped state.</li>
* <li>The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.</li>
* </ul>
* </li>
* <li>The operation is asynchronous. Wait 5 to 10 seconds for the instance type change to complete. Then, restart the instance by calling the RebootInstance operation or by using the console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect. If the instance is in the Stopped state, you need only to start the instance. You do not need to restart the instance after it enters the Running state.</li>
* </ul>
*
* @param request the request parameters of ModifyRCInstance ModifyRCInstanceRequest
* @return ModifyRCInstanceResponse
*/
@Override
public CompletableFuture<ModifyRCInstanceResponse> modifyRCInstance(ModifyRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyRCInstanceAttribute ModifyRCInstanceAttributeRequest
* @return ModifyRCInstanceAttributeResponse
*/
@Override
public CompletableFuture<ModifyRCInstanceAttributeResponse> modifyRCInstanceAttribute(ModifyRCInstanceAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCInstanceAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCInstanceAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCInstanceAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>Before you call this operation, make sure that you are familiar with the subscription and pay-as-you-go billing methods and pricing of RDS Custom.</li>
* <li>The instances must be in the <strong>Running</strong> or <strong>Stopped</strong> state, and you have no overdue payments for the instances.</li>
* <li>The disk is in the <strong>In_use</strong> state and the billing method of the disk has not been changed within the previous 15 minutes.</li>
* <li>After you change the billing method, the payment is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled.</li>
* </ul>
* <h3><a href="#"></a>Considerations</h3>
* <p>For more information, see the following documentation:</p>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/2878542.html">Change the billing method of an instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/2878547.html">Change the billing method of a disk</a></li>
* </ul>
*
* @param request the request parameters of ModifyRCInstanceChargeType ModifyRCInstanceChargeTypeRequest
* @return ModifyRCInstanceChargeTypeResponse
*/
@Override
public CompletableFuture<ModifyRCInstanceChargeTypeResponse> modifyRCInstanceChargeType(ModifyRCInstanceChargeTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCInstanceChargeType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCInstanceChargeTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCInstanceChargeTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyRCInstanceDescription ModifyRCInstanceDescriptionRequest
* @return ModifyRCInstanceDescriptionResponse
*/
@Override
public CompletableFuture<ModifyRCInstanceDescriptionResponse> modifyRCInstanceDescription(ModifyRCInstanceDescriptionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCInstanceDescription").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCInstanceDescriptionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCInstanceDescriptionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyRCInstanceKeyPair ModifyRCInstanceKeyPairRequest
* @return ModifyRCInstanceKeyPairResponse
*/
@Override
public CompletableFuture<ModifyRCInstanceKeyPairResponse> modifyRCInstanceKeyPair(ModifyRCInstanceKeyPairRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCInstanceKeyPair").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCInstanceKeyPairResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCInstanceKeyPairResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>Custom for SQL Server</p>
*
* @param request the request parameters of ModifyRCInstanceNetworkSpec ModifyRCInstanceNetworkSpecRequest
* @return ModifyRCInstanceNetworkSpecResponse
*/
@Override
public CompletableFuture<ModifyRCInstanceNetworkSpecResponse> modifyRCInstanceNetworkSpec(ModifyRCInstanceNetworkSpecRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCInstanceNetworkSpec").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCInstanceNetworkSpecResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCInstanceNetworkSpecResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyRCSecurityGroupPermission ModifyRCSecurityGroupPermissionRequest
* @return ModifyRCSecurityGroupPermissionResponse
*/
@Override
public CompletableFuture<ModifyRCSecurityGroupPermissionResponse> modifyRCSecurityGroupPermission(ModifyRCSecurityGroupPermissionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyRCSecurityGroupPermission").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyRCSecurityGroupPermissionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyRCSecurityGroupPermissionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The read/write splitting feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The instance must run one of the following database engine versions and RDS editions:<ul>
* <li>MySQL 5.7 on RDS High-availability Edition with local disks</li>
* <li>MySQL 5.6</li>
* <li>SQL Server on RDS Cluster Edition</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of ModifyReadWriteSplittingConnection ModifyReadWriteSplittingConnectionRequest
* @return ModifyReadWriteSplittingConnectionResponse
*/
@Override
public CompletableFuture<ModifyReadWriteSplittingConnectionResponse> modifyReadWriteSplittingConnection(ModifyReadWriteSplittingConnectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyReadWriteSplittingConnection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyReadWriteSplittingConnectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyReadWriteSplittingConnectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/96056.html">Set the data replication latency of a read-only ApsaraDB RDS for MySQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyReadonlyInstanceDelayReplicationTime ModifyReadonlyInstanceDelayReplicationTimeRequest
* @return ModifyReadonlyInstanceDelayReplicationTimeResponse
*/
@Override
public CompletableFuture<ModifyReadonlyInstanceDelayReplicationTimeResponse> modifyReadonlyInstanceDelayReplicationTime(ModifyReadonlyInstanceDelayReplicationTimeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyReadonlyInstanceDelayReplicationTime").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyReadonlyInstanceDelayReplicationTimeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyReadonlyInstanceDelayReplicationTimeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/94487.html">Transfer resources across resource groups</a></p>
* </blockquote>
*
* @param request the request parameters of ModifyResourceGroup ModifyResourceGroupRequest
* @return ModifyResourceGroupResponse
*/
@Override
public CompletableFuture<ModifyResourceGroupResponse> modifyResourceGroup(ModifyResourceGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyResourceGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyResourceGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyResourceGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>This operation can still be called but is no longer maintained. We recommend that you call the <a href="https://help.aliyun.com/document_detail/2778835.html">ModifySqlLogConfig</a> operation instead of this operation.</p>
*
* @param request the request parameters of ModifySQLCollectorPolicy ModifySQLCollectorPolicyRequest
* @return ModifySQLCollectorPolicyResponse
*/
@Override
public CompletableFuture<ModifySQLCollectorPolicyResponse> modifySQLCollectorPolicy(ModifySQLCollectorPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifySQLCollectorPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifySQLCollectorPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifySQLCollectorPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3>Precautions</h3>
* <p>After you shorten the log backup retention period, log backup files that are stored longer than the specified log backup retention period are immediately deleted.</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/476574.html">Use the SQL Explorer and Audit feature</a></p>
* </blockquote>
*
* @param request the request parameters of ModifySQLCollectorRetention ModifySQLCollectorRetentionRequest
* @return ModifySQLCollectorRetentionResponse
*/
@Override
public CompletableFuture<ModifySQLCollectorRetentionResponse> modifySQLCollectorRetention(ModifySQLCollectorRetentionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifySQLCollectorRetention").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifySQLCollectorRetentionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifySQLCollectorRetentionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/201042.html">Configure a security group for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/206310.html">Configure a security group for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/2392322.html">Configure a security group for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of ModifySecurityGroupConfiguration ModifySecurityGroupConfigurationRequest
* @return ModifySecurityGroupConfigurationResponse
*/
@Override
public CompletableFuture<ModifySecurityGroupConfigurationResponse> modifySecurityGroupConfiguration(ModifySecurityGroupConfigurationRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifySecurityGroupConfiguration").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifySecurityGroupConfigurationResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifySecurityGroupConfigurationResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96118.html">Configure an IP address whitelist for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/43187.html">Configure an IP address whitelist for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/43186.html">Configure an IP address whitelist for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/90336.html">Configure an IP address whitelist for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ModifySecurityIps ModifySecurityIpsRequest
* @return ModifySecurityIpsResponse
*/
@Override
public CompletableFuture<ModifySecurityIpsResponse> modifySecurityIps(ModifySecurityIpsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifySecurityIps").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifySecurityIpsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifySecurityIpsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyTaskInfo ModifyTaskInfoRequest
* @return ModifyTaskInfoResponse
*/
@Override
public CompletableFuture<ModifyTaskInfoResponse> modifyTaskInfo(ModifyTaskInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyTaskInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyTaskInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyTaskInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* </ul>
*
* @param request the request parameters of ModifyWhitelistTemplate ModifyWhitelistTemplateRequest
* @return ModifyWhitelistTemplateResponse
*/
@Override
public CompletableFuture<ModifyWhitelistTemplateResponse> modifyWhitelistTemplate(ModifyWhitelistTemplateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyWhitelistTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyWhitelistTemplateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyWhitelistTemplateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of PreCheckCreateOrderForDeleteDBNodes PreCheckCreateOrderForDeleteDBNodesRequest
* @return PreCheckCreateOrderForDeleteDBNodesResponse
*/
@Override
public CompletableFuture<PreCheckCreateOrderForDeleteDBNodesResponse> preCheckCreateOrderForDeleteDBNodes(PreCheckCreateOrderForDeleteDBNodesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("PreCheckCreateOrderForDeleteDBNodes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PreCheckCreateOrderForDeleteDBNodesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<PreCheckCreateOrderForDeleteDBNodesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>Description</h3>
* <p>The system automatically uploads log backup files to Object Storage Service (OSS) buckets. If the remaining storage of an instance is insufficient, you can call this operation to upload the log backup files of the instance to OSS buckets. After the upload is complete, the system deletes these files from the instance to release storage. This operation is called to upload log backup files from an instance to OSS buckets and then delete these files from the instance. If the instance runs SQL Server, transaction log backup files are compressed before they are uploaded.</p>
* <h3>Precautions</h3>
* <ul>
* <li>When you upload log backup files, the data restoration feature is not affected.</li>
* <li>This operation is called to release storage. The backup storage usage is not reduced.</li>
* <li>The OSS buckets to which log backup files are uploaded are provided by the system. You do not need to purchase these OSS buckets. In addition, you cannot access these OSS buckets.</li>
* </ul>
*
* @param request the request parameters of PurgeDBInstanceLog PurgeDBInstanceLogRequest
* @return PurgeDBInstanceLogResponse
*/
@Override
public CompletableFuture<PurgeDBInstanceLogResponse> purgeDBInstanceLog(PurgeDBInstanceLogRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("PurgeDBInstanceLog").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PurgeDBInstanceLogResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<PurgeDBInstanceLogResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>Feature description</h3>
* <p>The notifications are highlighted at the top of the ApsaraDB RDS console. The notifications include renewal reminders and reminders of instance creation failures.
* After you call this operation to query notifications, you can call the <a href="https://help.aliyun.com/document_detail/610444.html">ConfirmNotify</a> operation to mark the notifications as confirmed, which means that you understand the content of the notifications.</p>
*
* @param request the request parameters of QueryNotify QueryNotifyRequest
* @return QueryNotifyResponse
*/
@Override
public CompletableFuture<QueryNotifyResponse> queryNotify(QueryNotifyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("QueryNotify").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(QueryNotifyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<QueryNotifyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of QueryRecommendByCode QueryRecommendByCodeRequest
* @return QueryRecommendByCodeResponse
*/
@Override
public CompletableFuture<QueryRecommendByCodeResponse> queryRecommendByCode(QueryRecommendByCodeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("QueryRecommendByCode").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(QueryRecommendByCodeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<QueryRecommendByCodeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RebootRCInstance RebootRCInstanceRequest
* @return RebootRCInstanceResponse
*/
@Override
public CompletableFuture<RebootRCInstanceResponse> rebootRCInstance(RebootRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RebootRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RebootRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RebootRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of RebootRCInstances RebootRCInstancesRequest
* @return RebootRCInstancesResponse
*/
@Override
public CompletableFuture<RebootRCInstancesResponse> rebootRCInstances(RebootRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RebootRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RebootRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RebootRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB MyBase?</a></p>
*
* @param request the request parameters of RebuildDBInstance RebuildDBInstanceRequest
* @return RebuildDBInstanceResponse
*/
@Override
public CompletableFuture<RebuildDBInstanceResponse> rebuildDBInstance(RebuildDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RebuildDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RebuildDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RebuildDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of RebuildReplicationLink RebuildReplicationLinkRequest
* @return RebuildReplicationLinkResponse
*/
@Override
public CompletableFuture<RebuildReplicationLinkResponse> rebuildReplicationLink(RebuildReplicationLinkRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RebuildReplicationLink").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RebuildReplicationLinkResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RebuildReplicationLinkResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>The operation is phased out.</p>
*
* @param request the request parameters of ReceiveDBInstance ReceiveDBInstanceRequest
* @return ReceiveDBInstanceResponse
*/
@Override
public CompletableFuture<ReceiveDBInstanceResponse> receiveDBInstance(ReceiveDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ReceiveDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReceiveDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ReceiveDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <p>SQL Server 2012 or later</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/95722.html">Restore the data of an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of RecoveryDBInstance RecoveryDBInstanceRequest
* @return RecoveryDBInstanceResponse
*/
@Override
public CompletableFuture<RecoveryDBInstanceResponse> recoveryDBInstance(RecoveryDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RecoveryDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RecoveryDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RecoveryDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>RedeployInstance is an <strong>asynchronous</strong> operation. It migrates data before it restarts the instance. If the instance is successfully redeployed, it enters the Running state. If the instance fails to be redeployed, it returns to the original physical server and the state before the redeployment.
* When you call this operation, take note of the following items:
* The instance must be in the Running or Stopped state. After the instance is redeployed, the state of the instance has the following changes:</p>
* <ul>
* <li>If the instance is in the Running state before redeployment, the instance enters the Stopped state.</li>
* <li>If the instance is in the Stopped state before redeployment, the instance enters the Starting state.</li>
* <li>If an instance receives notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for the instance, you cannot call this operation to redeploy the instance.
* The following table lists the types and states of events that you can handle by calling the RedeployInstance operation.</li>
* <li>Instance redeployment due to system maintenance: SystemMaintenance.Redeploy. The event state is Inquiring or Scheduled.</li>
* <li>Instance redeployment due to system failures: SystemFailure.Redeploy. The event state is Inquiring.</li>
* </ul>
*
* @param request the request parameters of RedeployRCInstance RedeployRCInstanceRequest
* @return RedeployRCInstanceResponse
*/
@Override
public CompletableFuture<RedeployRCInstanceResponse> redeployRCInstance(RedeployRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RedeployRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RedeployRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RedeployRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/26128.html">Release the public endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97738.html">Release the public endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97736.html">Release the public endpoint of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97740.html">Release the public endpoint of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ReleaseInstanceConnection ReleaseInstanceConnectionRequest
* @return ReleaseInstanceConnectionResponse
*/
@Override
public CompletableFuture<ReleaseInstanceConnectionResponse> releaseInstanceConnection(ReleaseInstanceConnectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ReleaseInstanceConnection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReleaseInstanceConnectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ReleaseInstanceConnectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/26128.html">Release the public endpoint of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97738.html">Release the public endpoint of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97736.html">Release the public endpoint of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97740.html">Release the public endpoint of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ReleaseInstancePublicConnection ReleaseInstancePublicConnectionRequest
* @return ReleaseInstancePublicConnectionResponse
*/
@Override
public CompletableFuture<ReleaseInstancePublicConnectionResponse> releaseInstancePublicConnection(ReleaseInstancePublicConnectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ReleaseInstancePublicConnection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReleaseInstancePublicConnectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ReleaseInstancePublicConnectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>Prerequisites</h3>
* <p>Before you call this operation, make sure that the following requirements are met:</p>
* <ul>
* <li>The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.</li>
* <li>The read/write splitting feature is enabled for the instance.</li>
* <li>The instance must run one of the following database engine versions and RDS editions:<ul>
* <li>MySQL 5.7 on RDS High-availability Edition (with local disks)</li>
* <li>MySQL 5.6</li>
* <li>SQL Server on RDS Cluster Edition</li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of ReleaseReadWriteSplittingConnection ReleaseReadWriteSplittingConnectionRequest
* @return ReleaseReadWriteSplittingConnectionResponse
*/
@Override
public CompletableFuture<ReleaseReadWriteSplittingConnectionResponse> releaseReadWriteSplittingConnection(ReleaseReadWriteSplittingConnectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ReleaseReadWriteSplittingConnection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReleaseReadWriteSplittingConnectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ReleaseReadWriteSplittingConnectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>A maximum of 10 tags can be removed in a single request.</li>
* <li>If a tag is removed from all instances to which the tag is added, the tag is automatically deleted.</li>
* <li>If you specify only TagKey, all tags that match the TagKey condition are removed.</li>
* <li>You must specify at least TagKey or a pair of TagKey and TagValue.</li>
* </ul>
*
* @param request the request parameters of RemoveTagsFromResource RemoveTagsFromResourceRequest
* @return RemoveTagsFromResourceResponse
*/
@Override
public CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(RemoveTagsFromResourceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveTagsFromResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveTagsFromResourceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveTagsFromResourceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96050.html">Manually renew an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96741.html">Manually renew an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95637.html">Manually renew an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97122.html">Manually renew an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of RenewInstance RenewInstanceRequest
* @return RenewInstanceResponse
*/
@Override
public CompletableFuture<RenewInstanceResponse> renewInstance(RenewInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RenewInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RenewInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RenewInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RenewRCInstance RenewRCInstanceRequest
* @return RenewRCInstanceResponse
*/
@Override
public CompletableFuture<RenewRCInstanceResponse> renewRCInstance(RenewRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RenewRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RenewRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RenewRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> The instance must be in the Stopped state.</p>
* <ul>
* <li>If you reinstall the system, the data on the original system disk is lost. Exercise caution when you perform this operation.</li>
* </ul>
*
* @param request the request parameters of ReplaceRCInstanceSystemDisk ReplaceRCInstanceSystemDiskRequest
* @return ReplaceRCInstanceSystemDiskResponse
*/
@Override
public CompletableFuture<ReplaceRCInstanceSystemDiskResponse> replaceRCInstanceSystemDisk(ReplaceRCInstanceSystemDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ReplaceRCInstanceSystemDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReplaceRCInstanceSystemDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ReplaceRCInstanceSystemDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/140724.html">Reset of the permissions of privileged accounts</a></p>
* </blockquote>
*
* @param request the request parameters of ResetAccount ResetAccountRequest
* @return ResetAccountResponse
*/
@Override
public CompletableFuture<ResetAccountResponse> resetAccount(ResetAccountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ResetAccount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ResetAccountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ResetAccountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96100.html">Reset the password of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96814.html">Reset the password of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95691.html">Reset the password of an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97133.html">Reset the password of an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of ResetAccountPassword ResetAccountPasswordRequest
* @return ResetAccountPasswordResponse
*/
@Override
public CompletableFuture<ResetAccountPasswordResponse> resetAccountPassword(ResetAccountPasswordRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ResetAccountPassword").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ResetAccountPasswordResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ResetAccountPasswordResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ResizeRCInstanceDisk ResizeRCInstanceDiskRequest
* @return ResizeRCInstanceDiskResponse
*/
@Override
public CompletableFuture<ResizeRCInstanceDiskResponse> resizeRCInstanceDisk(ResizeRCInstanceDiskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ResizeRCInstanceDisk").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ResizeRCInstanceDiskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ResizeRCInstanceDiskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>RDS MySQL</li>
* <li>RDS PostgreSQL</li>
* <li>RDS SQL Server</li>
* <li>RDS MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96051.html">Restart an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96798.html">Restart an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95656.html">Restart an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97472.html">Restart an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of RestartDBInstance RestartDBInstanceRequest
* @return RestartDBInstanceResponse
*/
@Override
public CompletableFuture<RestartDBInstanceResponse> restartDBInstance(RestartDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RestartDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RestartDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RestartDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> Before restoration, you can call the CheckCreateDdrDBInstance operation to check whether a cross-region backup set can be used for cross-region restoration.</p>
* </blockquote>
* <h3><a href="#"></a>Supported database engines</h3>
* <p>MySQL</p>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/120824.html">Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/120875.html">Restore the data of an ApsaraDB RDS for MySQL instance across regions</a></li>
* </ul>
*
* @param request the request parameters of RestoreDdrTable RestoreDdrTableRequest
* @return RestoreDdrTableResponse
*/
@Override
public CompletableFuture<RestoreDdrTableResponse> restoreDdrTable(RestoreDdrTableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RestoreDdrTable").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RestoreDdrTableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RestoreDdrTableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/103175.html">Restore individual databases and tables of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/613672.html">Restore individual databases and tables of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of RestoreTable RestoreTableRequest
* @return RestoreTableResponse
*/
@Override
public CompletableFuture<RestoreTableResponse> restoreTable(RestoreTableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RestoreTable").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RestoreTableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RestoreTableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Prerequisites</h3>
* <ul>
* <li>The instance is in the Running state.</li>
* <li>The database is in the Running state.</li>
* </ul>
* <h3><a href="#"></a>Precautions</h3>
* <ul>
* <li>The permissions that can be revoked include SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, and TRIGGER.</li>
* <li>This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition and run PostgreSQL.</li>
* </ul>
*
* @param request the request parameters of RevokeAccountPrivilege RevokeAccountPrivilegeRequest
* @return RevokeAccountPrivilegeResponse
*/
@Override
public CompletableFuture<RevokeAccountPrivilegeResponse> revokeAccountPrivilege(RevokeAccountPrivilegeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RevokeAccountPrivilege").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RevokeAccountPrivilegeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RevokeAccountPrivilegeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96102.html">Grant permissions to the service account of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146887.html">Grant permissions to the service account of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95693.html">Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of RevokeOperatorPermission RevokeOperatorPermissionRequest
* @return RevokeOperatorPermissionResponse
*/
@Override
public CompletableFuture<RevokeOperatorPermissionResponse> revokeOperatorPermission(RevokeOperatorPermissionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RevokeOperatorPermission").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RevokeOperatorPermissionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RevokeOperatorPermissionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RevokeRCSecurityGroupPermission RevokeRCSecurityGroupPermissionRequest
* @return RevokeRCSecurityGroupPermissionResponse
*/
@Override
public CompletableFuture<RevokeRCSecurityGroupPermissionResponse> revokeRCSecurityGroupPermission(RevokeRCSecurityGroupPermissionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RevokeRCSecurityGroupPermission").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RevokeRCSecurityGroupPermissionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RevokeRCSecurityGroupPermissionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RunRCCommand RunRCCommandRequest
* @return RunRCCommandResponse
*/
@Override
public CompletableFuture<RunRCCommandResponse> runRCCommand(RunRCCommandRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RunRCCommand").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RunRCCommandResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RunRCCommandResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> Before you create RDS Custom instances, you must submit a ticket to add your Alibaba Cloud account to a whitelist.</p>
* <ul>
* <li>You can create only subscription RDS Custom instances.</li>
* <li>Subscription RDS Custom instances are supported in the China (Shanghai), China (Shenzhen), China (Beijing), and China (Hangzhou) regions.</li>
* </ul>
*
* @param request the request parameters of RunRCInstances RunRCInstancesRequest
* @return RunRCInstancesResponse
*/
@Override
public CompletableFuture<RunRCInstancesResponse> runRCInstances(RunRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RunRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RunRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RunRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/462504.html">Start an ApsaraDB RDS for SQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of StartDBInstance StartDBInstanceRequest
* @return StartDBInstanceResponse
*/
@Override
public CompletableFuture<StartDBInstanceResponse> startDBInstance(StartDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StartDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StartRCInstance StartRCInstanceRequest
* @return StartRCInstanceResponse
*/
@Override
public CompletableFuture<StartRCInstanceResponse> startRCInstance(StartRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StartRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of StartRCInstances StartRCInstancesRequest
* @return StartRCInstancesResponse
*/
@Override
public CompletableFuture<StartRCInstancesResponse> startRCInstances(StartRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StartRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/462504.html">Suspend an ApsaraDB RDS for SQL Server instance</a></p>
* </blockquote>
*
* @param request the request parameters of StopDBInstance StopDBInstanceRequest
* @return StopDBInstanceResponse
*/
@Override
public CompletableFuture<StopDBInstanceResponse> stopDBInstance(StopDBInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StopDBInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopDBInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopDBInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StopRCInstance StopRCInstanceRequest
* @return StopRCInstanceResponse
*/
@Override
public CompletableFuture<StopRCInstanceResponse> stopRCInstance(StopRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StopRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of StopRCInstances StopRCInstancesRequest
* @return StopRCInstancesResponse
*/
@Override
public CompletableFuture<StopRCInstancesResponse> stopRCInstances(StopRCInstancesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StopRCInstances").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopRCInstancesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopRCInstancesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96054.html">Switch workloads between primary and secondary ApsaraDB RDS for MySQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96747.html">Switch workloads between primary and secondary ApsaraDB RDS for PostgreSQL instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95659.html">Switch workloads between primary and secondary ApsaraDB RDS for SQL Server instances</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97127.html">Switch workloads between primary and secondary ApsaraDB RDS for MariaDB instances</a></li>
* </ul>
*
* @param request the request parameters of SwitchDBInstanceHA SwitchDBInstanceHARequest
* @return SwitchDBInstanceHAResponse
*/
@Override
public CompletableFuture<SwitchDBInstanceHAResponse> switchDBInstanceHA(SwitchDBInstanceHARequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SwitchDBInstanceHA").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SwitchDBInstanceHAResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SwitchDBInstanceHAResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>Prerequisites</h3>
* <ul>
* <li>The instance is connected by using its internal or public endpoint.</li>
* <li>The instance is in the Running state.</li>
* <li>The number of times that you have switched the instance between its internal and public endpoints within the last 24 hours does not reach 20.</li>
* <li>The instance resides in the classic network.</li>
* </ul>
* <h3>Usage notes</h3>
* <p>After the endpoint that is used to connect to the instance is changed, you must update the endpoint information in the code of your application and restart the application.</p>
*
* @param request the request parameters of SwitchDBInstanceNetType SwitchDBInstanceNetTypeRequest
* @return SwitchDBInstanceNetTypeResponse
*/
@Override
public CompletableFuture<SwitchDBInstanceNetTypeResponse> switchDBInstanceNetType(SwitchDBInstanceNetTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SwitchDBInstanceNetType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SwitchDBInstanceNetTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SwitchDBInstanceNetTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/137567.html">Change the VPC and vSwitch for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146885.html">Change the vSwitch for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/347675.html">Change the VPC and vSwitch for an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of SwitchDBInstanceVpc SwitchDBInstanceVpcRequest
* @return SwitchDBInstanceVpcResponse
*/
@Override
public CompletableFuture<SwitchDBInstanceVpcResponse> switchDBInstanceVpc(SwitchDBInstanceVpcRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SwitchDBInstanceVpc").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SwitchDBInstanceVpcResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SwitchDBInstanceVpcResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Supported database engine</p>
* <ul>
* <li>PostgreSQL</li>
* </ul>
*
* @param request the request parameters of SwitchOverMajorVersionUpgrade SwitchOverMajorVersionUpgradeRequest
* @return SwitchOverMajorVersionUpgradeResponse
*/
@Override
public CompletableFuture<SwitchOverMajorVersionUpgradeResponse> switchOverMajorVersionUpgrade(SwitchOverMajorVersionUpgradeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SwitchOverMajorVersionUpgrade").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SwitchOverMajorVersionUpgradeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SwitchOverMajorVersionUpgradeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
*
* @param request the request parameters of SwitchReplicationLink SwitchReplicationLinkRequest
* @return SwitchReplicationLinkResponse
*/
@Override
public CompletableFuture<SwitchReplicationLinkResponse> switchReplicationLink(SwitchReplicationLinkRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SwitchReplicationLink").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SwitchReplicationLinkResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SwitchReplicationLinkResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SyncRCKeyPair SyncRCKeyPairRequest
* @return SyncRCKeyPairResponse
*/
@Override
public CompletableFuture<SyncRCKeyPairResponse> syncRCKeyPair(SyncRCKeyPairRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SyncRCKeyPair").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SyncRCKeyPairResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SyncRCKeyPairResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
*
* @param request the request parameters of SyncRCSecurityGroup SyncRCSecurityGroupRequest
* @return SyncRCSecurityGroupResponse
*/
@Override
public CompletableFuture<SyncRCSecurityGroupResponse> syncRCSecurityGroup(SyncRCSecurityGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SyncRCSecurityGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SyncRCSecurityGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SyncRCSecurityGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96149.html">Create tags for an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96777.html">Create tags for an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95726.html">Create tags for an ApsaraDB RDS for SQL Server instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97152.html">Create tags for an ApsaraDB RDS for MariaDB instance</a></li>
* </ul>
*
* @param request the request parameters of TagResources TagResourcesRequest
* @return TagResourcesResponse
*/
@Override
public CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("TagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<TagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>SQL Server</li>
* </ul>
*
* @param request the request parameters of TerminateMigrateTask TerminateMigrateTaskRequest
* @return TerminateMigrateTaskResponse
*/
@Override
public CompletableFuture<TerminateMigrateTaskResponse> terminateMigrateTask(TerminateMigrateTaskRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("TerminateMigrateTask").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TerminateMigrateTaskResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<TerminateMigrateTaskResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Fees are generated if the call is successful. Before you call this operation, you must read the following documentation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96048.html">Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/161875.html">Change the billing method of an ApsaraDB RDS for MySQL instance from subscription to pay-as-you-go</a></li>
* <li><a href="https://help.aliyun.com/document_detail/96743.html">Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/162756.html">Change the billing method of an ApsaraDB RDS for PostgreSQL instance from subscription to pay-as-you-go</a></li>
* <li><a href="https://help.aliyun.com/document_detail/95631.html">Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/162755.html">Change the billing method of an ApsaraDB RDS for SQL Server instance from subscription to pay-as-you-go</a></li>
* <li><a href="https://help.aliyun.com/document_detail/97120.html">Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription</a> or <a href="https://help.aliyun.com/document_detail/169252.html">Change the billing method of an ApsaraDB RDS for MariaDB instance from subscription to pay-as-you-go</a></li>
* </ul>
*
* @param request the request parameters of TransformDBInstancePayType TransformDBInstancePayTypeRequest
* @return TransformDBInstancePayTypeResponse
*/
@Override
public CompletableFuture<TransformDBInstancePayTypeResponse> transformDBInstancePayType(TransformDBInstancePayTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("TransformDBInstancePayType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TransformDBInstancePayTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<TransformDBInstancePayTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engine</h3>
* <p>SQL Server</p>
* <h3><a href="#"></a>References</h3>
* <p><a href="https://help.aliyun.com/document_detail/2864363.html">Introduction to ApsaraDB RDS Custom</a></p>
*
* @param request the request parameters of UnassociateEipAddressWithRCInstance UnassociateEipAddressWithRCInstanceRequest
* @return UnassociateEipAddressWithRCInstanceResponse
*/
@Override
public CompletableFuture<UnassociateEipAddressWithRCInstanceResponse> unassociateEipAddressWithRCInstance(UnassociateEipAddressWithRCInstanceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UnassociateEipAddressWithRCInstance").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UnassociateEipAddressWithRCInstanceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UnassociateEipAddressWithRCInstanceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/147649.html">Lock an account of an ApsaraDB RDS for PostgreSQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of UnlockAccount UnlockAccountRequest
* @return UnlockAccountResponse
*/
@Override
public CompletableFuture<UnlockAccountResponse> unlockAccount(UnlockAccountRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UnlockAccount").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UnlockAccountResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UnlockAccountResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* <li>MariaDB</li>
* </ul>
* <h3><a href="#"></a>Usage notes</h3>
* <ul>
* <li>You can remove up to 20 tags at a time.</li>
* <li>If a tag is removed from an instance and is not added to other instances, the tag is automatically deleted.</li>
* </ul>
*
* @param request the request parameters of UntagResources UntagResourcesRequest
* @return UntagResourcesResponse
*/
@Override
public CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UntagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UntagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UntagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/2402409.html">Manage extensions</a></p>
* </blockquote>
*
* @param request the request parameters of UpdatePostgresExtensions UpdatePostgresExtensionsRequest
* @return UpdatePostgresExtensionsResponse
*/
@Override
public CompletableFuture<UpdatePostgresExtensionsResponse> updatePostgresExtensions(UpdatePostgresExtensionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdatePostgresExtensions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdatePostgresExtensionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdatePostgresExtensionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <p>RDS MySQL</p>
* <h3>References</h3>
* <p>A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see <a href="https://help.aliyun.com/document_detail/251779.html">Migrate the data of a self-managed MySQL 5.7 or MySQL 8.0 instance to an ApsaraDB RDS for MySQL instance</a>.</p>
* <blockquote>
* <p>: Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
*
* @param request the request parameters of UpdateUserBackupFile UpdateUserBackupFileRequest
* @return UpdateUserBackupFileResponse
*/
@Override
public CompletableFuture<UpdateUserBackupFileResponse> updateUserBackupFile(UpdateUserBackupFileRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateUserBackupFile").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateUserBackupFileResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateUserBackupFileResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>MySQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/96058.html">Upgrade the major engine version of an ApsaraDB RDS for MySQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of UpgradeDBInstanceEngineVersion UpgradeDBInstanceEngineVersionRequest
* @return UpgradeDBInstanceEngineVersionResponse
*/
@Override
public CompletableFuture<UpgradeDBInstanceEngineVersionResponse> upgradeDBInstanceEngineVersion(UpgradeDBInstanceEngineVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeDBInstanceEngineVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeDBInstanceEngineVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeDBInstanceEngineVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* <li>SQL Server</li>
* </ul>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/96059.html">Update the minor engine version of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/146895.html">Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/213582.html">Update the minor engine version of an ApsaraDB RDS for SQL Server instance</a></li>
* </ul>
*
* @param request the request parameters of UpgradeDBInstanceKernelVersion UpgradeDBInstanceKernelVersionRequest
* @return UpgradeDBInstanceKernelVersionResponse
*/
@Override
public CompletableFuture<UpgradeDBInstanceKernelVersionResponse> upgradeDBInstanceKernelVersion(UpgradeDBInstanceKernelVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeDBInstanceKernelVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeDBInstanceKernelVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeDBInstanceKernelVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <p>Fees are generated if the call is successful. Before you call this operation, read the following documentation and make sure that you fully understand the billing rules, prerequisites, and impacts of this operation.
* <a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance</a></p>
*
* @param request the request parameters of UpgradeDBInstanceMajorVersion UpgradeDBInstanceMajorVersionRequest
* @return UpgradeDBInstanceMajorVersionResponse
*/
@Override
public CompletableFuture<UpgradeDBInstanceMajorVersionResponse> upgradeDBInstanceMajorVersion(UpgradeDBInstanceMajorVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeDBInstanceMajorVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeDBInstanceMajorVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeDBInstanceMajorVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Supported database engine</h3>
* <p>PostgreSQL</p>
* <h3>References</h3>
* <blockquote>
* <p>Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
* <a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance</a></p>
* </blockquote>
*
* @param request the request parameters of UpgradeDBInstanceMajorVersionPrecheck UpgradeDBInstanceMajorVersionPrecheckRequest
* @return UpgradeDBInstanceMajorVersionPrecheckResponse
*/
@Override
public CompletableFuture<UpgradeDBInstanceMajorVersionPrecheckResponse> upgradeDBInstanceMajorVersionPrecheck(UpgradeDBInstanceMajorVersionPrecheckRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeDBInstanceMajorVersionPrecheck").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeDBInstanceMajorVersionPrecheckResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeDBInstanceMajorVersionPrecheckResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3><a href="#"></a>Supported database engines</h3>
* <ul>
* <li>MySQL</li>
* <li>PostgreSQL</li>
* </ul>
* <h3><a href="#"></a>References</h3>
* <blockquote>
* <p> Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.</p>
* </blockquote>
* <ul>
* <li><a href="https://help.aliyun.com/document_detail/197465.html">Upgrade the database proxy version of an ApsaraDB RDS for MySQL instance</a></li>
* <li><a href="https://help.aliyun.com/document_detail/418469.html">Upgrade the database proxy version of an ApsaraDB RDS for PostgreSQL instance</a></li>
* </ul>
*
* @param request the request parameters of UpgradeDBProxyInstanceKernelVersion UpgradeDBProxyInstanceKernelVersionRequest
* @return UpgradeDBProxyInstanceKernelVersionResponse
*/
@Override
public CompletableFuture<UpgradeDBProxyInstanceKernelVersionResponse> upgradeDBProxyInstanceKernelVersion(UpgradeDBProxyInstanceKernelVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeDBProxyInstanceKernelVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeDBProxyInstanceKernelVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeDBProxyInstanceKernelVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/DefaultAsyncClientBuilder.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815;
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
@Override
protected String serviceName() {
return "rds20140815";
}
@Override
protected final AsyncClient buildClient() {
return new DefaultAsyncClient(super.applyClientConfiguration());
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/AcceptRCInquiredSystemEventRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815.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 AcceptRCInquiredSystemEventRequest} extends {@link RequestModel}
*
* <p>AcceptRCInquiredSystemEventRequest</p>
*/
public class AcceptRCInquiredSystemEventRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EventId")
@com.aliyun.core.annotation.Validation(required = true)
private String eventId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private AcceptRCInquiredSystemEventRequest(Builder builder) {
super(builder);
this.eventId = builder.eventId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static AcceptRCInquiredSystemEventRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return eventId
*/
public String getEventId() {
return this.eventId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<AcceptRCInquiredSystemEventRequest, Builder> {
private String eventId;
private String regionId;
private Builder() {
super();
}
private Builder(AcceptRCInquiredSystemEventRequest request) {
super(request);
this.eventId = request.eventId;
this.regionId = request.regionId;
}
/**
* <p>The ID of the system event.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>e-2zeielxl1qzq8slb****</p>
*/
public Builder eventId(String eventId) {
this.putQueryParameter("EventId", eventId);
this.eventId = eventId;
return this;
}
/**
* <p>The region ID of the system event.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public AcceptRCInquiredSystemEventRequest build() {
return new AcceptRCInquiredSystemEventRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/AcceptRCInquiredSystemEventResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815.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 AcceptRCInquiredSystemEventResponse} extends {@link TeaModel}
*
* <p>AcceptRCInquiredSystemEventResponse</p>
*/
public class AcceptRCInquiredSystemEventResponse 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 AcceptRCInquiredSystemEventResponseBody body;
private AcceptRCInquiredSystemEventResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AcceptRCInquiredSystemEventResponse 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 AcceptRCInquiredSystemEventResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AcceptRCInquiredSystemEventResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(AcceptRCInquiredSystemEventResponseBody body);
@Override
AcceptRCInquiredSystemEventResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AcceptRCInquiredSystemEventResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private AcceptRCInquiredSystemEventResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AcceptRCInquiredSystemEventResponse 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(AcceptRCInquiredSystemEventResponseBody body) {
this.body = body;
return this;
}
@Override
public AcceptRCInquiredSystemEventResponse build() {
return new AcceptRCInquiredSystemEventResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/AcceptRCInquiredSystemEventResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815.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 AcceptRCInquiredSystemEventResponseBody} extends {@link TeaModel}
*
* <p>AcceptRCInquiredSystemEventResponseBody</p>
*/
public class AcceptRCInquiredSystemEventResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private AcceptRCInquiredSystemEventResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AcceptRCInquiredSystemEventResponseBody 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(AcceptRCInquiredSystemEventResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>08A3B71B-FE08-4B03-974F-CC7EA6DB1828</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AcceptRCInquiredSystemEventResponseBody build() {
return new AcceptRCInquiredSystemEventResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/ActivateMigrationTargetInstanceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815.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 ActivateMigrationTargetInstanceRequest} extends {@link RequestModel}
*
* <p>ActivateMigrationTargetInstanceRequest</p>
*/
public class ActivateMigrationTargetInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceName")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ForceSwitch")
private String forceSwitch;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SwitchTime")
private String switchTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SwitchTimeMode")
private String switchTimeMode;
private ActivateMigrationTargetInstanceRequest(Builder builder) {
super(builder);
this.DBInstanceName = builder.DBInstanceName;
this.forceSwitch = builder.forceSwitch;
this.resourceOwnerId = builder.resourceOwnerId;
this.switchTime = builder.switchTime;
this.switchTimeMode = builder.switchTimeMode;
}
public static Builder builder() {
return new Builder();
}
public static ActivateMigrationTargetInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return forceSwitch
*/
public String getForceSwitch() {
return this.forceSwitch;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return switchTime
*/
public String getSwitchTime() {
return this.switchTime;
}
/**
* @return switchTimeMode
*/
public String getSwitchTimeMode() {
return this.switchTimeMode;
}
public static final class Builder extends Request.Builder<ActivateMigrationTargetInstanceRequest, Builder> {
private String DBInstanceName;
private String forceSwitch;
private Long resourceOwnerId;
private String switchTime;
private String switchTimeMode;
private Builder() {
super();
}
private Builder(ActivateMigrationTargetInstanceRequest request) {
super(request);
this.DBInstanceName = request.DBInstanceName;
this.forceSwitch = request.forceSwitch;
this.resourceOwnerId = request.resourceOwnerId;
this.switchTime = request.switchTime;
this.switchTimeMode = request.switchTimeMode;
}
/**
* <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>pgm-bp102g323jd4****</p>
*/
public Builder DBInstanceName(String DBInstanceName) {
this.putQueryParameter("DBInstanceName", DBInstanceName);
this.DBInstanceName = DBInstanceName;
return this;
}
/**
* <p>Specifies whether to forcefully perform a switchover. Set the value to 1. The value 1 specifies a forceful switchover.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder forceSwitch(String forceSwitch) {
this.putQueryParameter("ForceSwitch", forceSwitch);
this.forceSwitch = forceSwitch;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>A reserved parameter. This parameter does not take effect.</p>
*
* <strong>example:</strong>
* <p>2022-02-25T06:57:41Z</p>
*/
public Builder switchTime(String switchTime) {
this.putQueryParameter("SwitchTime", switchTime);
this.switchTime = switchTime;
return this;
}
/**
* <p>The time when you want to perform the switchover.</p>
* <p>Set the value to 0. The value 0 specifies an immediate switchover.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder switchTimeMode(String switchTimeMode) {
this.putQueryParameter("SwitchTimeMode", switchTimeMode);
this.switchTimeMode = switchTimeMode;
return this;
}
@Override
public ActivateMigrationTargetInstanceRequest build() {
return new ActivateMigrationTargetInstanceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/ActivateMigrationTargetInstanceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815.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 ActivateMigrationTargetInstanceResponse} extends {@link TeaModel}
*
* <p>ActivateMigrationTargetInstanceResponse</p>
*/
public class ActivateMigrationTargetInstanceResponse 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 ActivateMigrationTargetInstanceResponseBody body;
private ActivateMigrationTargetInstanceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ActivateMigrationTargetInstanceResponse 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 ActivateMigrationTargetInstanceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ActivateMigrationTargetInstanceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ActivateMigrationTargetInstanceResponseBody body);
@Override
ActivateMigrationTargetInstanceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ActivateMigrationTargetInstanceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ActivateMigrationTargetInstanceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ActivateMigrationTargetInstanceResponse 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(ActivateMigrationTargetInstanceResponseBody body) {
this.body = body;
return this;
}
@Override
public ActivateMigrationTargetInstanceResponse build() {
return new ActivateMigrationTargetInstanceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815 | java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/ActivateMigrationTargetInstanceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.rds20140815.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 ActivateMigrationTargetInstanceResponseBody} extends {@link TeaModel}
*
* <p>ActivateMigrationTargetInstanceResponseBody</p>
*/
public class ActivateMigrationTargetInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBInstanceName")
private String DBInstanceName;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SourceIpAddress")
private String sourceIpAddress;
@com.aliyun.core.annotation.NameInMap("SourcePort")
private Long sourcePort;
@com.aliyun.core.annotation.NameInMap("TaskId")
private Long taskId;
private ActivateMigrationTargetInstanceResponseBody(Builder builder) {
this.DBInstanceName = builder.DBInstanceName;
this.requestId = builder.requestId;
this.sourceIpAddress = builder.sourceIpAddress;
this.sourcePort = builder.sourcePort;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static ActivateMigrationTargetInstanceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return sourceIpAddress
*/
public String getSourceIpAddress() {
return this.sourceIpAddress;
}
/**
* @return sourcePort
*/
public Long getSourcePort() {
return this.sourcePort;
}
/**
* @return taskId
*/
public Long getTaskId() {
return this.taskId;
}
public static final class Builder {
private String DBInstanceName;
private String requestId;
private String sourceIpAddress;
private Long sourcePort;
private Long taskId;
private Builder() {
}
private Builder(ActivateMigrationTargetInstanceResponseBody model) {
this.DBInstanceName = model.DBInstanceName;
this.requestId = model.requestId;
this.sourceIpAddress = model.sourceIpAddress;
this.sourcePort = model.sourcePort;
this.taskId = model.taskId;
}
/**
* <p>The name of the destination instance.</p>
*
* <strong>example:</strong>
* <p>pgm-bp102g323jd4****</p>
*/
public Builder DBInstanceName(String DBInstanceName) {
this.DBInstanceName = DBInstanceName;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>76364A52-E0AB-5CC8-9818-CF1DC482C092</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The private IP address that is used to connect to the self-managed PostgreSQL instance.</p>
*
* <strong>example:</strong>
* <p>172.16.XX.XX</p>
*/
public Builder sourceIpAddress(String sourceIpAddress) {
this.sourceIpAddress = sourceIpAddress;
return this;
}
/**
* <p>The port number that is used to connect to the self-managed PostgreSQL instance.</p>
*
* <strong>example:</strong>
* <p>5432</p>
*/
public Builder sourcePort(Long sourcePort) {
this.sourcePort = sourcePort;
return this;
}
/**
* <p>The ID of the identification task.</p>
*
* <strong>example:</strong>
* <p>440913675</p>
*/
public Builder taskId(Long taskId) {
this.taskId = taskId;
return this;
}
public ActivateMigrationTargetInstanceResponseBody build() {
return new ActivateMigrationTargetInstanceResponseBody(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.