index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
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/DeleteParameterGroupResponseBody.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 DeleteParameterGroupResponseBody} extends {@link TeaModel}
*
* <p>DeleteParameterGroupResponseBody</p>
*/
public class DeleteParameterGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ParameterGroupId")
private String parameterGroupId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteParameterGroupResponseBody(Builder builder) {
this.parameterGroupId = builder.parameterGroupId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteParameterGroupResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return parameterGroupId
*/
public String getParameterGroupId() {
return this.parameterGroupId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String parameterGroupId;
private String requestId;
private Builder() {
}
private Builder(DeleteParameterGroupResponseBody model) {
this.parameterGroupId = model.parameterGroupId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the parameter template.</p>
*
* <strong>example:</strong>
* <p>rpg-gfs****</p>
*/
public Builder parameterGroupId(String parameterGroupId) {
this.parameterGroupId = parameterGroupId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>8AF26036-B254-4212-B8E4-EFBE818B7FD6</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteParameterGroupResponseBody build() {
return new DeleteParameterGroupResponseBody(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/DeletePostgresExtensionsRequest.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 DeletePostgresExtensionsRequest} extends {@link RequestModel}
*
* <p>DeletePostgresExtensionsRequest</p>
*/
public class DeletePostgresExtensionsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBNames")
@com.aliyun.core.annotation.Validation(required = true)
private String DBNames;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Extensions")
@com.aliyun.core.annotation.Validation(required = true)
private String extensions;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeletePostgresExtensionsRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.DBInstanceId = builder.DBInstanceId;
this.DBNames = builder.DBNames;
this.extensions = builder.extensions;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePostgresExtensionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return DBNames
*/
public String getDBNames() {
return this.DBNames;
}
/**
* @return extensions
*/
public String getExtensions() {
return this.extensions;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeletePostgresExtensionsRequest, Builder> {
private String clientToken;
private String DBInstanceId;
private String DBNames;
private String extensions;
private String ownerAccount;
private Long ownerId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeletePostgresExtensionsRequest request) {
super(request);
this.clientToken = request.clientToken;
this.DBInstanceId = request.DBInstanceId;
this.DBNames = request.DBNames;
this.extensions = request.extensions;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOCz****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <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-bp156o9ti493****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The database on which the extension is installed. If you want to specify multiple databases, separate the databases with commas (,).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test_db</p>
*/
public Builder DBNames(String DBNames) {
this.putQueryParameter("DBNames", DBNames);
this.DBNames = DBNames;
return this;
}
/**
* <p>The name of the extension. If you want to specify multiple extensions, separate the extension names with commas (,).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>citext</p>
*/
public Builder extensions(String extensions) {
this.putQueryParameter("Extensions", extensions);
this.extensions = extensions;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeletePostgresExtensionsRequest build() {
return new DeletePostgresExtensionsRequest(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/DeletePostgresExtensionsResponse.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 DeletePostgresExtensionsResponse} extends {@link TeaModel}
*
* <p>DeletePostgresExtensionsResponse</p>
*/
public class DeletePostgresExtensionsResponse 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 DeletePostgresExtensionsResponseBody body;
private DeletePostgresExtensionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeletePostgresExtensionsResponse 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 DeletePostgresExtensionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeletePostgresExtensionsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeletePostgresExtensionsResponseBody body);
@Override
DeletePostgresExtensionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeletePostgresExtensionsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeletePostgresExtensionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeletePostgresExtensionsResponse 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(DeletePostgresExtensionsResponseBody body) {
this.body = body;
return this;
}
@Override
public DeletePostgresExtensionsResponse build() {
return new DeletePostgresExtensionsResponse(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/DeletePostgresExtensionsResponseBody.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 DeletePostgresExtensionsResponseBody} extends {@link TeaModel}
*
* <p>DeletePostgresExtensionsResponseBody</p>
*/
public class DeletePostgresExtensionsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeletePostgresExtensionsResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePostgresExtensionsResponseBody 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(DeletePostgresExtensionsResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7E4448A6-9FE6-4474-A0C1-AA7CFC772CAC</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeletePostgresExtensionsResponseBody build() {
return new DeletePostgresExtensionsResponseBody(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/DeleteRCClusterNodesRequest.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 DeleteRCClusterNodesRequest} extends {@link RequestModel}
*
* <p>DeleteRCClusterNodesRequest</p>
*/
public class DeleteRCClusterNodesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceIds")
private java.util.List<String> instanceIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Nodes")
private java.util.List<String> nodes;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
private DeleteRCClusterNodesRequest(Builder builder) {
super(builder);
this.instanceIds = builder.instanceIds;
this.nodes = builder.nodes;
this.regionId = builder.regionId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCClusterNodesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceIds
*/
public java.util.List<String> getInstanceIds() {
return this.instanceIds;
}
/**
* @return nodes
*/
public java.util.List<String> getNodes() {
return this.nodes;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder extends Request.Builder<DeleteRCClusterNodesRequest, Builder> {
private java.util.List<String> instanceIds;
private java.util.List<String> nodes;
private String regionId;
private String vpcId;
private Builder() {
super();
}
private Builder(DeleteRCClusterNodesRequest request) {
super(request);
this.instanceIds = request.instanceIds;
this.nodes = request.nodes;
this.regionId = request.regionId;
this.vpcId = request.vpcId;
}
/**
* <p>The instance IDs.</p>
*/
public Builder instanceIds(java.util.List<String> instanceIds) {
String instanceIdsShrink = shrink(instanceIds, "InstanceIds", "simple");
this.putQueryParameter("InstanceIds", instanceIdsShrink);
this.instanceIds = instanceIds;
return this;
}
/**
* <p>The node information.</p>
*/
public Builder nodes(java.util.List<String> nodes) {
String nodesShrink = shrink(nodes, "Nodes", "simple");
this.putQueryParameter("Nodes", nodesShrink);
this.nodes = nodes;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The virtual private cloud (VPC) ID.</p>
* <blockquote>
* <p> This is a reserved parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>None</p>
*/
public Builder vpcId(String vpcId) {
this.putQueryParameter("VpcId", vpcId);
this.vpcId = vpcId;
return this;
}
@Override
public DeleteRCClusterNodesRequest build() {
return new DeleteRCClusterNodesRequest(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/DeleteRCClusterNodesResponse.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 DeleteRCClusterNodesResponse} extends {@link TeaModel}
*
* <p>DeleteRCClusterNodesResponse</p>
*/
public class DeleteRCClusterNodesResponse 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 DeleteRCClusterNodesResponseBody body;
private DeleteRCClusterNodesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCClusterNodesResponse 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 DeleteRCClusterNodesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCClusterNodesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCClusterNodesResponseBody body);
@Override
DeleteRCClusterNodesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCClusterNodesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCClusterNodesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCClusterNodesResponse 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(DeleteRCClusterNodesResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCClusterNodesResponse build() {
return new DeleteRCClusterNodesResponse(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/DeleteRCClusterNodesResponseBody.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 DeleteRCClusterNodesResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCClusterNodesResponseBody</p>
*/
public class DeleteRCClusterNodesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TaskId")
private String taskId;
private DeleteRCClusterNodesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCClusterNodesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder {
private String requestId;
private String taskId;
private Builder() {
}
private Builder(DeleteRCClusterNodesResponseBody model) {
this.requestId = model.requestId;
this.taskId = model.taskId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7E0970A1-0434-5C83-B560-613EBA11B525</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The task ID.</p>
*
* <strong>example:</strong>
* <p>238028563</p>
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
public DeleteRCClusterNodesResponseBody build() {
return new DeleteRCClusterNodesResponseBody(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/DeleteRCDeploymentSetRequest.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 DeleteRCDeploymentSetRequest} extends {@link RequestModel}
*
* <p>DeleteRCDeploymentSetRequest</p>
*/
public class DeleteRCDeploymentSetRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeploymentSetId")
@com.aliyun.core.annotation.Validation(required = true)
private String deploymentSetId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private DeleteRCDeploymentSetRequest(Builder builder) {
super(builder);
this.deploymentSetId = builder.deploymentSetId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCDeploymentSetRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deploymentSetId
*/
public String getDeploymentSetId() {
return this.deploymentSetId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<DeleteRCDeploymentSetRequest, Builder> {
private String deploymentSetId;
private String regionId;
private Builder() {
super();
}
private Builder(DeleteRCDeploymentSetRequest request) {
super(request);
this.deploymentSetId = request.deploymentSetId;
this.regionId = request.regionId;
}
/**
* <p>The deployment set ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ds-uf6c8qerk019bj1l****</p>
*/
public Builder deploymentSetId(String deploymentSetId) {
this.putQueryParameter("DeploymentSetId", deploymentSetId);
this.deploymentSetId = deploymentSetId;
return this;
}
/**
* <p>The region ID.</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 DeleteRCDeploymentSetRequest build() {
return new DeleteRCDeploymentSetRequest(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/DeleteRCDeploymentSetResponse.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 DeleteRCDeploymentSetResponse} extends {@link TeaModel}
*
* <p>DeleteRCDeploymentSetResponse</p>
*/
public class DeleteRCDeploymentSetResponse 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 DeleteRCDeploymentSetResponseBody body;
private DeleteRCDeploymentSetResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCDeploymentSetResponse 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 DeleteRCDeploymentSetResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCDeploymentSetResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCDeploymentSetResponseBody body);
@Override
DeleteRCDeploymentSetResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCDeploymentSetResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCDeploymentSetResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCDeploymentSetResponse 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(DeleteRCDeploymentSetResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCDeploymentSetResponse build() {
return new DeleteRCDeploymentSetResponse(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/DeleteRCDeploymentSetResponseBody.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 DeleteRCDeploymentSetResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCDeploymentSetResponseBody</p>
*/
public class DeleteRCDeploymentSetResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRCDeploymentSetResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCDeploymentSetResponseBody 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(DeleteRCDeploymentSetResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>8B993DA9-5272-5414-94E3-4CA8BA0146C2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRCDeploymentSetResponseBody build() {
return new DeleteRCDeploymentSetResponseBody(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/DeleteRCDiskRequest.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 DeleteRCDiskRequest} extends {@link RequestModel}
*
* <p>DeleteRCDiskRequest</p>
*/
public class DeleteRCDiskRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DiskId")
@com.aliyun.core.annotation.Validation(required = true)
private String diskId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private DeleteRCDiskRequest(Builder builder) {
super(builder);
this.diskId = builder.diskId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCDiskRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return diskId
*/
public String getDiskId() {
return this.diskId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<DeleteRCDiskRequest, Builder> {
private String diskId;
private String regionId;
private Builder() {
super();
}
private Builder(DeleteRCDiskRequest request) {
super(request);
this.diskId = request.diskId;
this.regionId = request.regionId;
}
/**
* <p>The ID of the cloud disk that you want to release.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rcd-wz9c8isqly8637zw****</p>
*/
public Builder diskId(String diskId) {
this.putQueryParameter("DiskId", diskId);
this.diskId = diskId;
return this;
}
/**
* <p>The region ID of the instance.</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 DeleteRCDiskRequest build() {
return new DeleteRCDiskRequest(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/DeleteRCDiskResponse.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 DeleteRCDiskResponse} extends {@link TeaModel}
*
* <p>DeleteRCDiskResponse</p>
*/
public class DeleteRCDiskResponse 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 DeleteRCDiskResponseBody body;
private DeleteRCDiskResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCDiskResponse 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 DeleteRCDiskResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCDiskResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCDiskResponseBody body);
@Override
DeleteRCDiskResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCDiskResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCDiskResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCDiskResponse 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(DeleteRCDiskResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCDiskResponse build() {
return new DeleteRCDiskResponse(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/DeleteRCDiskResponseBody.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 DeleteRCDiskResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCDiskResponseBody</p>
*/
public class DeleteRCDiskResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRCDiskResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCDiskResponseBody 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(DeleteRCDiskResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>8BE834C8-3C25-5AF8-BE3E-C8A690602A7F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRCDiskResponseBody build() {
return new DeleteRCDiskResponseBody(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/DeleteRCInstanceRequest.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 DeleteRCInstanceRequest} extends {@link RequestModel}
*
* <p>DeleteRCInstanceRequest</p>
*/
public class DeleteRCInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private Boolean force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private DeleteRCInstanceRequest(Builder builder) {
super(builder);
this.force = builder.force;
this.instanceId = builder.instanceId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<DeleteRCInstanceRequest, Builder> {
private Boolean force;
private String instanceId;
private String regionId;
private Builder() {
super();
}
private Builder(DeleteRCInstanceRequest request) {
super(request);
this.force = request.force;
this.instanceId = request.instanceId;
this.regionId = request.regionId;
}
/**
* Force.
*/
public Builder force(Boolean force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public DeleteRCInstanceRequest build() {
return new DeleteRCInstanceRequest(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/DeleteRCInstanceResponse.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 DeleteRCInstanceResponse} extends {@link TeaModel}
*
* <p>DeleteRCInstanceResponse</p>
*/
public class DeleteRCInstanceResponse 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 DeleteRCInstanceResponseBody body;
private DeleteRCInstanceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCInstanceResponse 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 DeleteRCInstanceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCInstanceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCInstanceResponseBody body);
@Override
DeleteRCInstanceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCInstanceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCInstanceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCInstanceResponse 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(DeleteRCInstanceResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCInstanceResponse build() {
return new DeleteRCInstanceResponse(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/DeleteRCInstanceResponseBody.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 DeleteRCInstanceResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCInstanceResponseBody</p>
*/
public class DeleteRCInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRCInstanceResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCInstanceResponseBody 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(DeleteRCInstanceResponseBody model) {
this.requestId = model.requestId;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRCInstanceResponseBody build() {
return new DeleteRCInstanceResponseBody(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/DeleteRCInstancesRequest.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 DeleteRCInstancesRequest} extends {@link RequestModel}
*
* <p>DeleteRCInstancesRequest</p>
*/
public class DeleteRCInstancesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private Boolean force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TerminateSubscription")
private Boolean terminateSubscription;
private DeleteRCInstancesRequest(Builder builder) {
super(builder);
this.dryRun = builder.dryRun;
this.force = builder.force;
this.instanceId = builder.instanceId;
this.regionId = builder.regionId;
this.terminateSubscription = builder.terminateSubscription;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCInstancesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return instanceId
*/
public java.util.List<String> getInstanceId() {
return this.instanceId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return terminateSubscription
*/
public Boolean getTerminateSubscription() {
return this.terminateSubscription;
}
public static final class Builder extends Request.Builder<DeleteRCInstancesRequest, Builder> {
private Boolean dryRun;
private Boolean force;
private java.util.List<String> instanceId;
private String regionId;
private Boolean terminateSubscription;
private Builder() {
super();
}
private Builder(DeleteRCInstancesRequest request) {
super(request);
this.dryRun = request.dryRun;
this.force = request.force;
this.instanceId = request.instanceId;
this.regionId = request.regionId;
this.terminateSubscription = request.terminateSubscription;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, service limits, and insufficient inventory errors.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, the instance is created.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>Specifies whether to forcefully release a running instance. Valid values:</p>
* <ul>
* <li><strong>Yes</strong></li>
* <li><strong>No</strong> (default)</li>
* </ul>
*
* <strong>example:</strong>
* <p>Yes</p>
*/
public Builder force(Boolean force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* <p>The details of the instance.</p>
* <p>This parameter is required.</p>
*/
public Builder instanceId(java.util.List<String> instanceId) {
String instanceIdShrink = shrink(instanceId, "InstanceId", "json");
this.putQueryParameter("InstanceId", instanceIdShrink);
this.instanceId = instanceId;
return this;
}
/**
* <p>The region ID of the instance.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>Specifies whether to release an expired subscription instance. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong> (default)</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder terminateSubscription(Boolean terminateSubscription) {
this.putQueryParameter("TerminateSubscription", terminateSubscription);
this.terminateSubscription = terminateSubscription;
return this;
}
@Override
public DeleteRCInstancesRequest build() {
return new DeleteRCInstancesRequest(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/DeleteRCInstancesResponse.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 DeleteRCInstancesResponse} extends {@link TeaModel}
*
* <p>DeleteRCInstancesResponse</p>
*/
public class DeleteRCInstancesResponse 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 DeleteRCInstancesResponseBody body;
private DeleteRCInstancesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCInstancesResponse 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 DeleteRCInstancesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCInstancesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCInstancesResponseBody body);
@Override
DeleteRCInstancesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCInstancesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCInstancesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCInstancesResponse 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(DeleteRCInstancesResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCInstancesResponse build() {
return new DeleteRCInstancesResponse(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/DeleteRCInstancesResponseBody.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 DeleteRCInstancesResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCInstancesResponseBody</p>
*/
public class DeleteRCInstancesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRCInstancesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCInstancesResponseBody 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(DeleteRCInstancesResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRCInstancesResponseBody build() {
return new DeleteRCInstancesResponseBody(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/DeleteRCNodePoolRequest.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 DeleteRCNodePoolRequest} extends {@link RequestModel}
*
* <p>DeleteRCNodePoolRequest</p>
*/
public class DeleteRCNodePoolRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NodePoolId")
@com.aliyun.core.annotation.Validation(required = true)
private String nodePoolId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private DeleteRCNodePoolRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.nodePoolId = builder.nodePoolId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCNodePoolRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return nodePoolId
*/
public String getNodePoolId() {
return this.nodePoolId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<DeleteRCNodePoolRequest, Builder> {
private String clusterId;
private String nodePoolId;
private String regionId;
private Builder() {
super();
}
private Builder(DeleteRCNodePoolRequest request) {
super(request);
this.clusterId = request.clusterId;
this.nodePoolId = request.nodePoolId;
this.regionId = request.regionId;
}
/**
* <p>The ID of the ACK cluster to which the RDS Custom instance belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>c463aaa89e2b84cacacfbf23c4867****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The node pool ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>np31da1b38983f4511b490fc62108a****</p>
*/
public Builder nodePoolId(String nodePoolId) {
this.putQueryParameter("NodePoolId", nodePoolId);
this.nodePoolId = nodePoolId;
return this;
}
/**
* <p>The region ID.</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 DeleteRCNodePoolRequest build() {
return new DeleteRCNodePoolRequest(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/DeleteRCNodePoolResponse.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 DeleteRCNodePoolResponse} extends {@link TeaModel}
*
* <p>DeleteRCNodePoolResponse</p>
*/
public class DeleteRCNodePoolResponse 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 DeleteRCNodePoolResponseBody body;
private DeleteRCNodePoolResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCNodePoolResponse 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 DeleteRCNodePoolResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCNodePoolResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCNodePoolResponseBody body);
@Override
DeleteRCNodePoolResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCNodePoolResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCNodePoolResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCNodePoolResponse 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(DeleteRCNodePoolResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCNodePoolResponse build() {
return new DeleteRCNodePoolResponse(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/DeleteRCNodePoolResponseBody.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 DeleteRCNodePoolResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCNodePoolResponseBody</p>
*/
public class DeleteRCNodePoolResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRCNodePoolResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCNodePoolResponseBody 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(DeleteRCNodePoolResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7A41C147-C8D0-4DAE-A1A2-17EBCD60DFA1</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRCNodePoolResponseBody build() {
return new DeleteRCNodePoolResponseBody(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/DeleteRCSnapshotRequest.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 DeleteRCSnapshotRequest} extends {@link RequestModel}
*
* <p>DeleteRCSnapshotRequest</p>
*/
public class DeleteRCSnapshotRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private Boolean force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SnapshotId")
@com.aliyun.core.annotation.Validation(required = true)
private String snapshotId;
private DeleteRCSnapshotRequest(Builder builder) {
super(builder);
this.force = builder.force;
this.regionId = builder.regionId;
this.snapshotId = builder.snapshotId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCSnapshotRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return snapshotId
*/
public String getSnapshotId() {
return this.snapshotId;
}
public static final class Builder extends Request.Builder<DeleteRCSnapshotRequest, Builder> {
private Boolean force;
private String regionId;
private String snapshotId;
private Builder() {
super();
}
private Builder(DeleteRCSnapshotRequest request) {
super(request);
this.force = request.force;
this.regionId = request.regionId;
this.snapshotId = request.snapshotId;
}
/**
* <p>Specifies whether to forcefully delete the snapshot that is used to create cloud disks. Valid values:</p>
* <ul>
* <li><strong>true</strong>: forcefully deletes the snapshot After the snapshot is forcefully deleted, the cloud disks created from the snapshot cannot be re-initialized.</li>
* <li><strong>false</strong>(default): does not forcefully delete the snapshot.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder force(Boolean force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* <p>The region ID.</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;
}
/**
* <p>The snapshot ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rcds-7mbefjzkqccvdev****</p>
*/
public Builder snapshotId(String snapshotId) {
this.putQueryParameter("SnapshotId", snapshotId);
this.snapshotId = snapshotId;
return this;
}
@Override
public DeleteRCSnapshotRequest build() {
return new DeleteRCSnapshotRequest(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/DeleteRCSnapshotResponse.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 DeleteRCSnapshotResponse} extends {@link TeaModel}
*
* <p>DeleteRCSnapshotResponse</p>
*/
public class DeleteRCSnapshotResponse 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 DeleteRCSnapshotResponseBody body;
private DeleteRCSnapshotResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRCSnapshotResponse 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 DeleteRCSnapshotResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRCSnapshotResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRCSnapshotResponseBody body);
@Override
DeleteRCSnapshotResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRCSnapshotResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRCSnapshotResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRCSnapshotResponse 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(DeleteRCSnapshotResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRCSnapshotResponse build() {
return new DeleteRCSnapshotResponse(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/DeleteRCSnapshotResponseBody.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 DeleteRCSnapshotResponseBody} extends {@link TeaModel}
*
* <p>DeleteRCSnapshotResponseBody</p>
*/
public class DeleteRCSnapshotResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRCSnapshotResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRCSnapshotResponseBody 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(DeleteRCSnapshotResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>8BE834C8-3C25-5AF8-BE3E-C8A690602A7F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRCSnapshotResponseBody build() {
return new DeleteRCSnapshotResponseBody(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/DeleteReplicationLinkRequest.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 DeleteReplicationLinkRequest} extends {@link RequestModel}
*
* <p>DeleteReplicationLinkRequest</p>
*/
public class DeleteReplicationLinkRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PromoteToMaster")
@com.aliyun.core.annotation.Validation(required = true)
private Boolean promoteToMaster;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteReplicationLinkRequest(Builder builder) {
super(builder);
this.DBInstanceId = builder.DBInstanceId;
this.promoteToMaster = builder.promoteToMaster;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteReplicationLinkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return promoteToMaster
*/
public Boolean getPromoteToMaster() {
return this.promoteToMaster;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteReplicationLinkRequest, Builder> {
private String DBInstanceId;
private Boolean promoteToMaster;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteReplicationLinkRequest request) {
super(request);
this.DBInstanceId = request.DBInstanceId;
this.promoteToMaster = request.promoteToMaster;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the DR instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>pgm-bp1trqb4p1xd****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>Specifies whether to delete the data synchronization link between the DR instance and the primary instance and promote the DR instance to the primary instance. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder promoteToMaster(Boolean promoteToMaster) {
this.putQueryParameter("PromoteToMaster", promoteToMaster);
this.promoteToMaster = promoteToMaster;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteReplicationLinkRequest build() {
return new DeleteReplicationLinkRequest(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/DeleteReplicationLinkResponse.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 DeleteReplicationLinkResponse} extends {@link TeaModel}
*
* <p>DeleteReplicationLinkResponse</p>
*/
public class DeleteReplicationLinkResponse 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 DeleteReplicationLinkResponseBody body;
private DeleteReplicationLinkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteReplicationLinkResponse 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 DeleteReplicationLinkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteReplicationLinkResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteReplicationLinkResponseBody body);
@Override
DeleteReplicationLinkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteReplicationLinkResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteReplicationLinkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteReplicationLinkResponse 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(DeleteReplicationLinkResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteReplicationLinkResponse build() {
return new DeleteReplicationLinkResponse(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/DeleteReplicationLinkResponseBody.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 DeleteReplicationLinkResponseBody} extends {@link TeaModel}
*
* <p>DeleteReplicationLinkResponseBody</p>
*/
public class DeleteReplicationLinkResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
private String DBInstanceId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TaskId")
private Long taskId;
@com.aliyun.core.annotation.NameInMap("TaskName")
private String taskName;
private DeleteReplicationLinkResponseBody(Builder builder) {
this.DBInstanceId = builder.DBInstanceId;
this.requestId = builder.requestId;
this.taskId = builder.taskId;
this.taskName = builder.taskName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteReplicationLinkResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return taskId
*/
public Long getTaskId() {
return this.taskId;
}
/**
* @return taskName
*/
public String getTaskName() {
return this.taskName;
}
public static final class Builder {
private String DBInstanceId;
private String requestId;
private Long taskId;
private String taskName;
private Builder() {
}
private Builder(DeleteReplicationLinkResponseBody model) {
this.DBInstanceId = model.DBInstanceId;
this.requestId = model.requestId;
this.taskId = model.taskId;
this.taskName = model.taskName;
}
/**
* <p>The ID of the DR instance.</p>
*
* <strong>example:</strong>
* <p>pgm-bp1trqb4p1xd****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>847BA085-B377-4BFA-8267-F82345ECE1D2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The task ID.</p>
*
* <strong>example:</strong>
* <p>3472****</p>
*/
public Builder taskId(Long taskId) {
this.taskId = taskId;
return this;
}
/**
* <p>The task name.</p>
*
* <strong>example:</strong>
* <p>test01</p>
*/
public Builder taskName(String taskName) {
this.taskName = taskName;
return this;
}
public DeleteReplicationLinkResponseBody build() {
return new DeleteReplicationLinkResponseBody(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/DeleteSecretRequest.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 DeleteSecretRequest} extends {@link RequestModel}
*
* <p>DeleteSecretRequest</p>
*/
public class DeleteSecretRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DbInstanceId")
private String dbInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Engine")
@com.aliyun.core.annotation.Validation(required = true)
private String engine;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecretArn")
private String secretArn;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecretName")
private String secretName;
private DeleteSecretRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dbInstanceId = builder.dbInstanceId;
this.engine = builder.engine;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.secretArn = builder.secretArn;
this.secretName = builder.secretName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSecretRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dbInstanceId
*/
public String getDbInstanceId() {
return this.dbInstanceId;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return secretArn
*/
public String getSecretArn() {
return this.secretArn;
}
/**
* @return secretName
*/
public String getSecretName() {
return this.secretName;
}
public static final class Builder extends Request.Builder<DeleteSecretRequest, Builder> {
private String clientToken;
private String dbInstanceId;
private String engine;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String secretArn;
private String secretName;
private Builder() {
super();
}
private Builder(DeleteSecretRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dbInstanceId = request.dbInstanceId;
this.engine = request.engine;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.secretArn = request.secretArn;
this.secretName = request.secretName;
}
/**
* <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOCz*****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p>
* <blockquote>
* <p> If you specify this parameter, you must also specify the <strong>SecretName</strong> parameter. parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>rm-sfjdlsjxxxxx</p>
*/
public Builder dbInstanceId(String dbInstanceId) {
this.putQueryParameter("DbInstanceId", dbInstanceId);
this.dbInstanceId = dbInstanceId;
return this;
}
/**
* <p>The engine of the database.</p>
* <blockquote>
* <p>Only MySQL is supported.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.putQueryParameter("Engine", engine);
this.engine = engine;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID. You can call the DescribeSecrets operation to query the region ID.</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;
}
/**
* <p>The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the credential for the created Data API account. You can call the CreateSecret operation to obtain the value of this parameter.</p>
* <blockquote>
* <p> You must specify one of the SecretArn and <strong>SecretName</strong> parameters.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>acs:rds:cn-hangzhou:1335786***:dbInstance/rm-bp1m7l3j63****</p>
*/
public Builder secretArn(String secretArn) {
this.putQueryParameter("SecretArn", secretArn);
this.secretArn = secretArn;
return this;
}
/**
* <p>The name of the credential.</p>
* <blockquote>
* <ul>
* <li>You must specify one of <strong>SecretArn</strong> and SecretName.</li>
* <li>If you specify this parameter, you must also specify <strong>DbInstanceId</strong>.</li>
* </ul>
* </blockquote>
*
* <strong>example:</strong>
* <p>Foo</p>
*/
public Builder secretName(String secretName) {
this.putQueryParameter("SecretName", secretName);
this.secretName = secretName;
return this;
}
@Override
public DeleteSecretRequest build() {
return new DeleteSecretRequest(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/DeleteSecretResponse.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 DeleteSecretResponse} extends {@link TeaModel}
*
* <p>DeleteSecretResponse</p>
*/
public class DeleteSecretResponse 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 DeleteSecretResponseBody body;
private DeleteSecretResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteSecretResponse 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 DeleteSecretResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteSecretResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteSecretResponseBody body);
@Override
DeleteSecretResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSecretResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteSecretResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSecretResponse 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(DeleteSecretResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteSecretResponse build() {
return new DeleteSecretResponse(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/DeleteSecretResponseBody.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 DeleteSecretResponseBody} extends {@link TeaModel}
*
* <p>DeleteSecretResponseBody</p>
*/
public class DeleteSecretResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SecretArn")
private String secretArn;
@com.aliyun.core.annotation.NameInMap("SecretName")
private String secretName;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DeleteSecretResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.secretArn = builder.secretArn;
this.secretName = builder.secretName;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSecretResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return secretArn
*/
public String getSecretArn() {
return this.secretArn;
}
/**
* @return secretName
*/
public String getSecretName() {
return this.secretName;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String requestId;
private String secretArn;
private String secretName;
private Boolean success;
private Builder() {
}
private Builder(DeleteSecretResponseBody model) {
this.requestId = model.requestId;
this.secretArn = model.secretArn;
this.secretName = model.secretName;
this.success = model.success;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>DF4961DD-16F5-5B24-BD4C-0C7788F7ADAF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ARN of the credential for the Data API account.</p>
*
* <strong>example:</strong>
* <p>acs:rds:cn-hangzhou:1335786***:dbInstance/rm-bp1m7l3j63****</p>
*/
public Builder secretArn(String secretArn) {
this.secretArn = secretArn;
return this;
}
/**
* <p>The name of the credential.</p>
*
* <strong>example:</strong>
* <p>Foo</p>
*/
public Builder secretName(String secretName) {
this.secretName = secretName;
return this;
}
/**
* <p>Indicates whether the request was successful. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteSecretResponseBody build() {
return new DeleteSecretResponseBody(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/DeleteSlotRequest.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 DeleteSlotRequest} extends {@link RequestModel}
*
* <p>DeleteSlotRequest</p>
*/
public class DeleteSlotRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SlotName")
@com.aliyun.core.annotation.Validation(required = true)
private String slotName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SlotStatus")
@com.aliyun.core.annotation.Validation(required = true)
private String slotStatus;
private DeleteSlotRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.DBInstanceId = builder.DBInstanceId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.slotName = builder.slotName;
this.slotStatus = builder.slotStatus;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSlotRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return slotName
*/
public String getSlotName() {
return this.slotName;
}
/**
* @return slotStatus
*/
public String getSlotStatus() {
return this.slotStatus;
}
public static final class Builder extends Request.Builder<DeleteSlotRequest, Builder> {
private String clientToken;
private String DBInstanceId;
private String ownerAccount;
private Long ownerId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String slotName;
private String slotStatus;
private Builder() {
super();
}
private Builder(DeleteSlotRequest request) {
super(request);
this.clientToken = request.clientToken;
this.DBInstanceId = request.DBInstanceId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.slotName = request.slotName;
this.slotStatus = request.slotStatus;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOC****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <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 DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the resource group. You can leave this parameter empty.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The name of the replication slot. You can call the DescribeSlots operation to query the name of the replication slot.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>slot_test01</p>
*/
public Builder slotName(String slotName) {
this.putQueryParameter("SlotName", slotName);
this.slotName = slotName;
return this;
}
/**
* <p>The status of the replication slot. You can call the DescribeSlots operation to query the status of the replication slot. Valid values:</p>
* <ul>
* <li><strong>ACTIVE</strong></li>
* <li><strong>INACTIVE</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>INACTIVE</p>
*/
public Builder slotStatus(String slotStatus) {
this.putQueryParameter("SlotStatus", slotStatus);
this.slotStatus = slotStatus;
return this;
}
@Override
public DeleteSlotRequest build() {
return new DeleteSlotRequest(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/DeleteSlotResponse.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 DeleteSlotResponse} extends {@link TeaModel}
*
* <p>DeleteSlotResponse</p>
*/
public class DeleteSlotResponse 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 DeleteSlotResponseBody body;
private DeleteSlotResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteSlotResponse 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 DeleteSlotResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteSlotResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteSlotResponseBody body);
@Override
DeleteSlotResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSlotResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteSlotResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSlotResponse 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(DeleteSlotResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteSlotResponse build() {
return new DeleteSlotResponse(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/DeleteSlotResponseBody.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 DeleteSlotResponseBody} extends {@link TeaModel}
*
* <p>DeleteSlotResponseBody</p>
*/
public class DeleteSlotResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SlotName")
private String slotName;
private DeleteSlotResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.slotName = builder.slotName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSlotResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return slotName
*/
public String getSlotName() {
return this.slotName;
}
public static final class Builder {
private String requestId;
private String slotName;
private Builder() {
}
private Builder(DeleteSlotResponseBody model) {
this.requestId = model.requestId;
this.slotName = model.slotName;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>2875D608-A228-53D7-B8C9-35F13EDCF36D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The name of the replication slot.</p>
*
* <strong>example:</strong>
* <p>slot_test01</p>
*/
public Builder slotName(String slotName) {
this.slotName = slotName;
return this;
}
public DeleteSlotResponseBody build() {
return new DeleteSlotResponseBody(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/DeleteUserBackupFileRequest.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 DeleteUserBackupFileRequest} extends {@link RequestModel}
*
* <p>DeleteUserBackupFileRequest</p>
*/
public class DeleteUserBackupFileRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupId")
@com.aliyun.core.annotation.Validation(required = true)
private String backupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteUserBackupFileRequest(Builder builder) {
super(builder);
this.backupId = builder.backupId;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteUserBackupFileRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backupId
*/
public String getBackupId() {
return this.backupId;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteUserBackupFileRequest, Builder> {
private String backupId;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteUserBackupFileRequest request) {
super(request);
this.backupId = request.backupId;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the full backup file. You can call the ListUserBackupFiles operation to query the information about all full backup files in a region.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>b-w1haya7e4i25********</p>
*/
public Builder backupId(String backupId) {
this.putQueryParameter("BackupId", backupId);
this.backupId = backupId;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.</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;
}
/**
* <p>The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteUserBackupFileRequest build() {
return new DeleteUserBackupFileRequest(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/DeleteUserBackupFileResponse.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 DeleteUserBackupFileResponse} extends {@link TeaModel}
*
* <p>DeleteUserBackupFileResponse</p>
*/
public class DeleteUserBackupFileResponse 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 DeleteUserBackupFileResponseBody body;
private DeleteUserBackupFileResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteUserBackupFileResponse 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 DeleteUserBackupFileResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteUserBackupFileResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteUserBackupFileResponseBody body);
@Override
DeleteUserBackupFileResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteUserBackupFileResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteUserBackupFileResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteUserBackupFileResponse 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(DeleteUserBackupFileResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteUserBackupFileResponse build() {
return new DeleteUserBackupFileResponse(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/DeleteUserBackupFileResponseBody.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 DeleteUserBackupFileResponseBody} extends {@link TeaModel}
*
* <p>DeleteUserBackupFileResponseBody</p>
*/
public class DeleteUserBackupFileResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupId")
private String backupId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteUserBackupFileResponseBody(Builder builder) {
this.backupId = builder.backupId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteUserBackupFileResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backupId
*/
public String getBackupId() {
return this.backupId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String backupId;
private String requestId;
private Builder() {
}
private Builder(DeleteUserBackupFileResponseBody model) {
this.backupId = model.backupId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the deleted full backup file.</p>
*
* <strong>example:</strong>
* <p>b-w1haya7e4i25********</p>
*/
public Builder backupId(String backupId) {
this.backupId = backupId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>F28AE40B-203B-4CFE-B81F-FD981CD97B17</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteUserBackupFileResponseBody build() {
return new DeleteUserBackupFileResponseBody(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/DescibeImportsFromDatabaseRequest.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 DescibeImportsFromDatabaseRequest} extends {@link RequestModel}
*
* <p>DescibeImportsFromDatabaseRequest</p>
*/
public class DescibeImportsFromDatabaseRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
@com.aliyun.core.annotation.Validation(required = true)
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Engine")
@com.aliyun.core.annotation.Validation(required = true)
private String engine;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImportId")
private Integer importId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
@com.aliyun.core.annotation.Validation(required = true)
private String startTime;
private DescibeImportsFromDatabaseRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.DBInstanceId = builder.DBInstanceId;
this.endTime = builder.endTime;
this.engine = builder.engine;
this.importId = builder.importId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescibeImportsFromDatabaseRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return importId
*/
public Integer getImportId() {
return this.importId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<DescibeImportsFromDatabaseRequest, Builder> {
private String clientToken;
private String DBInstanceId;
private String endTime;
private String engine;
private Integer importId;
private String ownerAccount;
private Long ownerId;
private Integer pageNumber;
private Integer pageSize;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String startTime;
private Builder() {
super();
}
private Builder(DescibeImportsFromDatabaseRequest request) {
super(request);
this.clientToken = request.clientToken;
this.DBInstanceId = request.DBInstanceId;
this.endTime = request.endTime;
this.engine = request.engine;
this.importId = request.importId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.startTime = request.startTime;
}
/**
* <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOCzxxxxxxx</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The instance ID. You can call the DescribeDBInstances operation to query the IDs of instances.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rm-bpxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2011-06-11T16:00Z</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The database engine of the instance. Set the value to <strong>MySQL</strong></p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.putQueryParameter("Engine", engine);
this.engine = engine;
return this;
}
/**
* <p>The ID of the migration task.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder importId(Integer importId) {
this.putQueryParameter("ImportId", importId);
this.importId = importId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The page number. Valid values: any non-zero positive integer.</p>
* <p>Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page. Valid values:</p>
* <ul>
* <li><strong>30</strong></li>
* <li><strong>50</strong></li>
* <li><strong>100</strong></li>
* </ul>
* <p>Default value: <strong>30</strong>.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the resource group. You can call the DescribeDBInstanceAttribute operation to obtain the ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2011-06-11T15:00Z</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescibeImportsFromDatabaseRequest build() {
return new DescibeImportsFromDatabaseRequest(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/DescibeImportsFromDatabaseResponse.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 DescibeImportsFromDatabaseResponse} extends {@link TeaModel}
*
* <p>DescibeImportsFromDatabaseResponse</p>
*/
public class DescibeImportsFromDatabaseResponse 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 DescibeImportsFromDatabaseResponseBody body;
private DescibeImportsFromDatabaseResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescibeImportsFromDatabaseResponse 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 DescibeImportsFromDatabaseResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescibeImportsFromDatabaseResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescibeImportsFromDatabaseResponseBody body);
@Override
DescibeImportsFromDatabaseResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescibeImportsFromDatabaseResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescibeImportsFromDatabaseResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescibeImportsFromDatabaseResponse 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(DescibeImportsFromDatabaseResponseBody body) {
this.body = body;
return this;
}
@Override
public DescibeImportsFromDatabaseResponse build() {
return new DescibeImportsFromDatabaseResponse(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/DescibeImportsFromDatabaseResponseBody.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 DescibeImportsFromDatabaseResponseBody} extends {@link TeaModel}
*
* <p>DescibeImportsFromDatabaseResponseBody</p>
*/
public class DescibeImportsFromDatabaseResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private Items items;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageRecordCount")
private Integer pageRecordCount;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalRecordCount")
private Integer totalRecordCount;
private DescibeImportsFromDatabaseResponseBody(Builder builder) {
this.items = builder.items;
this.pageNumber = builder.pageNumber;
this.pageRecordCount = builder.pageRecordCount;
this.requestId = builder.requestId;
this.totalRecordCount = builder.totalRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescibeImportsFromDatabaseResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return items
*/
public Items getItems() {
return this.items;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageRecordCount
*/
public Integer getPageRecordCount() {
return this.pageRecordCount;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalRecordCount
*/
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
public static final class Builder {
private Items items;
private Integer pageNumber;
private Integer pageRecordCount;
private String requestId;
private Integer totalRecordCount;
private Builder() {
}
private Builder(DescibeImportsFromDatabaseResponseBody model) {
this.items = model.items;
this.pageNumber = model.pageNumber;
this.pageRecordCount = model.pageRecordCount;
this.requestId = model.requestId;
this.totalRecordCount = model.totalRecordCount;
}
/**
* <p>The migration tasks.</p>
*/
public Builder items(Items items) {
this.items = items;
return this;
}
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageRecordCount(Integer pageRecordCount) {
this.pageRecordCount = pageRecordCount;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>B000AA91-393D-46F9-8D9B-098E28931A3A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public DescibeImportsFromDatabaseResponseBody build() {
return new DescibeImportsFromDatabaseResponseBody(this);
}
}
/**
*
* {@link DescibeImportsFromDatabaseResponseBody} extends {@link TeaModel}
*
* <p>DescibeImportsFromDatabaseResponseBody</p>
*/
public static class ImportResultFromDB extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ImportDataStatus")
private String importDataStatus;
@com.aliyun.core.annotation.NameInMap("ImportDataStatusDescription")
private String importDataStatusDescription;
@com.aliyun.core.annotation.NameInMap("ImportDataType")
private String importDataType;
@com.aliyun.core.annotation.NameInMap("ImportId")
private Integer importId;
@com.aliyun.core.annotation.NameInMap("IncrementalImportingTime")
private String incrementalImportingTime;
private ImportResultFromDB(Builder builder) {
this.importDataStatus = builder.importDataStatus;
this.importDataStatusDescription = builder.importDataStatusDescription;
this.importDataType = builder.importDataType;
this.importId = builder.importId;
this.incrementalImportingTime = builder.incrementalImportingTime;
}
public static Builder builder() {
return new Builder();
}
public static ImportResultFromDB create() {
return builder().build();
}
/**
* @return importDataStatus
*/
public String getImportDataStatus() {
return this.importDataStatus;
}
/**
* @return importDataStatusDescription
*/
public String getImportDataStatusDescription() {
return this.importDataStatusDescription;
}
/**
* @return importDataType
*/
public String getImportDataType() {
return this.importDataType;
}
/**
* @return importId
*/
public Integer getImportId() {
return this.importId;
}
/**
* @return incrementalImportingTime
*/
public String getIncrementalImportingTime() {
return this.incrementalImportingTime;
}
public static final class Builder {
private String importDataStatus;
private String importDataStatusDescription;
private String importDataType;
private Integer importId;
private String incrementalImportingTime;
private Builder() {
}
private Builder(ImportResultFromDB model) {
this.importDataStatus = model.importDataStatus;
this.importDataStatusDescription = model.importDataStatusDescription;
this.importDataType = model.importDataType;
this.importId = model.importId;
this.incrementalImportingTime = model.incrementalImportingTime;
}
/**
* <p>The status of the migration task. Valid values:</p>
* <ul>
* <li><strong>NotStart</strong>: The migration task has not started.</li>
* <li><strong>FullExporting</strong>: The migration task is exporting full data.</li>
* <li><strong>FullImporting</strong>: The migration task is importing full data.</li>
* <li><strong>Success</strong>: The migration task is successful.</li>
* <li><strong>Failed</strong>: The migration task failed.</li>
* <li><strong>Canceled</strong>: The migration task is canceled.</li>
* <li><strong>Canceling</strong>: The migration task is being canceled.</li>
* <li><strong>IncrementalWaiting</strong>: The migration task is waiting to synchronize incremental data.</li>
* <li><strong>IncrementalImporting</strong>: The migration task is synchronizing incremental data.</li>
* <li><strong>StopSyncing</strong>: The migration task stops synchronizing data.</li>
* </ul>
*
* <strong>example:</strong>
* <p>NotStart</p>
*/
public Builder importDataStatus(String importDataStatus) {
this.importDataStatus = importDataStatus;
return this;
}
/**
* <p>The description of the migration task.</p>
*
* <strong>example:</strong>
* <p>Description</p>
*/
public Builder importDataStatusDescription(String importDataStatusDescription) {
this.importDataStatusDescription = importDataStatusDescription;
return this;
}
/**
* <p>The type of the migration task. Valid values:</p>
* <ul>
* <li><strong>Full</strong>: full migration</li>
* <li><strong>Incremental:</strong>: incremental migration</li>
* </ul>
*
* <strong>example:</strong>
* <p>Full</p>
*/
public Builder importDataType(String importDataType) {
this.importDataType = importDataType;
return this;
}
/**
* <p>The ID of the migration task.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder importId(Integer importId) {
this.importId = importId;
return this;
}
/**
* <p>The time when the migration task synchronized incremental data. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2011-06-11T15:00Z</p>
*/
public Builder incrementalImportingTime(String incrementalImportingTime) {
this.incrementalImportingTime = incrementalImportingTime;
return this;
}
public ImportResultFromDB build() {
return new ImportResultFromDB(this);
}
}
}
/**
*
* {@link DescibeImportsFromDatabaseResponseBody} extends {@link TeaModel}
*
* <p>DescibeImportsFromDatabaseResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ImportResultFromDB")
private java.util.List<ImportResultFromDB> importResultFromDB;
private Items(Builder builder) {
this.importResultFromDB = builder.importResultFromDB;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return importResultFromDB
*/
public java.util.List<ImportResultFromDB> getImportResultFromDB() {
return this.importResultFromDB;
}
public static final class Builder {
private java.util.List<ImportResultFromDB> importResultFromDB;
private Builder() {
}
private Builder(Items model) {
this.importResultFromDB = model.importResultFromDB;
}
/**
* ImportResultFromDB.
*/
public Builder importResultFromDB(java.util.List<ImportResultFromDB> importResultFromDB) {
this.importResultFromDB = importResultFromDB;
return this;
}
public Items build() {
return new Items(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/DescribeADInfoRequest.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 DescribeADInfoRequest} extends {@link RequestModel}
*
* <p>DescribeADInfoRequest</p>
*/
public class DescribeADInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeADInfoRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.DBInstanceId = builder.DBInstanceId;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeADInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeADInfoRequest, Builder> {
private String clientToken;
private String DBInstanceId;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeADInfoRequest request) {
super(request);
this.clientToken = request.clientToken;
this.DBInstanceId = request.DBInstanceId;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the generated token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOCz*****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <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>rm-bp1k8s41l2o52****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID.</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;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeADInfoRequest build() {
return new DescribeADInfoRequest(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/DescribeADInfoResponse.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 DescribeADInfoResponse} extends {@link TeaModel}
*
* <p>DescribeADInfoResponse</p>
*/
public class DescribeADInfoResponse 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 DescribeADInfoResponseBody body;
private DescribeADInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeADInfoResponse 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 DescribeADInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeADInfoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeADInfoResponseBody body);
@Override
DescribeADInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeADInfoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeADInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeADInfoResponse 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(DescribeADInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeADInfoResponse build() {
return new DescribeADInfoResponse(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/DescribeADInfoResponseBody.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 DescribeADInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeADInfoResponseBody</p>
*/
public class DescribeADInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ADDNS")
private String ADDNS;
@com.aliyun.core.annotation.NameInMap("ADServerIpAddress")
private String ADServerIpAddress;
@com.aliyun.core.annotation.NameInMap("ADStatus")
private String ADStatus;
@com.aliyun.core.annotation.NameInMap("AbnormalReason")
private String abnormalReason;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private DescribeADInfoResponseBody(Builder builder) {
this.ADDNS = builder.ADDNS;
this.ADServerIpAddress = builder.ADServerIpAddress;
this.ADStatus = builder.ADStatus;
this.abnormalReason = builder.abnormalReason;
this.requestId = builder.requestId;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeADInfoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ADDNS
*/
public String getADDNS() {
return this.ADDNS;
}
/**
* @return ADServerIpAddress
*/
public String getADServerIpAddress() {
return this.ADServerIpAddress;
}
/**
* @return ADStatus
*/
public String getADStatus() {
return this.ADStatus;
}
/**
* @return abnormalReason
*/
public String getAbnormalReason() {
return this.abnormalReason;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder {
private String ADDNS;
private String ADServerIpAddress;
private String ADStatus;
private String abnormalReason;
private String requestId;
private String userName;
private Builder() {
}
private Builder(DescribeADInfoResponseBody model) {
this.ADDNS = model.ADDNS;
this.ADServerIpAddress = model.ADServerIpAddress;
this.ADStatus = model.ADStatus;
this.abnormalReason = model.abnormalReason;
this.requestId = model.requestId;
this.userName = model.userName;
}
/**
* <p>The DNS information about the AD domain.</p>
*
* <strong>example:</strong>
* <p>100.100.XX.XX</p>
*/
public Builder ADDNS(String ADDNS) {
this.ADDNS = ADDNS;
return this;
}
/**
* <p>The service IP address of the AD domain.</p>
*
* <strong>example:</strong>
* <p>192.168.XX.XX</p>
*/
public Builder ADServerIpAddress(String ADServerIpAddress) {
this.ADServerIpAddress = ADServerIpAddress;
return this;
}
/**
* <p>The status of the AD domain. Valid values:</p>
* <ul>
* <li><strong>-1</strong>: The instance is being added to the AD domain.</li>
* <li><strong>0</strong>: The instance fails to be added to the AD domain.</li>
* <li><strong>1</strong>: The instance is added to the AD domain.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder ADStatus(String ADStatus) {
this.ADStatus = ADStatus;
return this;
}
/**
* <p>The cause of the error.</p>
*
* <strong>example:</strong>
* <p>XXXX</p>
*/
public Builder abnormalReason(String abnormalReason) {
this.abnormalReason = abnormalReason;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>1AD222E9-E606-4A42-BF6D-8A4442913CEF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The username of the AD domain.</p>
*
* <strong>example:</strong>
* <p>test_01</p>
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
public DescribeADInfoResponseBody build() {
return new DescribeADInfoResponseBody(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/DescribeAccountMaskingPrivilegeRequest.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 DescribeAccountMaskingPrivilegeRequest} extends {@link RequestModel}
*
* <p>DescribeAccountMaskingPrivilegeRequest</p>
*/
public class DescribeAccountMaskingPrivilegeRequest 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("DBName")
private String DBName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private String ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private DescribeAccountMaskingPrivilegeRequest(Builder builder) {
super(builder);
this.DBInstanceName = builder.DBInstanceName;
this.DBName = builder.DBName;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAccountMaskingPrivilegeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return DBName
*/
public String getDBName() {
return this.DBName;
}
/**
* @return ownerId
*/
public String getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder extends Request.Builder<DescribeAccountMaskingPrivilegeRequest, Builder> {
private String DBInstanceName;
private String DBName;
private String ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String userName;
private Builder() {
super();
}
private Builder(DescribeAccountMaskingPrivilegeRequest request) {
super(request);
this.DBInstanceName = request.DBInstanceName;
this.DBName = request.DBName;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.userName = request.userName;
}
/**
* <p>This parameter is required.</p>
*/
public Builder DBInstanceName(String DBInstanceName) {
this.putQueryParameter("DBInstanceName", DBInstanceName);
this.DBInstanceName = DBInstanceName;
return this;
}
/**
* DBName.
*/
public Builder DBName(String DBName) {
this.putQueryParameter("DBName", DBName);
this.DBName = DBName;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(String ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* UserName.
*/
public Builder userName(String userName) {
this.putQueryParameter("UserName", userName);
this.userName = userName;
return this;
}
@Override
public DescribeAccountMaskingPrivilegeRequest build() {
return new DescribeAccountMaskingPrivilegeRequest(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/DescribeAccountMaskingPrivilegeResponse.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 DescribeAccountMaskingPrivilegeResponse} extends {@link TeaModel}
*
* <p>DescribeAccountMaskingPrivilegeResponse</p>
*/
public class DescribeAccountMaskingPrivilegeResponse 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 DescribeAccountMaskingPrivilegeResponseBody body;
private DescribeAccountMaskingPrivilegeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAccountMaskingPrivilegeResponse 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 DescribeAccountMaskingPrivilegeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAccountMaskingPrivilegeResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAccountMaskingPrivilegeResponseBody body);
@Override
DescribeAccountMaskingPrivilegeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAccountMaskingPrivilegeResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAccountMaskingPrivilegeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAccountMaskingPrivilegeResponse 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(DescribeAccountMaskingPrivilegeResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAccountMaskingPrivilegeResponse build() {
return new DescribeAccountMaskingPrivilegeResponse(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/DescribeAccountMaskingPrivilegeResponseBody.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 DescribeAccountMaskingPrivilegeResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountMaskingPrivilegeResponseBody</p>
*/
public class DescribeAccountMaskingPrivilegeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeAccountMaskingPrivilegeResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAccountMaskingPrivilegeResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Data data;
private String requestId;
private Builder() {
}
private Builder(DescribeAccountMaskingPrivilegeResponseBody model) {
this.data = model.data;
this.requestId = model.requestId;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeAccountMaskingPrivilegeResponseBody build() {
return new DescribeAccountMaskingPrivilegeResponseBody(this);
}
}
/**
*
* {@link DescribeAccountMaskingPrivilegeResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountMaskingPrivilegeResponseBody</p>
*/
public static class UserPrivilege extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("Privilege")
private String privilege;
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private UserPrivilege(Builder builder) {
this.expireTime = builder.expireTime;
this.privilege = builder.privilege;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static UserPrivilege create() {
return builder().build();
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return privilege
*/
public String getPrivilege() {
return this.privilege;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder {
private String expireTime;
private String privilege;
private String userName;
private Builder() {
}
private Builder(UserPrivilege model) {
this.expireTime = model.expireTime;
this.privilege = model.privilege;
this.userName = model.userName;
}
/**
* ExpireTime.
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* Privilege.
*/
public Builder privilege(String privilege) {
this.privilege = privilege;
return this;
}
/**
* UserName.
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
public UserPrivilege build() {
return new UserPrivilege(this);
}
}
}
/**
*
* {@link DescribeAccountMaskingPrivilegeResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountMaskingPrivilegeResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("UserPrivilege")
private java.util.List<UserPrivilege> userPrivilege;
private Data(Builder builder) {
this.userPrivilege = builder.userPrivilege;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return userPrivilege
*/
public java.util.List<UserPrivilege> getUserPrivilege() {
return this.userPrivilege;
}
public static final class Builder {
private java.util.List<UserPrivilege> userPrivilege;
private Builder() {
}
private Builder(Data model) {
this.userPrivilege = model.userPrivilege;
}
/**
* UserPrivilege.
*/
public Builder userPrivilege(java.util.List<UserPrivilege> userPrivilege) {
this.userPrivilege = userPrivilege;
return this;
}
public Data build() {
return new Data(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/DescribeAccountsRequest.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 DescribeAccountsRequest} extends {@link RequestModel}
*
* <p>DescribeAccountsRequest</p>
*/
public class DescribeAccountsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
@com.aliyun.core.annotation.Validation(maximum = 2147483647)
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeAccountsRequest(Builder builder) {
super(builder);
this.accountName = builder.accountName;
this.DBInstanceId = builder.DBInstanceId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAccountsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeAccountsRequest, Builder> {
private String accountName;
private String DBInstanceId;
private Integer pageNumber;
private Integer pageSize;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeAccountsRequest request) {
super(request);
this.accountName = request.accountName;
this.DBInstanceId = request.DBInstanceId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The name of the database account.</p>
*
* <strong>example:</strong>
* <p>test1</p>
*/
public Builder accountName(String accountName) {
this.putQueryParameter("AccountName", accountName);
this.accountName = accountName;
return this;
}
/**
* <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p>
* <blockquote>
* <p> This parameter is not supported for RDS instances that run SQL Server 2017 on RDS Cluster Edition.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5*****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The page number. Default value: <strong>1</strong>. Pages start from page 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page. Valid values: <strong>30 to 200</strong>. Default value: <strong>30</strong>.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeAccountsRequest build() {
return new DescribeAccountsRequest(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/DescribeAccountsResponse.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 DescribeAccountsResponse} extends {@link TeaModel}
*
* <p>DescribeAccountsResponse</p>
*/
public class DescribeAccountsResponse 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 DescribeAccountsResponseBody body;
private DescribeAccountsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAccountsResponse 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 DescribeAccountsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAccountsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAccountsResponseBody body);
@Override
DescribeAccountsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAccountsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAccountsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAccountsResponse 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(DescribeAccountsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAccountsResponse build() {
return new DescribeAccountsResponse(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/DescribeAccountsResponseBody.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 DescribeAccountsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountsResponseBody</p>
*/
public class DescribeAccountsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Accounts")
private Accounts accounts;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("SystemAdminAccountFirstActivationTime")
private String systemAdminAccountFirstActivationTime;
@com.aliyun.core.annotation.NameInMap("SystemAdminAccountStatus")
private String systemAdminAccountStatus;
@com.aliyun.core.annotation.NameInMap("TotalRecordCount")
private Integer totalRecordCount;
private DescribeAccountsResponseBody(Builder builder) {
this.accounts = builder.accounts;
this.pageNumber = builder.pageNumber;
this.requestId = builder.requestId;
this.resourceGroupId = builder.resourceGroupId;
this.systemAdminAccountFirstActivationTime = builder.systemAdminAccountFirstActivationTime;
this.systemAdminAccountStatus = builder.systemAdminAccountStatus;
this.totalRecordCount = builder.totalRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAccountsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accounts
*/
public Accounts getAccounts() {
return this.accounts;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return systemAdminAccountFirstActivationTime
*/
public String getSystemAdminAccountFirstActivationTime() {
return this.systemAdminAccountFirstActivationTime;
}
/**
* @return systemAdminAccountStatus
*/
public String getSystemAdminAccountStatus() {
return this.systemAdminAccountStatus;
}
/**
* @return totalRecordCount
*/
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
public static final class Builder {
private Accounts accounts;
private Integer pageNumber;
private String requestId;
private String resourceGroupId;
private String systemAdminAccountFirstActivationTime;
private String systemAdminAccountStatus;
private Integer totalRecordCount;
private Builder() {
}
private Builder(DescribeAccountsResponseBody model) {
this.accounts = model.accounts;
this.pageNumber = model.pageNumber;
this.requestId = model.requestId;
this.resourceGroupId = model.resourceGroupId;
this.systemAdminAccountFirstActivationTime = model.systemAdminAccountFirstActivationTime;
this.systemAdminAccountStatus = model.systemAdminAccountStatus;
this.totalRecordCount = model.totalRecordCount;
}
/**
* <p>The information about the account.</p>
*/
public Builder accounts(Accounts accounts) {
this.accounts = accounts;
return this;
}
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>A2E94301-D07F-4457-9B49-6AA2BB388C85</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The first time when the system admin account was enabled. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
* <blockquote>
* <p> This parameter is returned only for instances that run SQL Server.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2020-02-06T11:00:00Z</p>
*/
public Builder systemAdminAccountFirstActivationTime(String systemAdminAccountFirstActivationTime) {
this.systemAdminAccountFirstActivationTime = systemAdminAccountFirstActivationTime;
return this;
}
/**
* <p>Indicates whether the system admin account was enabled. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The system admin account was enabled.</li>
* <li><strong>false</strong>: The system admin account was disabled.</li>
* </ul>
* <blockquote>
* <p> The <a href="https://help.aliyun.com/document_detail/170736.html">system admin account</a> is supported only for the instances that run SQL Server. If the instance runs SQL Server, a value is returned for this parameter. If the instance runs a different database engine, no value is returned for this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder systemAdminAccountStatus(String systemAdminAccountStatus) {
this.systemAdminAccountStatus = systemAdminAccountStatus;
return this;
}
/**
* <p>The total number of entries that are returned.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public DescribeAccountsResponseBody build() {
return new DescribeAccountsResponseBody(this);
}
}
/**
*
* {@link DescribeAccountsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountsResponseBody</p>
*/
public static class DatabasePrivilege extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountPrivilege")
private String accountPrivilege;
@com.aliyun.core.annotation.NameInMap("AccountPrivilegeDetail")
private String accountPrivilegeDetail;
@com.aliyun.core.annotation.NameInMap("DBName")
private String DBName;
private DatabasePrivilege(Builder builder) {
this.accountPrivilege = builder.accountPrivilege;
this.accountPrivilegeDetail = builder.accountPrivilegeDetail;
this.DBName = builder.DBName;
}
public static Builder builder() {
return new Builder();
}
public static DatabasePrivilege create() {
return builder().build();
}
/**
* @return accountPrivilege
*/
public String getAccountPrivilege() {
return this.accountPrivilege;
}
/**
* @return accountPrivilegeDetail
*/
public String getAccountPrivilegeDetail() {
return this.accountPrivilegeDetail;
}
/**
* @return DBName
*/
public String getDBName() {
return this.DBName;
}
public static final class Builder {
private String accountPrivilege;
private String accountPrivilegeDetail;
private String DBName;
private Builder() {
}
private Builder(DatabasePrivilege model) {
this.accountPrivilege = model.accountPrivilege;
this.accountPrivilegeDetail = model.accountPrivilegeDetail;
this.DBName = model.DBName;
}
/**
* <p>The type of the permissions. Valid values:</p>
* <ul>
* <li><strong>ReadWrite</strong>: read and write permissions.</li>
* <li><strong>ReadOnly</strong>: read-only permissions.</li>
* <li><strong>DDLOnly</strong>: DDL-only permissions.</li>
* <li><strong>DMLOnly</strong>: DML-only permissions.</li>
* <li><strong>Custom</strong>: custom permissions. You can modify the permissions of the account by using SQL commands.</li>
* </ul>
*
* <strong>example:</strong>
* <p>ReadWrite</p>
*/
public Builder accountPrivilege(String accountPrivilege) {
this.accountPrivilege = accountPrivilege;
return this;
}
/**
* <p>The permissions that are granted to the account. For more information, see <a href="https://help.aliyun.com/document_detail/146395.html">Account permissions</a>.</p>
*
* <strong>example:</strong>
* <p>SELECT,INSERT</p>
*/
public Builder accountPrivilegeDetail(String accountPrivilegeDetail) {
this.accountPrivilegeDetail = accountPrivilegeDetail;
return this;
}
/**
* <p>The name of the database.</p>
*
* <strong>example:</strong>
* <p>test1</p>
*/
public Builder DBName(String DBName) {
this.DBName = DBName;
return this;
}
public DatabasePrivilege build() {
return new DatabasePrivilege(this);
}
}
}
/**
*
* {@link DescribeAccountsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountsResponseBody</p>
*/
public static class DatabasePrivileges extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DatabasePrivilege")
private java.util.List<DatabasePrivilege> databasePrivilege;
private DatabasePrivileges(Builder builder) {
this.databasePrivilege = builder.databasePrivilege;
}
public static Builder builder() {
return new Builder();
}
public static DatabasePrivileges create() {
return builder().build();
}
/**
* @return databasePrivilege
*/
public java.util.List<DatabasePrivilege> getDatabasePrivilege() {
return this.databasePrivilege;
}
public static final class Builder {
private java.util.List<DatabasePrivilege> databasePrivilege;
private Builder() {
}
private Builder(DatabasePrivileges model) {
this.databasePrivilege = model.databasePrivilege;
}
/**
* DatabasePrivilege.
*/
public Builder databasePrivilege(java.util.List<DatabasePrivilege> databasePrivilege) {
this.databasePrivilege = databasePrivilege;
return this;
}
public DatabasePrivileges build() {
return new DatabasePrivileges(this);
}
}
}
/**
*
* {@link DescribeAccountsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountsResponseBody</p>
*/
public static class DBInstanceAccount extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountDescription")
private String accountDescription;
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("AccountStatus")
private String accountStatus;
@com.aliyun.core.annotation.NameInMap("AccountType")
private String accountType;
@com.aliyun.core.annotation.NameInMap("BypassRLS")
private String bypassRLS;
@com.aliyun.core.annotation.NameInMap("CheckPolicy")
private Boolean checkPolicy;
@com.aliyun.core.annotation.NameInMap("CreateDB")
private String createDB;
@com.aliyun.core.annotation.NameInMap("CreateRole")
private String createRole;
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
private String DBInstanceId;
@com.aliyun.core.annotation.NameInMap("DatabasePrivileges")
private DatabasePrivileges databasePrivileges;
@com.aliyun.core.annotation.NameInMap("PasswordExpireTime")
private String passwordExpireTime;
@com.aliyun.core.annotation.NameInMap("PrivExceeded")
private String privExceeded;
@com.aliyun.core.annotation.NameInMap("Replication")
private String replication;
@com.aliyun.core.annotation.NameInMap("ValidUntil")
private String validUntil;
private DBInstanceAccount(Builder builder) {
this.accountDescription = builder.accountDescription;
this.accountName = builder.accountName;
this.accountStatus = builder.accountStatus;
this.accountType = builder.accountType;
this.bypassRLS = builder.bypassRLS;
this.checkPolicy = builder.checkPolicy;
this.createDB = builder.createDB;
this.createRole = builder.createRole;
this.DBInstanceId = builder.DBInstanceId;
this.databasePrivileges = builder.databasePrivileges;
this.passwordExpireTime = builder.passwordExpireTime;
this.privExceeded = builder.privExceeded;
this.replication = builder.replication;
this.validUntil = builder.validUntil;
}
public static Builder builder() {
return new Builder();
}
public static DBInstanceAccount create() {
return builder().build();
}
/**
* @return accountDescription
*/
public String getAccountDescription() {
return this.accountDescription;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return accountStatus
*/
public String getAccountStatus() {
return this.accountStatus;
}
/**
* @return accountType
*/
public String getAccountType() {
return this.accountType;
}
/**
* @return bypassRLS
*/
public String getBypassRLS() {
return this.bypassRLS;
}
/**
* @return checkPolicy
*/
public Boolean getCheckPolicy() {
return this.checkPolicy;
}
/**
* @return createDB
*/
public String getCreateDB() {
return this.createDB;
}
/**
* @return createRole
*/
public String getCreateRole() {
return this.createRole;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return databasePrivileges
*/
public DatabasePrivileges getDatabasePrivileges() {
return this.databasePrivileges;
}
/**
* @return passwordExpireTime
*/
public String getPasswordExpireTime() {
return this.passwordExpireTime;
}
/**
* @return privExceeded
*/
public String getPrivExceeded() {
return this.privExceeded;
}
/**
* @return replication
*/
public String getReplication() {
return this.replication;
}
/**
* @return validUntil
*/
public String getValidUntil() {
return this.validUntil;
}
public static final class Builder {
private String accountDescription;
private String accountName;
private String accountStatus;
private String accountType;
private String bypassRLS;
private Boolean checkPolicy;
private String createDB;
private String createRole;
private String DBInstanceId;
private DatabasePrivileges databasePrivileges;
private String passwordExpireTime;
private String privExceeded;
private String replication;
private String validUntil;
private Builder() {
}
private Builder(DBInstanceAccount model) {
this.accountDescription = model.accountDescription;
this.accountName = model.accountName;
this.accountStatus = model.accountStatus;
this.accountType = model.accountType;
this.bypassRLS = model.bypassRLS;
this.checkPolicy = model.checkPolicy;
this.createDB = model.createDB;
this.createRole = model.createRole;
this.DBInstanceId = model.DBInstanceId;
this.databasePrivileges = model.databasePrivileges;
this.passwordExpireTime = model.passwordExpireTime;
this.privExceeded = model.privExceeded;
this.replication = model.replication;
this.validUntil = model.validUntil;
}
/**
* <p>The description of the account.</p>
*
* <strong>example:</strong>
* <p>Test account</p>
*/
public Builder accountDescription(String accountDescription) {
this.accountDescription = accountDescription;
return this;
}
/**
* <p>The name of the database account.</p>
*
* <strong>example:</strong>
* <p>test1</p>
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* <p>The status of the account. Valid values:</p>
* <ul>
* <li><strong>Unavailable</strong></li>
* <li><strong>Available</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Available</p>
*/
public Builder accountStatus(String accountStatus) {
this.accountStatus = accountStatus;
return this;
}
/**
* <p>The type of the account. Valid values:</p>
* <ul>
* <li><strong>Normal</strong>: standard account</li>
* <li><strong>Super</strong>: privileged account</li>
* <li><strong>Sysadmin</strong>: system admin account, which is supported only for instances running SQL Server</li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* <p>Indicates whether the account has the row-level security (RLS) permissions. Valid values:</p>
* <ul>
* <li><strong>t</strong>: The account has the RLS permissions.</li>
* <li><strong>f</strong>: The account does not have the RLS permissions.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only for instances that run PostgreSQL.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>f</p>
*/
public Builder bypassRLS(String bypassRLS) {
this.bypassRLS = bypassRLS;
return this;
}
/**
* <p>Indicates whether the password policy is applied.</p>
* <blockquote>
* <p> This parameter is returned only for instances that run SQL Server.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder checkPolicy(Boolean checkPolicy) {
this.checkPolicy = checkPolicy;
return this;
}
/**
* <p>Indicates whether the account has the permissions to create databases. Valid values:</p>
* <ul>
* <li><strong>t</strong>: The account has the permissions to create databases.</li>
* <li><strong>f</strong>: The account does not have the permissions to create databases.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only for instances that run PostgreSQL.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>t</p>
*/
public Builder createDB(String createDB) {
this.createDB = createDB;
return this;
}
/**
* <p>Indicates whether the account has the permissions to create roles. Valid values:</p>
* <ul>
* <li><strong>t</strong>: The account has the permissions to create roles.</li>
* <li><strong>f</strong>: The account does not have the permissions to create roles.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only for instances that run PostgreSQL.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>t</p>
*/
public Builder createRole(String createRole) {
this.createRole = createRole;
return this;
}
/**
* <p>The ID of the instance to which the account belongs.</p>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5*****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The details about the permissions that are granted to the account.</p>
*/
public Builder databasePrivileges(DatabasePrivileges databasePrivileges) {
this.databasePrivileges = databasePrivileges;
return this;
}
/**
* <p>The expiration time of the password.</p>
* <blockquote>
* <p> This parameter is returned only for instances that run SQL Server.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2024-10-21</p>
*/
public Builder passwordExpireTime(String passwordExpireTime) {
this.passwordExpireTime = passwordExpireTime;
return this;
}
/**
* <p>Indicates whether the number of databases that are managed by the account exceeds the upper limit. Valid values:</p>
* <ul>
* <li><strong>1</strong>: The number of databases that are managed by the account exceeds the upper limit.</li>
* <li><strong>0</strong>: The number of databases that are managed by the account does not exceed the upper limit.</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder privExceeded(String privExceeded) {
this.privExceeded = privExceeded;
return this;
}
/**
* <p>Indicates whether the account has the replication permissions. Valid values:</p>
* <ul>
* <li><strong>t</strong>: The account has the replication permissions.</li>
* <li><strong>f</strong>: The account does not have the replication permissions.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only for instances that run PostgreSQL.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>t</p>
*/
public Builder replication(String replication) {
this.replication = replication;
return this;
}
/**
* <p>The expiration time of the password. Valid values:</p>
* <ul>
* <li><strong>infinity</strong>: The password never expires.</li>
* <li><strong>Empty</strong>: The expiration time is not specified.</li>
* <li><strong>Actual expiration time</strong>: in the format of <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z in UTC. Example: 2022-10-01T00:00:00Z.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only for instances that run PostgreSQL.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2022-10-01T00:00:00Z</p>
*/
public Builder validUntil(String validUntil) {
this.validUntil = validUntil;
return this;
}
public DBInstanceAccount build() {
return new DBInstanceAccount(this);
}
}
}
/**
*
* {@link DescribeAccountsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountsResponseBody</p>
*/
public static class Accounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBInstanceAccount")
private java.util.List<DBInstanceAccount> DBInstanceAccount;
private Accounts(Builder builder) {
this.DBInstanceAccount = builder.DBInstanceAccount;
}
public static Builder builder() {
return new Builder();
}
public static Accounts create() {
return builder().build();
}
/**
* @return DBInstanceAccount
*/
public java.util.List<DBInstanceAccount> getDBInstanceAccount() {
return this.DBInstanceAccount;
}
public static final class Builder {
private java.util.List<DBInstanceAccount> DBInstanceAccount;
private Builder() {
}
private Builder(Accounts model) {
this.DBInstanceAccount = model.DBInstanceAccount;
}
/**
* DBInstanceAccount.
*/
public Builder DBInstanceAccount(java.util.List<DBInstanceAccount> DBInstanceAccount) {
this.DBInstanceAccount = DBInstanceAccount;
return this;
}
public Accounts build() {
return new Accounts(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/DescribeActionEventPolicyRequest.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 DescribeActionEventPolicyRequest} extends {@link RequestModel}
*
* <p>DescribeActionEventPolicyRequest</p>
*/
public class DescribeActionEventPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeActionEventPolicyRequest(Builder builder) {
super(builder);
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeActionEventPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeActionEventPolicyRequest, Builder> {
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeActionEventPolicyRequest request) {
super(request);
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</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;
}
/**
* <p>The resource group ID. You can call the DescribeDBInstanceAttribute to query the resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeActionEventPolicyRequest build() {
return new DescribeActionEventPolicyRequest(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/DescribeActionEventPolicyResponse.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 DescribeActionEventPolicyResponse} extends {@link TeaModel}
*
* <p>DescribeActionEventPolicyResponse</p>
*/
public class DescribeActionEventPolicyResponse 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 DescribeActionEventPolicyResponseBody body;
private DescribeActionEventPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeActionEventPolicyResponse 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 DescribeActionEventPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeActionEventPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeActionEventPolicyResponseBody body);
@Override
DescribeActionEventPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeActionEventPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeActionEventPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeActionEventPolicyResponse 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(DescribeActionEventPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeActionEventPolicyResponse build() {
return new DescribeActionEventPolicyResponse(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/DescribeActionEventPolicyResponseBody.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 DescribeActionEventPolicyResponseBody} extends {@link TeaModel}
*
* <p>DescribeActionEventPolicyResponseBody</p>
*/
public class DescribeActionEventPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnableEventLog")
private String enableEventLog;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeActionEventPolicyResponseBody(Builder builder) {
this.enableEventLog = builder.enableEventLog;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeActionEventPolicyResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableEventLog
*/
public String getEnableEventLog() {
return this.enableEventLog;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String enableEventLog;
private String regionId;
private String requestId;
private Builder() {
}
private Builder(DescribeActionEventPolicyResponseBody model) {
this.enableEventLog = model.enableEventLog;
this.regionId = model.regionId;
this.requestId = model.requestId;
}
/**
* <p>Indicates whether the event history feature is enabled.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder enableEventLog(String enableEventLog) {
this.enableEventLog = enableEventLog;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CCECD3CD-AB2D-4F6D-BEDE-47BC90A398D2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeActionEventPolicyResponseBody build() {
return new DescribeActionEventPolicyResponseBody(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/DescribeActiveOperationTasksRequest.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 DescribeActiveOperationTasksRequest} extends {@link RequestModel}
*
* <p>DescribeActiveOperationTasksRequest</p>
*/
public class DescribeActiveOperationTasksRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AllowCancel")
private Integer allowCancel;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AllowChange")
private Integer allowChange;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ChangeLevel")
private String changeLevel;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DbType")
private String dbType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InsName")
private String insName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
@com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1)
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 10)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProductId")
private String productId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Region")
private String region;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TaskType")
private String taskType;
private DescribeActiveOperationTasksRequest(Builder builder) {
super(builder);
this.allowCancel = builder.allowCancel;
this.allowChange = builder.allowChange;
this.changeLevel = builder.changeLevel;
this.dbType = builder.dbType;
this.insName = builder.insName;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.productId = builder.productId;
this.region = builder.region;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.securityToken = builder.securityToken;
this.status = builder.status;
this.taskType = builder.taskType;
}
public static Builder builder() {
return new Builder();
}
public static DescribeActiveOperationTasksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return allowCancel
*/
public Integer getAllowCancel() {
return this.allowCancel;
}
/**
* @return allowChange
*/
public Integer getAllowChange() {
return this.allowChange;
}
/**
* @return changeLevel
*/
public String getChangeLevel() {
return this.changeLevel;
}
/**
* @return dbType
*/
public String getDbType() {
return this.dbType;
}
/**
* @return insName
*/
public String getInsName() {
return this.insName;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return productId
*/
public String getProductId() {
return this.productId;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return taskType
*/
public String getTaskType() {
return this.taskType;
}
public static final class Builder extends Request.Builder<DescribeActiveOperationTasksRequest, Builder> {
private Integer allowCancel;
private Integer allowChange;
private String changeLevel;
private String dbType;
private String insName;
private String ownerAccount;
private Long ownerId;
private Integer pageNumber;
private Integer pageSize;
private String productId;
private String region;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String securityToken;
private Integer status;
private String taskType;
private Builder() {
super();
}
private Builder(DescribeActiveOperationTasksRequest request) {
super(request);
this.allowCancel = request.allowCancel;
this.allowChange = request.allowChange;
this.changeLevel = request.changeLevel;
this.dbType = request.dbType;
this.insName = request.insName;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.productId = request.productId;
this.region = request.region;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.securityToken = request.securityToken;
this.status = request.status;
this.taskType = request.taskType;
}
/**
* <p>The filter condition that is used to return tasks based on the settings of task cancellation. Default value: -1. Valid values:</p>
* <ul>
* <li><strong>-1</strong>: returns all tasks.</li>
* <li><strong>0</strong>: returns only tasks that cannot be canceled.</li>
* <li><strong>1</strong>: returns only tasks that can be canceled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder allowCancel(Integer allowCancel) {
this.putQueryParameter("AllowCancel", allowCancel);
this.allowCancel = allowCancel;
return this;
}
/**
* <p>The filter condition that is used to return tasks based on the settings of the switching time. Default value: -1. Valid values:</p>
* <ul>
* <li><strong>-1</strong>: returns all tasks.</li>
* <li><strong>0</strong>: returns only tasks for which the switching time cannot be changed.</li>
* <li><strong>1</strong>: returns only tasks for which the switching time can be changed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder allowChange(Integer allowChange) {
this.putQueryParameter("AllowChange", allowChange);
this.allowChange = allowChange;
return this;
}
/**
* <p>The filter condition that is used to return tasks based on the task level. Default value: all. Valid values:</p>
* <ul>
* <li><strong>all</strong>: all types</li>
* <li><strong>S0</strong>: returns the tasks of the exception fixing level.</li>
* <li><strong>S1</strong>: returns the tasks of the system O&M level.</li>
* </ul>
*
* <strong>example:</strong>
* <p>all</p>
*/
public Builder changeLevel(String changeLevel) {
this.putQueryParameter("ChangeLevel", changeLevel);
this.changeLevel = changeLevel;
return this;
}
/**
* <p>The type of the database. Default value: all. Valid values: mysql, pgsql, and mssql.</p>
*
* <strong>example:</strong>
* <p>all</p>
*/
public Builder dbType(String dbType) {
this.putQueryParameter("DbType", dbType);
this.dbType = dbType;
return this;
}
/**
* <p>The name of the instance. You can leave this parameter empty. If you configure this parameter, you can specify the name only of one instance.</p>
*
* <strong>example:</strong>
* <p>rm-bp191w771kd3****</p>
*/
public Builder insName(String insName) {
this.putQueryParameter("InsName", insName);
this.insName = insName;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The page number. Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page. Default value: 25. Maximum value: 100.</p>
*
* <strong>example:</strong>
* <p>25</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The name of the service. Valid values: RDS, POLARDB, MongoDB, and Redis. For RDS instances, set the value to RDS.</p>
*
* <strong>example:</strong>
* <p>RDS</p>
*/
public Builder productId(String productId) {
this.putQueryParameter("ProductId", productId);
this.productId = productId;
return this;
}
/**
* <p>The region ID of the pending event. You can call the DescribeRegions operation to query the most recent region list.</p>
* <blockquote>
* <p> The value <strong>all</strong> indicates all regions.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>cn-beijing</p>
*/
public Builder region(String region) {
this.putQueryParameter("Region", region);
this.region = region;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* <p>The status of the task, which is used as a filter condition to return tasks.</p>
* <ul>
* <li><strong>-1</strong>: all tasks</li>
* <li><strong>3</strong>: pending</li>
* <li><strong>4</strong>: being processed</li>
* <li><strong>5</strong>: completed</li>
* <li><strong>6</strong>: failed</li>
* <li><strong>7</strong>: canceled</li>
* </ul>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* <p>The type of the task. Valid values:</p>
* <ul>
* <li><strong>rds_apsaradb_ha</strong>: primary/secondary switchover</li>
* <li><strong>rds_apsaradb_transfer</strong>: instance migration</li>
* <li><strong>rds_apsaradb_upgrade</strong>: update of the minor engine version</li>
* <li><strong>rds_apsaradb_maxscale</strong>: update of the minor version of the proxy</li>
* <li><strong>all</strong>: all types</li>
* </ul>
*
* <strong>example:</strong>
* <p>rds_apsaradb_upgrade</p>
*/
public Builder taskType(String taskType) {
this.putQueryParameter("TaskType", taskType);
this.taskType = taskType;
return this;
}
@Override
public DescribeActiveOperationTasksRequest build() {
return new DescribeActiveOperationTasksRequest(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/DescribeActiveOperationTasksResponse.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 DescribeActiveOperationTasksResponse} extends {@link TeaModel}
*
* <p>DescribeActiveOperationTasksResponse</p>
*/
public class DescribeActiveOperationTasksResponse 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 DescribeActiveOperationTasksResponseBody body;
private DescribeActiveOperationTasksResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeActiveOperationTasksResponse 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 DescribeActiveOperationTasksResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeActiveOperationTasksResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeActiveOperationTasksResponseBody body);
@Override
DescribeActiveOperationTasksResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeActiveOperationTasksResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeActiveOperationTasksResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeActiveOperationTasksResponse 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(DescribeActiveOperationTasksResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeActiveOperationTasksResponse build() {
return new DescribeActiveOperationTasksResponse(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/DescribeActiveOperationTasksResponseBody.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 DescribeActiveOperationTasksResponseBody} extends {@link TeaModel}
*
* <p>DescribeActiveOperationTasksResponseBody</p>
*/
public class DescribeActiveOperationTasksResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private java.util.List<Items> items;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalRecordCount")
private Integer totalRecordCount;
private DescribeActiveOperationTasksResponseBody(Builder builder) {
this.items = builder.items;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalRecordCount = builder.totalRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeActiveOperationTasksResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return items
*/
public java.util.List<Items> getItems() {
return this.items;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalRecordCount
*/
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
public static final class Builder {
private java.util.List<Items> items;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalRecordCount;
private Builder() {
}
private Builder(DescribeActiveOperationTasksResponseBody model) {
this.items = model.items;
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.requestId = model.requestId;
this.totalRecordCount = model.totalRecordCount;
}
/**
* <p>The details about the O&M task.</p>
*/
public Builder items(java.util.List<Items> items) {
this.items = items;
return this;
}
/**
* <p>The page number. Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page. Valid values: 1 to 100. Default value: 25.</p>
*
* <strong>example:</strong>
* <p>25</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>D4D4BE8A-DD46-440A-BFCD-EE31DA81****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public DescribeActiveOperationTasksResponseBody build() {
return new DescribeActiveOperationTasksResponseBody(this);
}
}
/**
*
* {@link DescribeActiveOperationTasksResponseBody} extends {@link TeaModel}
*
* <p>DescribeActiveOperationTasksResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllowCancel")
private String allowCancel;
@com.aliyun.core.annotation.NameInMap("AllowChange")
private String allowChange;
@com.aliyun.core.annotation.NameInMap("ChangeLevel")
private String changeLevel;
@com.aliyun.core.annotation.NameInMap("ChangeLevelEn")
private String changeLevelEn;
@com.aliyun.core.annotation.NameInMap("ChangeLevelZh")
private String changeLevelZh;
@com.aliyun.core.annotation.NameInMap("CreatedTime")
private String createdTime;
@com.aliyun.core.annotation.NameInMap("CurrentAVZ")
private String currentAVZ;
@com.aliyun.core.annotation.NameInMap("DbType")
private String dbType;
@com.aliyun.core.annotation.NameInMap("DbVersion")
private String dbVersion;
@com.aliyun.core.annotation.NameInMap("Deadline")
private String deadline;
@com.aliyun.core.annotation.NameInMap("Id")
private Integer id;
@com.aliyun.core.annotation.NameInMap("Impact")
private String impact;
@com.aliyun.core.annotation.NameInMap("ImpactEn")
private String impactEn;
@com.aliyun.core.annotation.NameInMap("ImpactZh")
private String impactZh;
@com.aliyun.core.annotation.NameInMap("InsComment")
private String insComment;
@com.aliyun.core.annotation.NameInMap("InsName")
private String insName;
@com.aliyun.core.annotation.NameInMap("ModifiedTime")
private String modifiedTime;
@com.aliyun.core.annotation.NameInMap("PrepareInterval")
private String prepareInterval;
@com.aliyun.core.annotation.NameInMap("Region")
private String region;
@com.aliyun.core.annotation.NameInMap("ResultInfo")
private String resultInfo;
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("SubInsNames")
private java.util.List<String> subInsNames;
@com.aliyun.core.annotation.NameInMap("SwitchTime")
private String switchTime;
@com.aliyun.core.annotation.NameInMap("TaskParams")
private String taskParams;
@com.aliyun.core.annotation.NameInMap("TaskType")
private String taskType;
@com.aliyun.core.annotation.NameInMap("TaskTypeEn")
private String taskTypeEn;
@com.aliyun.core.annotation.NameInMap("TaskTypeZh")
private String taskTypeZh;
private Items(Builder builder) {
this.allowCancel = builder.allowCancel;
this.allowChange = builder.allowChange;
this.changeLevel = builder.changeLevel;
this.changeLevelEn = builder.changeLevelEn;
this.changeLevelZh = builder.changeLevelZh;
this.createdTime = builder.createdTime;
this.currentAVZ = builder.currentAVZ;
this.dbType = builder.dbType;
this.dbVersion = builder.dbVersion;
this.deadline = builder.deadline;
this.id = builder.id;
this.impact = builder.impact;
this.impactEn = builder.impactEn;
this.impactZh = builder.impactZh;
this.insComment = builder.insComment;
this.insName = builder.insName;
this.modifiedTime = builder.modifiedTime;
this.prepareInterval = builder.prepareInterval;
this.region = builder.region;
this.resultInfo = builder.resultInfo;
this.startTime = builder.startTime;
this.status = builder.status;
this.subInsNames = builder.subInsNames;
this.switchTime = builder.switchTime;
this.taskParams = builder.taskParams;
this.taskType = builder.taskType;
this.taskTypeEn = builder.taskTypeEn;
this.taskTypeZh = builder.taskTypeZh;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return allowCancel
*/
public String getAllowCancel() {
return this.allowCancel;
}
/**
* @return allowChange
*/
public String getAllowChange() {
return this.allowChange;
}
/**
* @return changeLevel
*/
public String getChangeLevel() {
return this.changeLevel;
}
/**
* @return changeLevelEn
*/
public String getChangeLevelEn() {
return this.changeLevelEn;
}
/**
* @return changeLevelZh
*/
public String getChangeLevelZh() {
return this.changeLevelZh;
}
/**
* @return createdTime
*/
public String getCreatedTime() {
return this.createdTime;
}
/**
* @return currentAVZ
*/
public String getCurrentAVZ() {
return this.currentAVZ;
}
/**
* @return dbType
*/
public String getDbType() {
return this.dbType;
}
/**
* @return dbVersion
*/
public String getDbVersion() {
return this.dbVersion;
}
/**
* @return deadline
*/
public String getDeadline() {
return this.deadline;
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return impact
*/
public String getImpact() {
return this.impact;
}
/**
* @return impactEn
*/
public String getImpactEn() {
return this.impactEn;
}
/**
* @return impactZh
*/
public String getImpactZh() {
return this.impactZh;
}
/**
* @return insComment
*/
public String getInsComment() {
return this.insComment;
}
/**
* @return insName
*/
public String getInsName() {
return this.insName;
}
/**
* @return modifiedTime
*/
public String getModifiedTime() {
return this.modifiedTime;
}
/**
* @return prepareInterval
*/
public String getPrepareInterval() {
return this.prepareInterval;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return resultInfo
*/
public String getResultInfo() {
return this.resultInfo;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return subInsNames
*/
public java.util.List<String> getSubInsNames() {
return this.subInsNames;
}
/**
* @return switchTime
*/
public String getSwitchTime() {
return this.switchTime;
}
/**
* @return taskParams
*/
public String getTaskParams() {
return this.taskParams;
}
/**
* @return taskType
*/
public String getTaskType() {
return this.taskType;
}
/**
* @return taskTypeEn
*/
public String getTaskTypeEn() {
return this.taskTypeEn;
}
/**
* @return taskTypeZh
*/
public String getTaskTypeZh() {
return this.taskTypeZh;
}
public static final class Builder {
private String allowCancel;
private String allowChange;
private String changeLevel;
private String changeLevelEn;
private String changeLevelZh;
private String createdTime;
private String currentAVZ;
private String dbType;
private String dbVersion;
private String deadline;
private Integer id;
private String impact;
private String impactEn;
private String impactZh;
private String insComment;
private String insName;
private String modifiedTime;
private String prepareInterval;
private String region;
private String resultInfo;
private String startTime;
private Integer status;
private java.util.List<String> subInsNames;
private String switchTime;
private String taskParams;
private String taskType;
private String taskTypeEn;
private String taskTypeZh;
private Builder() {
}
private Builder(Items model) {
this.allowCancel = model.allowCancel;
this.allowChange = model.allowChange;
this.changeLevel = model.changeLevel;
this.changeLevelEn = model.changeLevelEn;
this.changeLevelZh = model.changeLevelZh;
this.createdTime = model.createdTime;
this.currentAVZ = model.currentAVZ;
this.dbType = model.dbType;
this.dbVersion = model.dbVersion;
this.deadline = model.deadline;
this.id = model.id;
this.impact = model.impact;
this.impactEn = model.impactEn;
this.impactZh = model.impactZh;
this.insComment = model.insComment;
this.insName = model.insName;
this.modifiedTime = model.modifiedTime;
this.prepareInterval = model.prepareInterval;
this.region = model.region;
this.resultInfo = model.resultInfo;
this.startTime = model.startTime;
this.status = model.status;
this.subInsNames = model.subInsNames;
this.switchTime = model.switchTime;
this.taskParams = model.taskParams;
this.taskType = model.taskType;
this.taskTypeEn = model.taskTypeEn;
this.taskTypeZh = model.taskTypeZh;
}
/**
* <p>Indicates whether the task can be canceled. The value 1 indicates that the task can be canceled. The value 0 indicates that the task cannot be canceled.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder allowCancel(String allowCancel) {
this.allowCancel = allowCancel;
return this;
}
/**
* <p>Indicates whether the switching time can be changed. The value 1 indicates that the switching time can be changed. The value 0 indicates that the switching time cannot be changed.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder allowChange(String allowChange) {
this.allowChange = allowChange;
return this;
}
/**
* <p>The code of the task level. The value S1 indicates the system O&M level. The value S0 indicates the exception fixing level.</p>
*
* <strong>example:</strong>
* <p>S1</p>
*/
public Builder changeLevel(String changeLevel) {
this.changeLevel = changeLevel;
return this;
}
/**
* <p>The level of the task in English.</p>
*
* <strong>example:</strong>
* <p>System maintenance</p>
*/
public Builder changeLevelEn(String changeLevelEn) {
this.changeLevelEn = changeLevelEn;
return this;
}
/**
* <p>The level of the task in Chinese.</p>
*
* <strong>example:</strong>
* <p>系统运维</p>
*/
public Builder changeLevelZh(String changeLevelZh) {
this.changeLevelZh = changeLevelZh;
return this;
}
/**
* <p>The time when the task was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-30T14:30:00Z</p>
*/
public Builder createdTime(String createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* <p>The current zone.</p>
*
* <strong>example:</strong>
* <p>cn-beijing-h</p>
*/
public Builder currentAVZ(String currentAVZ) {
this.currentAVZ = currentAVZ;
return this;
}
/**
* <p>The type of the database. Valid values: mysql, pgsql, and mssql.</p>
*
* <strong>example:</strong>
* <p>mysql</p>
*/
public Builder dbType(String dbType) {
this.dbType = dbType;
return this;
}
/**
* <p>The minor engine version.</p>
*
* <strong>example:</strong>
* <p>5.7</p>
*/
public Builder dbVersion(String dbVersion) {
this.dbVersion = dbVersion;
return this;
}
/**
* <p>The deadline of the switching time for the task. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-30T23:59:59Z</p>
*/
public Builder deadline(String deadline) {
this.deadline = deadline;
return this;
}
/**
* <p>The ID of the task.</p>
*
* <strong>example:</strong>
* <p>11111</p>
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* <p>The impact of the task.</p>
*
* <strong>example:</strong>
* <p>TransientDisconnection</p>
*/
public Builder impact(String impact) {
this.impact = impact;
return this;
}
/**
* <p>The impact of the task in English.</p>
*
* <strong>example:</strong>
* <p>Transient instance disconnection</p>
*/
public Builder impactEn(String impactEn) {
this.impactEn = impactEn;
return this;
}
/**
* <p>The impact of the task in Chinese.</p>
*
* <strong>example:</strong>
* <p>实例闪断</p>
*/
public Builder impactZh(String impactZh) {
this.impactZh = impactZh;
return this;
}
/**
* <p>The alias and description of the instance.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder insComment(String insComment) {
this.insComment = insComment;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>rm-wz96h8jujh512****</p>
*/
public Builder insName(String insName) {
this.insName = insName;
return this;
}
/**
* <p>The time after the modification. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-30T14:30:00Z</p>
*/
public Builder modifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
/**
* <p>The required preparation period between the task start time and the switching time. The time is displayed in the HH:mm:ss format.</p>
*
* <strong>example:</strong>
* <p>04:00:00</p>
*/
public Builder prepareInterval(String prepareInterval) {
this.prepareInterval = prepareInterval;
return this;
}
/**
* <p>The region ID of the pending task.</p>
*
* <strong>example:</strong>
* <p>cn-beijing</p>
*/
public Builder region(String region) {
this.region = region;
return this;
}
/**
* <p>The information about the execution result.</p>
*
* <strong>example:</strong>
* <p>userCancel</p>
*/
public Builder resultInfo(String resultInfo) {
this.resultInfo = resultInfo;
return this;
}
/**
* <p>The time when the task was executed. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-30T00:00:00Z</p>
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* <p>The task status.</p>
* <ul>
* <li><strong>3</strong>: pending</li>
* <li><strong>4</strong>: being processed</li>
* <li><strong>5</strong>: completed</li>
* <li><strong>6</strong>: failed</li>
* <li><strong>7</strong>: canceled</li>
* </ul>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* <p>The subtasks of the instance.</p>
*/
public Builder subInsNames(java.util.List<String> subInsNames) {
this.subInsNames = subInsNames;
return this;
}
/**
* <p>The switching time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-30T14:30:00Z</p>
*/
public Builder switchTime(String switchTime) {
this.switchTime = switchTime;
return this;
}
/**
* <p>The task parameters.</p>
*
* <strong>example:</strong>
* <p>{
* "Action": "UpgradeDBInstance"
* }</p>
*/
public Builder taskParams(String taskParams) {
this.taskParams = taskParams;
return this;
}
/**
* <p>The type of the O&M task. Valid values:</p>
* <ul>
* <li><strong>rds_apsaradb_ha</strong>: primary/secondary switchover</li>
* <li><strong>rds_apsaradb_transfer</strong>: instance migration</li>
* <li><strong>rds_apsaradb_upgrade</strong>: update of the minor engine version</li>
* <li><strong>rds_apsaradb_maxscale</strong>: minor version update of the database proxy</li>
* </ul>
*
* <strong>example:</strong>
* <p>rds_apsaradb_upgrade</p>
*/
public Builder taskType(String taskType) {
this.taskType = taskType;
return this;
}
/**
* <p>The reason for the task in English.</p>
*
* <strong>example:</strong>
* <p>Minor version update</p>
*/
public Builder taskTypeEn(String taskTypeEn) {
this.taskTypeEn = taskTypeEn;
return this;
}
/**
* <p>The reason for the task in Chinese.</p>
*
* <strong>example:</strong>
* <p>小版本升级</p>
*/
public Builder taskTypeZh(String taskTypeZh) {
this.taskTypeZh = taskTypeZh;
return this;
}
public Items build() {
return new Items(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/DescribeAllWhitelistTemplateRequest.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 DescribeAllWhitelistTemplateRequest} extends {@link RequestModel}
*
* <p>DescribeAllWhitelistTemplateRequest</p>
*/
public class DescribeAllWhitelistTemplateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FuzzySearch")
private Boolean fuzzySearch;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxRecordsPerPage")
@com.aliyun.core.annotation.Validation(required = true)
private Integer maxRecordsPerPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumbers")
@com.aliyun.core.annotation.Validation(required = true)
private Integer pageNumbers;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TemplateName")
private String templateName;
private DescribeAllWhitelistTemplateRequest(Builder builder) {
super(builder);
this.fuzzySearch = builder.fuzzySearch;
this.maxRecordsPerPage = builder.maxRecordsPerPage;
this.pageNumbers = builder.pageNumbers;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.templateName = builder.templateName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAllWhitelistTemplateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return fuzzySearch
*/
public Boolean getFuzzySearch() {
return this.fuzzySearch;
}
/**
* @return maxRecordsPerPage
*/
public Integer getMaxRecordsPerPage() {
return this.maxRecordsPerPage;
}
/**
* @return pageNumbers
*/
public Integer getPageNumbers() {
return this.pageNumbers;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return templateName
*/
public String getTemplateName() {
return this.templateName;
}
public static final class Builder extends Request.Builder<DescribeAllWhitelistTemplateRequest, Builder> {
private Boolean fuzzySearch;
private Integer maxRecordsPerPage;
private Integer pageNumbers;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String templateName;
private Builder() {
super();
}
private Builder(DescribeAllWhitelistTemplateRequest request) {
super(request);
this.fuzzySearch = request.fuzzySearch;
this.maxRecordsPerPage = request.maxRecordsPerPage;
this.pageNumbers = request.pageNumbers;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.templateName = request.templateName;
}
/**
* <p>Specifies whether to enable fuzzy search. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder fuzzySearch(Boolean fuzzySearch) {
this.putQueryParameter("FuzzySearch", fuzzySearch);
this.fuzzySearch = fuzzySearch;
return this;
}
/**
* <p>The number of entries to return on each page. Enumerated valid values: 10, 30, and 50.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxRecordsPerPage(Integer maxRecordsPerPage) {
this.putQueryParameter("MaxRecordsPerPage", maxRecordsPerPage);
this.maxRecordsPerPage = maxRecordsPerPage;
return this;
}
/**
* <p>The page number.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumbers(Integer pageNumbers) {
this.putQueryParameter("PageNumbers", pageNumbers);
this.pageNumbers = pageNumbers;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The resource group ID. For more information about resource groups, see related documentation.</p>
*
* <strong>example:</strong>
* <p>rg-acfmyhigxskzysy</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The name of the IP whitelist template. If you specify this parameter when you perform a fuzzy search, you can call the DescribeWhitelistTemplate operation to query the name of the whitelist template during the fuzzy search.</p>
*
* <strong>example:</strong>
* <p>template</p>
*/
public Builder templateName(String templateName) {
this.putQueryParameter("TemplateName", templateName);
this.templateName = templateName;
return this;
}
@Override
public DescribeAllWhitelistTemplateRequest build() {
return new DescribeAllWhitelistTemplateRequest(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/DescribeAllWhitelistTemplateResponse.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 DescribeAllWhitelistTemplateResponse} extends {@link TeaModel}
*
* <p>DescribeAllWhitelistTemplateResponse</p>
*/
public class DescribeAllWhitelistTemplateResponse 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 DescribeAllWhitelistTemplateResponseBody body;
private DescribeAllWhitelistTemplateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAllWhitelistTemplateResponse 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 DescribeAllWhitelistTemplateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAllWhitelistTemplateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAllWhitelistTemplateResponseBody body);
@Override
DescribeAllWhitelistTemplateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAllWhitelistTemplateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAllWhitelistTemplateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAllWhitelistTemplateResponse 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(DescribeAllWhitelistTemplateResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAllWhitelistTemplateResponse build() {
return new DescribeAllWhitelistTemplateResponse(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/DescribeAllWhitelistTemplateResponseBody.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 DescribeAllWhitelistTemplateResponseBody} extends {@link TeaModel}
*
* <p>DescribeAllWhitelistTemplateResponseBody</p>
*/
public class DescribeAllWhitelistTemplateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DescribeAllWhitelistTemplateResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.httpStatusCode = builder.httpStatusCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAllWhitelistTemplateResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return httpStatusCode
*/
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
/**
* @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 String code;
private Data data;
private Integer httpStatusCode;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(DescribeAllWhitelistTemplateResponseBody model) {
this.code = model.code;
this.data = model.data;
this.httpStatusCode = model.httpStatusCode;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* <p>The response code returned. Valid values:</p>
* <ul>
* <li><strong>200</strong>: success</li>
* <li><strong>400</strong>: client error</li>
* <li><strong>401</strong>: identity authentication failed</li>
* <li><strong>404</strong>: request page not found</li>
* <li><strong>500</strong>: server error</li>
* </ul>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* <p>The data returned.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The HTTP status code returned. Valid values:</p>
* <ul>
* <li><strong>200</strong>: success</li>
* <li><strong>400</strong>: client error</li>
* <li><strong>500</strong>: server error</li>
* </ul>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
/**
* <p>The response parameters.</p>
*
* <strong>example:</strong>
* <p>success</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>16C62438-491B-5C02-9B49-BA924A1372A2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request is successful. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeAllWhitelistTemplateResponseBody build() {
return new DescribeAllWhitelistTemplateResponseBody(this);
}
}
/**
*
* {@link DescribeAllWhitelistTemplateResponseBody} extends {@link TeaModel}
*
* <p>DescribeAllWhitelistTemplateResponseBody</p>
*/
public static class Templates extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Id")
private Integer id;
@com.aliyun.core.annotation.NameInMap("Ips")
private String ips;
@com.aliyun.core.annotation.NameInMap("TemplateId")
private Integer templateId;
@com.aliyun.core.annotation.NameInMap("TemplateName")
private String templateName;
@com.aliyun.core.annotation.NameInMap("UserId")
private Integer userId;
private Templates(Builder builder) {
this.id = builder.id;
this.ips = builder.ips;
this.templateId = builder.templateId;
this.templateName = builder.templateName;
this.userId = builder.userId;
}
public static Builder builder() {
return new Builder();
}
public static Templates create() {
return builder().build();
}
/**
* @return id
*/
public Integer getId() {
return this.id;
}
/**
* @return ips
*/
public String getIps() {
return this.ips;
}
/**
* @return templateId
*/
public Integer getTemplateId() {
return this.templateId;
}
/**
* @return templateName
*/
public String getTemplateName() {
return this.templateName;
}
/**
* @return userId
*/
public Integer getUserId() {
return this.userId;
}
public static final class Builder {
private Integer id;
private String ips;
private Integer templateId;
private String templateName;
private Integer userId;
private Builder() {
}
private Builder(Templates model) {
this.id = model.id;
this.ips = model.ips;
this.templateId = model.templateId;
this.templateName = model.templateName;
this.userId = model.userId;
}
/**
* <p>The primary key of the data table.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder id(Integer id) {
this.id = id;
return this;
}
/**
* <p>The IP addresses.</p>
*
* <strong>example:</strong>
* <p>12.2.X.X,10.0.X.X</p>
*/
public Builder ips(String ips) {
this.ips = ips;
return this;
}
/**
* <p>The ID of the whitelist template.</p>
*
* <strong>example:</strong>
* <p>412</p>
*/
public Builder templateId(Integer templateId) {
this.templateId = templateId;
return this;
}
/**
* <p>The name of the whitelist template.</p>
*
* <strong>example:</strong>
* <p>template_123</p>
*/
public Builder templateName(String templateName) {
this.templateName = templateName;
return this;
}
/**
* <p>The user ID.</p>
*
* <strong>example:</strong>
* <p>168****</p>
*/
public Builder userId(Integer userId) {
this.userId = userId;
return this;
}
public Templates build() {
return new Templates(this);
}
}
}
/**
*
* {@link DescribeAllWhitelistTemplateResponseBody} extends {@link TeaModel}
*
* <p>DescribeAllWhitelistTemplateResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CurrPageNumbers")
private Integer currPageNumbers;
@com.aliyun.core.annotation.NameInMap("HasNext")
private Boolean hasNext;
@com.aliyun.core.annotation.NameInMap("HasPrev")
private Boolean hasPrev;
@com.aliyun.core.annotation.NameInMap("MaxRecordsPerPage")
private Integer maxRecordsPerPage;
@com.aliyun.core.annotation.NameInMap("Templates")
private java.util.List<Templates> templates;
@com.aliyun.core.annotation.NameInMap("TotalPageNumbers")
private Integer totalPageNumbers;
@com.aliyun.core.annotation.NameInMap("TotalRecords")
private Integer totalRecords;
private Data(Builder builder) {
this.currPageNumbers = builder.currPageNumbers;
this.hasNext = builder.hasNext;
this.hasPrev = builder.hasPrev;
this.maxRecordsPerPage = builder.maxRecordsPerPage;
this.templates = builder.templates;
this.totalPageNumbers = builder.totalPageNumbers;
this.totalRecords = builder.totalRecords;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return currPageNumbers
*/
public Integer getCurrPageNumbers() {
return this.currPageNumbers;
}
/**
* @return hasNext
*/
public Boolean getHasNext() {
return this.hasNext;
}
/**
* @return hasPrev
*/
public Boolean getHasPrev() {
return this.hasPrev;
}
/**
* @return maxRecordsPerPage
*/
public Integer getMaxRecordsPerPage() {
return this.maxRecordsPerPage;
}
/**
* @return templates
*/
public java.util.List<Templates> getTemplates() {
return this.templates;
}
/**
* @return totalPageNumbers
*/
public Integer getTotalPageNumbers() {
return this.totalPageNumbers;
}
/**
* @return totalRecords
*/
public Integer getTotalRecords() {
return this.totalRecords;
}
public static final class Builder {
private Integer currPageNumbers;
private Boolean hasNext;
private Boolean hasPrev;
private Integer maxRecordsPerPage;
private java.util.List<Templates> templates;
private Integer totalPageNumbers;
private Integer totalRecords;
private Builder() {
}
private Builder(Data model) {
this.currPageNumbers = model.currPageNumbers;
this.hasNext = model.hasNext;
this.hasPrev = model.hasPrev;
this.maxRecordsPerPage = model.maxRecordsPerPage;
this.templates = model.templates;
this.totalPageNumbers = model.totalPageNumbers;
this.totalRecords = model.totalRecords;
}
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currPageNumbers(Integer currPageNumbers) {
this.currPageNumbers = currPageNumbers;
return this;
}
/**
* <p>Indicates whether the data that meets the conditions is displayed on the next page. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder hasNext(Boolean hasNext) {
this.hasNext = hasNext;
return this;
}
/**
* <p>Indicates whether the data that meets the conditions is displayed on the previous page. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder hasPrev(Boolean hasPrev) {
this.hasPrev = hasPrev;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxRecordsPerPage(Integer maxRecordsPerPage) {
this.maxRecordsPerPage = maxRecordsPerPage;
return this;
}
/**
* <p>The information about whitelist templates that are returned by page.</p>
*/
public Builder templates(java.util.List<Templates> templates) {
this.templates = templates;
return this;
}
/**
* <p>The total number of pages returned.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder totalPageNumbers(Integer totalPageNumbers) {
this.totalPageNumbers = totalPageNumbers;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>402</p>
*/
public Builder totalRecords(Integer totalRecords) {
this.totalRecords = totalRecords;
return this;
}
public Data build() {
return new Data(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/DescribeAnalyticdbByPrimaryDBInstanceRequest.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 DescribeAnalyticdbByPrimaryDBInstanceRequest} extends {@link RequestModel}
*
* <p>DescribeAnalyticdbByPrimaryDBInstanceRequest</p>
*/
public class DescribeAnalyticdbByPrimaryDBInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeAnalyticdbByPrimaryDBInstanceRequest(Builder builder) {
super(builder);
this.DBInstanceId = builder.DBInstanceId;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAnalyticdbByPrimaryDBInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeAnalyticdbByPrimaryDBInstanceRequest, Builder> {
private String DBInstanceId;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeAnalyticdbByPrimaryDBInstanceRequest request) {
super(request);
this.DBInstanceId = request.DBInstanceId;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <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>rm-uf6wjk5*******</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</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;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeAnalyticdbByPrimaryDBInstanceRequest build() {
return new DescribeAnalyticdbByPrimaryDBInstanceRequest(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/DescribeAnalyticdbByPrimaryDBInstanceResponse.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 DescribeAnalyticdbByPrimaryDBInstanceResponse} extends {@link TeaModel}
*
* <p>DescribeAnalyticdbByPrimaryDBInstanceResponse</p>
*/
public class DescribeAnalyticdbByPrimaryDBInstanceResponse 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 DescribeAnalyticdbByPrimaryDBInstanceResponseBody body;
private DescribeAnalyticdbByPrimaryDBInstanceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAnalyticdbByPrimaryDBInstanceResponse 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 DescribeAnalyticdbByPrimaryDBInstanceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAnalyticdbByPrimaryDBInstanceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAnalyticdbByPrimaryDBInstanceResponseBody body);
@Override
DescribeAnalyticdbByPrimaryDBInstanceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAnalyticdbByPrimaryDBInstanceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAnalyticdbByPrimaryDBInstanceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAnalyticdbByPrimaryDBInstanceResponse 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(DescribeAnalyticdbByPrimaryDBInstanceResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAnalyticdbByPrimaryDBInstanceResponse build() {
return new DescribeAnalyticdbByPrimaryDBInstanceResponse(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/DescribeAnalyticdbByPrimaryDBInstanceResponseBody.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 DescribeAnalyticdbByPrimaryDBInstanceResponseBody} extends {@link TeaModel}
*
* <p>DescribeAnalyticdbByPrimaryDBInstanceResponseBody</p>
*/
public class DescribeAnalyticdbByPrimaryDBInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AnalyticDBCount")
private Integer analyticDBCount;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeAnalyticdbByPrimaryDBInstanceResponseBody(Builder builder) {
this.analyticDBCount = builder.analyticDBCount;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAnalyticdbByPrimaryDBInstanceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return analyticDBCount
*/
public Integer getAnalyticDBCount() {
return this.analyticDBCount;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer analyticDBCount;
private String requestId;
private Builder() {
}
private Builder(DescribeAnalyticdbByPrimaryDBInstanceResponseBody model) {
this.analyticDBCount = model.analyticDBCount;
this.requestId = model.requestId;
}
/**
* <p>The number of associated analytic instances.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder analyticDBCount(Integer analyticDBCount) {
this.analyticDBCount = analyticDBCount;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>77862BFF-ED59-552A-A2E8-692FEAFC9527</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeAnalyticdbByPrimaryDBInstanceResponseBody build() {
return new DescribeAnalyticdbByPrimaryDBInstanceResponseBody(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/DescribeAvailableClassesRequest.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 DescribeAvailableClassesRequest} extends {@link RequestModel}
*
* <p>DescribeAvailableClassesRequest</p>
*/
public class DescribeAvailableClassesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Category")
@com.aliyun.core.annotation.Validation(required = true)
private String category;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CommodityCode")
private String commodityCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceStorageType")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceStorageType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Engine")
@com.aliyun.core.annotation.Validation(required = true)
private String engine;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EngineVersion")
@com.aliyun.core.annotation.Validation(required = true)
private String engineVersion;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceChargeType")
private String instanceChargeType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OrderType")
private String orderType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ZoneId")
@com.aliyun.core.annotation.Validation(required = true)
private String zoneId;
private DescribeAvailableClassesRequest(Builder builder) {
super(builder);
this.category = builder.category;
this.commodityCode = builder.commodityCode;
this.DBInstanceId = builder.DBInstanceId;
this.DBInstanceStorageType = builder.DBInstanceStorageType;
this.engine = builder.engine;
this.engineVersion = builder.engineVersion;
this.instanceChargeType = builder.instanceChargeType;
this.orderType = builder.orderType;
this.regionId = builder.regionId;
this.resourceOwnerId = builder.resourceOwnerId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableClassesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return commodityCode
*/
public String getCommodityCode() {
return this.commodityCode;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return DBInstanceStorageType
*/
public String getDBInstanceStorageType() {
return this.DBInstanceStorageType;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return engineVersion
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
* @return instanceChargeType
*/
public String getInstanceChargeType() {
return this.instanceChargeType;
}
/**
* @return orderType
*/
public String getOrderType() {
return this.orderType;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder extends Request.Builder<DescribeAvailableClassesRequest, Builder> {
private String category;
private String commodityCode;
private String DBInstanceId;
private String DBInstanceStorageType;
private String engine;
private String engineVersion;
private String instanceChargeType;
private String orderType;
private String regionId;
private Long resourceOwnerId;
private String zoneId;
private Builder() {
super();
}
private Builder(DescribeAvailableClassesRequest request) {
super(request);
this.category = request.category;
this.commodityCode = request.commodityCode;
this.DBInstanceId = request.DBInstanceId;
this.DBInstanceStorageType = request.DBInstanceStorageType;
this.engine = request.engine;
this.engineVersion = request.engineVersion;
this.instanceChargeType = request.instanceChargeType;
this.orderType = request.orderType;
this.regionId = request.regionId;
this.resourceOwnerId = request.resourceOwnerId;
this.zoneId = request.zoneId;
}
/**
* <p>The RDS edition of the instance. Valid values:</p>
* <ul>
* <li><p>Regular instance</p>
* <ul>
* <li><strong>Basic</strong>: RDS Basic Edition</li>
* <li><strong>HighAvailability</strong>: RDS High-availability Edition</li>
* <li><strong>cluster</strong>: RDS Cluster Edition for ApsaraDB RDS for MySQL</li>
* <li><strong>AlwaysOn</strong>: RDS Cluster Edition for ApsaraDB RDS for SQL Server</li>
* <li><strong>Finance</strong>: RDS Enterprise Edition</li>
* </ul>
* </li>
* <li><p>Serverless instance</p>
* <ul>
* <li><strong>serverless_basic</strong>: RDS Basic Edition. This edition is available only for serverless instances that run MySQL and PostgreSQL.</li>
* <li><strong>serverless_standard</strong>: RDS High-availability Edition for ApsaraDB RDS for MySQL.</li>
* <li><strong>serverless_ha</strong>: RDS High-availability Edition for ApsaraDB RDS for SQL Server.</li>
* </ul>
* <blockquote>
* <p>If you create a serverless instance, you must specify this parameter.</p>
* </blockquote>
* </li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>HighAvailability</p>
*/
public Builder category(String category) {
this.putQueryParameter("Category", category);
this.category = category;
return this;
}
/**
* <p>The commodity code of the instance. Valid values:</p>
* <ul>
* <li><strong>bards</strong>: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rds</strong>: The instance is a subscription primary instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rords</strong>: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rds_rordspre_public_cn</strong>: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>bards_intl</strong>: The instance is a pay-as-you-go primary instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rds_intl</strong>: The instance is a subscription primary instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rords_intl</strong>: The instance is a pay-as-you-go read-only instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rds_rordspre_public_intl</strong>: The instance is a subscription read-only instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rds_serverless_public_cn</strong>: The instance is a serverless instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rds_serverless_public_intl</strong>: The instance is a serverless instance. This value is available at the International site (alibabacloud.com).</li>
* </ul>
* <blockquote>
* <p>If you want to query the price of a read-only instance, you must specify this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>bards</p>
*/
public Builder commodityCode(String commodityCode) {
this.putQueryParameter("CommodityCode", commodityCode);
this.commodityCode = commodityCode;
return this;
}
/**
* <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5xxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The storage type of the instance. Valid values:</p>
* <ul>
* <li><strong>local_ssd</strong>: local SSD. This is the recommended storage type.</li>
* <li><strong>cloud_ssd</strong>: standard SSD.</li>
* <li><strong>cloud_essd</strong>: performance level 1 (PL1) Enterprise SSD (ESSD)</li>
* <li><strong>cloud_essd2</strong>: PL2 ESSD</li>
* <li><strong>cloud_essd3</strong>: PL3 ESSD</li>
* </ul>
* <blockquote>
* <p> Serverless instances use only PL1 ESSDs. If you want to create a serverless instance, you must set this parameter to <strong>cloud_essd</strong>.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>local_ssd</p>
*/
public Builder DBInstanceStorageType(String DBInstanceStorageType) {
this.putQueryParameter("DBInstanceStorageType", DBInstanceStorageType);
this.DBInstanceStorageType = DBInstanceStorageType;
return this;
}
/**
* <p>The database engine that is run by the instance. Valid values:</p>
* <ul>
* <li><strong>MySQL</strong></li>
* <li><strong>SQLServer</strong></li>
* <li><strong>PostgreSQL</strong></li>
* <li><strong>MariaDB</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.putQueryParameter("Engine", engine);
this.engine = engine;
return this;
}
/**
* <p>The database engine version of the instance. Valid values:</p>
* <ul>
* <li><p>Regular instance</p>
* <ul>
* <li>Valid values if you set Engine to MySQL: <strong>5.5, 5.6, 5.7, and 8.0</strong></li>
* <li>Valid values if you set Engine to SQLServer: <strong>2008r2, 08r2_ent_ha, 2012, 2012_ent_ha, 2012_std_ha, 2012_web, 2014_std_ha, 2016_ent_ha, 2016_std_ha, 2016_web, 2017_std_ha, 2017_ent, 2019_std_ha, and 2019_ent</strong></li>
* <li>Valid values if you set Engine to PostgreSQL: <strong>10.0, 11.0, 12.0, 13.0, 14.0, and 15.0</strong></li>
* <li>Valid value when you set Engine to MariaDB: <strong>10.3</strong></li>
* </ul>
* </li>
* <li><p>Serverless instance</p>
* <ul>
* <li>Valid values if you set Engine to MySQL: <strong>5.7</strong> and <strong>8.0</strong></li>
* <li>Valid values if you set Engine to SQLServer: <strong>2016_std_sl</strong>, <strong>2017_std_sl</strong>, and <strong>2019_std_sl</strong></li>
* <li>Valid value if you set Engine to PostgreSQL: <strong>14.0</strong></li>
* </ul>
* <blockquote>
* <p>ApsaraDB RDS for MariaDB does not support serverless instances.</p>
* </blockquote>
* </li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>8.0</p>
*/
public Builder engineVersion(String engineVersion) {
this.putQueryParameter("EngineVersion", engineVersion);
this.engineVersion = engineVersion;
return this;
}
/**
* <p>The billing method of the instance. Valid values:</p>
* <ul>
* <li><strong>Prepaid</strong>: subscription</li>
* <li><strong>Postpaid</strong>: pay-as-you-go</li>
* <li><strong>Serverless</strong>: serverless</li>
* </ul>
* <blockquote>
* <p>ApsaraDB RDS for MariaDB does not support serverless instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Prepaid</p>
*/
public Builder instanceChargeType(String instanceChargeType) {
this.putQueryParameter("InstanceChargeType", instanceChargeType);
this.instanceChargeType = instanceChargeType;
return this;
}
/**
* <p>The type of order. Set the value to <strong>BUY</strong></p>
*
* <strong>example:</strong>
* <p>BUY</p>
*/
public Builder orderType(String orderType) {
this.putQueryParameter("OrderType", orderType);
this.orderType = orderType;
return this;
}
/**
* <p>The region ID of the instance. You can call the DescribeDBInstanceAttribute operation to query the region ID of the instance.</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;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The zone ID of the instance. You can call the DescribeDBInstanceAttribute operation to query the zone ID of the instance.</p>
* <blockquote>
* <p> If the DescribeDBInstanceAttribute operation returns multiple zones, you must specify only one of the returned zones. For example, if the DescribeDBInstanceAttribute operation returns <code>cn-hangzhou-MAZ9(g,h)</code>, you can set this parameter to <code>cn-hangzhou-g</code> or <code>cn-hangzhou-h</code>.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-h</p>
*/
public Builder zoneId(String zoneId) {
this.putQueryParameter("ZoneId", zoneId);
this.zoneId = zoneId;
return this;
}
@Override
public DescribeAvailableClassesRequest build() {
return new DescribeAvailableClassesRequest(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/DescribeAvailableClassesResponse.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 DescribeAvailableClassesResponse} extends {@link TeaModel}
*
* <p>DescribeAvailableClassesResponse</p>
*/
public class DescribeAvailableClassesResponse 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 DescribeAvailableClassesResponseBody body;
private DescribeAvailableClassesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAvailableClassesResponse 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 DescribeAvailableClassesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAvailableClassesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAvailableClassesResponseBody body);
@Override
DescribeAvailableClassesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAvailableClassesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAvailableClassesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAvailableClassesResponse 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(DescribeAvailableClassesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAvailableClassesResponse build() {
return new DescribeAvailableClassesResponse(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/DescribeAvailableClassesResponseBody.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 DescribeAvailableClassesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableClassesResponseBody</p>
*/
public class DescribeAvailableClassesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBInstanceClasses")
private java.util.List<DBInstanceClasses> DBInstanceClasses;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeAvailableClassesResponseBody(Builder builder) {
this.DBInstanceClasses = builder.DBInstanceClasses;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableClassesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceClasses
*/
public java.util.List<DBInstanceClasses> getDBInstanceClasses() {
return this.DBInstanceClasses;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<DBInstanceClasses> DBInstanceClasses;
private String requestId;
private Builder() {
}
private Builder(DescribeAvailableClassesResponseBody model) {
this.DBInstanceClasses = model.DBInstanceClasses;
this.requestId = model.requestId;
}
/**
* <p>An array that consists of the instance types available for the instance.</p>
*/
public Builder DBInstanceClasses(java.util.List<DBInstanceClasses> DBInstanceClasses) {
this.DBInstanceClasses = DBInstanceClasses;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7E4448A6-9FE6-4474-A0C1-AA7CFC772CAC</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeAvailableClassesResponseBody build() {
return new DescribeAvailableClassesResponseBody(this);
}
}
/**
*
* {@link DescribeAvailableClassesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableClassesResponseBody</p>
*/
public static class DBInstanceStorageRange extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MaxValue")
private Integer maxValue;
@com.aliyun.core.annotation.NameInMap("MinValue")
private Integer minValue;
@com.aliyun.core.annotation.NameInMap("Step")
private Integer step;
private DBInstanceStorageRange(Builder builder) {
this.maxValue = builder.maxValue;
this.minValue = builder.minValue;
this.step = builder.step;
}
public static Builder builder() {
return new Builder();
}
public static DBInstanceStorageRange create() {
return builder().build();
}
/**
* @return maxValue
*/
public Integer getMaxValue() {
return this.maxValue;
}
/**
* @return minValue
*/
public Integer getMinValue() {
return this.minValue;
}
/**
* @return step
*/
public Integer getStep() {
return this.step;
}
public static final class Builder {
private Integer maxValue;
private Integer minValue;
private Integer step;
private Builder() {
}
private Builder(DBInstanceStorageRange model) {
this.maxValue = model.maxValue;
this.minValue = model.minValue;
this.step = model.step;
}
/**
* <p>The maximum storage capacity that is supported for the instance. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>2000</p>
*/
public Builder maxValue(Integer maxValue) {
this.maxValue = maxValue;
return this;
}
/**
* <p>The minimum storage capacity that is supported for the instance. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder minValue(Integer minValue) {
this.minValue = minValue;
return this;
}
/**
* <p>The minimum step size at which you can adjust the storage capacity of the instance. The minimum step size is 5 GB.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder step(Integer step) {
this.step = step;
return this;
}
public DBInstanceStorageRange build() {
return new DBInstanceStorageRange(this);
}
}
}
/**
*
* {@link DescribeAvailableClassesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableClassesResponseBody</p>
*/
public static class DBInstanceClasses extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBInstanceClass")
private String DBInstanceClass;
@com.aliyun.core.annotation.NameInMap("DBInstanceStorageRange")
private DBInstanceStorageRange DBInstanceStorageRange;
private DBInstanceClasses(Builder builder) {
this.DBInstanceClass = builder.DBInstanceClass;
this.DBInstanceStorageRange = builder.DBInstanceStorageRange;
}
public static Builder builder() {
return new Builder();
}
public static DBInstanceClasses create() {
return builder().build();
}
/**
* @return DBInstanceClass
*/
public String getDBInstanceClass() {
return this.DBInstanceClass;
}
/**
* @return DBInstanceStorageRange
*/
public DBInstanceStorageRange getDBInstanceStorageRange() {
return this.DBInstanceStorageRange;
}
public static final class Builder {
private String DBInstanceClass;
private DBInstanceStorageRange DBInstanceStorageRange;
private Builder() {
}
private Builder(DBInstanceClasses model) {
this.DBInstanceClass = model.DBInstanceClass;
this.DBInstanceStorageRange = model.DBInstanceStorageRange;
}
/**
* <p>The instance type of the instance.</p>
*
* <strong>example:</strong>
* <p>rds.mysql.c1.large</p>
*/
public Builder DBInstanceClass(String DBInstanceClass) {
this.DBInstanceClass = DBInstanceClass;
return this;
}
/**
* <p>The storage capacity range that is supported for the instance.</p>
*/
public Builder DBInstanceStorageRange(DBInstanceStorageRange DBInstanceStorageRange) {
this.DBInstanceStorageRange = DBInstanceStorageRange;
return this;
}
public DBInstanceClasses build() {
return new DBInstanceClasses(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/DescribeAvailableCrossRegionRequest.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 DescribeAvailableCrossRegionRequest} extends {@link RequestModel}
*
* <p>DescribeAvailableCrossRegionRequest</p>
*/
public class DescribeAvailableCrossRegionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeAvailableCrossRegionRequest(Builder builder) {
super(builder);
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableCrossRegionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeAvailableCrossRegionRequest, Builder> {
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeAvailableCrossRegionRequest request) {
super(request);
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID. You can call the DescribeRegions operation to query the most recent zone list.</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;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeAvailableCrossRegionRequest build() {
return new DescribeAvailableCrossRegionRequest(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/DescribeAvailableCrossRegionResponse.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 DescribeAvailableCrossRegionResponse} extends {@link TeaModel}
*
* <p>DescribeAvailableCrossRegionResponse</p>
*/
public class DescribeAvailableCrossRegionResponse 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 DescribeAvailableCrossRegionResponseBody body;
private DescribeAvailableCrossRegionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAvailableCrossRegionResponse 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 DescribeAvailableCrossRegionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAvailableCrossRegionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAvailableCrossRegionResponseBody body);
@Override
DescribeAvailableCrossRegionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAvailableCrossRegionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAvailableCrossRegionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAvailableCrossRegionResponse 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(DescribeAvailableCrossRegionResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAvailableCrossRegionResponse build() {
return new DescribeAvailableCrossRegionResponse(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/DescribeAvailableCrossRegionResponseBody.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 DescribeAvailableCrossRegionResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableCrossRegionResponseBody</p>
*/
public class DescribeAvailableCrossRegionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Regions")
private Regions regions;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeAvailableCrossRegionResponseBody(Builder builder) {
this.regions = builder.regions;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableCrossRegionResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regions
*/
public Regions getRegions() {
return this.regions;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Regions regions;
private String requestId;
private Builder() {
}
private Builder(DescribeAvailableCrossRegionResponseBody model) {
this.regions = model.regions;
this.requestId = model.requestId;
}
/**
* <p>An array that consists of destination regions for cross-region backups.</p>
*/
public Builder regions(Regions regions) {
this.regions = regions;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>39265F46-EC77-4036-8AC4-F035F32F6BE2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeAvailableCrossRegionResponseBody build() {
return new DescribeAvailableCrossRegionResponseBody(this);
}
}
/**
*
* {@link DescribeAvailableCrossRegionResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableCrossRegionResponseBody</p>
*/
public static class Regions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Region")
private java.util.List<String> region;
private Regions(Builder builder) {
this.region = builder.region;
}
public static Builder builder() {
return new Builder();
}
public static Regions create() {
return builder().build();
}
/**
* @return region
*/
public java.util.List<String> getRegion() {
return this.region;
}
public static final class Builder {
private java.util.List<String> region;
private Builder() {
}
private Builder(Regions model) {
this.region = model.region;
}
/**
* Region.
*/
public Builder region(java.util.List<String> region) {
this.region = region;
return this;
}
public Regions build() {
return new Regions(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/DescribeAvailableMetricsRequest.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 DescribeAvailableMetricsRequest} extends {@link RequestModel}
*
* <p>DescribeAvailableMetricsRequest</p>
*/
public class DescribeAvailableMetricsRequest 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("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeAvailableMetricsRequest(Builder builder) {
super(builder);
this.DBInstanceName = builder.DBInstanceName;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableMetricsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeAvailableMetricsRequest, Builder> {
private String DBInstanceName;
private String resourceGroupId;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeAvailableMetricsRequest request) {
super(request);
this.DBInstanceName = request.DBInstanceName;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <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-bp1s1j103lo6****</p>
*/
public Builder DBInstanceName(String DBInstanceName) {
this.putQueryParameter("DBInstanceName", DBInstanceName);
this.DBInstanceName = DBInstanceName;
return this;
}
/**
* <p>The resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeAvailableMetricsRequest build() {
return new DescribeAvailableMetricsRequest(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/DescribeAvailableMetricsResponse.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 DescribeAvailableMetricsResponse} extends {@link TeaModel}
*
* <p>DescribeAvailableMetricsResponse</p>
*/
public class DescribeAvailableMetricsResponse 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 DescribeAvailableMetricsResponseBody body;
private DescribeAvailableMetricsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAvailableMetricsResponse 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 DescribeAvailableMetricsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAvailableMetricsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAvailableMetricsResponseBody body);
@Override
DescribeAvailableMetricsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAvailableMetricsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAvailableMetricsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAvailableMetricsResponse 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(DescribeAvailableMetricsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAvailableMetricsResponse build() {
return new DescribeAvailableMetricsResponse(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/DescribeAvailableMetricsResponseBody.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 DescribeAvailableMetricsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableMetricsResponseBody</p>
*/
public class DescribeAvailableMetricsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBInstanceName")
private String DBInstanceName;
@com.aliyun.core.annotation.NameInMap("Items")
private java.util.List<Items> items;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalRecordCount")
private Integer totalRecordCount;
private DescribeAvailableMetricsResponseBody(Builder builder) {
this.DBInstanceName = builder.DBInstanceName;
this.items = builder.items;
this.requestId = builder.requestId;
this.totalRecordCount = builder.totalRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableMetricsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return items
*/
public java.util.List<Items> getItems() {
return this.items;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalRecordCount
*/
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
public static final class Builder {
private String DBInstanceName;
private java.util.List<Items> items;
private String requestId;
private Integer totalRecordCount;
private Builder() {
}
private Builder(DescribeAvailableMetricsResponseBody model) {
this.DBInstanceName = model.DBInstanceName;
this.items = model.items;
this.requestId = model.requestId;
this.totalRecordCount = model.totalRecordCount;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>rm-bp1*****</p>
*/
public Builder DBInstanceName(String DBInstanceName) {
this.DBInstanceName = DBInstanceName;
return this;
}
/**
* <p>Details of the Enhanced Monitoring metric.</p>
*/
public Builder items(java.util.List<Items> items) {
this.items = items;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>5CD61041-35F7-10F7-BE94-33A48B221218</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of enhanced monitoring metrics that are available for the instance.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder totalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public DescribeAvailableMetricsResponseBody build() {
return new DescribeAvailableMetricsResponseBody(this);
}
}
/**
*
* {@link DescribeAvailableMetricsResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableMetricsResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Dimension")
private String dimension;
@com.aliyun.core.annotation.NameInMap("GroupKey")
private String groupKey;
@com.aliyun.core.annotation.NameInMap("GroupKeyType")
private String groupKeyType;
@com.aliyun.core.annotation.NameInMap("Method")
private String method;
@com.aliyun.core.annotation.NameInMap("MetricsKey")
private String metricsKey;
@com.aliyun.core.annotation.NameInMap("MetricsKeyAlias")
private String metricsKeyAlias;
@com.aliyun.core.annotation.NameInMap("SortRule")
private Integer sortRule;
@com.aliyun.core.annotation.NameInMap("Unit")
private String unit;
private Items(Builder builder) {
this.description = builder.description;
this.dimension = builder.dimension;
this.groupKey = builder.groupKey;
this.groupKeyType = builder.groupKeyType;
this.method = builder.method;
this.metricsKey = builder.metricsKey;
this.metricsKeyAlias = builder.metricsKeyAlias;
this.sortRule = builder.sortRule;
this.unit = builder.unit;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return dimension
*/
public String getDimension() {
return this.dimension;
}
/**
* @return groupKey
*/
public String getGroupKey() {
return this.groupKey;
}
/**
* @return groupKeyType
*/
public String getGroupKeyType() {
return this.groupKeyType;
}
/**
* @return method
*/
public String getMethod() {
return this.method;
}
/**
* @return metricsKey
*/
public String getMetricsKey() {
return this.metricsKey;
}
/**
* @return metricsKeyAlias
*/
public String getMetricsKeyAlias() {
return this.metricsKeyAlias;
}
/**
* @return sortRule
*/
public Integer getSortRule() {
return this.sortRule;
}
/**
* @return unit
*/
public String getUnit() {
return this.unit;
}
public static final class Builder {
private String description;
private String dimension;
private String groupKey;
private String groupKeyType;
private String method;
private String metricsKey;
private String metricsKeyAlias;
private Integer sortRule;
private String unit;
private Builder() {
}
private Builder(Items model) {
this.description = model.description;
this.dimension = model.dimension;
this.groupKey = model.groupKey;
this.groupKeyType = model.groupKeyType;
this.method = model.method;
this.metricsKey = model.metricsKey;
this.metricsKeyAlias = model.metricsKeyAlias;
this.sortRule = model.sortRule;
this.unit = model.unit;
}
/**
* <p>The description of the Enhanced Monitoring metric.</p>
*
* <strong>example:</strong>
* <p>OS CPU utilization, equal to the number of OS-consumed CPUs divided by the total number of CPUs</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The category of the Enhanced Monitoring metric. Valid values:</p>
* <ul>
* <li><strong>os</strong>: OS metric</li>
* <li><strong>db</strong>: database metric</li>
* </ul>
*
* <strong>example:</strong>
* <p>os</p>
*/
public Builder dimension(String dimension) {
this.dimension = dimension;
return this;
}
/**
* <p>The key of the group to which the Enhanced Monitoring metric belongs.</p>
*
* <strong>example:</strong>
* <p>os.cpu_usage</p>
*/
public Builder groupKey(String groupKey) {
this.groupKey = groupKey;
return this;
}
/**
* <p>The name of the group to which the Enhanced Monitoring metric belongs.</p>
*
* <strong>example:</strong>
* <p>CPU Utilization Rate</p>
*/
public Builder groupKeyType(String groupKeyType) {
this.groupKeyType = groupKeyType;
return this;
}
/**
* <p>The method that is used to aggregate the monitoring data of the Enhanced Monitoring metric. Valid values:</p>
* <ul>
* <li><strong>avg</strong>: The system calculates the average value of the Enhanced Monitoring metric.</li>
* <li><strong>min</strong>: The system calculates the minimum value of the Enhanced Monitoring metric.</li>
* <li><strong>max</strong>: The system calculates the maximum value of the Enhanced Monitoring metric.</li>
* </ul>
*
* <strong>example:</strong>
* <p>avg</p>
*/
public Builder method(String method) {
this.method = method;
return this;
}
/**
* <p>The key of the Enhanced Monitoring metric.</p>
*
* <strong>example:</strong>
* <p>os.cpu_usage.sys.avg</p>
*/
public Builder metricsKey(String metricsKey) {
this.metricsKey = metricsKey;
return this;
}
/**
* <p>The alias of the Enhanced Monitoring metric.</p>
*
* <strong>example:</strong>
* <p>cpu_sys_per_core</p>
*/
public Builder metricsKeyAlias(String metricsKeyAlias) {
this.metricsKeyAlias = metricsKeyAlias;
return this;
}
/**
* <p>The serial number of the Enhanced Monitoring metric.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder sortRule(Integer sortRule) {
this.sortRule = sortRule;
return this;
}
/**
* <p>The unit of the Enhanced Monitoring metric.</p>
*
* <strong>example:</strong>
* <p>%</p>
*/
public Builder unit(String unit) {
this.unit = unit;
return this;
}
public Items build() {
return new Items(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/DescribeAvailableRecoveryTimeRequest.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 DescribeAvailableRecoveryTimeRequest} extends {@link RequestModel}
*
* <p>DescribeAvailableRecoveryTimeRequest</p>
*/
public class DescribeAvailableRecoveryTimeRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CrossBackupId")
@com.aliyun.core.annotation.Validation(required = true)
private Integer crossBackupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeAvailableRecoveryTimeRequest(Builder builder) {
super(builder);
this.crossBackupId = builder.crossBackupId;
this.DBInstanceId = builder.DBInstanceId;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableRecoveryTimeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return crossBackupId
*/
public Integer getCrossBackupId() {
return this.crossBackupId;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeAvailableRecoveryTimeRequest, Builder> {
private Integer crossBackupId;
private String DBInstanceId;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeAvailableRecoveryTimeRequest request) {
super(request);
this.crossBackupId = request.crossBackupId;
this.DBInstanceId = request.DBInstanceId;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the cross-region data backup file. You can call the DescribeCrossRegionBackups operation to query the backup file ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>14***</p>
*/
public Builder crossBackupId(Integer crossBackupId) {
this.putQueryParameter("CrossBackupId", crossBackupId);
this.crossBackupId = crossBackupId;
return this;
}
/**
* <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5*****</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeAvailableRecoveryTimeRequest build() {
return new DescribeAvailableRecoveryTimeRequest(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/DescribeAvailableRecoveryTimeResponse.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 DescribeAvailableRecoveryTimeResponse} extends {@link TeaModel}
*
* <p>DescribeAvailableRecoveryTimeResponse</p>
*/
public class DescribeAvailableRecoveryTimeResponse 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 DescribeAvailableRecoveryTimeResponseBody body;
private DescribeAvailableRecoveryTimeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAvailableRecoveryTimeResponse 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 DescribeAvailableRecoveryTimeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAvailableRecoveryTimeResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAvailableRecoveryTimeResponseBody body);
@Override
DescribeAvailableRecoveryTimeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAvailableRecoveryTimeResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAvailableRecoveryTimeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAvailableRecoveryTimeResponse 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(DescribeAvailableRecoveryTimeResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAvailableRecoveryTimeResponse build() {
return new DescribeAvailableRecoveryTimeResponse(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/DescribeAvailableRecoveryTimeResponseBody.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 DescribeAvailableRecoveryTimeResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableRecoveryTimeResponseBody</p>
*/
public class DescribeAvailableRecoveryTimeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CrossBackupId")
private Integer crossBackupId;
@com.aliyun.core.annotation.NameInMap("RecoveryBeginTime")
private String recoveryBeginTime;
@com.aliyun.core.annotation.NameInMap("RecoveryEndTime")
private String recoveryEndTime;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeAvailableRecoveryTimeResponseBody(Builder builder) {
this.crossBackupId = builder.crossBackupId;
this.recoveryBeginTime = builder.recoveryBeginTime;
this.recoveryEndTime = builder.recoveryEndTime;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableRecoveryTimeResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return crossBackupId
*/
public Integer getCrossBackupId() {
return this.crossBackupId;
}
/**
* @return recoveryBeginTime
*/
public String getRecoveryBeginTime() {
return this.recoveryBeginTime;
}
/**
* @return recoveryEndTime
*/
public String getRecoveryEndTime() {
return this.recoveryEndTime;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer crossBackupId;
private String recoveryBeginTime;
private String recoveryEndTime;
private String regionId;
private String requestId;
private Builder() {
}
private Builder(DescribeAvailableRecoveryTimeResponseBody model) {
this.crossBackupId = model.crossBackupId;
this.recoveryBeginTime = model.recoveryBeginTime;
this.recoveryEndTime = model.recoveryEndTime;
this.regionId = model.regionId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the cross-region data backup file.</p>
*
* <strong>example:</strong>
* <p>14377</p>
*/
public Builder crossBackupId(Integer crossBackupId) {
this.crossBackupId = crossBackupId;
return this;
}
/**
* <p>The start time from which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-06-12T05:22:29Z</p>
*/
public Builder recoveryBeginTime(String recoveryBeginTime) {
this.recoveryBeginTime = recoveryBeginTime;
return this;
}
/**
* <p>The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-06-12T07:33:12Z</p>
*/
public Builder recoveryEndTime(String recoveryEndTime) {
this.recoveryEndTime = recoveryEndTime;
return this;
}
/**
* <p>The region where the source instance resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>8CCBF4BA-7CE1-47E1-B49F-E97EA200A40D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeAvailableRecoveryTimeResponseBody build() {
return new DescribeAvailableRecoveryTimeResponseBody(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/DescribeAvailableZonesRequest.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 DescribeAvailableZonesRequest} extends {@link RequestModel}
*
* <p>DescribeAvailableZonesRequest</p>
*/
public class DescribeAvailableZonesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Category")
private String category;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CommodityCode")
private String commodityCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceName")
private String DBInstanceName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DispenseMode")
private String dispenseMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Engine")
@com.aliyun.core.annotation.Validation(required = true)
private String engine;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EngineVersion")
private String engineVersion;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private DescribeAvailableZonesRequest(Builder builder) {
super(builder);
this.category = builder.category;
this.commodityCode = builder.commodityCode;
this.DBInstanceName = builder.DBInstanceName;
this.dispenseMode = builder.dispenseMode;
this.engine = builder.engine;
this.engineVersion = builder.engineVersion;
this.regionId = builder.regionId;
this.resourceOwnerId = builder.resourceOwnerId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableZonesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return commodityCode
*/
public String getCommodityCode() {
return this.commodityCode;
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return dispenseMode
*/
public String getDispenseMode() {
return this.dispenseMode;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return engineVersion
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder extends Request.Builder<DescribeAvailableZonesRequest, Builder> {
private String category;
private String commodityCode;
private String DBInstanceName;
private String dispenseMode;
private String engine;
private String engineVersion;
private String regionId;
private Long resourceOwnerId;
private String zoneId;
private Builder() {
super();
}
private Builder(DescribeAvailableZonesRequest request) {
super(request);
this.category = request.category;
this.commodityCode = request.commodityCode;
this.DBInstanceName = request.DBInstanceName;
this.dispenseMode = request.dispenseMode;
this.engine = request.engine;
this.engineVersion = request.engineVersion;
this.regionId = request.regionId;
this.resourceOwnerId = request.resourceOwnerId;
this.zoneId = request.zoneId;
}
/**
* <p>The RDS edition of the instance. Valid values:</p>
* <ul>
* <li><p>Regular instance</p>
* <ul>
* <li><strong>Basic</strong>: RDS Basic Edition.</li>
* <li><strong>HighAvailability</strong>: RDS High-availability Edition.</li>
* <li><strong>cluster</strong>: RDS Cluster Edition for ApsaraDB RDS for MySQL.</li>
* <li><strong>AlwaysOn</strong>: RDS Cluster Edition for ApsaraDB RDS for SQL Server.</li>
* <li><strong>Finance</strong>: RDS Enterprise Edition.</li>
* </ul>
* </li>
* <li><p>Serverless instance</p>
* <ul>
* <li><strong>serverless_basic</strong>: RDS Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL.</li>
* <li><strong>serverless_standard</strong>: RDS High-availability Edition for ApsaraDB RDS for MySQL.</li>
* <li><strong>serverless_ha</strong>: RDS High-availability Edition for ApsaraDB RDS for SQL Server.</li>
* </ul>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>HighAvailability</p>
*/
public Builder category(String category) {
this.putQueryParameter("Category", category);
this.category = category;
return this;
}
/**
* <p>The commodity code of the instance. This operation can return the resources that you can purchase based on the specified commodity code. Valid values:</p>
* <ul>
* <li><strong>bards</strong>: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rds</strong>: The instance is a subscription primary instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rords</strong>: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rds_rordspre_public_cn</strong>: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>bards_intl</strong>: The instance is a pay-as-you-go primary instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rds_intl</strong>: The instance is a subscription primary instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rords_intl</strong>: The instance is a pay-as-you-go read-only instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rds_rordspre_public_intl</strong>: The instance is a subscription read-only instance. This value is available at the International site (alibabacloud.com).</li>
* <li><strong>rds_serverless_public_cn</strong>: The instance is a serverless instance. This value is available at the China site (aliyun.com).</li>
* <li><strong>rds_serverless_public_intl</strong>: The instance is a serverless instance. This value is available at the International site (alibabacloud.com).</li>
* </ul>
*
* <strong>example:</strong>
* <p>bards</p>
*/
public Builder commodityCode(String commodityCode) {
this.putQueryParameter("CommodityCode", commodityCode);
this.commodityCode = commodityCode;
return this;
}
/**
* <p>The ID of the primary instance. If you want to query the read-only instances that you can purchase for a primary instance, you can specify this parameter.</p>
* <p>If you set <strong>CommodityCode</strong> to one of the following values, you must specify this parameter:</p>
* <ul>
* <li><strong>rords_intl</strong></li>
* <li><strong>rds_rordspre_public_intl</strong></li>
* <li><strong>rords</strong></li>
* <li><strong>rds_rordspre_public_cn</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceName(String DBInstanceName) {
this.putQueryParameter("DBInstanceName", DBInstanceName);
this.DBInstanceName = DBInstanceName;
return this;
}
/**
* <p>Specifies whether to return the zones in which the single-zone deployment method is supported. Valid values:</p>
* <ul>
* <li><strong>1</strong> (default): returns the zones.</li>
* <li><strong>0</strong>: does not return the zones.</li>
* </ul>
* <blockquote>
* <p> The single-zone deployment method allows you to deploy an instance that runs RDS Enterprise Edition in a single zone.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder dispenseMode(String dispenseMode) {
this.putQueryParameter("DispenseMode", dispenseMode);
this.dispenseMode = dispenseMode;
return this;
}
/**
* <p>The database engine of the instance. Valid values:</p>
* <ul>
* <li><strong>MySQL</strong></li>
* <li><strong>SQLServer</strong></li>
* <li><strong>PostgreSQL</strong></li>
* <li><strong>MariaDB</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.putQueryParameter("Engine", engine);
this.engine = engine;
return this;
}
/**
* <p>The database engine version. Valid values:</p>
* <ul>
* <li><p>Regular instance</p>
* <ul>
* <li>Valid values if you set Engine to MySQL: <strong>5.5</strong>, <strong>5.6</strong>, <strong>5.7</strong>, and <strong>8.0</strong></li>
* <li>Valid values if you set Engine to SQLServer: <strong>2008r2</strong>, <strong>08r2_ent_ha</strong>, <strong>2012</strong>, <strong>2012_ent_ha</strong>, <strong>2012_std_ha</strong>, <strong>2012_web</strong>, <strong>2014_std_ha</strong>, <strong>2016_ent_ha</strong>, <strong>2016_std_ha</strong>, <strong>2016_web</strong>, <strong>2017_std_ha</strong>, <strong>2017_ent</strong>, <strong>2019_std_ha</strong>, and <strong>2019_ent</strong></li>
* <li>Valid values if you set Engine to PostgreSQL: <strong>10.0</strong>, <strong>11.0</strong>, <strong>12.0</strong>, <strong>13.0</strong>, <strong>14.0</strong>, and <strong>15.0</strong></li>
* <li>Valid value when you set Engine to MariaDB: <strong>10.3</strong></li>
* </ul>
* </li>
* <li><p>Serverless instance</p>
* <ul>
* <li>Valid values if you set Engine to MySQL: <strong>5.7</strong> and <strong>8.0</strong></li>
* <li>Valid values if you set Engine to SQLServer: <strong>2016_std_sl</strong>, <strong>2017_std_sl</strong>, and <strong>2019_std_sl</strong></li>
* <li>Valid value if you set Engine to PostgreSQL: <strong>14.0</strong></li>
* </ul>
* <p>**</p>
* <p><strong>Note</strong>ApsaraDB RDS for MariaDB does not support serverless instances.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>8.0</p>
*/
public Builder engineVersion(String engineVersion) {
this.putQueryParameter("EngineVersion", engineVersion);
this.engineVersion = engineVersion;
return this;
}
/**
* <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</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;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The zone ID. If the instance spans more than one zone, the value of this parameter contains an <code>MAZ</code> part, such as <code>cn-hangzhou-MAZ6(b,f)</code> and <code>cn-hangzhou-MAZ5(b,e,f)</code>. You can call the DescribeRegions operation to query the most recent zone list.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-e</p>
*/
public Builder zoneId(String zoneId) {
this.putQueryParameter("ZoneId", zoneId);
this.zoneId = zoneId;
return this;
}
@Override
public DescribeAvailableZonesRequest build() {
return new DescribeAvailableZonesRequest(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/DescribeAvailableZonesResponse.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 DescribeAvailableZonesResponse} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponse</p>
*/
public class DescribeAvailableZonesResponse 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 DescribeAvailableZonesResponseBody body;
private DescribeAvailableZonesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAvailableZonesResponse 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 DescribeAvailableZonesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAvailableZonesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAvailableZonesResponseBody body);
@Override
DescribeAvailableZonesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAvailableZonesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeAvailableZonesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAvailableZonesResponse 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(DescribeAvailableZonesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAvailableZonesResponse build() {
return new DescribeAvailableZonesResponse(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/DescribeAvailableZonesResponseBody.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 DescribeAvailableZonesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponseBody</p>
*/
public class DescribeAvailableZonesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AvailableZones")
private java.util.List<AvailableZones> availableZones;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeAvailableZonesResponseBody(Builder builder) {
this.availableZones = builder.availableZones;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableZonesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return availableZones
*/
public java.util.List<AvailableZones> getAvailableZones() {
return this.availableZones;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<AvailableZones> availableZones;
private String requestId;
private Builder() {
}
private Builder(DescribeAvailableZonesResponseBody model) {
this.availableZones = model.availableZones;
this.requestId = model.requestId;
}
/**
* <p>The available zones in the region.</p>
*/
public Builder availableZones(java.util.List<AvailableZones> availableZones) {
this.availableZones = availableZones;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>4256E149-C3C4-4FA7-BDEA-13CA415E8763</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeAvailableZonesResponseBody build() {
return new DescribeAvailableZonesResponseBody(this);
}
}
/**
*
* {@link DescribeAvailableZonesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponseBody</p>
*/
public static class SupportedStorageTypes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("StorageType")
private String storageType;
private SupportedStorageTypes(Builder builder) {
this.storageType = builder.storageType;
}
public static Builder builder() {
return new Builder();
}
public static SupportedStorageTypes create() {
return builder().build();
}
/**
* @return storageType
*/
public String getStorageType() {
return this.storageType;
}
public static final class Builder {
private String storageType;
private Builder() {
}
private Builder(SupportedStorageTypes model) {
this.storageType = model.storageType;
}
/**
* <p>The storage type of the instance.</p>
*
* <strong>example:</strong>
* <p>local_ssd</p>
*/
public Builder storageType(String storageType) {
this.storageType = storageType;
return this;
}
public SupportedStorageTypes build() {
return new SupportedStorageTypes(this);
}
}
}
/**
*
* {@link DescribeAvailableZonesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponseBody</p>
*/
public static class SupportedCategorys extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Category")
private String category;
@com.aliyun.core.annotation.NameInMap("SupportedStorageTypes")
private java.util.List<SupportedStorageTypes> supportedStorageTypes;
private SupportedCategorys(Builder builder) {
this.category = builder.category;
this.supportedStorageTypes = builder.supportedStorageTypes;
}
public static Builder builder() {
return new Builder();
}
public static SupportedCategorys create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return supportedStorageTypes
*/
public java.util.List<SupportedStorageTypes> getSupportedStorageTypes() {
return this.supportedStorageTypes;
}
public static final class Builder {
private String category;
private java.util.List<SupportedStorageTypes> supportedStorageTypes;
private Builder() {
}
private Builder(SupportedCategorys model) {
this.category = model.category;
this.supportedStorageTypes = model.supportedStorageTypes;
}
/**
* <p>The RDS edition of the instance.</p>
*
* <strong>example:</strong>
* <p>HighAvailability</p>
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* <p>The storage types that are available for purchase.</p>
*/
public Builder supportedStorageTypes(java.util.List<SupportedStorageTypes> supportedStorageTypes) {
this.supportedStorageTypes = supportedStorageTypes;
return this;
}
public SupportedCategorys build() {
return new SupportedCategorys(this);
}
}
}
/**
*
* {@link DescribeAvailableZonesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponseBody</p>
*/
public static class SupportedEngineVersions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SupportedCategorys")
private java.util.List<SupportedCategorys> supportedCategorys;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
private SupportedEngineVersions(Builder builder) {
this.supportedCategorys = builder.supportedCategorys;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static SupportedEngineVersions create() {
return builder().build();
}
/**
* @return supportedCategorys
*/
public java.util.List<SupportedCategorys> getSupportedCategorys() {
return this.supportedCategorys;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private java.util.List<SupportedCategorys> supportedCategorys;
private String version;
private Builder() {
}
private Builder(SupportedEngineVersions model) {
this.supportedCategorys = model.supportedCategorys;
this.version = model.version;
}
/**
* <p>The RDS editions that are available that are available for purchase.</p>
*/
public Builder supportedCategorys(java.util.List<SupportedCategorys> supportedCategorys) {
this.supportedCategorys = supportedCategorys;
return this;
}
/**
* <p>The database engine version.</p>
*
* <strong>example:</strong>
* <p>8.0</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public SupportedEngineVersions build() {
return new SupportedEngineVersions(this);
}
}
}
/**
*
* {@link DescribeAvailableZonesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponseBody</p>
*/
public static class SupportedEngines extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Engine")
private String engine;
@com.aliyun.core.annotation.NameInMap("SupportedEngineVersions")
private java.util.List<SupportedEngineVersions> supportedEngineVersions;
private SupportedEngines(Builder builder) {
this.engine = builder.engine;
this.supportedEngineVersions = builder.supportedEngineVersions;
}
public static Builder builder() {
return new Builder();
}
public static SupportedEngines create() {
return builder().build();
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return supportedEngineVersions
*/
public java.util.List<SupportedEngineVersions> getSupportedEngineVersions() {
return this.supportedEngineVersions;
}
public static final class Builder {
private String engine;
private java.util.List<SupportedEngineVersions> supportedEngineVersions;
private Builder() {
}
private Builder(SupportedEngines model) {
this.engine = model.engine;
this.supportedEngineVersions = model.supportedEngineVersions;
}
/**
* <p>The database engine of the instance.</p>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.engine = engine;
return this;
}
/**
* <p>The database engine versions that are available for purchase.</p>
*/
public Builder supportedEngineVersions(java.util.List<SupportedEngineVersions> supportedEngineVersions) {
this.supportedEngineVersions = supportedEngineVersions;
return this;
}
public SupportedEngines build() {
return new SupportedEngines(this);
}
}
}
/**
*
* {@link DescribeAvailableZonesResponseBody} extends {@link TeaModel}
*
* <p>DescribeAvailableZonesResponseBody</p>
*/
public static class AvailableZones extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("SupportedEngines")
private java.util.List<SupportedEngines> supportedEngines;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private AvailableZones(Builder builder) {
this.regionId = builder.regionId;
this.supportedEngines = builder.supportedEngines;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static AvailableZones create() {
return builder().build();
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return supportedEngines
*/
public java.util.List<SupportedEngines> getSupportedEngines() {
return this.supportedEngines;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String regionId;
private java.util.List<SupportedEngines> supportedEngines;
private String zoneId;
private Builder() {
}
private Builder(AvailableZones model) {
this.regionId = model.regionId;
this.supportedEngines = model.supportedEngines;
this.zoneId = model.zoneId;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The database engines that are available for purchase.</p>
*/
public Builder supportedEngines(java.util.List<SupportedEngines> supportedEngines) {
this.supportedEngines = supportedEngines;
return this;
}
/**
* <p>The zone ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-e</p>
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public AvailableZones build() {
return new AvailableZones(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/DescribeBackupDatabaseRequest.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 DescribeBackupDatabaseRequest} extends {@link RequestModel}
*
* <p>DescribeBackupDatabaseRequest</p>
*/
public class DescribeBackupDatabaseRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupId")
private String backupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeBackupDatabaseRequest(Builder builder) {
super(builder);
this.backupId = builder.backupId;
this.DBInstanceId = builder.DBInstanceId;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupDatabaseRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backupId
*/
public String getBackupId() {
return this.backupId;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeBackupDatabaseRequest, Builder> {
private String backupId;
private String DBInstanceId;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeBackupDatabaseRequest request) {
super(request);
this.backupId = request.backupId;
this.DBInstanceId = request.DBInstanceId;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the backup set.</p>
*
* <strong>example:</strong>
* <p>90262212</p>
*/
public Builder backupId(String backupId) {
this.putQueryParameter("BackupId", backupId);
this.backupId = backupId;
return this;
}
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeBackupDatabaseRequest build() {
return new DescribeBackupDatabaseRequest(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/DescribeBackupDatabaseResponse.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 DescribeBackupDatabaseResponse} extends {@link TeaModel}
*
* <p>DescribeBackupDatabaseResponse</p>
*/
public class DescribeBackupDatabaseResponse 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 DescribeBackupDatabaseResponseBody body;
private DescribeBackupDatabaseResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBackupDatabaseResponse 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 DescribeBackupDatabaseResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBackupDatabaseResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBackupDatabaseResponseBody body);
@Override
DescribeBackupDatabaseResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBackupDatabaseResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBackupDatabaseResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBackupDatabaseResponse 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(DescribeBackupDatabaseResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBackupDatabaseResponse build() {
return new DescribeBackupDatabaseResponse(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/DescribeBackupDatabaseResponseBody.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 DescribeBackupDatabaseResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupDatabaseResponseBody</p>
*/
public class DescribeBackupDatabaseResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DatabaseNames")
private String databaseNames;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeBackupDatabaseResponseBody(Builder builder) {
this.databaseNames = builder.databaseNames;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupDatabaseResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return databaseNames
*/
public String getDatabaseNames() {
return this.databaseNames;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String databaseNames;
private String requestId;
private Builder() {
}
private Builder(DescribeBackupDatabaseResponseBody model) {
this.databaseNames = model.databaseNames;
this.requestId = model.requestId;
}
/**
* <p>The name of the database. Format: "db1,db2".</p>
*
* <strong>example:</strong>
* <p>db1,db2</p>
*/
public Builder databaseNames(String databaseNames) {
this.databaseNames = databaseNames;
return this;
}
/**
* <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 DescribeBackupDatabaseResponseBody build() {
return new DescribeBackupDatabaseResponseBody(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/DescribeBackupPolicyRequest.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 DescribeBackupPolicyRequest} extends {@link RequestModel}
*
* <p>DescribeBackupPolicyRequest</p>
*/
public class DescribeBackupPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupPolicyMode")
private String backupPolicyMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CompressType")
private String compressType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ReleasedKeepPolicy")
private String releasedKeepPolicy;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeBackupPolicyRequest(Builder builder) {
super(builder);
this.backupPolicyMode = builder.backupPolicyMode;
this.compressType = builder.compressType;
this.DBInstanceId = builder.DBInstanceId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.releasedKeepPolicy = builder.releasedKeepPolicy;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backupPolicyMode
*/
public String getBackupPolicyMode() {
return this.backupPolicyMode;
}
/**
* @return compressType
*/
public String getCompressType() {
return this.compressType;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return releasedKeepPolicy
*/
public String getReleasedKeepPolicy() {
return this.releasedKeepPolicy;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeBackupPolicyRequest, Builder> {
private String backupPolicyMode;
private String compressType;
private String DBInstanceId;
private String ownerAccount;
private Long ownerId;
private String releasedKeepPolicy;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeBackupPolicyRequest request) {
super(request);
this.backupPolicyMode = request.backupPolicyMode;
this.compressType = request.compressType;
this.DBInstanceId = request.DBInstanceId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.releasedKeepPolicy = request.releasedKeepPolicy;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The backup type. Valid values:</p>
* <ul>
* <li><strong>DataBackupPolicy</strong>: data backup</li>
* <li><strong>LogBackupPolicy</strong>: log backup</li>
* </ul>
*
* <strong>example:</strong>
* <p>DataBackupPolicy</p>
*/
public Builder backupPolicyMode(String backupPolicyMode) {
this.putQueryParameter("BackupPolicyMode", backupPolicyMode);
this.backupPolicyMode = backupPolicyMode;
return this;
}
/**
* <p>The method that is used to compress backup data. Valid values:</p>
* <ul>
* <li><strong>0</strong>: Backup data is not compressed.</li>
* <li><strong>1</strong>: Backup data is compressed by using zlib.</li>
* <li><strong>2</strong>: Backup data is compressed by using zlib that invokes more than one thread in parallel for each backup.</li>
* <li><strong>4</strong>: Backup data is compressed by using QuickLZ and can be used to restore individual databases or tables.</li>
* <li><strong>8</strong>: Backup data is compressed by using QuickLZ but cannot be used to restore individual databases or tables.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder compressType(String compressType) {
this.putQueryParameter("CompressType", compressType);
this.compressType = compressType;
return this;
}
/**
* <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>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The policy that is used to retain archived backup files if the instance is released. Valid values:</p>
* <ul>
* <li><strong>None</strong>: No archived backup files are retained.</li>
* <li><strong>Lastest</strong>: Only the last archived backup file is retained.</li>
* <li><strong>All</strong>: All archived backup files are retained.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Lastest</p>
*/
public Builder releasedKeepPolicy(String releasedKeepPolicy) {
this.putQueryParameter("ReleasedKeepPolicy", releasedKeepPolicy);
this.releasedKeepPolicy = releasedKeepPolicy;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeBackupPolicyRequest build() {
return new DescribeBackupPolicyRequest(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/DescribeBackupPolicyResponse.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 DescribeBackupPolicyResponse} extends {@link TeaModel}
*
* <p>DescribeBackupPolicyResponse</p>
*/
public class DescribeBackupPolicyResponse 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 DescribeBackupPolicyResponseBody body;
private DescribeBackupPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBackupPolicyResponse 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 DescribeBackupPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBackupPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBackupPolicyResponseBody body);
@Override
DescribeBackupPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBackupPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBackupPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBackupPolicyResponse 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(DescribeBackupPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBackupPolicyResponse build() {
return new DescribeBackupPolicyResponse(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/DescribeBackupPolicyResponseBody.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 DescribeBackupPolicyResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupPolicyResponseBody</p>
*/
public class DescribeBackupPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ArchiveBackupKeepCount")
private String archiveBackupKeepCount;
@com.aliyun.core.annotation.NameInMap("ArchiveBackupKeepPolicy")
private String archiveBackupKeepPolicy;
@com.aliyun.core.annotation.NameInMap("ArchiveBackupRetentionPeriod")
private String archiveBackupRetentionPeriod;
@com.aliyun.core.annotation.NameInMap("BackupInterval")
private String backupInterval;
@com.aliyun.core.annotation.NameInMap("BackupLog")
private String backupLog;
@com.aliyun.core.annotation.NameInMap("BackupMethod")
private String backupMethod;
@com.aliyun.core.annotation.NameInMap("BackupPriority")
private Integer backupPriority;
@com.aliyun.core.annotation.NameInMap("BackupRetentionPeriod")
private Integer backupRetentionPeriod;
@com.aliyun.core.annotation.NameInMap("Category")
private String category;
@com.aliyun.core.annotation.NameInMap("CompressType")
private String compressType;
@com.aliyun.core.annotation.NameInMap("EnableBackupLog")
private String enableBackupLog;
@com.aliyun.core.annotation.NameInMap("EnableIncrementDataBackup")
private Boolean enableIncrementDataBackup;
@com.aliyun.core.annotation.NameInMap("EnablePitrProtection")
private Boolean enablePitrProtection;
@com.aliyun.core.annotation.NameInMap("HighSpaceUsageProtection")
private String highSpaceUsageProtection;
@com.aliyun.core.annotation.NameInMap("LocalLogRetentionHours")
private Integer localLogRetentionHours;
@com.aliyun.core.annotation.NameInMap("LocalLogRetentionSpace")
private String localLogRetentionSpace;
@com.aliyun.core.annotation.NameInMap("LogBackupFrequency")
private String logBackupFrequency;
@com.aliyun.core.annotation.NameInMap("LogBackupLocalRetentionNumber")
private Integer logBackupLocalRetentionNumber;
@com.aliyun.core.annotation.NameInMap("LogBackupRetentionPeriod")
private Integer logBackupRetentionPeriod;
@com.aliyun.core.annotation.NameInMap("PitrRetentionPeriod")
private Integer pitrRetentionPeriod;
@com.aliyun.core.annotation.NameInMap("PreferredBackupPeriod")
private String preferredBackupPeriod;
@com.aliyun.core.annotation.NameInMap("PreferredBackupTime")
private String preferredBackupTime;
@com.aliyun.core.annotation.NameInMap("PreferredNextBackupTime")
private String preferredNextBackupTime;
@com.aliyun.core.annotation.NameInMap("ReleasedKeepPolicy")
private String releasedKeepPolicy;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SupportModifyBackupPriority")
private Boolean supportModifyBackupPriority;
@com.aliyun.core.annotation.NameInMap("SupportReleasedKeep")
private Integer supportReleasedKeep;
@com.aliyun.core.annotation.NameInMap("SupportVolumeShadowCopy")
private Integer supportVolumeShadowCopy;
@com.aliyun.core.annotation.NameInMap("SupportsHighFrequencyBackup")
private Long supportsHighFrequencyBackup;
private DescribeBackupPolicyResponseBody(Builder builder) {
this.archiveBackupKeepCount = builder.archiveBackupKeepCount;
this.archiveBackupKeepPolicy = builder.archiveBackupKeepPolicy;
this.archiveBackupRetentionPeriod = builder.archiveBackupRetentionPeriod;
this.backupInterval = builder.backupInterval;
this.backupLog = builder.backupLog;
this.backupMethod = builder.backupMethod;
this.backupPriority = builder.backupPriority;
this.backupRetentionPeriod = builder.backupRetentionPeriod;
this.category = builder.category;
this.compressType = builder.compressType;
this.enableBackupLog = builder.enableBackupLog;
this.enableIncrementDataBackup = builder.enableIncrementDataBackup;
this.enablePitrProtection = builder.enablePitrProtection;
this.highSpaceUsageProtection = builder.highSpaceUsageProtection;
this.localLogRetentionHours = builder.localLogRetentionHours;
this.localLogRetentionSpace = builder.localLogRetentionSpace;
this.logBackupFrequency = builder.logBackupFrequency;
this.logBackupLocalRetentionNumber = builder.logBackupLocalRetentionNumber;
this.logBackupRetentionPeriod = builder.logBackupRetentionPeriod;
this.pitrRetentionPeriod = builder.pitrRetentionPeriod;
this.preferredBackupPeriod = builder.preferredBackupPeriod;
this.preferredBackupTime = builder.preferredBackupTime;
this.preferredNextBackupTime = builder.preferredNextBackupTime;
this.releasedKeepPolicy = builder.releasedKeepPolicy;
this.requestId = builder.requestId;
this.supportModifyBackupPriority = builder.supportModifyBackupPriority;
this.supportReleasedKeep = builder.supportReleasedKeep;
this.supportVolumeShadowCopy = builder.supportVolumeShadowCopy;
this.supportsHighFrequencyBackup = builder.supportsHighFrequencyBackup;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupPolicyResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return archiveBackupKeepCount
*/
public String getArchiveBackupKeepCount() {
return this.archiveBackupKeepCount;
}
/**
* @return archiveBackupKeepPolicy
*/
public String getArchiveBackupKeepPolicy() {
return this.archiveBackupKeepPolicy;
}
/**
* @return archiveBackupRetentionPeriod
*/
public String getArchiveBackupRetentionPeriod() {
return this.archiveBackupRetentionPeriod;
}
/**
* @return backupInterval
*/
public String getBackupInterval() {
return this.backupInterval;
}
/**
* @return backupLog
*/
public String getBackupLog() {
return this.backupLog;
}
/**
* @return backupMethod
*/
public String getBackupMethod() {
return this.backupMethod;
}
/**
* @return backupPriority
*/
public Integer getBackupPriority() {
return this.backupPriority;
}
/**
* @return backupRetentionPeriod
*/
public Integer getBackupRetentionPeriod() {
return this.backupRetentionPeriod;
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return compressType
*/
public String getCompressType() {
return this.compressType;
}
/**
* @return enableBackupLog
*/
public String getEnableBackupLog() {
return this.enableBackupLog;
}
/**
* @return enableIncrementDataBackup
*/
public Boolean getEnableIncrementDataBackup() {
return this.enableIncrementDataBackup;
}
/**
* @return enablePitrProtection
*/
public Boolean getEnablePitrProtection() {
return this.enablePitrProtection;
}
/**
* @return highSpaceUsageProtection
*/
public String getHighSpaceUsageProtection() {
return this.highSpaceUsageProtection;
}
/**
* @return localLogRetentionHours
*/
public Integer getLocalLogRetentionHours() {
return this.localLogRetentionHours;
}
/**
* @return localLogRetentionSpace
*/
public String getLocalLogRetentionSpace() {
return this.localLogRetentionSpace;
}
/**
* @return logBackupFrequency
*/
public String getLogBackupFrequency() {
return this.logBackupFrequency;
}
/**
* @return logBackupLocalRetentionNumber
*/
public Integer getLogBackupLocalRetentionNumber() {
return this.logBackupLocalRetentionNumber;
}
/**
* @return logBackupRetentionPeriod
*/
public Integer getLogBackupRetentionPeriod() {
return this.logBackupRetentionPeriod;
}
/**
* @return pitrRetentionPeriod
*/
public Integer getPitrRetentionPeriod() {
return this.pitrRetentionPeriod;
}
/**
* @return preferredBackupPeriod
*/
public String getPreferredBackupPeriod() {
return this.preferredBackupPeriod;
}
/**
* @return preferredBackupTime
*/
public String getPreferredBackupTime() {
return this.preferredBackupTime;
}
/**
* @return preferredNextBackupTime
*/
public String getPreferredNextBackupTime() {
return this.preferredNextBackupTime;
}
/**
* @return releasedKeepPolicy
*/
public String getReleasedKeepPolicy() {
return this.releasedKeepPolicy;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return supportModifyBackupPriority
*/
public Boolean getSupportModifyBackupPriority() {
return this.supportModifyBackupPriority;
}
/**
* @return supportReleasedKeep
*/
public Integer getSupportReleasedKeep() {
return this.supportReleasedKeep;
}
/**
* @return supportVolumeShadowCopy
*/
public Integer getSupportVolumeShadowCopy() {
return this.supportVolumeShadowCopy;
}
/**
* @return supportsHighFrequencyBackup
*/
public Long getSupportsHighFrequencyBackup() {
return this.supportsHighFrequencyBackup;
}
public static final class Builder {
private String archiveBackupKeepCount;
private String archiveBackupKeepPolicy;
private String archiveBackupRetentionPeriod;
private String backupInterval;
private String backupLog;
private String backupMethod;
private Integer backupPriority;
private Integer backupRetentionPeriod;
private String category;
private String compressType;
private String enableBackupLog;
private Boolean enableIncrementDataBackup;
private Boolean enablePitrProtection;
private String highSpaceUsageProtection;
private Integer localLogRetentionHours;
private String localLogRetentionSpace;
private String logBackupFrequency;
private Integer logBackupLocalRetentionNumber;
private Integer logBackupRetentionPeriod;
private Integer pitrRetentionPeriod;
private String preferredBackupPeriod;
private String preferredBackupTime;
private String preferredNextBackupTime;
private String releasedKeepPolicy;
private String requestId;
private Boolean supportModifyBackupPriority;
private Integer supportReleasedKeep;
private Integer supportVolumeShadowCopy;
private Long supportsHighFrequencyBackup;
private Builder() {
}
private Builder(DescribeBackupPolicyResponseBody model) {
this.archiveBackupKeepCount = model.archiveBackupKeepCount;
this.archiveBackupKeepPolicy = model.archiveBackupKeepPolicy;
this.archiveBackupRetentionPeriod = model.archiveBackupRetentionPeriod;
this.backupInterval = model.backupInterval;
this.backupLog = model.backupLog;
this.backupMethod = model.backupMethod;
this.backupPriority = model.backupPriority;
this.backupRetentionPeriod = model.backupRetentionPeriod;
this.category = model.category;
this.compressType = model.compressType;
this.enableBackupLog = model.enableBackupLog;
this.enableIncrementDataBackup = model.enableIncrementDataBackup;
this.enablePitrProtection = model.enablePitrProtection;
this.highSpaceUsageProtection = model.highSpaceUsageProtection;
this.localLogRetentionHours = model.localLogRetentionHours;
this.localLogRetentionSpace = model.localLogRetentionSpace;
this.logBackupFrequency = model.logBackupFrequency;
this.logBackupLocalRetentionNumber = model.logBackupLocalRetentionNumber;
this.logBackupRetentionPeriod = model.logBackupRetentionPeriod;
this.pitrRetentionPeriod = model.pitrRetentionPeriod;
this.preferredBackupPeriod = model.preferredBackupPeriod;
this.preferredBackupTime = model.preferredBackupTime;
this.preferredNextBackupTime = model.preferredNextBackupTime;
this.releasedKeepPolicy = model.releasedKeepPolicy;
this.requestId = model.requestId;
this.supportModifyBackupPriority = model.supportModifyBackupPriority;
this.supportReleasedKeep = model.supportReleasedKeep;
this.supportVolumeShadowCopy = model.supportVolumeShadowCopy;
this.supportsHighFrequencyBackup = model.supportsHighFrequencyBackup;
}
/**
* <p>The number of archived backup files that are retained.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder archiveBackupKeepCount(String archiveBackupKeepCount) {
this.archiveBackupKeepCount = archiveBackupKeepCount;
return this;
}
/**
* <p>The cycle based on which archived backup files are retained.</p>
*
* <strong>example:</strong>
* <p>ByMonth</p>
*/
public Builder archiveBackupKeepPolicy(String archiveBackupKeepPolicy) {
this.archiveBackupKeepPolicy = archiveBackupKeepPolicy;
return this;
}
/**
* <p>The number of days for which archived backup files are retained.</p>
*
* <strong>example:</strong>
* <p>365</p>
*/
public Builder archiveBackupRetentionPeriod(String archiveBackupRetentionPeriod) {
this.archiveBackupRetentionPeriod = archiveBackupRetentionPeriod;
return this;
}
/**
* <p>The backup interval. Unit: minutes.</p>
* <ul>
* <li>If the instance runs MySQL, the interval is the same as the value of the Snapshot Backup Start Time parameter rather than the Snapshot Backup Period parameter in the ApsaraDB RDS console. For more information, see <a href="https://help.aliyun.com/document_detail/98818.html">Back up an ApsaraDB RDS for MySQL instance</a>.</li>
* <li>If the instance runs SQL Server, the interval is the same as the log backup frequency.</li>
* </ul>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder backupInterval(String backupInterval) {
this.backupInterval = backupInterval;
return this;
}
/**
* <p>Indicates whether the log backup feature is enabled. Valid values:</p>
* <ul>
* <li><strong>Enable</strong></li>
* <li><strong>Disabled</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Enable</p>
*/
public Builder backupLog(String backupLog) {
this.backupLog = backupLog;
return this;
}
/**
* <p>The backup method of the instance. Valid values:</p>
* <ul>
* <li><strong>Physical</strong>: physical backup</li>
* <li><strong>Snapshot</strong>: snapshot backup</li>
* </ul>
* <blockquote>
* <p>This parameter is returned only when the instance runs SQL Server and uses cloud disks.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Physical</p>
*/
public Builder backupMethod(String backupMethod) {
this.backupMethod = backupMethod;
return this;
}
/**
* <p>The backup settings of the secondary instance. Valid values:</p>
* <ul>
* <li><strong>1</strong>: Secondary instance preferred</li>
* <li><strong>2</strong>: Primary instance preferred</li>
* </ul>
* <blockquote>
* <p> This parameter is available only for instances that run SQL Server on RDS Cluster Edition. This parameter is returned only when SupportModifyBackupPriority is set to True.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder backupPriority(Integer backupPriority) {
this.backupPriority = backupPriority;
return this;
}
/**
* <p>The number of days for which data backup files are retained.</p>
*
* <strong>example:</strong>
* <p>7</p>
*/
public Builder backupRetentionPeriod(Integer backupRetentionPeriod) {
this.backupRetentionPeriod = backupRetentionPeriod;
return this;
}
/**
* <p>Indicates whether to enable the single-digit second backup feature. This feature allows ApsaraDB RDS to complete a backup within single-digit seconds. Valid values:</p>
* <ul>
* <li><strong>Flash</strong>: The single-digit second backup feature is enabled.</li>
* <li><strong>Standard</strong>: The single-digit second backup feature is disabled.</li>
* </ul>
* <blockquote>
* <p>This parameter takes effect only when you set the <strong>BackupPolicyMode</strong> parameter to <strong>DataBackupPolicy</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Standard</p>
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* <p>The method that is used to compress backup data. Valid values:</p>
* <ul>
* <li><strong>0</strong>: Backup data is not compressed.</li>
* <li><strong>1</strong>: Backup data is compressed by using zlib.</li>
* <li><strong>2</strong>: Backup data is compressed by using zlib that invokes more than one thread in parallel for each backup.</li>
* <li><strong>4</strong>: Backup data is compressed by using QuickLZ and can be used to restore individual databases or tables.</li>
* <li><strong>8</strong>: Backup data is compressed by using QuickLZ but cannot be used to restore individual databases or tables.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder compressType(String compressType) {
this.compressType = compressType;
return this;
}
/**
* <p>Indicates whether the log backup feature is enabled. Valid values:</p>
* <ul>
* <li><strong>1</strong>: enabled</li>
* <li><strong>0</strong>: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder enableBackupLog(String enableBackupLog) {
this.enableBackupLog = enableBackupLog;
return this;
}
/**
* <p>Indicates whether incremental backup is enabled. Valid values:</p>
* <ul>
* <li><strong>True</strong>: Incremental backup is enabled.</li>
* <li><strong>False</strong>: Incremental backup is disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder enableIncrementDataBackup(Boolean enableIncrementDataBackup) {
this.enableIncrementDataBackup = enableIncrementDataBackup;
return this;
}
/**
* <p>Indicates whether the point-in-time restoration (PITR) feature is enabled. The PITR feature is an enhancement of the log backup feature. Valid values:</p>
* <ul>
* <li><strong>True</strong></li>
* <li><strong>False</strong></li>
* </ul>
* <blockquote>
* <p> This parameter is returned only when the instance runs MySQL. For more information, see <a href="https://help.aliyun.com/document_detail/2666046.html">Configure the PITR feature</a>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder enablePitrProtection(Boolean enablePitrProtection) {
this.enablePitrProtection = enablePitrProtection;
return this;
}
/**
* <p>Indicates whether the log backup deletion feature is enabled. If the disk usage exceeds 80% or the remaining disk space is less than 5 GB on the instance, this feature deletes binary log files. Valid values:</p>
* <ul>
* <li><strong>Disable</strong></li>
* <li><strong>Enable</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Enable</p>
*/
public Builder highSpaceUsageProtection(String highSpaceUsageProtection) {
this.highSpaceUsageProtection = highSpaceUsageProtection;
return this;
}
/**
* <p>The number of hours for which log backup files are retained on the instance.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder localLogRetentionHours(Integer localLogRetentionHours) {
this.localLogRetentionHours = localLogRetentionHours;
return this;
}
/**
* <p>The maximum storage usage that is allowed for log files on the instance.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder localLogRetentionSpace(String localLogRetentionSpace) {
this.localLogRetentionSpace = localLogRetentionSpace;
return this;
}
/**
* <p>The backup frequency of logs. Valid values:</p>
* <ul>
* <li><strong>LogInterval</strong>: Log backups are performed every 30 minutes.</li>
* <li>Default value: same as the value of the <strong>PreferredBackupPeriod</strong> parameter.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only when the instance runs SQL Server.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>LogInterval</p>
*/
public Builder logBackupFrequency(String logBackupFrequency) {
this.logBackupFrequency = logBackupFrequency;
return this;
}
/**
* <p>The number of binary log files that you want to retain on the instance.</p>
*
* <strong>example:</strong>
* <p>60</p>
*/
public Builder logBackupLocalRetentionNumber(Integer logBackupLocalRetentionNumber) {
this.logBackupLocalRetentionNumber = logBackupLocalRetentionNumber;
return this;
}
/**
* <p>The number of days for which log backup files are retained.</p>
*
* <strong>example:</strong>
* <p>7</p>
*/
public Builder logBackupRetentionPeriod(Integer logBackupRetentionPeriod) {
this.logBackupRetentionPeriod = logBackupRetentionPeriod;
return this;
}
/**
* <p>The number of days during which you can restore data of the instance to any point in time.</p>
*
* <strong>example:</strong>
* <p>7</p>
*/
public Builder pitrRetentionPeriod(Integer pitrRetentionPeriod) {
this.pitrRetentionPeriod = pitrRetentionPeriod;
return this;
}
/**
* <p>The cycle based on which you want to perform a backup. Separate multiple values with commas (,). Valid values:</p>
* <ul>
* <li><strong>Monday</strong></li>
* <li><strong>Tuesday</strong></li>
* <li><strong>Wednesday</strong></li>
* <li><strong>Thursday</strong></li>
* <li><strong>Friday</strong></li>
* <li><strong>Saturday</strong></li>
* <li><strong>Sunday</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Monday,Wednesday,Friday,Sunday</p>
*/
public Builder preferredBackupPeriod(String preferredBackupPeriod) {
this.preferredBackupPeriod = preferredBackupPeriod;
return this;
}
/**
* <p>The time when a data backup is performed. The time follows the ISO 8601 standard in the <em>HH:mm</em>Z-<em>HH:mm</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>15:00Z-16:00Z</p>
*/
public Builder preferredBackupTime(String preferredBackupTime) {
this.preferredBackupTime = preferredBackupTime;
return this;
}
/**
* <p>The time when the next backup is performed. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-01-19T15:15Z</p>
*/
public Builder preferredNextBackupTime(String preferredNextBackupTime) {
this.preferredNextBackupTime = preferredNextBackupTime;
return this;
}
/**
* <p>The policy that is used to retain archived backup files if the instance is released. Valid values:</p>
* <ul>
* <li><strong>None</strong>: No archived backup files are retained.</li>
* <li><strong>Lastest</strong>: Only the last archived backup file is retained.</li>
* <li><strong>All</strong>: All archived backup files are retained.</li>
* </ul>
*
* <strong>example:</strong>
* <p>None</p>
*/
public Builder releasedKeepPolicy(String releasedKeepPolicy) {
this.releasedKeepPolicy = releasedKeepPolicy;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>B87E2AB3-B7C9-4394-9160-7F639F732031</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the backup settings of a secondary instance can be modified. Valid values:</p>
* <ul>
* <li><strong>True</strong></li>
* <li><strong>False</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>False</p>
*/
public Builder supportModifyBackupPriority(Boolean supportModifyBackupPriority) {
this.supportModifyBackupPriority = supportModifyBackupPriority;
return this;
}
/**
* <p>A reserved parameter.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder supportReleasedKeep(Integer supportReleasedKeep) {
this.supportReleasedKeep = supportReleasedKeep;
return this;
}
/**
* <p>Indicates whether the instance supports snapshot backups. Valid values:</p>
* <ul>
* <li><strong>1</strong>: The instance supports snapshot backups.</li>
* <li><strong>0</strong>: The instance does not support snapshot backups.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only when the instance runs SQL Server.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder supportVolumeShadowCopy(Integer supportVolumeShadowCopy) {
this.supportVolumeShadowCopy = supportVolumeShadowCopy;
return this;
}
/**
* <p>Indicates whether log backups for SQL Server are performed verery five minutes.</p>
* <ul>
* <li>0: No</li>
* <li>1: Yes</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder supportsHighFrequencyBackup(Long supportsHighFrequencyBackup) {
this.supportsHighFrequencyBackup = supportsHighFrequencyBackup;
return this;
}
public DescribeBackupPolicyResponseBody build() {
return new DescribeBackupPolicyResponseBody(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/DescribeBackupTasksRequest.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 DescribeBackupTasksRequest} extends {@link RequestModel}
*
* <p>DescribeBackupTasksRequest</p>
*/
public class DescribeBackupTasksRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupJobId")
private Integer backupJobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupJobStatus")
private String backupJobStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupMode")
private String backupMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Flag")
private String flag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeBackupTasksRequest(Builder builder) {
super(builder);
this.backupJobId = builder.backupJobId;
this.backupJobStatus = builder.backupJobStatus;
this.backupMode = builder.backupMode;
this.clientToken = builder.clientToken;
this.DBInstanceId = builder.DBInstanceId;
this.flag = builder.flag;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupTasksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backupJobId
*/
public Integer getBackupJobId() {
return this.backupJobId;
}
/**
* @return backupJobStatus
*/
public String getBackupJobStatus() {
return this.backupJobStatus;
}
/**
* @return backupMode
*/
public String getBackupMode() {
return this.backupMode;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return flag
*/
public String getFlag() {
return this.flag;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeBackupTasksRequest, Builder> {
private Integer backupJobId;
private String backupJobStatus;
private String backupMode;
private String clientToken;
private String DBInstanceId;
private String flag;
private String ownerAccount;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeBackupTasksRequest request) {
super(request);
this.backupJobId = request.backupJobId;
this.backupJobStatus = request.backupJobStatus;
this.backupMode = request.backupMode;
this.clientToken = request.clientToken;
this.DBInstanceId = request.DBInstanceId;
this.flag = request.flag;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the backup task.</p>
*
* <strong>example:</strong>
* <p>4762614</p>
*/
public Builder backupJobId(Integer backupJobId) {
this.putQueryParameter("BackupJobId", backupJobId);
this.backupJobId = backupJobId;
return this;
}
/**
* <p>The status of the backup task. Valid values:</p>
* <ul>
* <li><strong>NoStart</strong></li>
* <li><strong>Progressing</strong></li>
* </ul>
* <p>By default, this operation returns backup tasks in both states.</p>
*
* <strong>example:</strong>
* <p>NoStart</p>
*/
public Builder backupJobStatus(String backupJobStatus) {
this.putQueryParameter("BackupJobStatus", backupJobStatus);
this.backupJobStatus = backupJobStatus;
return this;
}
/**
* <p>The backup mode. Valid values:</p>
* <ul>
* <li><strong>Automated</strong></li>
* <li><strong>Manual</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Automated</p>
*/
public Builder backupMode(String backupMode) {
this.putQueryParameter("BackupMode", backupMode);
this.backupMode = backupMode;
return this;
}
/**
* <p>Specifies the client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOCzxxxxxxx</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <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>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>A reserved parameter.</p>
*
* <strong>example:</strong>
* <p>None</p>
*/
public Builder flag(String flag) {
this.putQueryParameter("Flag", flag);
this.flag = flag;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeBackupTasksRequest build() {
return new DescribeBackupTasksRequest(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/DescribeBackupTasksResponse.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 DescribeBackupTasksResponse} extends {@link TeaModel}
*
* <p>DescribeBackupTasksResponse</p>
*/
public class DescribeBackupTasksResponse 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 DescribeBackupTasksResponseBody body;
private DescribeBackupTasksResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBackupTasksResponse 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 DescribeBackupTasksResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBackupTasksResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBackupTasksResponseBody body);
@Override
DescribeBackupTasksResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBackupTasksResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBackupTasksResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBackupTasksResponse 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(DescribeBackupTasksResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBackupTasksResponse build() {
return new DescribeBackupTasksResponse(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/DescribeBackupTasksResponseBody.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 DescribeBackupTasksResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupTasksResponseBody</p>
*/
public class DescribeBackupTasksResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private Items items;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeBackupTasksResponseBody(Builder builder) {
this.items = builder.items;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupTasksResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return items
*/
public Items getItems() {
return this.items;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Items items;
private String requestId;
private Builder() {
}
private Builder(DescribeBackupTasksResponseBody model) {
this.items = model.items;
this.requestId = model.requestId;
}
/**
* <p>The backup tasks.</p>
*/
public Builder items(Items items) {
this.items = items;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>90496720-2319-42A8-87CD-FCE4DF95EBED</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeBackupTasksResponseBody build() {
return new DescribeBackupTasksResponseBody(this);
}
}
/**
*
* {@link DescribeBackupTasksResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupTasksResponseBody</p>
*/
public static class BackupJob extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupId")
private String backupId;
@com.aliyun.core.annotation.NameInMap("BackupJobId")
private String backupJobId;
@com.aliyun.core.annotation.NameInMap("BackupProgressStatus")
private String backupProgressStatus;
@com.aliyun.core.annotation.NameInMap("BackupStatus")
private String backupStatus;
@com.aliyun.core.annotation.NameInMap("JobMode")
private String jobMode;
@com.aliyun.core.annotation.NameInMap("Process")
private String process;
@com.aliyun.core.annotation.NameInMap("TaskAction")
private String taskAction;
private BackupJob(Builder builder) {
this.backupId = builder.backupId;
this.backupJobId = builder.backupJobId;
this.backupProgressStatus = builder.backupProgressStatus;
this.backupStatus = builder.backupStatus;
this.jobMode = builder.jobMode;
this.process = builder.process;
this.taskAction = builder.taskAction;
}
public static Builder builder() {
return new Builder();
}
public static BackupJob create() {
return builder().build();
}
/**
* @return backupId
*/
public String getBackupId() {
return this.backupId;
}
/**
* @return backupJobId
*/
public String getBackupJobId() {
return this.backupJobId;
}
/**
* @return backupProgressStatus
*/
public String getBackupProgressStatus() {
return this.backupProgressStatus;
}
/**
* @return backupStatus
*/
public String getBackupStatus() {
return this.backupStatus;
}
/**
* @return jobMode
*/
public String getJobMode() {
return this.jobMode;
}
/**
* @return process
*/
public String getProcess() {
return this.process;
}
/**
* @return taskAction
*/
public String getTaskAction() {
return this.taskAction;
}
public static final class Builder {
private String backupId;
private String backupJobId;
private String backupProgressStatus;
private String backupStatus;
private String jobMode;
private String process;
private String taskAction;
private Builder() {
}
private Builder(BackupJob model) {
this.backupId = model.backupId;
this.backupJobId = model.backupJobId;
this.backupProgressStatus = model.backupProgressStatus;
this.backupStatus = model.backupStatus;
this.jobMode = model.jobMode;
this.process = model.process;
this.taskAction = model.taskAction;
}
/**
* <p>The ID of the backup set that is generated by the backup task.</p>
* <blockquote>
* <p> If the value of the <strong>BackupStatus</strong> parameter is <strong>Finished</strong>, you can view the backup set ID only if you configure the <strong>BackupJobId</strong> parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>346650271</p>
*/
public Builder backupId(String backupId) {
this.backupId = backupId;
return this;
}
/**
* <p>The ID of the backup task.</p>
*
* <strong>example:</strong>
* <p>4762614</p>
*/
public Builder backupJobId(String backupJobId) {
this.backupJobId = backupJobId;
return this;
}
/**
* <p>The status of the backup program. Valid values:</p>
* <ul>
* <li><strong>NoStart</strong></li>
* <li><strong>Preparing</strong></li>
* <li><strong>Waiting</strong></li>
* <li><strong>Uploading</strong></li>
* <li><strong>Checking</strong></li>
* <li><strong>Finished</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>NoStart</p>
*/
public Builder backupProgressStatus(String backupProgressStatus) {
this.backupProgressStatus = backupProgressStatus;
return this;
}
/**
* <p>The status of the backup task. Valid values:</p>
* <ul>
* <li><strong>NoStart</strong></li>
* <li><strong>Checking</strong></li>
* <li><strong>Preparing</strong></li>
* <li><strong>Waiting</strong></li>
* <li><strong>Uploading</strong></li>
* <li><strong>Finished</strong></li>
* <li><strong>Failed</strong></li>
* </ul>
* <blockquote>
* <p> This parameter is returned only after a backup task is run.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>NoStart</p>
*/
public Builder backupStatus(String backupStatus) {
this.backupStatus = backupStatus;
return this;
}
/**
* <p>The backup mode. Valid values:</p>
* <ul>
* <li><strong>Automated</strong></li>
* <li><strong>Manual</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Automated</p>
*/
public Builder jobMode(String jobMode) {
this.jobMode = jobMode;
return this;
}
/**
* <p>The progress of the task in percentage.</p>
*
* <strong>example:</strong>
* <p>25</p>
*/
public Builder process(String process) {
this.process = process;
return this;
}
/**
* <p>The type of the task. Valid values:</p>
* <ul>
* <li><strong>TempBackupTask</strong>: The backup task is an adhoc backup task.</li>
* <li><strong>NormalBackupTask</strong>: The backup task is a common backup task.</li>
* </ul>
*
* <strong>example:</strong>
* <p>NormalBackupTask</p>
*/
public Builder taskAction(String taskAction) {
this.taskAction = taskAction;
return this;
}
public BackupJob build() {
return new BackupJob(this);
}
}
}
/**
*
* {@link DescribeBackupTasksResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupTasksResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupJob")
private java.util.List<BackupJob> backupJob;
private Items(Builder builder) {
this.backupJob = builder.backupJob;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return backupJob
*/
public java.util.List<BackupJob> getBackupJob() {
return this.backupJob;
}
public static final class Builder {
private java.util.List<BackupJob> backupJob;
private Builder() {
}
private Builder(Items model) {
this.backupJob = model.backupJob;
}
/**
* BackupJob.
*/
public Builder backupJob(java.util.List<BackupJob> backupJob) {
this.backupJob = backupJob;
return this;
}
public Items build() {
return new Items(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/DescribeBackupsRequest.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 DescribeBackupsRequest} extends {@link RequestModel}
*
* <p>DescribeBackupsRequest</p>
*/
public class DescribeBackupsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupId")
private String backupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupMode")
private String backupMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupStatus")
private String backupStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackupType")
private String backupType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
@com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1)
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 1000, minimum = 30)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
private DescribeBackupsRequest(Builder builder) {
super(builder);
this.backupId = builder.backupId;
this.backupMode = builder.backupMode;
this.backupStatus = builder.backupStatus;
this.backupType = builder.backupType;
this.DBInstanceId = builder.DBInstanceId;
this.endTime = builder.endTime;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceOwnerId = builder.resourceOwnerId;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backupId
*/
public String getBackupId() {
return this.backupId;
}
/**
* @return backupMode
*/
public String getBackupMode() {
return this.backupMode;
}
/**
* @return backupStatus
*/
public String getBackupStatus() {
return this.backupStatus;
}
/**
* @return backupType
*/
public String getBackupType() {
return this.backupType;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<DescribeBackupsRequest, Builder> {
private String backupId;
private String backupMode;
private String backupStatus;
private String backupType;
private String DBInstanceId;
private String endTime;
private Integer pageNumber;
private Integer pageSize;
private Long resourceOwnerId;
private String startTime;
private Builder() {
super();
}
private Builder(DescribeBackupsRequest request) {
super(request);
this.backupId = request.backupId;
this.backupMode = request.backupMode;
this.backupStatus = request.backupStatus;
this.backupType = request.backupType;
this.DBInstanceId = request.DBInstanceId;
this.endTime = request.endTime;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceOwnerId = request.resourceOwnerId;
this.startTime = request.startTime;
}
/**
* <p>The ID of the backup set.</p>
*
* <strong>example:</strong>
* <p>327329803</p>
*/
public Builder backupId(String backupId) {
this.putQueryParameter("BackupId", backupId);
this.backupId = backupId;
return this;
}
/**
* <p>The backup mode. Valid values:</p>
* <ul>
* <li><strong>Automated</strong></li>
* <li><strong>Manual</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Automated</p>
*/
public Builder backupMode(String backupMode) {
this.putQueryParameter("BackupMode", backupMode);
this.backupMode = backupMode;
return this;
}
/**
* <p>The status of the backup set. Valid values:</p>
* <ul>
* <li><strong>Success</strong></li>
* <li><strong>Failed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Success</p>
*/
public Builder backupStatus(String backupStatus) {
this.putQueryParameter("BackupStatus", backupStatus);
this.backupStatus = backupStatus;
return this;
}
/**
* <p>The backup type. Valid values:</p>
* <ul>
* <li><strong>FullBackup</strong>: full backup</li>
* <li><strong>IncrementalBackup</strong>: incremental backup</li>
* </ul>
*
* <strong>example:</strong>
* <p>FullBackup</p>
*/
public Builder backupType(String backupType) {
this.putQueryParameter("BackupType", backupType);
this.backupType = backupType;
return this;
}
/**
* <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>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC.</p>
* <blockquote>
* <p>We recommend that you specify a time range that is as short as possible to avoid timeout.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2011-06-15T16:00Z</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The number of the page to return. Valid values: any non-zero positive integer.</p>
* <p>Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page. Valid values:</p>
* <ul>
* <li><strong>30</strong></li>
* <li><strong>50</strong></li>
* <li><strong>100</strong></li>
* </ul>
* <p>Default value: <strong>30</strong>.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2011-06-01T16:00Z</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeBackupsRequest build() {
return new DescribeBackupsRequest(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/DescribeBackupsResponse.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 DescribeBackupsResponse} extends {@link TeaModel}
*
* <p>DescribeBackupsResponse</p>
*/
public class DescribeBackupsResponse 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 DescribeBackupsResponseBody body;
private DescribeBackupsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBackupsResponse 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 DescribeBackupsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBackupsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBackupsResponseBody body);
@Override
DescribeBackupsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBackupsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBackupsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBackupsResponse 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(DescribeBackupsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBackupsResponse build() {
return new DescribeBackupsResponse(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/DescribeBackupsResponseBody.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 DescribeBackupsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupsResponseBody</p>
*/
public class DescribeBackupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private Items items;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private String pageNumber;
@com.aliyun.core.annotation.NameInMap("PageRecordCount")
private String pageRecordCount;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalEcsSnapshotSize")
private Long totalEcsSnapshotSize;
@com.aliyun.core.annotation.NameInMap("TotalRecordCount")
private String totalRecordCount;
private DescribeBackupsResponseBody(Builder builder) {
this.items = builder.items;
this.pageNumber = builder.pageNumber;
this.pageRecordCount = builder.pageRecordCount;
this.requestId = builder.requestId;
this.totalEcsSnapshotSize = builder.totalEcsSnapshotSize;
this.totalRecordCount = builder.totalRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return items
*/
public Items getItems() {
return this.items;
}
/**
* @return pageNumber
*/
public String getPageNumber() {
return this.pageNumber;
}
/**
* @return pageRecordCount
*/
public String getPageRecordCount() {
return this.pageRecordCount;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalEcsSnapshotSize
*/
public Long getTotalEcsSnapshotSize() {
return this.totalEcsSnapshotSize;
}
/**
* @return totalRecordCount
*/
public String getTotalRecordCount() {
return this.totalRecordCount;
}
public static final class Builder {
private Items items;
private String pageNumber;
private String pageRecordCount;
private String requestId;
private Long totalEcsSnapshotSize;
private String totalRecordCount;
private Builder() {
}
private Builder(DescribeBackupsResponseBody model) {
this.items = model.items;
this.pageNumber = model.pageNumber;
this.pageRecordCount = model.pageRecordCount;
this.requestId = model.requestId;
this.totalEcsSnapshotSize = model.totalEcsSnapshotSize;
this.totalRecordCount = model.totalRecordCount;
}
/**
* <p>The returned backup sets.</p>
*/
public Builder items(Items items) {
this.items = items;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(String pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of backup sets on the current page.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageRecordCount(String pageRecordCount) {
this.pageRecordCount = pageRecordCount;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>1A6D328C-84B8-40DC-BF49-6C73984D7494</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The size of the snapshot chain of the instance. Unit: bytes.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder totalEcsSnapshotSize(Long totalEcsSnapshotSize) {
this.totalEcsSnapshotSize = totalEcsSnapshotSize;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder totalRecordCount(String totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public DescribeBackupsResponseBody build() {
return new DescribeBackupsResponseBody(this);
}
}
/**
*
* {@link DescribeBackupsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupsResponseBody</p>
*/
public static class BackupDownloadLinkByDB extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DataBase")
private String dataBase;
@com.aliyun.core.annotation.NameInMap("DownloadLink")
private String downloadLink;
@com.aliyun.core.annotation.NameInMap("IntranetDownloadLink")
private String intranetDownloadLink;
private BackupDownloadLinkByDB(Builder builder) {
this.dataBase = builder.dataBase;
this.downloadLink = builder.downloadLink;
this.intranetDownloadLink = builder.intranetDownloadLink;
}
public static Builder builder() {
return new Builder();
}
public static BackupDownloadLinkByDB create() {
return builder().build();
}
/**
* @return dataBase
*/
public String getDataBase() {
return this.dataBase;
}
/**
* @return downloadLink
*/
public String getDownloadLink() {
return this.downloadLink;
}
/**
* @return intranetDownloadLink
*/
public String getIntranetDownloadLink() {
return this.intranetDownloadLink;
}
public static final class Builder {
private String dataBase;
private String downloadLink;
private String intranetDownloadLink;
private Builder() {
}
private Builder(BackupDownloadLinkByDB model) {
this.dataBase = model.dataBase;
this.downloadLink = model.downloadLink;
this.intranetDownloadLink = model.intranetDownloadLink;
}
/**
* <p>The name of the database.</p>
*
* <strong>example:</strong>
* <p>dbs</p>
*/
public Builder dataBase(String dataBase) {
this.dataBase = dataBase;
return this;
}
/**
* <p>The public URL from which you can download the backup set.</p>
*
* <strong>example:</strong>
* <p><a href="https://cn-hangzhou.bak.rds.aliyuncs.com/custins53664665/hins18676859_2021072909473127987849.zip?Expires=*****&dbList=tb1">https://cn-hangzhou.bak.rds.aliyuncs.com/custins53664665/hins18676859_2021072909473127987849.zip?Expires=*****&dbList=tb1</a></p>
*/
public Builder downloadLink(String downloadLink) {
this.downloadLink = downloadLink;
return this;
}
/**
* <p>The internal URL from which you can download the backup set.</p>
*
* <strong>example:</strong>
* <p><a href="https://cn-hangzhou-internal.bak.rds.aliyuncs.com/custins53664665/hins18676859_2021072909473127987849.zip?Expires=*****&dbList=tb1">https://cn-hangzhou-internal.bak.rds.aliyuncs.com/custins53664665/hins18676859_2021072909473127987849.zip?Expires=*****&dbList=tb1</a></p>
*/
public Builder intranetDownloadLink(String intranetDownloadLink) {
this.intranetDownloadLink = intranetDownloadLink;
return this;
}
public BackupDownloadLinkByDB build() {
return new BackupDownloadLinkByDB(this);
}
}
}
/**
*
* {@link DescribeBackupsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupsResponseBody</p>
*/
public static class BackupBackupDownloadLinkByDB extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupDownloadLinkByDB")
private java.util.List<BackupDownloadLinkByDB> backupDownloadLinkByDB;
private BackupBackupDownloadLinkByDB(Builder builder) {
this.backupDownloadLinkByDB = builder.backupDownloadLinkByDB;
}
public static Builder builder() {
return new Builder();
}
public static BackupBackupDownloadLinkByDB create() {
return builder().build();
}
/**
* @return backupDownloadLinkByDB
*/
public java.util.List<BackupDownloadLinkByDB> getBackupDownloadLinkByDB() {
return this.backupDownloadLinkByDB;
}
public static final class Builder {
private java.util.List<BackupDownloadLinkByDB> backupDownloadLinkByDB;
private Builder() {
}
private Builder(BackupBackupDownloadLinkByDB model) {
this.backupDownloadLinkByDB = model.backupDownloadLinkByDB;
}
/**
* BackupDownloadLinkByDB.
*/
public Builder backupDownloadLinkByDB(java.util.List<BackupDownloadLinkByDB> backupDownloadLinkByDB) {
this.backupDownloadLinkByDB = backupDownloadLinkByDB;
return this;
}
public BackupBackupDownloadLinkByDB build() {
return new BackupBackupDownloadLinkByDB(this);
}
}
}
/**
*
* {@link DescribeBackupsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupsResponseBody</p>
*/
public static class Backup extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupDownloadLinkByDB")
private BackupBackupDownloadLinkByDB backupDownloadLinkByDB;
@com.aliyun.core.annotation.NameInMap("BackupDownloadURL")
private String backupDownloadURL;
@com.aliyun.core.annotation.NameInMap("BackupEndTime")
private String backupEndTime;
@com.aliyun.core.annotation.NameInMap("BackupId")
private String backupId;
@com.aliyun.core.annotation.NameInMap("BackupInitiator")
private String backupInitiator;
@com.aliyun.core.annotation.NameInMap("BackupIntranetDownloadURL")
private String backupIntranetDownloadURL;
@com.aliyun.core.annotation.NameInMap("BackupMethod")
private String backupMethod;
@com.aliyun.core.annotation.NameInMap("BackupMode")
private String backupMode;
@com.aliyun.core.annotation.NameInMap("BackupSize")
private Long backupSize;
@com.aliyun.core.annotation.NameInMap("BackupStartTime")
private String backupStartTime;
@com.aliyun.core.annotation.NameInMap("BackupStatus")
private String backupStatus;
@com.aliyun.core.annotation.NameInMap("BackupType")
private String backupType;
@com.aliyun.core.annotation.NameInMap("Checksum")
private String checksum;
@com.aliyun.core.annotation.NameInMap("ConsistentTime")
private Long consistentTime;
@com.aliyun.core.annotation.NameInMap("CopyOnlyBackup")
private String copyOnlyBackup;
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
private String DBInstanceId;
@com.aliyun.core.annotation.NameInMap("Encryption")
private String encryption;
@com.aliyun.core.annotation.NameInMap("Engine")
private String engine;
@com.aliyun.core.annotation.NameInMap("EngineVersion")
private String engineVersion;
@com.aliyun.core.annotation.NameInMap("ExpectExpireTime")
private String expectExpireTime;
@com.aliyun.core.annotation.NameInMap("HostInstanceID")
private String hostInstanceID;
@com.aliyun.core.annotation.NameInMap("IsAvail")
private Integer isAvail;
@com.aliyun.core.annotation.NameInMap("MetaStatus")
private String metaStatus;
@com.aliyun.core.annotation.NameInMap("StorageClass")
private String storageClass;
@com.aliyun.core.annotation.NameInMap("StoreStatus")
private String storeStatus;
private Backup(Builder builder) {
this.backupDownloadLinkByDB = builder.backupDownloadLinkByDB;
this.backupDownloadURL = builder.backupDownloadURL;
this.backupEndTime = builder.backupEndTime;
this.backupId = builder.backupId;
this.backupInitiator = builder.backupInitiator;
this.backupIntranetDownloadURL = builder.backupIntranetDownloadURL;
this.backupMethod = builder.backupMethod;
this.backupMode = builder.backupMode;
this.backupSize = builder.backupSize;
this.backupStartTime = builder.backupStartTime;
this.backupStatus = builder.backupStatus;
this.backupType = builder.backupType;
this.checksum = builder.checksum;
this.consistentTime = builder.consistentTime;
this.copyOnlyBackup = builder.copyOnlyBackup;
this.DBInstanceId = builder.DBInstanceId;
this.encryption = builder.encryption;
this.engine = builder.engine;
this.engineVersion = builder.engineVersion;
this.expectExpireTime = builder.expectExpireTime;
this.hostInstanceID = builder.hostInstanceID;
this.isAvail = builder.isAvail;
this.metaStatus = builder.metaStatus;
this.storageClass = builder.storageClass;
this.storeStatus = builder.storeStatus;
}
public static Builder builder() {
return new Builder();
}
public static Backup create() {
return builder().build();
}
/**
* @return backupDownloadLinkByDB
*/
public BackupBackupDownloadLinkByDB getBackupDownloadLinkByDB() {
return this.backupDownloadLinkByDB;
}
/**
* @return backupDownloadURL
*/
public String getBackupDownloadURL() {
return this.backupDownloadURL;
}
/**
* @return backupEndTime
*/
public String getBackupEndTime() {
return this.backupEndTime;
}
/**
* @return backupId
*/
public String getBackupId() {
return this.backupId;
}
/**
* @return backupInitiator
*/
public String getBackupInitiator() {
return this.backupInitiator;
}
/**
* @return backupIntranetDownloadURL
*/
public String getBackupIntranetDownloadURL() {
return this.backupIntranetDownloadURL;
}
/**
* @return backupMethod
*/
public String getBackupMethod() {
return this.backupMethod;
}
/**
* @return backupMode
*/
public String getBackupMode() {
return this.backupMode;
}
/**
* @return backupSize
*/
public Long getBackupSize() {
return this.backupSize;
}
/**
* @return backupStartTime
*/
public String getBackupStartTime() {
return this.backupStartTime;
}
/**
* @return backupStatus
*/
public String getBackupStatus() {
return this.backupStatus;
}
/**
* @return backupType
*/
public String getBackupType() {
return this.backupType;
}
/**
* @return checksum
*/
public String getChecksum() {
return this.checksum;
}
/**
* @return consistentTime
*/
public Long getConsistentTime() {
return this.consistentTime;
}
/**
* @return copyOnlyBackup
*/
public String getCopyOnlyBackup() {
return this.copyOnlyBackup;
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return encryption
*/
public String getEncryption() {
return this.encryption;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return engineVersion
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
* @return expectExpireTime
*/
public String getExpectExpireTime() {
return this.expectExpireTime;
}
/**
* @return hostInstanceID
*/
public String getHostInstanceID() {
return this.hostInstanceID;
}
/**
* @return isAvail
*/
public Integer getIsAvail() {
return this.isAvail;
}
/**
* @return metaStatus
*/
public String getMetaStatus() {
return this.metaStatus;
}
/**
* @return storageClass
*/
public String getStorageClass() {
return this.storageClass;
}
/**
* @return storeStatus
*/
public String getStoreStatus() {
return this.storeStatus;
}
public static final class Builder {
private BackupBackupDownloadLinkByDB backupDownloadLinkByDB;
private String backupDownloadURL;
private String backupEndTime;
private String backupId;
private String backupInitiator;
private String backupIntranetDownloadURL;
private String backupMethod;
private String backupMode;
private Long backupSize;
private String backupStartTime;
private String backupStatus;
private String backupType;
private String checksum;
private Long consistentTime;
private String copyOnlyBackup;
private String DBInstanceId;
private String encryption;
private String engine;
private String engineVersion;
private String expectExpireTime;
private String hostInstanceID;
private Integer isAvail;
private String metaStatus;
private String storageClass;
private String storeStatus;
private Builder() {
}
private Builder(Backup model) {
this.backupDownloadLinkByDB = model.backupDownloadLinkByDB;
this.backupDownloadURL = model.backupDownloadURL;
this.backupEndTime = model.backupEndTime;
this.backupId = model.backupId;
this.backupInitiator = model.backupInitiator;
this.backupIntranetDownloadURL = model.backupIntranetDownloadURL;
this.backupMethod = model.backupMethod;
this.backupMode = model.backupMode;
this.backupSize = model.backupSize;
this.backupStartTime = model.backupStartTime;
this.backupStatus = model.backupStatus;
this.backupType = model.backupType;
this.checksum = model.checksum;
this.consistentTime = model.consistentTime;
this.copyOnlyBackup = model.copyOnlyBackup;
this.DBInstanceId = model.DBInstanceId;
this.encryption = model.encryption;
this.engine = model.engine;
this.engineVersion = model.engineVersion;
this.expectExpireTime = model.expectExpireTime;
this.hostInstanceID = model.hostInstanceID;
this.isAvail = model.isAvail;
this.metaStatus = model.metaStatus;
this.storageClass = model.storageClass;
this.storeStatus = model.storeStatus;
}
/**
* <p>An array consisting of URLs from which you can download backup sets of individual databases.</p>
*/
public Builder backupDownloadLinkByDB(BackupBackupDownloadLinkByDB backupDownloadLinkByDB) {
this.backupDownloadLinkByDB = backupDownloadLinkByDB;
return this;
}
/**
* <p>The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, null is returned.</p>
* <blockquote>
* <p> For example, if BackupMethod of an ApsaraDB RDS for SQL Server instance is set to <strong>Snapshot</strong>, a null string is returned.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p><a href="http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx">http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx</a></p>
*/
public Builder backupDownloadURL(String backupDownloadURL) {
this.backupDownloadURL = backupDownloadURL;
return this;
}
/**
* <p>The end time of the backup task. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-02-13T12:20:00Z</p>
*/
public Builder backupEndTime(String backupEndTime) {
this.backupEndTime = backupEndTime;
return this;
}
/**
* <p>The ID of the backup set.</p>
*
* <strong>example:</strong>
* <p>321020562</p>
*/
public Builder backupId(String backupId) {
this.backupId = backupId;
return this;
}
/**
* <p>The initiator of the backup task. Valid values:</p>
* <ul>
* <li><strong>System</strong></li>
* <li><strong>User</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder backupInitiator(String backupInitiator) {
this.backupInitiator = backupInitiator;
return this;
}
/**
* <p>The URL that is used to download the backup set over an internal network. If the backup set cannot be downloaded, null is returned.</p>
* <blockquote>
* <p> For example, if BackupMethod of an ApsaraDB RDS for SQL Server instance is set to <strong>Snapshot</strong>, a null string is returned.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p><a href="http://rdsbak-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxx">http://rdsbak-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxx</a></p>
*/
public Builder backupIntranetDownloadURL(String backupIntranetDownloadURL) {
this.backupIntranetDownloadURL = backupIntranetDownloadURL;
return this;
}
/**
* <p>The method that is used to generate the backup set. Valid values:</p>
* <ul>
* <li><strong>Logical</strong>: logical backup</li>
* <li><strong>Physical</strong>: physical backup</li>
* <li><strong>Snapshot</strong>: snapshot backup</li>
* </ul>
*
* <strong>example:</strong>
* <p>Physical</p>
*/
public Builder backupMethod(String backupMethod) {
this.backupMethod = backupMethod;
return this;
}
/**
* <p>The backup mode of the backup set. Valid values:</p>
* <ul>
* <li><strong>Automated</strong></li>
* <li><strong>Manual</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Automated</p>
*/
public Builder backupMode(String backupMode) {
this.backupMode = backupMode;
return this;
}
/**
* <p>The size of the data backup file. Unit: bytes.</p>
*
* <strong>example:</strong>
* <p>2167808</p>
*/
public Builder backupSize(Long backupSize) {
this.backupSize = backupSize;
return this;
}
/**
* <p>The start time of the backup. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-02-03T12:20:00Z</p>
*/
public Builder backupStartTime(String backupStartTime) {
this.backupStartTime = backupStartTime;
return this;
}
/**
* <p>The state of the backup set.</p>
*
* <strong>example:</strong>
* <p>Success</p>
*/
public Builder backupStatus(String backupStatus) {
this.backupStatus = backupStatus;
return this;
}
/**
* <p>The backup type of the backup set. Valid values:</p>
* <ul>
* <li><strong>FullBackup</strong></li>
* <li><strong>IncrementalBackup</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>FullBackup</p>
*/
public Builder backupType(String backupType) {
this.backupType = backupType;
return this;
}
/**
* <p>The checksum. The value of this parameter is calculated by using the CRC64 algorithm.</p>
*
* <strong>example:</strong>
* <p>1835830439**********</p>
*/
public Builder checksum(String checksum) {
this.checksum = checksum;
return this;
}
/**
* <p>The point in time at which the data in the backup set is consistent. The return value of this parameter is a timestamp.</p>
* <blockquote>
* <p> If the instance runs MySQL 5.6, a timestamp is returned. Otherwise, the value 0 is returned.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1576506856</p>
*/
public Builder consistentTime(Long consistentTime) {
this.consistentTime = consistentTime;
return this;
}
/**
* <p>The backup mode of the backup set. Valid values:</p>
* <ul>
* <li>0: the standard mode. This mode supports full backups and incremental backups.</li>
* <li>1: the copy-only mode. This mode supports only full backups.</li>
* </ul>
* <blockquote>
* <p> This parameter is returned only when the instance runs SQL Server.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder copyOnlyBackup(String copyOnlyBackup) {
this.copyOnlyBackup = copyOnlyBackup;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The encryption information about the backup set.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder encryption(String encryption) {
this.encryption = encryption;
return this;
}
/**
* <p>The type of the database engine. Valid values:</p>
* <ul>
* <li>MySQL</li>
* <li>SQLServer</li>
* <li>PostgreSQL</li>
* <li>MariaDB</li>
* </ul>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.engine = engine;
return this;
}
/**
* <p>The version of the database engine.</p>
*
* <strong>example:</strong>
* <p>8.0</p>
*/
public Builder engineVersion(String engineVersion) {
this.engineVersion = engineVersion;
return this;
}
/**
* ExpectExpireTime.
*/
public Builder expectExpireTime(String expectExpireTime) {
this.expectExpireTime = expectExpireTime;
return this;
}
/**
* <p>The ID of the instance that generates the backup set. This parameter is used to indicate whether the instance that generates the backup set is a primary instance or a secondary instance.</p>
*
* <strong>example:</strong>
* <p>5882781</p>
*/
public Builder hostInstanceID(String hostInstanceID) {
this.hostInstanceID = hostInstanceID;
return this;
}
/**
* <p>Indicates whether the backup set is available. Valid values:</p>
* <ul>
* <li><strong>0</strong>: The backup set is unavailable.</li>
* <li><strong>1</strong>: The backup set is available.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder isAvail(Integer isAvail) {
this.isAvail = isAvail;
return this;
}
/**
* <p>The status of the backup set that is used to restore individual databases or tables. Valid values:</p>
* <ul>
* <li><strong>OK</strong>: The data backup file is normal.</li>
* <li><strong>LARGE</strong>: The data backup file contains an abnormally large number of tables. It cannot be used to restore individual databases or tables.</li>
* <li><strong>EMPTY</strong>: The data backup file is generated from a failed backup task.</li>
* </ul>
* <blockquote>
* <p> If an empty string is returned, the data backup file cannot be used to restore individual databases or tables.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder metaStatus(String metaStatus) {
this.metaStatus = metaStatus;
return this;
}
/**
* <p>The storage class of the backup set. Valid values:</p>
* <ul>
* <li><strong>0</strong>: regular storage</li>
* <li><strong>1</strong>: archive storage</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder storageClass(String storageClass) {
this.storageClass = storageClass;
return this;
}
/**
* <p>Indicates whether the backup set can be deleted. Valid values:</p>
* <ul>
* <li><strong>Enabled</strong>: The backup set can be deleted.</li>
* <li><strong>Disabled</strong>: The backup set cannot be deleted.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Disabled</p>
*/
public Builder storeStatus(String storeStatus) {
this.storeStatus = storeStatus;
return this;
}
public Backup build() {
return new Backup(this);
}
}
}
/**
*
* {@link DescribeBackupsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBackupsResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Backup")
private java.util.List<Backup> backup;
private Items(Builder builder) {
this.backup = builder.backup;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return backup
*/
public java.util.List<Backup> getBackup() {
return this.backup;
}
public static final class Builder {
private java.util.List<Backup> backup;
private Builder() {
}
private Builder(Items model) {
this.backup = model.backup;
}
/**
* Backup.
*/
public Builder backup(java.util.List<Backup> backup) {
this.backup = backup;
return this;
}
public Items build() {
return new Items(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/DescribeBinlogFilesRequest.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 DescribeBinlogFilesRequest} extends {@link RequestModel}
*
* <p>DescribeBinlogFilesRequest</p>
*/
public class DescribeBinlogFilesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
@com.aliyun.core.annotation.Validation(required = true)
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
@com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1)
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 1000, minimum = 30)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
@com.aliyun.core.annotation.Validation(required = true)
private String startTime;
private DescribeBinlogFilesRequest(Builder builder) {
super(builder);
this.DBInstanceId = builder.DBInstanceId;
this.endTime = builder.endTime;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBinlogFilesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceId
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<DescribeBinlogFilesRequest, Builder> {
private String DBInstanceId;
private String endTime;
private String ownerAccount;
private Long ownerId;
private Integer pageNumber;
private Integer pageSize;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String startTime;
private Builder() {
super();
}
private Builder(DescribeBinlogFilesRequest request) {
super(request);
this.DBInstanceId = request.DBInstanceId;
this.endTime = request.endTime;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.startTime = request.startTime;
}
/**
* <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>rm-uf6wjk5xxxxxxx</p>
*/
public Builder DBInstanceId(String DBInstanceId) {
this.putQueryParameter("DBInstanceId", DBInstanceId);
this.DBInstanceId = DBInstanceId;
return this;
}
/**
* <p>The end of the time range to query. The end time must be later than the start time.</p>
* <p>Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2011-06-20T15:00:00Z</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The page number. Pages start from 1.</p>
* <p>Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page.</p>
* <p>Valid values: <strong>30</strong> to <strong>100</strong>.</p>
* <p>Default value: <strong>30</strong>.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The beginning of the time range to query.</p>
* <p>Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2011-06-01T15:00:00Z</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeBinlogFilesRequest build() {
return new DescribeBinlogFilesRequest(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/DescribeBinlogFilesResponse.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 DescribeBinlogFilesResponse} extends {@link TeaModel}
*
* <p>DescribeBinlogFilesResponse</p>
*/
public class DescribeBinlogFilesResponse 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 DescribeBinlogFilesResponseBody body;
private DescribeBinlogFilesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBinlogFilesResponse 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 DescribeBinlogFilesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBinlogFilesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBinlogFilesResponseBody body);
@Override
DescribeBinlogFilesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBinlogFilesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBinlogFilesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBinlogFilesResponse 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(DescribeBinlogFilesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBinlogFilesResponse build() {
return new DescribeBinlogFilesResponse(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/DescribeBinlogFilesResponseBody.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 DescribeBinlogFilesResponseBody} extends {@link TeaModel}
*
* <p>DescribeBinlogFilesResponseBody</p>
*/
public class DescribeBinlogFilesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private Items items;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageRecordCount")
private Integer pageRecordCount;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalFileSize")
private Long totalFileSize;
@com.aliyun.core.annotation.NameInMap("TotalRecordCount")
private Integer totalRecordCount;
private DescribeBinlogFilesResponseBody(Builder builder) {
this.items = builder.items;
this.pageNumber = builder.pageNumber;
this.pageRecordCount = builder.pageRecordCount;
this.requestId = builder.requestId;
this.totalFileSize = builder.totalFileSize;
this.totalRecordCount = builder.totalRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBinlogFilesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return items
*/
public Items getItems() {
return this.items;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageRecordCount
*/
public Integer getPageRecordCount() {
return this.pageRecordCount;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalFileSize
*/
public Long getTotalFileSize() {
return this.totalFileSize;
}
/**
* @return totalRecordCount
*/
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
public static final class Builder {
private Items items;
private Integer pageNumber;
private Integer pageRecordCount;
private String requestId;
private Long totalFileSize;
private Integer totalRecordCount;
private Builder() {
}
private Builder(DescribeBinlogFilesResponseBody model) {
this.items = model.items;
this.pageNumber = model.pageNumber;
this.pageRecordCount = model.pageRecordCount;
this.requestId = model.requestId;
this.totalFileSize = model.totalFileSize;
this.totalRecordCount = model.totalRecordCount;
}
/**
* <p>The details of the log file.</p>
*/
public Builder items(Items items) {
this.items = items;
return this;
}
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of log files on the current page.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageRecordCount(Integer pageRecordCount) {
this.pageRecordCount = pageRecordCount;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>ED169A3E-1657-4104-82AB-24EA8CD0DB75</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total size of the log file.</p>
*
* <strong>example:</strong>
* <p>2269410</p>
*/
public Builder totalFileSize(Long totalFileSize) {
this.totalFileSize = totalFileSize;
return this;
}
/**
* <p>The total number of log files.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder totalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public DescribeBinlogFilesResponseBody build() {
return new DescribeBinlogFilesResponseBody(this);
}
}
/**
*
* {@link DescribeBinlogFilesResponseBody} extends {@link TeaModel}
*
* <p>DescribeBinlogFilesResponseBody</p>
*/
public static class BinLogFile extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Checksum")
private String checksum;
@com.aliyun.core.annotation.NameInMap("DownloadLink")
private String downloadLink;
@com.aliyun.core.annotation.NameInMap("FileSize")
private Long fileSize;
@com.aliyun.core.annotation.NameInMap("HostInstanceID")
private String hostInstanceID;
@com.aliyun.core.annotation.NameInMap("IntranetDownloadLink")
private String intranetDownloadLink;
@com.aliyun.core.annotation.NameInMap("LinkExpiredTime")
private String linkExpiredTime;
@com.aliyun.core.annotation.NameInMap("LogBeginTime")
private String logBeginTime;
@com.aliyun.core.annotation.NameInMap("LogEndTime")
private String logEndTime;
@com.aliyun.core.annotation.NameInMap("LogFileName")
private String logFileName;
@com.aliyun.core.annotation.NameInMap("RemoteStatus")
private String remoteStatus;
private BinLogFile(Builder builder) {
this.checksum = builder.checksum;
this.downloadLink = builder.downloadLink;
this.fileSize = builder.fileSize;
this.hostInstanceID = builder.hostInstanceID;
this.intranetDownloadLink = builder.intranetDownloadLink;
this.linkExpiredTime = builder.linkExpiredTime;
this.logBeginTime = builder.logBeginTime;
this.logEndTime = builder.logEndTime;
this.logFileName = builder.logFileName;
this.remoteStatus = builder.remoteStatus;
}
public static Builder builder() {
return new Builder();
}
public static BinLogFile create() {
return builder().build();
}
/**
* @return checksum
*/
public String getChecksum() {
return this.checksum;
}
/**
* @return downloadLink
*/
public String getDownloadLink() {
return this.downloadLink;
}
/**
* @return fileSize
*/
public Long getFileSize() {
return this.fileSize;
}
/**
* @return hostInstanceID
*/
public String getHostInstanceID() {
return this.hostInstanceID;
}
/**
* @return intranetDownloadLink
*/
public String getIntranetDownloadLink() {
return this.intranetDownloadLink;
}
/**
* @return linkExpiredTime
*/
public String getLinkExpiredTime() {
return this.linkExpiredTime;
}
/**
* @return logBeginTime
*/
public String getLogBeginTime() {
return this.logBeginTime;
}
/**
* @return logEndTime
*/
public String getLogEndTime() {
return this.logEndTime;
}
/**
* @return logFileName
*/
public String getLogFileName() {
return this.logFileName;
}
/**
* @return remoteStatus
*/
public String getRemoteStatus() {
return this.remoteStatus;
}
public static final class Builder {
private String checksum;
private String downloadLink;
private Long fileSize;
private String hostInstanceID;
private String intranetDownloadLink;
private String linkExpiredTime;
private String logBeginTime;
private String logEndTime;
private String logFileName;
private String remoteStatus;
private Builder() {
}
private Builder(BinLogFile model) {
this.checksum = model.checksum;
this.downloadLink = model.downloadLink;
this.fileSize = model.fileSize;
this.hostInstanceID = model.hostInstanceID;
this.intranetDownloadLink = model.intranetDownloadLink;
this.linkExpiredTime = model.linkExpiredTime;
this.logBeginTime = model.logBeginTime;
this.logEndTime = model.logEndTime;
this.logFileName = model.logFileName;
this.remoteStatus = model.remoteStatus;
}
/**
* <p>The checksum. The value of this parameter is calculated by using the CRC64 algorithm.</p>
*
* <strong>example:</strong>
* <p>18358304393468701857</p>
*/
public Builder checksum(String checksum) {
this.checksum = checksum;
return this;
}
/**
* <p>The HTTP-based download URL of the log file. If the return value of this parameter is NULL, ApsaraDB RDS does not provide a download URL for the log file.</p>
*
* <strong>example:</strong>
* <p><a href="http://rdsxxxxx.oss.aliyuncs.com/xxxxxx">http://rdsxxxxx.oss.aliyuncs.com/xxxxxx</a></p>
*/
public Builder downloadLink(String downloadLink) {
this.downloadLink = downloadLink;
return this;
}
/**
* <p>The size of the log file.</p>
* <p>Unit: bytes.</p>
*
* <strong>example:</strong>
* <p>2269410</p>
*/
public Builder fileSize(Long fileSize) {
this.fileSize = fileSize;
return this;
}
/**
* <p>The ID of the instance to which the log file belongs. This parameter helps determine whether the log file is generated on the primary instance or the secondary instance.</p>
* <blockquote>
* <p> You can log on to the ApsaraDB RDS console and go to the instance details page. In the left-side navigation pane, click <strong>Service Availability</strong> to view the values of <strong>Primary Instance No.</strong> and <strong>Secondary Instance No.</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5841973</p>
*/
public Builder hostInstanceID(String hostInstanceID) {
this.hostInstanceID = hostInstanceID;
return this;
}
/**
* <p>The URL that is used to download files over an internal network.</p>
*
* <strong>example:</strong>
* <p><a href="http://rdslog-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxxx">http://rdslog-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxxx</a></p>
*/
public Builder intranetDownloadLink(String intranetDownloadLink) {
this.intranetDownloadLink = intranetDownloadLink;
return this;
}
/**
* <p>The expiration time of the URL.</p>
* <p>The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2013-06-09T18:00:00Z</p>
*/
public Builder linkExpiredTime(String linkExpiredTime) {
this.linkExpiredTime = linkExpiredTime;
return this;
}
/**
* <p>The beginning of the time range to query.</p>
* <p>The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-02-09T17:45:21Z</p>
*/
public Builder logBeginTime(String logBeginTime) {
this.logBeginTime = logBeginTime;
return this;
}
/**
* <p>The end of the time range to query.</p>
* <p>The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-02-15T13:10:28Z</p>
*/
public Builder logEndTime(String logEndTime) {
this.logEndTime = logEndTime;
return this;
}
/**
* <p>The log file name.</p>
*
* <strong>example:</strong>
* <p>000000040000000000000019</p>
*/
public Builder logFileName(String logFileName) {
this.logFileName = logFileName;
return this;
}
/**
* <p>The status of the log file that is stored in the Object Storage Service (OSS) bucket.</p>
* <p>Valid values:</p>
* <ul>
* <li><strong>Uploading</strong></li>
* <li><strong>Completed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Completed</p>
*/
public Builder remoteStatus(String remoteStatus) {
this.remoteStatus = remoteStatus;
return this;
}
public BinLogFile build() {
return new BinLogFile(this);
}
}
}
/**
*
* {@link DescribeBinlogFilesResponseBody} extends {@link TeaModel}
*
* <p>DescribeBinlogFilesResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BinLogFile")
private java.util.List<BinLogFile> binLogFile;
private Items(Builder builder) {
this.binLogFile = builder.binLogFile;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return binLogFile
*/
public java.util.List<BinLogFile> getBinLogFile() {
return this.binLogFile;
}
public static final class Builder {
private java.util.List<BinLogFile> binLogFile;
private Builder() {
}
private Builder(Items model) {
this.binLogFile = model.binLogFile;
}
/**
* BinLogFile.
*/
public Builder binLogFile(java.util.List<BinLogFile> binLogFile) {
this.binLogFile = binLogFile;
return this;
}
public Items build() {
return new Items(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/DescribeCharacterSetNameRequest.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 DescribeCharacterSetNameRequest} extends {@link RequestModel}
*
* <p>DescribeCharacterSetNameRequest</p>
*/
public class DescribeCharacterSetNameRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Engine")
@com.aliyun.core.annotation.Validation(required = true)
private String engine;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeCharacterSetNameRequest(Builder builder) {
super(builder);
this.engine = builder.engine;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCharacterSetNameRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeCharacterSetNameRequest, Builder> {
private String engine;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeCharacterSetNameRequest request) {
super(request);
this.engine = request.engine;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The type of the database engine. Valid values:</p>
* <ul>
* <li><strong>mysql</strong></li>
* <li><strong>mssql</strong></li>
* <li><strong>PostgreSQL</strong></li>
* <li><strong>MariaDB</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>mysql</p>
*/
public Builder engine(String engine) {
this.putQueryParameter("Engine", engine);
this.engine = engine;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</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;
}
/**
* <p>The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeCharacterSetNameRequest build() {
return new DescribeCharacterSetNameRequest(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/DescribeCharacterSetNameResponse.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 DescribeCharacterSetNameResponse} extends {@link TeaModel}
*
* <p>DescribeCharacterSetNameResponse</p>
*/
public class DescribeCharacterSetNameResponse 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 DescribeCharacterSetNameResponseBody body;
private DescribeCharacterSetNameResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCharacterSetNameResponse 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 DescribeCharacterSetNameResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCharacterSetNameResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCharacterSetNameResponseBody body);
@Override
DescribeCharacterSetNameResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCharacterSetNameResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCharacterSetNameResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCharacterSetNameResponse 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(DescribeCharacterSetNameResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCharacterSetNameResponse build() {
return new DescribeCharacterSetNameResponse(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/DescribeCharacterSetNameResponseBody.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 DescribeCharacterSetNameResponseBody} extends {@link TeaModel}
*
* <p>DescribeCharacterSetNameResponseBody</p>
*/
public class DescribeCharacterSetNameResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CharacterSetNameItems")
private CharacterSetNameItems characterSetNameItems;
@com.aliyun.core.annotation.NameInMap("Engine")
private String engine;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCharacterSetNameResponseBody(Builder builder) {
this.characterSetNameItems = builder.characterSetNameItems;
this.engine = builder.engine;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCharacterSetNameResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return characterSetNameItems
*/
public CharacterSetNameItems getCharacterSetNameItems() {
return this.characterSetNameItems;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private CharacterSetNameItems characterSetNameItems;
private String engine;
private String requestId;
private Builder() {
}
private Builder(DescribeCharacterSetNameResponseBody model) {
this.characterSetNameItems = model.characterSetNameItems;
this.engine = model.engine;
this.requestId = model.requestId;
}
/**
* <p>The character sets that are supported.</p>
*/
public Builder characterSetNameItems(CharacterSetNameItems characterSetNameItems) {
this.characterSetNameItems = characterSetNameItems;
return this;
}
/**
* <p>The type of the database engine.</p>
*
* <strong>example:</strong>
* <p>mysql</p>
*/
public Builder engine(String engine) {
this.engine = engine;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCharacterSetNameResponseBody build() {
return new DescribeCharacterSetNameResponseBody(this);
}
}
/**
*
* {@link DescribeCharacterSetNameResponseBody} extends {@link TeaModel}
*
* <p>DescribeCharacterSetNameResponseBody</p>
*/
public static class CharacterSetNameItems extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CharacterSetName")
private java.util.List<String> characterSetName;
private CharacterSetNameItems(Builder builder) {
this.characterSetName = builder.characterSetName;
}
public static Builder builder() {
return new Builder();
}
public static CharacterSetNameItems create() {
return builder().build();
}
/**
* @return characterSetName
*/
public java.util.List<String> getCharacterSetName() {
return this.characterSetName;
}
public static final class Builder {
private java.util.List<String> characterSetName;
private Builder() {
}
private Builder(CharacterSetNameItems model) {
this.characterSetName = model.characterSetName;
}
/**
* CharacterSetName.
*/
public Builder characterSetName(java.util.List<String> characterSetName) {
this.characterSetName = characterSetName;
return this;
}
public CharacterSetNameItems build() {
return new CharacterSetNameItems(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/DescribeClassDetailsRequest.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 DescribeClassDetailsRequest} extends {@link RequestModel}
*
* <p>DescribeClassDetailsRequest</p>
*/
public class DescribeClassDetailsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClassCode")
@com.aliyun.core.annotation.Validation(required = true)
private String classCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CommodityCode")
@com.aliyun.core.annotation.Validation(required = true)
private String commodityCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Engine")
@com.aliyun.core.annotation.Validation(required = true)
private String engine;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EngineVersion")
@com.aliyun.core.annotation.Validation(required = true)
private String engineVersion;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeClassDetailsRequest(Builder builder) {
super(builder);
this.classCode = builder.classCode;
this.clientToken = builder.clientToken;
this.commodityCode = builder.commodityCode;
this.engine = builder.engine;
this.engineVersion = builder.engineVersion;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClassDetailsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return classCode
*/
public String getClassCode() {
return this.classCode;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return commodityCode
*/
public String getCommodityCode() {
return this.commodityCode;
}
/**
* @return engine
*/
public String getEngine() {
return this.engine;
}
/**
* @return engineVersion
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DescribeClassDetailsRequest, Builder> {
private String classCode;
private String clientToken;
private String commodityCode;
private String engine;
private String engineVersion;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeClassDetailsRequest request) {
super(request);
this.classCode = request.classCode;
this.clientToken = request.clientToken;
this.commodityCode = request.commodityCode;
this.engine = request.engine;
this.engineVersion = request.engineVersion;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The code of the instance type.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rds.mysql.s3.large</p>
*/
public Builder classCode(String classCode) {
this.putQueryParameter("ClassCode", classCode);
this.classCode = classCode;
return this;
}
/**
* <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the generated token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>ETnLKlblzczshOTUbOCz*****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The commodity code of the instance. Valid values:</p>
* <ul>
* <li><strong>bards_intl</strong>: The instance is a pay-as-you-go primary instance.</li>
* <li><strong>rds_intl</strong>: The instance is a subscription primary instance.</li>
* <li><strong>rords_intl</strong>: The instance is a pay-as-you-go read-only instance.</li>
* <li><strong>rds_rordspre_public_intl</strong>: The instance is a subscription read-only instance.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rds</p>
*/
public Builder commodityCode(String commodityCode) {
this.putQueryParameter("CommodityCode", commodityCode);
this.commodityCode = commodityCode;
return this;
}
/**
* <p>The type of the database engine.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>MySQL</p>
*/
public Builder engine(String engine) {
this.putQueryParameter("Engine", engine);
this.engine = engine;
return this;
}
/**
* <p>The database engine version of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5.6</p>
*/
public Builder engineVersion(String engineVersion) {
this.putQueryParameter("EngineVersion", engineVersion);
this.engineVersion = engineVersion;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</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;
}
/**
* <p>The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmy*****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeClassDetailsRequest build() {
return new DescribeClassDetailsRequest(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/DescribeClassDetailsResponse.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 DescribeClassDetailsResponse} extends {@link TeaModel}
*
* <p>DescribeClassDetailsResponse</p>
*/
public class DescribeClassDetailsResponse 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 DescribeClassDetailsResponseBody body;
private DescribeClassDetailsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClassDetailsResponse 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 DescribeClassDetailsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClassDetailsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClassDetailsResponseBody body);
@Override
DescribeClassDetailsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClassDetailsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClassDetailsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClassDetailsResponse 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(DescribeClassDetailsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClassDetailsResponse build() {
return new DescribeClassDetailsResponse(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/DescribeClassDetailsResponseBody.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 DescribeClassDetailsResponseBody} extends {@link TeaModel}
*
* <p>DescribeClassDetailsResponseBody</p>
*/
public class DescribeClassDetailsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Category")
private String category;
@com.aliyun.core.annotation.NameInMap("ClassCode")
private String classCode;
@com.aliyun.core.annotation.NameInMap("ClassGroup")
private String classGroup;
@com.aliyun.core.annotation.NameInMap("Cpu")
private String cpu;
@com.aliyun.core.annotation.NameInMap("DBInstanceStorageType")
private String DBInstanceStorageType;
@com.aliyun.core.annotation.NameInMap("InstructionSetArch")
private String instructionSetArch;
@com.aliyun.core.annotation.NameInMap("MaxConnections")
private String maxConnections;
@com.aliyun.core.annotation.NameInMap("MaxIOMBPS")
private String maxIOMBPS;
@com.aliyun.core.annotation.NameInMap("MaxIOPS")
private String maxIOPS;
@com.aliyun.core.annotation.NameInMap("MemoryClass")
private String memoryClass;
@com.aliyun.core.annotation.NameInMap("ReferencePrice")
private String referencePrice;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClassDetailsResponseBody(Builder builder) {
this.category = builder.category;
this.classCode = builder.classCode;
this.classGroup = builder.classGroup;
this.cpu = builder.cpu;
this.DBInstanceStorageType = builder.DBInstanceStorageType;
this.instructionSetArch = builder.instructionSetArch;
this.maxConnections = builder.maxConnections;
this.maxIOMBPS = builder.maxIOMBPS;
this.maxIOPS = builder.maxIOPS;
this.memoryClass = builder.memoryClass;
this.referencePrice = builder.referencePrice;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClassDetailsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return classCode
*/
public String getClassCode() {
return this.classCode;
}
/**
* @return classGroup
*/
public String getClassGroup() {
return this.classGroup;
}
/**
* @return cpu
*/
public String getCpu() {
return this.cpu;
}
/**
* @return DBInstanceStorageType
*/
public String getDBInstanceStorageType() {
return this.DBInstanceStorageType;
}
/**
* @return instructionSetArch
*/
public String getInstructionSetArch() {
return this.instructionSetArch;
}
/**
* @return maxConnections
*/
public String getMaxConnections() {
return this.maxConnections;
}
/**
* @return maxIOMBPS
*/
public String getMaxIOMBPS() {
return this.maxIOMBPS;
}
/**
* @return maxIOPS
*/
public String getMaxIOPS() {
return this.maxIOPS;
}
/**
* @return memoryClass
*/
public String getMemoryClass() {
return this.memoryClass;
}
/**
* @return referencePrice
*/
public String getReferencePrice() {
return this.referencePrice;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String category;
private String classCode;
private String classGroup;
private String cpu;
private String DBInstanceStorageType;
private String instructionSetArch;
private String maxConnections;
private String maxIOMBPS;
private String maxIOPS;
private String memoryClass;
private String referencePrice;
private String requestId;
private Builder() {
}
private Builder(DescribeClassDetailsResponseBody model) {
this.category = model.category;
this.classCode = model.classCode;
this.classGroup = model.classGroup;
this.cpu = model.cpu;
this.DBInstanceStorageType = model.DBInstanceStorageType;
this.instructionSetArch = model.instructionSetArch;
this.maxConnections = model.maxConnections;
this.maxIOMBPS = model.maxIOMBPS;
this.maxIOPS = model.maxIOPS;
this.memoryClass = model.memoryClass;
this.referencePrice = model.referencePrice;
this.requestId = model.requestId;
}
/**
* <p>The RDS edition of the instance. Valid values:</p>
* <ul>
* <li><strong>Basic</strong>: RDS Basic Edition</li>
* <li><strong>HighAvailability</strong>: RDS High-availability Edition</li>
* <li><strong>AlwaysOn</strong>: RDS Cluster Edition</li>
* <li><strong>Finance</strong>: RDS Enterprise Edition</li>
* </ul>
*
* <strong>example:</strong>
* <p>Basic</p>
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* <p>The code of the instance type.</p>
*
* <strong>example:</strong>
* <p>mysql.n2.medium.1</p>
*/
public Builder classCode(String classCode) {
this.classCode = classCode;
return this;
}
/**
* <p>The instance family of the instance.</p>
*
* <strong>example:</strong>
* <p>x</p>
*/
public Builder classGroup(String classGroup) {
this.classGroup = classGroup;
return this;
}
/**
* <p>The number of CPU cores that are supported by the instance type. Unit: cores.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder cpu(String cpu) {
this.cpu = cpu;
return this;
}
/**
* <p>The storage type of the instance. Valid values:</p>
* <ul>
* <li><strong>local_ssd</strong>: local SSDs</li>
* <li><strong>cloud_ssd</strong>: standard SSDs</li>
* <li><strong>cloud_essd</strong>: enhanced SSDs (ESSDs) of performance level 1 (PL1)</li>
* <li><strong>cloud_essd2</strong>: ESSDs of PL2</li>
* <li><strong>cloud_essd3</strong>: ESSD of PL3</li>
* </ul>
*
* <strong>example:</strong>
* <p>local_ssd</p>
*/
public Builder DBInstanceStorageType(String DBInstanceStorageType) {
this.DBInstanceStorageType = DBInstanceStorageType;
return this;
}
/**
* <p>The architecture of the instance.</p>
*
* <strong>example:</strong>
* <p>x86</p>
*/
public Builder instructionSetArch(String instructionSetArch) {
this.instructionSetArch = instructionSetArch;
return this;
}
/**
* <p>The maximum number of connections.</p>
*
* <strong>example:</strong>
* <p>4000</p>
*/
public Builder maxConnections(String maxConnections) {
this.maxConnections = maxConnections;
return this;
}
/**
* <p>The maximum I/O bandwidth that is supported by the instance type. Unit: Mbit/s.</p>
*
* <strong>example:</strong>
* <p>1024</p>
*/
public Builder maxIOMBPS(String maxIOMBPS) {
this.maxIOMBPS = maxIOMBPS;
return this;
}
/**
* <p>The maximum input/output operations per second (IOPS) that is supported by the instance type. Unit: operations per second.</p>
*
* <strong>example:</strong>
* <p>N/A</p>
*/
public Builder maxIOPS(String maxIOPS) {
this.maxIOPS = maxIOPS;
return this;
}
/**
* <p>The memory size. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>2GB</p>
*/
public Builder memoryClass(String memoryClass) {
this.memoryClass = memoryClass;
return this;
}
/**
* <p>The price.</p>
* <p>Unit: cents (US dollars).</p>
* <blockquote>
* <ul>
* <li>If you set the CommodityCode parameter to a value that indicates the pay-as-you-go billing method, the ReferencePrice parameter specifies the hourly fee that you must pay.</li>
* <li>If you set the CommodityCode parameter to a value that indicates the subscription billing method, the ReferencePrice parameter specifies the monthly fee that you must pay.</li>
* </ul>
* </blockquote>
*
* <strong>example:</strong>
* <p>13400</p>
*/
public Builder referencePrice(String referencePrice) {
this.referencePrice = referencePrice;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClassDetailsResponseBody build() {
return new DescribeClassDetailsResponseBody(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/DescribeCloudMigrationPrecheckResultRequest.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 DescribeCloudMigrationPrecheckResultRequest} extends {@link RequestModel}
*
* <p>DescribeCloudMigrationPrecheckResultRequest</p>
*/
public class DescribeCloudMigrationPrecheckResultRequest 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("PageNumber")
@com.aliyun.core.annotation.Validation(required = true)
private Long pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(required = true)
private Long pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIpAddress")
private String sourceIpAddress;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourcePort")
private Long sourcePort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TaskId")
private Long taskId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TaskName")
private String taskName;
private DescribeCloudMigrationPrecheckResultRequest(Builder builder) {
super(builder);
this.DBInstanceName = builder.DBInstanceName;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceOwnerId = builder.resourceOwnerId;
this.sourceIpAddress = builder.sourceIpAddress;
this.sourcePort = builder.sourcePort;
this.taskId = builder.taskId;
this.taskName = builder.taskName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudMigrationPrecheckResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBInstanceName
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sourceIpAddress
*/
public String getSourceIpAddress() {
return this.sourceIpAddress;
}
/**
* @return sourcePort
*/
public Long getSourcePort() {
return this.sourcePort;
}
/**
* @return taskId
*/
public Long getTaskId() {
return this.taskId;
}
/**
* @return taskName
*/
public String getTaskName() {
return this.taskName;
}
public static final class Builder extends Request.Builder<DescribeCloudMigrationPrecheckResultRequest, Builder> {
private String DBInstanceName;
private Long pageNumber;
private Long pageSize;
private Long resourceOwnerId;
private String sourceIpAddress;
private Long sourcePort;
private Long taskId;
private String taskName;
private Builder() {
super();
}
private Builder(DescribeCloudMigrationPrecheckResultRequest request) {
super(request);
this.DBInstanceName = request.DBInstanceName;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceOwnerId = request.resourceOwnerId;
this.sourceIpAddress = request.sourceIpAddress;
this.sourcePort = request.sourcePort;
this.taskId = request.taskId;
this.taskName = request.taskName;
}
/**
* <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>The page number. Pages start from page 1. Default value: <strong>1</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Long pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries per page. Valid values: <strong>30</strong> to <strong>100</strong>. Default value: 30.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
public Builder pageSize(Long pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The private or public IP address that is used to connect to the self-managed PostgreSQL instance.</p>
* <ul>
* <li>If the self-managed PostgreSQL instance resides on an Elastic Compute Service (ECS) instance, enter the private IP address of the ECS instance. For more information about how to obtain the private IP address of an ECS instance, see <a href="https://help.aliyun.com/document_detail/273914.html">View IP addresses</a>.</li>
* <li>If the self-managed PostgreSQL instance resides in an on-premises data center, enter the private IP address of the on-premises data center.</li>
* </ul>
*
* <strong>example:</strong>
* <p>172.2.XX.XX</p>
*/
public Builder sourceIpAddress(String sourceIpAddress) {
this.putQueryParameter("SourceIpAddress", sourceIpAddress);
this.sourceIpAddress = sourceIpAddress;
return this;
}
/**
* <p>The port number that is used to connect to the self-managed PostgreSQL instance. You can run the netstat -a | grep PGSQL command to obtain the port number.</p>
*
* <strong>example:</strong>
* <p>5432</p>
*/
public Builder sourcePort(Long sourcePort) {
this.putQueryParameter("SourcePort", sourcePort);
this.sourcePort = sourcePort;
return this;
}
/**
* <p>The task ID. You can obtain the task ID from the response that is returned after you call the CreateCloudMigrationPrecheckTask operation to create the task.</p>
*
* <strong>example:</strong>
* <p>439946016</p>
*/
public Builder taskId(Long taskId) {
this.putQueryParameter("TaskId", taskId);
this.taskId = taskId;
return this;
}
/**
* <p>The task name. You can obtain the task name from the response that is returned after you call the CreateCloudMigrationPrecheckTask operation to create the task.</p>
*
* <strong>example:</strong>
* <p>slf7w7wj3g</p>
*/
public Builder taskName(String taskName) {
this.putQueryParameter("TaskName", taskName);
this.taskName = taskName;
return this;
}
@Override
public DescribeCloudMigrationPrecheckResultRequest build() {
return new DescribeCloudMigrationPrecheckResultRequest(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/DescribeCloudMigrationPrecheckResultResponse.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 DescribeCloudMigrationPrecheckResultResponse} extends {@link TeaModel}
*
* <p>DescribeCloudMigrationPrecheckResultResponse</p>
*/
public class DescribeCloudMigrationPrecheckResultResponse 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 DescribeCloudMigrationPrecheckResultResponseBody body;
private DescribeCloudMigrationPrecheckResultResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCloudMigrationPrecheckResultResponse 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 DescribeCloudMigrationPrecheckResultResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCloudMigrationPrecheckResultResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCloudMigrationPrecheckResultResponseBody body);
@Override
DescribeCloudMigrationPrecheckResultResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCloudMigrationPrecheckResultResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCloudMigrationPrecheckResultResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCloudMigrationPrecheckResultResponse 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(DescribeCloudMigrationPrecheckResultResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCloudMigrationPrecheckResultResponse build() {
return new DescribeCloudMigrationPrecheckResultResponse(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/DescribeCloudMigrationPrecheckResultResponseBody.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 DescribeCloudMigrationPrecheckResultResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudMigrationPrecheckResultResponseBody</p>
*/
public class DescribeCloudMigrationPrecheckResultResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private java.util.List<Items> items;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Long pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Long pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalSize")
private Integer totalSize;
private DescribeCloudMigrationPrecheckResultResponseBody(Builder builder) {
this.items = builder.items;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalSize = builder.totalSize;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudMigrationPrecheckResultResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return items
*/
public java.util.List<Items> getItems() {
return this.items;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalSize
*/
public Integer getTotalSize() {
return this.totalSize;
}
public static final class Builder {
private java.util.List<Items> items;
private Long pageNumber;
private Long pageSize;
private String requestId;
private Integer totalSize;
private Builder() {
}
private Builder(DescribeCloudMigrationPrecheckResultResponseBody model) {
this.items = model.items;
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.requestId = model.requestId;
this.totalSize = model.totalSize;
}
/**
* <p>The details about the assessment report.</p>
*/
public Builder items(java.util.List<Items> items) {
this.items = items;
return this;
}
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7E4A6E1B-789B-5F16-9736-39AA57FC7374</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalSize(Integer totalSize) {
this.totalSize = totalSize;
return this;
}
public DescribeCloudMigrationPrecheckResultResponseBody build() {
return new DescribeCloudMigrationPrecheckResultResponseBody(this);
}
}
/**
*
* {@link DescribeCloudMigrationPrecheckResultResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudMigrationPrecheckResultResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Detail")
private String detail;
@com.aliyun.core.annotation.NameInMap("GmtCreated")
private String gmtCreated;
@com.aliyun.core.annotation.NameInMap("GmtModified")
private String gmtModified;
@com.aliyun.core.annotation.NameInMap("SourceAccount")
private String sourceAccount;
@com.aliyun.core.annotation.NameInMap("SourceCategory")
private String sourceCategory;
@com.aliyun.core.annotation.NameInMap("SourceIpAddress")
private String sourceIpAddress;
@com.aliyun.core.annotation.NameInMap("SourcePassword")
private String sourcePassword;
@com.aliyun.core.annotation.NameInMap("SourcePort")
private Long sourcePort;
@com.aliyun.core.annotation.NameInMap("TargetEip")
private String targetEip;
@com.aliyun.core.annotation.NameInMap("TargetInstanceName")
private String targetInstanceName;
@com.aliyun.core.annotation.NameInMap("TaskId")
private Long taskId;
@com.aliyun.core.annotation.NameInMap("TaskName")
private String taskName;
private Items(Builder builder) {
this.detail = builder.detail;
this.gmtCreated = builder.gmtCreated;
this.gmtModified = builder.gmtModified;
this.sourceAccount = builder.sourceAccount;
this.sourceCategory = builder.sourceCategory;
this.sourceIpAddress = builder.sourceIpAddress;
this.sourcePassword = builder.sourcePassword;
this.sourcePort = builder.sourcePort;
this.targetEip = builder.targetEip;
this.targetInstanceName = builder.targetInstanceName;
this.taskId = builder.taskId;
this.taskName = builder.taskName;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return detail
*/
public String getDetail() {
return this.detail;
}
/**
* @return gmtCreated
*/
public String getGmtCreated() {
return this.gmtCreated;
}
/**
* @return gmtModified
*/
public String getGmtModified() {
return this.gmtModified;
}
/**
* @return sourceAccount
*/
public String getSourceAccount() {
return this.sourceAccount;
}
/**
* @return sourceCategory
*/
public String getSourceCategory() {
return this.sourceCategory;
}
/**
* @return sourceIpAddress
*/
public String getSourceIpAddress() {
return this.sourceIpAddress;
}
/**
* @return sourcePassword
*/
public String getSourcePassword() {
return this.sourcePassword;
}
/**
* @return sourcePort
*/
public Long getSourcePort() {
return this.sourcePort;
}
/**
* @return targetEip
*/
public String getTargetEip() {
return this.targetEip;
}
/**
* @return targetInstanceName
*/
public String getTargetInstanceName() {
return this.targetInstanceName;
}
/**
* @return taskId
*/
public Long getTaskId() {
return this.taskId;
}
/**
* @return taskName
*/
public String getTaskName() {
return this.taskName;
}
public static final class Builder {
private String detail;
private String gmtCreated;
private String gmtModified;
private String sourceAccount;
private String sourceCategory;
private String sourceIpAddress;
private String sourcePassword;
private Long sourcePort;
private String targetEip;
private String targetInstanceName;
private Long taskId;
private String taskName;
private Builder() {
}
private Builder(Items model) {
this.detail = model.detail;
this.gmtCreated = model.gmtCreated;
this.gmtModified = model.gmtModified;
this.sourceAccount = model.sourceAccount;
this.sourceCategory = model.sourceCategory;
this.sourceIpAddress = model.sourceIpAddress;
this.sourcePassword = model.sourcePassword;
this.sourcePort = model.sourcePort;
this.targetEip = model.targetEip;
this.targetInstanceName = model.targetInstanceName;
this.taskId = model.taskId;
this.taskName = model.taskName;
}
/**
* <p>The content of the assessment report.</p>
*
* <strong>example:</strong>
* <p>[Check rds empty]\nCheck rds databases: success\n[Check source connectivity]\nCheck ip connectable: success\nCheck port connectable: success\nCheck database connectable: success\nCheck account replication privilege: success\nCheck account createrole privilege: success\nCheck account monitor privilege: success\n[Check source version]\nCheck major version consistent: success\n[Check source glibc version]\nCheck source glibc version compatible: warning(warning:source glibc version is not compatible with rds pg)\n[Check disk size]\nCheck disk size enough: success\n[Check wal keep size]\nCheck wal keep size large enough: success\n[Check spec params]\nCheck if spec params too large: success\n [Check triggers]\nCheck triggers compatible: success\n[Check user functions]\nCheck user functions compatible: success\n<em>Migrate check success</em></p>
*/
public Builder detail(String detail) {
this.detail = detail;
return this;
}
/**
* <p>The time when the task was created.</p>
*
* <strong>example:</strong>
* <p>2022-02-25T06:57:41Z</p>
*/
public Builder gmtCreated(String gmtCreated) {
this.gmtCreated = gmtCreated;
return this;
}
/**
* <p>The time when the task was modified.</p>
*
* <strong>example:</strong>
* <p>2022-02-25T06:58:00Z</p>
*/
public Builder gmtModified(String gmtModified) {
this.gmtModified = gmtModified;
return this;
}
/**
* <p>The username.</p>
*
* <strong>example:</strong>
* <p>migratetest</p>
*/
public Builder sourceAccount(String sourceAccount) {
this.sourceAccount = sourceAccount;
return this;
}
/**
* <p>The environment in which the self-managed PostgreSQL instance runs.</p>
* <ul>
* <li><strong>idcOnVpc</strong>: The self-managed PostgreSQL instance resides in a data center. The data center can communicate with the VPC to which the ApsaraDB RDS for PostgreSQL instance belongs.</li>
* <li><strong>ecsOnVpc</strong>: The self-managed PostgreSQL instance resides on an ECS instance.</li>
* </ul>
*
* <strong>example:</strong>
* <p>ecsonvpc</p>
*/
public Builder sourceCategory(String sourceCategory) {
this.sourceCategory = sourceCategory;
return this;
}
/**
* <p>The private IP address that is used to connect to the self-managed PostgreSQL instance.</p>
*
* <strong>example:</strong>
* <p>172.2.XX.XX</p>
*/
public Builder sourceIpAddress(String sourceIpAddress) {
this.sourceIpAddress = sourceIpAddress;
return this;
}
/**
* <p>The password.</p>
*
* <strong>example:</strong>
* <p>123456</p>
*/
public Builder sourcePassword(String sourcePassword) {
this.sourcePassword = sourcePassword;
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>A reserved parameter. The return value of this parameter is empty.</p>
*
* <strong>example:</strong>
* <p>null</p>
*/
public Builder targetEip(String targetEip) {
this.targetEip = targetEip;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>pgm-bp102g323jd4****</p>
*/
public Builder targetInstanceName(String targetInstanceName) {
this.targetInstanceName = targetInstanceName;
return this;
}
/**
* <p>The task ID.</p>
*
* <strong>example:</strong>
* <p>440420798</p>
*/
public Builder taskId(Long taskId) {
this.taskId = taskId;
return this;
}
/**
* <p>The task name.</p>
*
* <strong>example:</strong>
* <p>lxbv6rtxno8</p>
*/
public Builder taskName(String taskName) {
this.taskName = taskName;
return this;
}
public Items build() {
return new Items(this);
}
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.