index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/CreateTairKVCacheVNodeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link CreateTairKVCacheVNodeResponseBody} extends {@link TeaModel} * * <p>CreateTairKVCacheVNodeResponseBody</p> */ public class CreateTairKVCacheVNodeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("OrderId") private Long orderId; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VClusterId") private String vClusterId; @com.aliyun.core.annotation.NameInMap("VkName") private String vkName; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private CreateTairKVCacheVNodeResponseBody(Builder builder) { this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.orderId = builder.orderId; this.regionId = builder.regionId; this.requestId = builder.requestId; this.vClusterId = builder.vClusterId; this.vkName = builder.vkName; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static CreateTairKVCacheVNodeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return orderId */ public Long getOrderId() { return this.orderId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vClusterId */ public String getVClusterId() { return this.vClusterId; } /** * @return vkName */ public String getVkName() { return this.vkName; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String instanceId; private String nodeId; private Long orderId; private String regionId; private String requestId; private String vClusterId; private String vkName; private String zoneId; private Builder() { } private Builder(CreateTairKVCacheVNodeResponseBody model) { this.instanceId = model.instanceId; this.nodeId = model.nodeId; this.orderId = model.orderId; this.regionId = model.regionId; this.requestId = model.requestId; this.vClusterId = model.vClusterId; this.vkName = model.vkName; this.zoneId = model.zoneId; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * NodeId. */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * OrderId. */ public Builder orderId(Long orderId) { this.orderId = orderId; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * VClusterId. */ public Builder vClusterId(String vClusterId) { this.vClusterId = vClusterId; return this; } /** * VkName. */ public Builder vkName(String vkName) { this.vkName = vkName; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public CreateTairKVCacheVNodeResponseBody build() { return new CreateTairKVCacheVNodeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteAccountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteAccountRequest} extends {@link RequestModel} * * <p>DeleteAccountRequest</p> */ public class DeleteAccountRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountName") @com.aliyun.core.annotation.Validation(required = true) private String accountName; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceBiz") private String sourceBiz; private DeleteAccountRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.accountName = builder.accountName; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.sourceBiz = builder.sourceBiz; } public static Builder builder() { return new Builder(); } public static DeleteAccountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return sourceBiz */ public String getSourceBiz() { return this.sourceBiz; } public static final class Builder extends Request.Builder<DeleteAccountRequest, Builder> { private String regionId; private String accountName; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String sourceBiz; private Builder() { super(); } private Builder(DeleteAccountRequest request) { super(request); this.regionId = request.regionId; this.accountName = request.accountName; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.sourceBiz = request.sourceBiz; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The username of the account. You can call the <a href="https://help.aliyun.com/document_detail/473816.html">DescribeAccounts</a> operation to query the username of the account.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>demoaccount</p> */ public Builder accountName(String accountName) { this.putQueryParameter("AccountName", accountName); this.accountName = accountName; return this; } /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>This parameter is used only for internal maintenance. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>SDK</p> */ public Builder sourceBiz(String sourceBiz) { this.putQueryParameter("SourceBiz", sourceBiz); this.sourceBiz = sourceBiz; return this; } @Override public DeleteAccountRequest build() { return new DeleteAccountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteAccountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteAccountResponse} extends {@link TeaModel} * * <p>DeleteAccountResponse</p> */ public class DeleteAccountResponse 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 DeleteAccountResponseBody body; private DeleteAccountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteAccountResponse 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 DeleteAccountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteAccountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteAccountResponseBody body); @Override DeleteAccountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteAccountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteAccountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteAccountResponse 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(DeleteAccountResponseBody body) { this.body = body; return this; } @Override public DeleteAccountResponse build() { return new DeleteAccountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteAccountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteAccountResponseBody} extends {@link TeaModel} * * <p>DeleteAccountResponseBody</p> */ public class DeleteAccountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteAccountResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteAccountResponseBody 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(DeleteAccountResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>8129F11A-D70B-43A6-9455-CE9EAA71****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteAccountResponseBody build() { return new DeleteAccountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteBackupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteBackupRequest} extends {@link RequestModel} * * <p>DeleteBackupRequest</p> */ public class DeleteBackupRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @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 DeleteBackupRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.backupId = builder.backupId; this.instanceId = builder.instanceId; 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 DeleteBackupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return backupId */ public String getBackupId() { return this.backupId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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<DeleteBackupRequest, Builder> { private String regionId; private String backupId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DeleteBackupRequest request) { super(request); this.regionId = request.regionId; this.backupId = request.backupId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>521****66</p> */ public Builder backupId(String backupId) { this.putQueryParameter("BackupId", backupId); this.backupId = backupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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 DeleteBackupRequest build() { return new DeleteBackupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteBackupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteBackupResponse} extends {@link TeaModel} * * <p>DeleteBackupResponse</p> */ public class DeleteBackupResponse 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 DeleteBackupResponseBody body; private DeleteBackupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteBackupResponse 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 DeleteBackupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteBackupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteBackupResponseBody body); @Override DeleteBackupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteBackupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteBackupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteBackupResponse 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(DeleteBackupResponseBody body) { this.body = body; return this; } @Override public DeleteBackupResponse build() { return new DeleteBackupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteBackupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteBackupResponseBody} extends {@link TeaModel} * * <p>DeleteBackupResponseBody</p> */ public class DeleteBackupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteBackupResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteBackupResponseBody 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(DeleteBackupResponseBody model) { this.requestId = model.requestId; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteBackupResponseBody build() { return new DeleteBackupResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteGlobalSecurityIPGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteGlobalSecurityIPGroupRequest} extends {@link RequestModel} * * <p>DeleteGlobalSecurityIPGroupRequest</p> */ public class DeleteGlobalSecurityIPGroupRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GlobalIgName") private String globalIgName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GlobalSecurityGroupId") @com.aliyun.core.annotation.Validation(required = true) private String globalSecurityGroupId; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DeleteGlobalSecurityIPGroupRequest(Builder builder) { super(builder); this.globalIgName = builder.globalIgName; this.globalSecurityGroupId = builder.globalSecurityGroupId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DeleteGlobalSecurityIPGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return globalIgName */ public String getGlobalIgName() { return this.globalIgName; } /** * @return globalSecurityGroupId */ public String getGlobalSecurityGroupId() { return this.globalSecurityGroupId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DeleteGlobalSecurityIPGroupRequest, Builder> { private String globalIgName; private String globalSecurityGroupId; private String ownerAccount; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DeleteGlobalSecurityIPGroupRequest request) { super(request); this.globalIgName = request.globalIgName; this.globalSecurityGroupId = request.globalSecurityGroupId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * <p>The name of the global IP whitelist template. The name must meet the following requirements:</p> * <ul> * <li>The name can contain lowercase letters, digits, and underscores (_).</li> * <li>The name must start with a letter and end with a letter or a digit.</li> * <li>The name must be 2 to 120 characters in length.</li> * </ul> * * <strong>example:</strong> * <p>test_123</p> */ public Builder globalIgName(String globalIgName) { this.putQueryParameter("GlobalIgName", globalIgName); this.globalIgName = globalIgName; return this; } /** * <p>The ID of the IP whitelist template.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>g-kd2iop4aur9qwxnvh***</p> */ public Builder globalSecurityGroupId(String globalSecurityGroupId) { this.putQueryParameter("GlobalSecurityGroupId", globalSecurityGroupId); this.globalSecurityGroupId = globalSecurityGroupId; 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.</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 ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmyiu4e******</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DeleteGlobalSecurityIPGroupRequest build() { return new DeleteGlobalSecurityIPGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteGlobalSecurityIPGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteGlobalSecurityIPGroupResponse} extends {@link TeaModel} * * <p>DeleteGlobalSecurityIPGroupResponse</p> */ public class DeleteGlobalSecurityIPGroupResponse 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 DeleteGlobalSecurityIPGroupResponseBody body; private DeleteGlobalSecurityIPGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteGlobalSecurityIPGroupResponse 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 DeleteGlobalSecurityIPGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteGlobalSecurityIPGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteGlobalSecurityIPGroupResponseBody body); @Override DeleteGlobalSecurityIPGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteGlobalSecurityIPGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteGlobalSecurityIPGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteGlobalSecurityIPGroupResponse 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(DeleteGlobalSecurityIPGroupResponseBody body) { this.body = body; return this; } @Override public DeleteGlobalSecurityIPGroupResponse build() { return new DeleteGlobalSecurityIPGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteGlobalSecurityIPGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteGlobalSecurityIPGroupResponseBody} extends {@link TeaModel} * * <p>DeleteGlobalSecurityIPGroupResponseBody</p> */ public class DeleteGlobalSecurityIPGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteGlobalSecurityIPGroupResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteGlobalSecurityIPGroupResponseBody 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(DeleteGlobalSecurityIPGroupResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>AD425AD3-CC7B-4EE2-A5CB-2F61BA73****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteGlobalSecurityIPGroupResponseBody build() { return new DeleteGlobalSecurityIPGroupResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteInstanceRequest} extends {@link RequestModel} * * <p>DeleteInstanceRequest</p> */ public class DeleteInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GlobalInstanceId") private String globalInstanceId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DeleteInstanceRequest(Builder builder) { super(builder); this.globalInstanceId = builder.globalInstanceId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DeleteInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return globalInstanceId */ public String getGlobalInstanceId() { return this.globalInstanceId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DeleteInstanceRequest, Builder> { private String globalInstanceId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DeleteInstanceRequest request) { super(request); this.globalInstanceId = request.globalInstanceId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * <p>The ID of the distributed instance to which the instance belongs. This parameter is applicable to only China site (aliyun.com).</p> * * <strong>example:</strong> * <p>gr-bp14rkqrhac****</p> */ public Builder globalInstanceId(String globalInstanceId) { this.putQueryParameter("GlobalInstanceId", globalInstanceId); this.globalInstanceId = globalInstanceId; return this; } /** * <p>The ID of the instance that you want to release.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DeleteInstanceRequest build() { return new DeleteInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteInstanceResponse} extends {@link TeaModel} * * <p>DeleteInstanceResponse</p> */ public class DeleteInstanceResponse 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 DeleteInstanceResponseBody body; private DeleteInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteInstanceResponse 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 DeleteInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteInstanceResponseBody body); @Override DeleteInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteInstanceResponse 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(DeleteInstanceResponseBody body) { this.body = body; return this; } @Override public DeleteInstanceResponse build() { return new DeleteInstanceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteInstanceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteInstanceResponseBody} extends {@link TeaModel} * * <p>DeleteInstanceResponseBody</p> */ public class DeleteInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteInstanceResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteInstanceResponseBody 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(DeleteInstanceResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>5D622714-AEDD-4609-9167-F5DDD3D190D2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteInstanceResponseBody build() { return new DeleteInstanceResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteParameterGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteParameterGroupRequest} extends {@link RequestModel} * * <p>DeleteParameterGroupRequest</p> */ public class DeleteParameterGroupRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("ParameterGroupId") @com.aliyun.core.annotation.Validation(required = true) private String parameterGroupId; @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; private DeleteParameterGroupRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.parameterGroupId = builder.parameterGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DeleteParameterGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return parameterGroupId */ public String getParameterGroupId() { return this.parameterGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DeleteParameterGroupRequest, Builder> { private String regionId; private String ownerAccount; private Long ownerId; private String parameterGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DeleteParameterGroupRequest request) { super(request); this.regionId = request.regionId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.parameterGroupId = request.parameterGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; 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 parameter template.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rpg-sys-00*****</p> */ public Builder parameterGroupId(String parameterGroupId) { this.putQueryParameter("ParameterGroupId", parameterGroupId); this.parameterGroupId = parameterGroupId; 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; } @Override public DeleteParameterGroupRequest build() { return new DeleteParameterGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteParameterGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteParameterGroupResponse} extends {@link TeaModel} * * <p>DeleteParameterGroupResponse</p> */ public class DeleteParameterGroupResponse 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 DeleteParameterGroupResponseBody body; private DeleteParameterGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteParameterGroupResponse 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 DeleteParameterGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteParameterGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteParameterGroupResponseBody body); @Override DeleteParameterGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteParameterGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteParameterGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteParameterGroupResponse 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(DeleteParameterGroupResponseBody body) { this.body = body; return this; } @Override public DeleteParameterGroupResponse build() { return new DeleteParameterGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteParameterGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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("ParamGroupId") private String paramGroupId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteParameterGroupResponseBody(Builder builder) { this.paramGroupId = builder.paramGroupId; 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 paramGroupId */ public String getParamGroupId() { return this.paramGroupId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String paramGroupId; private String requestId; private Builder() { } private Builder(DeleteParameterGroupResponseBody model) { this.paramGroupId = model.paramGroupId; this.requestId = model.requestId; } /** * <p>The parameter template ID, which is globally unique.</p> * * <strong>example:</strong> * <p>sys-001*****</p> */ public Builder paramGroupId(String paramGroupId) { this.paramGroupId = paramGroupId; return this; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>2BE6E619-A657-42E3-AD2D-18F8428A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteParameterGroupResponseBody build() { return new DeleteParameterGroupResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteShardingNodeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteShardingNodeRequest} extends {@link RequestModel} * * <p>DeleteShardingNodeRequest</p> */ public class DeleteShardingNodeRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EffectiveTime") private String effectiveTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ForceTrans") private Boolean forceTrans; @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("NodeId") @Deprecated private String nodeId; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ShardCount") @com.aliyun.core.annotation.Validation(maximum = 4096, minimum = 1) private Integer shardCount; private DeleteShardingNodeRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.effectiveTime = builder.effectiveTime; this.forceTrans = builder.forceTrans; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.shardCount = builder.shardCount; } public static Builder builder() { return new Builder(); } public static DeleteShardingNodeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return effectiveTime */ public String getEffectiveTime() { return this.effectiveTime; } /** * @return forceTrans */ public Boolean getForceTrans() { return this.forceTrans; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } public static final class Builder extends Request.Builder<DeleteShardingNodeRequest, Builder> { private String regionId; private String effectiveTime; private Boolean forceTrans; private String instanceId; private String nodeId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Integer shardCount; private Builder() { super(); } private Builder(DeleteShardingNodeRequest request) { super(request); this.regionId = request.regionId; this.effectiveTime = request.effectiveTime; this.forceTrans = request.forceTrans; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.shardCount = request.shardCount; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The time when you want to delete the proxy nodes for instance in the proxy mode. Valid values:</p> * <ul> * <li><strong>0 or Immediately</strong> (default): immediately delete the proxy nodes.</li> * <li><strong>1 or MaintainTime</strong>: delete the proxy nodes during the maintenance window.</li> * </ul> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/473775.html">ModifyInstanceMaintainTime</a> operation to modify the maintenance window of an instance.</p> * </blockquote> * * <strong>example:</strong> * <p>Immediately</p> */ public Builder effectiveTime(String effectiveTime) { this.putQueryParameter("EffectiveTime", effectiveTime); this.effectiveTime = effectiveTime; return this; } /** * <p>Specifies whether to enable forced transmission during a configuration change. Valid values:</p> * <ul> * <li><strong>false</strong> (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.</li> * <li><strong>true</strong>: The system skips the version check and directly performs the configuration change.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder forceTrans(Boolean forceTrans) { this.putQueryParameter("ForceTrans", forceTrans); this.forceTrans = forceTrans; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The ID of the data shard that you want to remove. You can specify multiple IDs at a time. Separate multiple IDs with commas (,).</p> * <blockquote> * <p>If you specify both the NodeId and ShardCount parameters, the system prioritizes the NodeId parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0,r-bp1zxszhcgatnx****-db-1</p> */ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); this.nodeId = nodeId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The number of data shards that you want to remove. Shard removal starts from the end of the shard list.</p> * <blockquote> * <p>For example, the instance has the following data shards: db-0, db-1, db-2, db-3, and db-4. In this case, if you set this parameter to 2, db-3 and db-4 are removed.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder shardCount(Integer shardCount) { this.putQueryParameter("ShardCount", shardCount); this.shardCount = shardCount; return this; } @Override public DeleteShardingNodeRequest build() { return new DeleteShardingNodeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteShardingNodeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteShardingNodeResponse} extends {@link TeaModel} * * <p>DeleteShardingNodeResponse</p> */ public class DeleteShardingNodeResponse 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 DeleteShardingNodeResponseBody body; private DeleteShardingNodeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteShardingNodeResponse 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 DeleteShardingNodeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteShardingNodeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteShardingNodeResponseBody body); @Override DeleteShardingNodeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteShardingNodeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteShardingNodeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteShardingNodeResponse 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(DeleteShardingNodeResponseBody body) { this.body = body; return this; } @Override public DeleteShardingNodeResponse build() { return new DeleteShardingNodeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DeleteShardingNodeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DeleteShardingNodeResponseBody} extends {@link TeaModel} * * <p>DeleteShardingNodeResponseBody</p> */ public class DeleteShardingNodeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("OrderId") private String orderId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteShardingNodeResponseBody(Builder builder) { this.orderId = builder.orderId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteShardingNodeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return orderId */ public String getOrderId() { return this.orderId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String orderId; private String requestId; private Builder() { } private Builder(DeleteShardingNodeResponseBody model) { this.orderId = model.orderId; this.requestId = model.requestId; } /** * <p>The ID of the order. On the Orders page in the Billing Management console, you can obtain the details of the order based on the order ID.</p> * * <strong>example:</strong> * <p>22179******0904</p> */ public Builder orderId(String orderId) { this.orderId = orderId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>5D622714-AEDD-4609-9167-F5DDD3D1****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteShardingNodeResponseBody build() { return new DeleteShardingNodeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAccountsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountName") private String accountName; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeAccountsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.accountName = builder.accountName; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeAccountsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeAccountsRequest, Builder> { private String regionId; private String accountName; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeAccountsRequest request) { super(request); this.regionId = request.regionId; this.accountName = request.accountName; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The name of the account that you want to query.</p> * * <strong>example:</strong> * <p>demoaccount</p> */ public Builder accountName(String accountName) { this.putQueryParameter("AccountName", accountName); this.accountName = accountName; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeAccountsRequest build() { return new DescribeAccountsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAccountsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAccountsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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("RequestId") private String requestId; private DescribeAccountsResponseBody(Builder builder) { this.accounts = builder.accounts; this.requestId = builder.requestId; } 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 requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Accounts accounts; private String requestId; private Builder() { } private Builder(DescribeAccountsResponseBody model) { this.accounts = model.accounts; this.requestId = model.requestId; } /** * <p>Details about returned accounts of the instance.</p> */ public Builder accounts(Accounts accounts) { this.accounts = accounts; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>6C9E114C-217C-4118-83C0-B4070222****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; 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; private DatabasePrivilege(Builder builder) { this.accountPrivilege = builder.accountPrivilege; } public static Builder builder() { return new Builder(); } public static DatabasePrivilege create() { return builder().build(); } /** * @return accountPrivilege */ public String getAccountPrivilege() { return this.accountPrivilege; } public static final class Builder { private String accountPrivilege; private Builder() { } private Builder(DatabasePrivilege model) { this.accountPrivilege = model.accountPrivilege; } /** * <p>The permission of the account. Default value: RoleReadWrite. Valid values:</p> * <ul> * <li><strong>RoleReadOnly</strong>: The account has the read-only permissions.</li> * <li><strong>RoleReadWrite</strong>: The account has the read and write permissions.</li> * </ul> * * <strong>example:</strong> * <p>RoleReadWrite</p> */ public Builder accountPrivilege(String accountPrivilege) { this.accountPrivilege = accountPrivilege; 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 Account 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("DatabasePrivileges") private DatabasePrivileges databasePrivileges; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; private Account(Builder builder) { this.accountDescription = builder.accountDescription; this.accountName = builder.accountName; this.accountStatus = builder.accountStatus; this.accountType = builder.accountType; this.databasePrivileges = builder.databasePrivileges; this.instanceId = builder.instanceId; } public static Builder builder() { return new Builder(); } public static Account 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 databasePrivileges */ public DatabasePrivileges getDatabasePrivileges() { return this.databasePrivileges; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } public static final class Builder { private String accountDescription; private String accountName; private String accountStatus; private String accountType; private DatabasePrivileges databasePrivileges; private String instanceId; private Builder() { } private Builder(Account model) { this.accountDescription = model.accountDescription; this.accountName = model.accountName; this.accountStatus = model.accountStatus; this.accountType = model.accountType; this.databasePrivileges = model.databasePrivileges; this.instanceId = model.instanceId; } /** * <p>The description of the account.</p> * * <strong>example:</strong> * <p>testdec</p> */ public Builder accountDescription(String accountDescription) { this.accountDescription = accountDescription; return this; } /** * <p>The name of the account.</p> * * <strong>example:</strong> * <p>demoaccount</p> */ public Builder accountName(String accountName) { this.accountName = accountName; return this; } /** * <p>The state of the account. Valid values:</p> * <ul> * <li><strong>Unavailable</strong>: The account is unavailable.</li> * <li><strong>Available</strong>: The account is available.</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>: super account</li> * </ul> * * <strong>example:</strong> * <p>Normal</p> */ public Builder accountType(String accountType) { this.accountType = accountType; return this; } /** * <p>Details about account permissions.</p> */ public Builder databasePrivileges(DatabasePrivileges databasePrivileges) { this.databasePrivileges = databasePrivileges; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp10noxlhcoim2****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } public Account build() { return new Account(this); } } } /** * * {@link DescribeAccountsResponseBody} extends {@link TeaModel} * * <p>DescribeAccountsResponseBody</p> */ public static class Accounts extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private java.util.List<Account> account; private Accounts(Builder builder) { this.account = builder.account; } public static Builder builder() { return new Builder(); } public static Accounts create() { return builder().build(); } /** * @return account */ public java.util.List<Account> getAccount() { return this.account; } public static final class Builder { private java.util.List<Account> account; private Builder() { } private Builder(Accounts model) { this.account = model.account; } /** * Account. */ public Builder account(java.util.List<Account> account) { this.account = account; return this; } public Accounts build() { return new Accounts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeActiveOperationTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeActiveOperationTaskRequest} extends {@link RequestModel} * * <p>DescribeActiveOperationTaskRequest</p> */ public class DescribeActiveOperationTaskRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsHistory") private Integer isHistory; @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("Region") @com.aliyun.core.annotation.Validation(required = true) 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("TaskType") @com.aliyun.core.annotation.Validation(required = true) private String taskType; private DescribeActiveOperationTaskRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.isHistory = builder.isHistory; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.region = builder.region; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static DescribeActiveOperationTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return isHistory */ public Integer getIsHistory() { return this.isHistory; } /** * @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 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 taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<DescribeActiveOperationTaskRequest, Builder> { private String regionId; private Integer isHistory; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String region; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String taskType; private Builder() { super(); } private Builder(DescribeActiveOperationTaskRequest request) { super(request); this.regionId = request.regionId; this.isHistory = request.isHistory; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.region = request.region; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.taskType = request.taskType; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>Specifies whether to return the historical tasks. Default value: 0. Valid values:</p> * <ul> * <li><strong>0</strong>: returns the current task.</li> * <li><strong>1</strong>: returns the historical tasks.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isHistory(Integer isHistory) { this.putQueryParameter("IsHistory", isHistory); this.isHistory = isHistory; 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 number of the page to return. The value must be an integer that is greater than <strong>0</strong>. 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. Specify a value greater than <strong>10</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; } /** * <p>The region ID of the O&amp;M task. You can call the <a href="https://help.aliyun.com/document_detail/473763.html">DescribeRegions</a> operation to query the most recent region list.</p> * <blockquote> * <p>A value of <strong>all</strong> indicates all region IDs.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>all</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 type of the O&amp;M task. Valid values:</p> * <ul> * <li><strong>rds_apsaradb_ha</strong>: master-replica switchover</li> * <li><strong>rds_apsaradb_transfer</strong>: instance migration</li> * <li><strong>rds_apsaradb_upgrade</strong>: minor version update</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public DescribeActiveOperationTaskRequest build() { return new DescribeActiveOperationTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeActiveOperationTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeActiveOperationTaskResponse} extends {@link TeaModel} * * <p>DescribeActiveOperationTaskResponse</p> */ public class DescribeActiveOperationTaskResponse 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 DescribeActiveOperationTaskResponseBody body; private DescribeActiveOperationTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeActiveOperationTaskResponse 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 DescribeActiveOperationTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeActiveOperationTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeActiveOperationTaskResponseBody body); @Override DescribeActiveOperationTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeActiveOperationTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeActiveOperationTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeActiveOperationTaskResponse 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(DescribeActiveOperationTaskResponseBody body) { this.body = body; return this; } @Override public DescribeActiveOperationTaskResponse build() { return new DescribeActiveOperationTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeActiveOperationTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeActiveOperationTaskResponseBody} extends {@link TeaModel} * * <p>DescribeActiveOperationTaskResponseBody</p> */ public class DescribeActiveOperationTaskResponseBody 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 DescribeActiveOperationTaskResponseBody(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 DescribeActiveOperationTaskResponseBody 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(DescribeActiveOperationTaskResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The list of O&amp;M tasks.</p> */ public Builder items(java.util.List<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(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2E1FF0CC-F42A-4B6F-A1F4-A17B1451****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of returned entries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeActiveOperationTaskResponseBody build() { return new DescribeActiveOperationTaskResponseBody(this); } } /** * * {@link DescribeActiveOperationTaskResponseBody} extends {@link TeaModel} * * <p>DescribeActiveOperationTaskResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreatedTime") private String createdTime; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("Deadline") private String deadline; @com.aliyun.core.annotation.NameInMap("Id") private Integer id; @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("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("SwitchTime") private String switchTime; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; private Items(Builder builder) { this.createdTime = builder.createdTime; this.dbType = builder.dbType; this.deadline = builder.deadline; this.id = builder.id; this.insName = builder.insName; this.modifiedTime = builder.modifiedTime; this.prepareInterval = builder.prepareInterval; this.region = builder.region; this.startTime = builder.startTime; this.status = builder.status; this.switchTime = builder.switchTime; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return createdTime */ public String getCreatedTime() { return this.createdTime; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return deadline */ public String getDeadline() { return this.deadline; } /** * @return id */ public Integer getId() { return this.id; } /** * @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 startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return switchTime */ public String getSwitchTime() { return this.switchTime; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder { private String createdTime; private String dbType; private String deadline; private Integer id; private String insName; private String modifiedTime; private String prepareInterval; private String region; private String startTime; private Integer status; private String switchTime; private String taskType; private Builder() { } private Builder(Items model) { this.createdTime = model.createdTime; this.dbType = model.dbType; this.deadline = model.deadline; this.id = model.id; this.insName = model.insName; this.modifiedTime = model.modifiedTime; this.prepareInterval = model.prepareInterval; this.region = model.region; this.startTime = model.startTime; this.status = model.status; this.switchTime = model.switchTime; this.taskType = model.taskType; } /** * <p>The time when the O&amp;M task was created. 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>2018-07-15 23:59:59</p> */ public Builder createdTime(String createdTime) { this.createdTime = createdTime; return this; } /** * <p>The database type of the instance. The return value is <strong>Redis</strong>.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The deadline before which the time to preform the O&amp;M task can be modified. The time in UTC is displayed in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format.</p> * * <strong>example:</strong> * <p>2018-07-19 23:59:59</p> */ public Builder deadline(String deadline) { this.deadline = deadline; return this; } /** * <p>The ID of the O&amp;M task.</p> * * <strong>example:</strong> * <p>114111</p> */ public Builder id(Integer id) { this.id = id; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1lgal1sdvxrz****</p> */ public Builder insName(String insName) { this.insName = insName; return this; } /** * <p>The time when the O&amp;M task was modified. 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>2018-07-19 14:00:00</p> */ public Builder modifiedTime(String modifiedTime) { this.modifiedTime = modifiedTime; return this; } /** * <p>The required preparation period between the task start time and the switchover time. The time is displayed in the <em>HH:mm:ss</em> format.</p> * * <strong>example:</strong> * <p>14:00:00</p> */ public Builder prepareInterval(String prepareInterval) { this.prepareInterval = prepareInterval; return this; } /** * <p>The region ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hanghzou</p> */ public Builder region(String region) { this.region = region; return this; } /** * <p>The time when the O&amp;M task was preformed. 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>2018-07-19 10:00:00</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the O&amp;M task. Valid values:</p> * <ul> * <li><strong>2</strong>: The task is waiting for users to specify a switchover time.</li> * <li><strong>3</strong>: The task is waiting to be performed.</li> * <li><strong>4</strong>: The task is being performed. If the task is in this state, the <strong>ModifyActiveOperationTask</strong> operation cannot be called to modify the scheduled switchover time.</li> * <li><strong>5</strong>: The task is performed.</li> * <li><strong>6</strong>: The task fails.</li> * <li><strong>7</strong>: The task is canceled.</li> * </ul> * * <strong>example:</strong> * <p>5</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The time when the system performs the switchover operation. 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>2018-07-19 14:00:00</p> */ public Builder switchTime(String switchTime) { this.switchTime = switchTime; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>rds_apsaradb_ha</strong>: master-replica switchover</li> * <li><strong>rds_apsaradb_transfer</strong>: instance migration</li> * <li><strong>rds_apsaradb_upgrade</strong>: minor version update</li> * <li><strong>all</strong>: all types</li> * </ul> * * <strong>example:</strong> * <p>rds_apsaradb_upgrade</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeActiveOperationTasksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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 events based on the settings of event cancellation. Default value: -1. Valid values:</p> * <ul> * <li><strong>-1</strong>: returns all events.</li> * <li><strong>0</strong>: returns only O&amp;M events that cannot be canceled.</li> * <li><strong>1</strong>: returns only O&amp;M events 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 events based on the settings of the switching time. Default value: -1. Valid values:</p> * <ul> * <li><strong>-1</strong>: returns all events.</li> * <li><strong>0</strong>: returns only O&amp;M events for which the switching time cannot be changed.</li> * <li><strong>-1</strong>: returns only O&amp;M events 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 type of task configuration change. Valid values:</p> * <ul> * <li><strong>all</strong> (default): The configurations of all O&amp;M tasks are changed.</li> * <li><strong>S0</strong>: The configurations of tasks initiated to fix exceptions are changed.</li> * <li><strong>S1</strong>: The configurations of system O&amp;M tasks are changed.</li> * </ul> * * <strong>example:</strong> * <p>all</p> */ public Builder changeLevel(String changeLevel) { this.putQueryParameter("ChangeLevel", changeLevel); this.changeLevel = changeLevel; return this; } /** * <p>The database type. Valid values: <strong>redis</strong></p> * * <strong>example:</strong> * <p>redis</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>r-wz96fzmpvpr2qnqnlb</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 Redis instances, set the value to Redis.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder productId(String productId) { this.putQueryParameter("ProductId", productId); this.productId = productId; return this; } /** * <p>The region ID of the O&amp;M task. You can call the <a href="https://help.aliyun.com/document_detail/473763.html">DescribeRegions</a> operation to query the most recent region list.</p> * <blockquote> * <p>A value of <strong>all</strong> indicates all region IDs.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-shanghai</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 an O&amp;M event. This parameter is used to filter returned tasks. Valid values:</p> * <ul> * <li><strong>-1</strong>: filters all events.</li> * <li><strong>3</strong>: filters pending events.</li> * <li><strong>4</strong>: filters in-progress events.</li> * <li><strong>5</strong>: filters successful events.</li> * <li><strong>6</strong>: filters failed events.</li> * <li><strong>7</strong>: filters canceled events.</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The type of the O&amp;M event. If this parameter is not specified, all types of O&amp;M events are queried.</p> * <p>Valid values:</p> * <ul> * <li>rds_apsradb_upgrade: minor version update</li> * <li>rds_apsaradb_ha: primary/secondary switchover</li> * <li>rds_apsaradb_ssl_update: SSL certificate update</li> * <li>rds_apsaradb_major_upgrade: major version upgrade</li> * <li>rds_apsradb_transfer: instance migration</li> * <li>rds_apsaradb_modify_config: network upgrade</li> * <li>rds_apsaradb_modify_config: instance parameter adjustment</li> * <li>rds_apsaradb_maxscale: proxy minor version update</li> * </ul> * * <strong>example:</strong> * <p>all</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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeActiveOperationTasksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeActiveOperationTasksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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 list of O&amp;M events.</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(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page. Default 25.</p> * * <strong>example:</strong> * <p>25</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2D9F3768-EDA9-4811-943E-42C8006E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of O&amp;M events 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 event can be canceled. The value 1 indicates that the event can be canceled. The value 0 indicates that the event 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&amp;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 O&amp;M task was created. 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>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 database type of the instance. The return value is <strong>Redis</strong>.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The version of the database engine.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder dbVersion(String dbVersion) { this.dbVersion = dbVersion; return this; } /** * <p>The deadline before which the time to preform the O&amp;M task can be modified. The time in UTC is displayed in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format.</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 O&amp;M event.</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>r-bp1lgal1sdvxrz****</p> */ public Builder insName(String insName) { this.insName = insName; return this; } /** * <p>The time when the O&amp;M task was modified. 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>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 switchover time. The time is displayed in the <em>HH:mm:ss</em> 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 instance.</p> * * <strong>example:</strong> * <p>cn-hanghzou</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 event is executed in the backend. The time must be in UTC. Format: YYYY-MM-DDTHH:mm:ssZ.</p> * * <strong>example:</strong> * <p>2018-05-30T00:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The status of the O&amp;M event. Valid values:</p> * <ul> * <li><strong>3</strong>: filters pending events.</li> * <li><strong>4</strong>: filters in-progress events.</li> * <li><strong>5</strong>: filters successful events.</li> * <li><strong>6</strong>: filters failed events.</li> * <li><strong>7</strong>: filters canceled events.</li> * </ul> * * <strong>example:</strong> * <p>5</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The list of sub-events.</p> */ public Builder subInsNames(java.util.List<String> subInsNames) { this.subInsNames = subInsNames; return this; } /** * <p>The time when the system performs the switchover operation. 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>2018-05-30T14:30:00Z</p> */ public Builder switchTime(String switchTime) { this.switchTime = switchTime; return this; } /** * <p>The O&amp;M event parameters.</p> * * <strong>example:</strong> * <p>{ * &quot;Action&quot;: &quot;UpgradeDBInstance&quot; * }</p> */ public Builder taskParams(String taskParams) { this.taskParams = taskParams; return this; } /** * <p>The type of the O&amp;M event.</p> * * <strong>example:</strong> * <p>rds_apsaradb_transfer</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The cause of the O&amp;M event.</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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAuditLogConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAuditLogConfigRequest} extends {@link RequestModel} * * <p>DescribeAuditLogConfigRequest</p> */ public class DescribeAuditLogConfigRequest extends Request { @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("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("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; private DescribeAuditLogConfigRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeAuditLogConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeAuditLogConfigRequest, Builder> { private String instanceId; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeAuditLogConfigRequest request) { super(request); this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * <p>The ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query the ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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 of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473779.html">DescribeInstanceAttribute</a> operation to query the region ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hanghzou</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeAuditLogConfigRequest build() { return new DescribeAuditLogConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAuditLogConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAuditLogConfigResponse} extends {@link TeaModel} * * <p>DescribeAuditLogConfigResponse</p> */ public class DescribeAuditLogConfigResponse 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 DescribeAuditLogConfigResponseBody body; private DescribeAuditLogConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeAuditLogConfigResponse 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 DescribeAuditLogConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeAuditLogConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeAuditLogConfigResponseBody body); @Override DescribeAuditLogConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeAuditLogConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeAuditLogConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeAuditLogConfigResponse 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(DescribeAuditLogConfigResponseBody body) { this.body = body; return this; } @Override public DescribeAuditLogConfigResponse build() { return new DescribeAuditLogConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAuditLogConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAuditLogConfigResponseBody} extends {@link TeaModel} * * <p>DescribeAuditLogConfigResponseBody</p> */ public class DescribeAuditLogConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DbAudit") private String dbAudit; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Retention") private String retention; private DescribeAuditLogConfigResponseBody(Builder builder) { this.dbAudit = builder.dbAudit; this.requestId = builder.requestId; this.retention = builder.retention; } public static Builder builder() { return new Builder(); } public static DescribeAuditLogConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dbAudit */ public String getDbAudit() { return this.dbAudit; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return retention */ public String getRetention() { return this.retention; } public static final class Builder { private String dbAudit; private String requestId; private String retention; private Builder() { } private Builder(DescribeAuditLogConfigResponseBody model) { this.dbAudit = model.dbAudit; this.requestId = model.requestId; this.retention = model.retention; } /** * <p>Indicates whether the audit log feature is enabled. Valid values:</p> * <ul> * <li><strong>true</strong>: enabled</li> * <li><strong>false</strong>: disabled</li> * </ul> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/473829.html">ModifyAuditLogConfig</a> operation to enable or disable the audit log feature for a Tair (Redis OSS-compatible) instance.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder dbAudit(String dbAudit) { this.dbAudit = dbAudit; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2BE6E619-A657-42E3-AD2D-18F8428A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The retention period of audit logs. Unit: days.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder retention(String retention) { this.retention = retention; return this; } public DescribeAuditLogConfigResponseBody build() { return new DescribeAuditLogConfigResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAuditRecordsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAuditRecordsRequest} extends {@link RequestModel} * * <p>DescribeAuditRecordsRequest</p> */ public class DescribeAuditRecordsRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountName") private String accountName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DatabaseName") private String databaseName; @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("HostAddress") private String hostAddress; @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("NodeId") private String nodeId; @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("QueryKeywords") private String queryKeywords; @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("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeAuditRecordsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.accountName = builder.accountName; this.databaseName = builder.databaseName; this.endTime = builder.endTime; this.hostAddress = builder.hostAddress; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.queryKeywords = builder.queryKeywords; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeAuditRecordsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return databaseName */ public String getDatabaseName() { return this.databaseName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return hostAddress */ public String getHostAddress() { return this.hostAddress; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @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 queryKeywords */ public String getQueryKeywords() { return this.queryKeywords; } /** * @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 startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeAuditRecordsRequest, Builder> { private String regionId; private String accountName; private String databaseName; private String endTime; private String hostAddress; private String instanceId; private String nodeId; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String queryKeywords; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String startTime; private Builder() { super(); } private Builder(DescribeAuditRecordsRequest request) { super(request); this.regionId = request.regionId; this.accountName = request.accountName; this.databaseName = request.databaseName; this.endTime = request.endTime; this.hostAddress = request.hostAddress; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.queryKeywords = request.queryKeywords; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.startTime = request.startTime; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The username of the account. If you do not specify this parameter, all accounts of the instance are queried.</p> * * <strong>example:</strong> * <p>demo</p> */ public Builder accountName(String accountName) { this.putQueryParameter("AccountName", accountName); this.accountName = accountName; return this; } /** * <p>The name of the database in the instance. If you do not specify this parameter, all databases are queried. Valid values: 0 to 255. 0 specifies database 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder databaseName(String databaseName) { this.putQueryParameter("DatabaseName", databaseName); this.databaseName = databaseName; 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 <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <blockquote> * <p>We recommend that you specify a time range of 10 minutes or less because audit logs contain a great number of entries. Do not specify a time range that is longer than one day.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-03-25T12:10:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The IP address of the client. If you do not specify this parameter, this call applies to all clients.</p> * * <strong>example:</strong> * <p>127.0.0.1</p> */ public Builder hostAddress(String hostAddress) { this.putQueryParameter("HostAddress", hostAddress); this.hostAddress = hostAddress; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The ID of the node in the instance. You can set this parameter to query the monitoring data of a specified node.</p> * <blockquote> * </blockquote> * <ul> * <li><p>This parameter is available only for read/write splitting and cluster instances.</p> * </li> * <li><p>You can call the <a href="https://help.aliyun.com/document_detail/473786.html">DescribeLogicInstanceTopology</a> operation to query node IDs.</p> * </li> * </ul> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); this.nodeId = nodeId; 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 number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The keyword based on which the audit logs are queried. You can specify a command as a keyword to query logs. By default, all commands are queried.</p> * <blockquote> * <p>You can specify only a single keyword in each call.</p> * </blockquote> * * <strong>example:</strong> * <p>maxclients</p> */ public Builder queryKeywords(String queryKeywords) { this.putQueryParameter("QueryKeywords", queryKeywords); this.queryKeywords = queryKeywords; 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 beginning of the time range to query. Specify the time 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>2019-03-24T12:10:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeAuditRecordsRequest build() { return new DescribeAuditRecordsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAuditRecordsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAuditRecordsResponse} extends {@link TeaModel} * * <p>DescribeAuditRecordsResponse</p> */ public class DescribeAuditRecordsResponse 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 DescribeAuditRecordsResponseBody body; private DescribeAuditRecordsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeAuditRecordsResponse 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 DescribeAuditRecordsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeAuditRecordsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeAuditRecordsResponseBody body); @Override DescribeAuditRecordsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeAuditRecordsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeAuditRecordsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeAuditRecordsResponse 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(DescribeAuditRecordsResponseBody body) { this.body = body; return this; } @Override public DescribeAuditRecordsResponse build() { return new DescribeAuditRecordsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAuditRecordsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAuditRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeAuditRecordsResponseBody</p> */ public class DescribeAuditRecordsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("Items") private 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("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeAuditRecordsResponseBody(Builder builder) { this.endTime = builder.endTime; this.instanceName = builder.instanceName; this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.startTime = builder.startTime; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeAuditRecordsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return items */ public 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 startTime */ public String getStartTime() { return this.startTime; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private String endTime; private String instanceName; private Items items; private Integer pageNumber; private Integer pageSize; private String requestId; private String startTime; private Integer totalRecordCount; private Builder() { } private Builder(DescribeAuditRecordsResponseBody model) { this.endTime = model.endTime; this.instanceName = model.instanceName; this.items = model.items; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.startTime = model.startTime; this.totalRecordCount = model.totalRecordCount; } /** * <p>The end time of the query.</p> * * <strong>example:</strong> * <p>2019-03-25T12:10:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The name of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The collection of returned audit log entries.</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(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>9F5EB478-824E-4AC4-8D2B-58F31A02****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The start time of the query.</p> * * <strong>example:</strong> * <p>2019-03-24T12:10:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The total number of returned entries.</p> * * <strong>example:</strong> * <p>22222</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeAuditRecordsResponseBody build() { return new DescribeAuditRecordsResponseBody(this); } } /** * * {@link DescribeAuditRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeAuditRecordsResponseBody</p> */ public static class SQL extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountName") private String accountName; @com.aliyun.core.annotation.NameInMap("DatabaseName") private String databaseName; @com.aliyun.core.annotation.NameInMap("ExecuteTime") private String executeTime; @com.aliyun.core.annotation.NameInMap("HostAddress") private String hostAddress; @com.aliyun.core.annotation.NameInMap("IPAddress") private String IPAddress; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("SQLText") private String SQLText; @com.aliyun.core.annotation.NameInMap("SQLType") private String SQLType; @com.aliyun.core.annotation.NameInMap("TotalExecutionTimes") private String totalExecutionTimes; private SQL(Builder builder) { this.accountName = builder.accountName; this.databaseName = builder.databaseName; this.executeTime = builder.executeTime; this.hostAddress = builder.hostAddress; this.IPAddress = builder.IPAddress; this.nodeId = builder.nodeId; this.SQLText = builder.SQLText; this.SQLType = builder.SQLType; this.totalExecutionTimes = builder.totalExecutionTimes; } public static Builder builder() { return new Builder(); } public static SQL create() { return builder().build(); } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return databaseName */ public String getDatabaseName() { return this.databaseName; } /** * @return executeTime */ public String getExecuteTime() { return this.executeTime; } /** * @return hostAddress */ public String getHostAddress() { return this.hostAddress; } /** * @return IPAddress */ public String getIPAddress() { return this.IPAddress; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return SQLText */ public String getSQLText() { return this.SQLText; } /** * @return SQLType */ public String getSQLType() { return this.SQLType; } /** * @return totalExecutionTimes */ public String getTotalExecutionTimes() { return this.totalExecutionTimes; } public static final class Builder { private String accountName; private String databaseName; private String executeTime; private String hostAddress; private String IPAddress; private String nodeId; private String SQLText; private String SQLType; private String totalExecutionTimes; private Builder() { } private Builder(SQL model) { this.accountName = model.accountName; this.databaseName = model.databaseName; this.executeTime = model.executeTime; this.hostAddress = model.hostAddress; this.IPAddress = model.IPAddress; this.nodeId = model.nodeId; this.SQLText = model.SQLText; this.SQLType = model.SQLType; this.totalExecutionTimes = model.totalExecutionTimes; } /** * <p>The username of the account.</p> * * <strong>example:</strong> * <p>demo</p> */ public Builder accountName(String accountName) { this.accountName = accountName; return this; } /** * <p>The database name.</p> * * <strong>example:</strong> * <p>demo</p> */ public Builder databaseName(String databaseName) { this.databaseName = databaseName; return this; } /** * <p>The time when the command was run.</p> * * <strong>example:</strong> * <p>2019-03-25T03:22:08Z</p> */ public Builder executeTime(String executeTime) { this.executeTime = executeTime; return this; } /** * <p>The IP address of the client.</p> * * <strong>example:</strong> * <p>127.0.0.1</p> */ public Builder hostAddress(String hostAddress) { this.hostAddress = hostAddress; return this; } /** * <p>The IP address of the instance.</p> * * <strong>example:</strong> * <p>192.16.100.***</p> */ public Builder IPAddress(String IPAddress) { this.IPAddress = IPAddress; return this; } /** * <p>The ID of the node.</p> * <blockquote> * <p>A specific node ID is returned only if the instance uses the cluster or read/write splitting architecture.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The command that was run.</p> * * <strong>example:</strong> * <p>CONFIG GET maxmemory</p> */ public Builder SQLText(String SQLText) { this.SQLText = SQLText; return this; } /** * <p>The type of the command.</p> * * <strong>example:</strong> * <p>non_read_write</p> */ public Builder SQLType(String SQLType) { this.SQLType = SQLType; return this; } /** * <p>The amount of time consumed to run the command.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder totalExecutionTimes(String totalExecutionTimes) { this.totalExecutionTimes = totalExecutionTimes; return this; } public SQL build() { return new SQL(this); } } } /** * * {@link DescribeAuditRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeAuditRecordsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("SQL") private java.util.List<SQL> SQL; private Items(Builder builder) { this.SQL = builder.SQL; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return SQL */ public java.util.List<SQL> getSQL() { return this.SQL; } public static final class Builder { private java.util.List<SQL> SQL; private Builder() { } private Builder(Items model) { this.SQL = model.SQL; } /** * SQL. */ public Builder SQL(java.util.List<SQL> SQL) { this.SQL = SQL; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAvailableResourceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAvailableResourceRequest} extends {@link RequestModel} * * <p>DescribeAvailableResourceRequest</p> */ public class DescribeAvailableResourceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AcceptLanguage") private String acceptLanguage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceChargeType") private String instanceChargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceScene") private String instanceScene; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderType") private String orderType; @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("ProductType") private String productType; @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("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeAvailableResourceRequest(Builder builder) { super(builder); this.acceptLanguage = builder.acceptLanguage; this.engine = builder.engine; this.instanceChargeType = builder.instanceChargeType; this.instanceId = builder.instanceId; this.instanceScene = builder.instanceScene; this.nodeId = builder.nodeId; this.orderType = builder.orderType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.productType = builder.productType; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeAvailableResourceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return acceptLanguage */ public String getAcceptLanguage() { return this.acceptLanguage; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return instanceChargeType */ public String getInstanceChargeType() { return this.instanceChargeType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceScene */ public String getInstanceScene() { return this.instanceScene; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return orderType */ public String getOrderType() { return this.orderType; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return productType */ public String getProductType() { return this.productType; } /** * @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 securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeAvailableResourceRequest, Builder> { private String acceptLanguage; private String engine; private String instanceChargeType; private String instanceId; private String instanceScene; private String nodeId; private String orderType; private String ownerAccount; private Long ownerId; private String productType; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String zoneId; private Builder() { super(); } private Builder(DescribeAvailableResourceRequest request) { super(request); this.acceptLanguage = request.acceptLanguage; this.engine = request.engine; this.instanceChargeType = request.instanceChargeType; this.instanceId = request.instanceId; this.instanceScene = request.instanceScene; this.nodeId = request.nodeId; this.orderType = request.orderType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.productType = request.productType; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.zoneId = request.zoneId; } /** * <p>The display language of the response. Valid values:</p> * <ul> * <li><strong>zh-CN</strong>: Chinese. This is the default value.</li> * <li><strong>en-US</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh-CN</p> */ public Builder acceptLanguage(String acceptLanguage) { this.putQueryParameter("AcceptLanguage", acceptLanguage); this.acceptLanguage = acceptLanguage; return this; } /** * <p>The database engine of the instance. Valid values:</p> * <ul> * <li><strong>Redis</strong></li> * <li><strong>Memcache</strong></li> * </ul> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The billing method. Valid values:</p> * <ul> * <li><strong>PrePaid</strong> (default): subscription</li> * <li><strong>PostPaid</strong>: pay-as-you-go</li> * </ul> * * <strong>example:</strong> * <p>PrePaid</p> */ public Builder instanceChargeType(String instanceChargeType) { this.putQueryParameter("InstanceChargeType", instanceChargeType); this.instanceChargeType = instanceChargeType; return this; } /** * <p>The ID of the instance.</p> * <blockquote> * <p>This parameter is available and required only if the <strong>OrderType</strong> parameter is set to <strong>UPGRADE</strong> or <strong>DOWNGRADE</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The edition of the instance. Valid values:</p> * <ul> * <li><strong>professional</strong>: Standard Edition. This edition supports the standalone, master-replica, read /write splitting, and cluster architectures and provides high scalability.</li> * </ul> * * <strong>example:</strong> * <p>professional</p> */ public Builder instanceScene(String instanceScene) { this.putQueryParameter("InstanceScene", instanceScene); this.instanceScene = instanceScene; return this; } /** * <p>The ID of the data node for which you want to query available resources that can be created. You can call the <a href="https://help.aliyun.com/document_detail/473786.html">DescribeLogicInstanceTopology</a> operation to query the ID of the data node. Remove the number sign (<code>#</code>) and the content that follows the number sign. For example, retain only r-bp10noxlhcoim2****-db-0.</p> * <blockquote> * <p>Before you specify this parameter, you must set the <strong>InstanceId</strong> parameter to the ID of an instance that uses the cluster or read/write splitting architecture.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); this.nodeId = nodeId; return this; } /** * <p>The order type. Valid values:</p> * <ul> * <li><strong>BUY</strong> (default): orders that are used to create instances</li> * <li><strong>UPGRADE</strong>: orders that are used to upgrade instances</li> * <li><strong>DOWNGRADE</strong>: orders that are used to downgrade instances</li> * </ul> * * <strong>example:</strong> * <p>BUY</p> */ public Builder orderType(String orderType) { this.putQueryParameter("OrderType", orderType); this.orderType = orderType; 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 instance type. Default value: Local. Valid values:</p> * <ul> * <li><strong>Local</strong>: classic Redis Open-Source Edition instance or classic DRAM-based instance</li> * <li><strong>Tair_rdb</strong>: cloud-native DRAM-based instance</li> * <li><strong>Tair_scm</strong>: persistent memory-optimized instance</li> * <li><strong>Tair_essd</strong>: ESSD/SSD-based instance</li> * <li><strong>OnECS</strong>: cloud-native Redis Open-Source Edition instance</li> * </ul> * <blockquote> * <p> The default value of this parameter is Local. To query disk resources, you must specify the instance type that provides the required disk resources.</p> * </blockquote> * * <strong>example:</strong> * <p>Local</p> */ public Builder productType(String productType) { this.putQueryParameter("ProductType", productType); this.productType = productType; return this; } /** * <p>The region ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473763.html">DescribeRegions</a> 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 ID of the resource group to which the instance belongs. You can call the <a href="https://help.aliyun.com/document_detail/158855.html">ListResourceGroups</a> operation to query the IDs of resource groups.</p> * <blockquote> * <p> You can also query the IDs of resource groups in the Resource Management console. For more information, see <a href="https://help.aliyun.com/document_detail/151181.html">View basic information about a resource group</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>rg-acfmyiu4e******</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The zone ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473764.html">DescribeZones</a> operation to query the most recent zone list.</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 DescribeAvailableResourceRequest build() { return new DescribeAvailableResourceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAvailableResourceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAvailableResourceResponse} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponse</p> */ public class DescribeAvailableResourceResponse 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 DescribeAvailableResourceResponseBody body; private DescribeAvailableResourceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeAvailableResourceResponse 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 DescribeAvailableResourceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeAvailableResourceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeAvailableResourceResponseBody body); @Override DescribeAvailableResourceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeAvailableResourceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeAvailableResourceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeAvailableResourceResponse 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(DescribeAvailableResourceResponseBody body) { this.body = body; return this; } @Override public DescribeAvailableResourceResponse build() { return new DescribeAvailableResourceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeAvailableResourceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public class DescribeAvailableResourceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableZones") private AvailableZones availableZones; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeAvailableResourceResponseBody(Builder builder) { this.availableZones = builder.availableZones; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeAvailableResourceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return availableZones */ public AvailableZones getAvailableZones() { return this.availableZones; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private AvailableZones availableZones; private String requestId; private Builder() { } private Builder(DescribeAvailableResourceResponseBody model) { this.availableZones = model.availableZones; this.requestId = model.requestId; } /** * <p>Details about the zones.</p> */ public Builder availableZones(AvailableZones availableZones) { this.availableZones = availableZones; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>493B7308-D9C2-55F6-B042-0313BD63****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeAvailableResourceResponseBody build() { return new DescribeAvailableResourceResponseBody(this); } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class AvailableResource extends TeaModel { @com.aliyun.core.annotation.NameInMap("Capacity") private Long capacity; @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.NameInMap("InstanceClassRemark") private String instanceClassRemark; private AvailableResource(Builder builder) { this.capacity = builder.capacity; this.instanceClass = builder.instanceClass; this.instanceClassRemark = builder.instanceClassRemark; } public static Builder builder() { return new Builder(); } public static AvailableResource create() { return builder().build(); } /** * @return capacity */ public Long getCapacity() { return this.capacity; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceClassRemark */ public String getInstanceClassRemark() { return this.instanceClassRemark; } public static final class Builder { private Long capacity; private String instanceClass; private String instanceClassRemark; private Builder() { } private Builder(AvailableResource model) { this.capacity = model.capacity; this.instanceClass = model.instanceClass; this.instanceClassRemark = model.instanceClassRemark; } /** * <p>The memory size of the instance. Unit: MB.</p> * * <strong>example:</strong> * <p>16384</p> */ public Builder capacity(Long capacity) { this.capacity = capacity; return this; } /** * <p>The code of the instance type. If you want to view the code of an instance type, you can search for the code of the instance type in Help Center.</p> * * <strong>example:</strong> * <p>redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread</p> */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * <p>The description of the instance type.</p> * * <strong>example:</strong> * <p>16 GB cluster instance with 8 nodes (1,920,000 queries per second and 240,000 connections)</p> */ public Builder instanceClassRemark(String instanceClassRemark) { this.instanceClassRemark = instanceClassRemark; return this; } public AvailableResource build() { return new AvailableResource(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class AvailableResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableResource") private java.util.List<AvailableResource> availableResource; private AvailableResources(Builder builder) { this.availableResource = builder.availableResource; } public static Builder builder() { return new Builder(); } public static AvailableResources create() { return builder().build(); } /** * @return availableResource */ public java.util.List<AvailableResource> getAvailableResource() { return this.availableResource; } public static final class Builder { private java.util.List<AvailableResource> availableResource; private Builder() { } private Builder(AvailableResources model) { this.availableResource = model.availableResource; } /** * AvailableResource. */ public Builder availableResource(java.util.List<AvailableResource> availableResource) { this.availableResource = availableResource; return this; } public AvailableResources build() { return new AvailableResources(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedNodeType extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableResources") private AvailableResources availableResources; @com.aliyun.core.annotation.NameInMap("SupportedNodeType") private String supportedNodeType; private SupportedNodeType(Builder builder) { this.availableResources = builder.availableResources; this.supportedNodeType = builder.supportedNodeType; } public static Builder builder() { return new Builder(); } public static SupportedNodeType create() { return builder().build(); } /** * @return availableResources */ public AvailableResources getAvailableResources() { return this.availableResources; } /** * @return supportedNodeType */ public String getSupportedNodeType() { return this.supportedNodeType; } public static final class Builder { private AvailableResources availableResources; private String supportedNodeType; private Builder() { } private Builder(SupportedNodeType model) { this.availableResources = model.availableResources; this.supportedNodeType = model.supportedNodeType; } /** * <p>The available instance types.</p> */ public Builder availableResources(AvailableResources availableResources) { this.availableResources = availableResources; return this; } /** * <p>The node type of the instance. Valid values:</p> * <ul> * <li><strong>single</strong>: standalone</li> * <li><strong>double</strong>: master-replica</li> * </ul> * * <strong>example:</strong> * <p>double</p> */ public Builder supportedNodeType(String supportedNodeType) { this.supportedNodeType = supportedNodeType; return this; } public SupportedNodeType build() { return new SupportedNodeType(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedNodeTypes extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedNodeType") private java.util.List<SupportedNodeType> supportedNodeType; private SupportedNodeTypes(Builder builder) { this.supportedNodeType = builder.supportedNodeType; } public static Builder builder() { return new Builder(); } public static SupportedNodeTypes create() { return builder().build(); } /** * @return supportedNodeType */ public java.util.List<SupportedNodeType> getSupportedNodeType() { return this.supportedNodeType; } public static final class Builder { private java.util.List<SupportedNodeType> supportedNodeType; private Builder() { } private Builder(SupportedNodeTypes model) { this.supportedNodeType = model.supportedNodeType; } /** * <p>The node type of the instance. Valid values:</p> * <ul> * <li><strong>single</strong>: standalone</li> * <li><strong>double</strong>: master-replica</li> * </ul> * * <strong>example:</strong> * <p>double</p> */ public Builder supportedNodeType(java.util.List<SupportedNodeType> supportedNodeType) { this.supportedNodeType = supportedNodeType; return this; } public SupportedNodeTypes build() { return new SupportedNodeTypes(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedShardNumber extends TeaModel { @com.aliyun.core.annotation.NameInMap("ShardNumber") private String shardNumber; @com.aliyun.core.annotation.NameInMap("SupportedNodeTypes") private SupportedNodeTypes supportedNodeTypes; private SupportedShardNumber(Builder builder) { this.shardNumber = builder.shardNumber; this.supportedNodeTypes = builder.supportedNodeTypes; } public static Builder builder() { return new Builder(); } public static SupportedShardNumber create() { return builder().build(); } /** * @return shardNumber */ public String getShardNumber() { return this.shardNumber; } /** * @return supportedNodeTypes */ public SupportedNodeTypes getSupportedNodeTypes() { return this.supportedNodeTypes; } public static final class Builder { private String shardNumber; private SupportedNodeTypes supportedNodeTypes; private Builder() { } private Builder(SupportedShardNumber model) { this.shardNumber = model.shardNumber; this.supportedNodeTypes = model.supportedNodeTypes; } /** * <p>The number of shards.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder shardNumber(String shardNumber) { this.shardNumber = shardNumber; return this; } /** * <p>The supported node types.</p> */ public Builder supportedNodeTypes(SupportedNodeTypes supportedNodeTypes) { this.supportedNodeTypes = supportedNodeTypes; return this; } public SupportedShardNumber build() { return new SupportedShardNumber(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedShardNumbers extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedShardNumber") private java.util.List<SupportedShardNumber> supportedShardNumber; private SupportedShardNumbers(Builder builder) { this.supportedShardNumber = builder.supportedShardNumber; } public static Builder builder() { return new Builder(); } public static SupportedShardNumbers create() { return builder().build(); } /** * @return supportedShardNumber */ public java.util.List<SupportedShardNumber> getSupportedShardNumber() { return this.supportedShardNumber; } public static final class Builder { private java.util.List<SupportedShardNumber> supportedShardNumber; private Builder() { } private Builder(SupportedShardNumbers model) { this.supportedShardNumber = model.supportedShardNumber; } /** * SupportedShardNumber. */ public Builder supportedShardNumber(java.util.List<SupportedShardNumber> supportedShardNumber) { this.supportedShardNumber = supportedShardNumber; return this; } public SupportedShardNumbers build() { return new SupportedShardNumbers(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedArchitectureType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Architecture") private String architecture; @com.aliyun.core.annotation.NameInMap("SupportedShardNumbers") private SupportedShardNumbers supportedShardNumbers; private SupportedArchitectureType(Builder builder) { this.architecture = builder.architecture; this.supportedShardNumbers = builder.supportedShardNumbers; } public static Builder builder() { return new Builder(); } public static SupportedArchitectureType create() { return builder().build(); } /** * @return architecture */ public String getArchitecture() { return this.architecture; } /** * @return supportedShardNumbers */ public SupportedShardNumbers getSupportedShardNumbers() { return this.supportedShardNumbers; } public static final class Builder { private String architecture; private SupportedShardNumbers supportedShardNumbers; private Builder() { } private Builder(SupportedArchitectureType model) { this.architecture = model.architecture; this.supportedShardNumbers = model.supportedShardNumbers; } /** * <p>The architecture of the instance. Valid values:</p> * <ul> * <li><strong>standard</strong>: standard architecture</li> * <li><strong>cluster</strong>: cluster architecture</li> * <li><strong>rwsplit</strong>: read/write splitting architecture</li> * </ul> * * <strong>example:</strong> * <p>cluster</p> */ public Builder architecture(String architecture) { this.architecture = architecture; return this; } /** * <p>The numbers of available shards.</p> */ public Builder supportedShardNumbers(SupportedShardNumbers supportedShardNumbers) { this.supportedShardNumbers = supportedShardNumbers; return this; } public SupportedArchitectureType build() { return new SupportedArchitectureType(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedArchitectureTypes extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedArchitectureType") private java.util.List<SupportedArchitectureType> supportedArchitectureType; private SupportedArchitectureTypes(Builder builder) { this.supportedArchitectureType = builder.supportedArchitectureType; } public static Builder builder() { return new Builder(); } public static SupportedArchitectureTypes create() { return builder().build(); } /** * @return supportedArchitectureType */ public java.util.List<SupportedArchitectureType> getSupportedArchitectureType() { return this.supportedArchitectureType; } public static final class Builder { private java.util.List<SupportedArchitectureType> supportedArchitectureType; private Builder() { } private Builder(SupportedArchitectureTypes model) { this.supportedArchitectureType = model.supportedArchitectureType; } /** * SupportedArchitectureType. */ public Builder supportedArchitectureType(java.util.List<SupportedArchitectureType> supportedArchitectureType) { this.supportedArchitectureType = supportedArchitectureType; return this; } public SupportedArchitectureTypes build() { return new SupportedArchitectureTypes(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedEngineVersion extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedArchitectureTypes") private SupportedArchitectureTypes supportedArchitectureTypes; @com.aliyun.core.annotation.NameInMap("Version") private String version; private SupportedEngineVersion(Builder builder) { this.supportedArchitectureTypes = builder.supportedArchitectureTypes; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static SupportedEngineVersion create() { return builder().build(); } /** * @return supportedArchitectureTypes */ public SupportedArchitectureTypes getSupportedArchitectureTypes() { return this.supportedArchitectureTypes; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private SupportedArchitectureTypes supportedArchitectureTypes; private String version; private Builder() { } private Builder(SupportedEngineVersion model) { this.supportedArchitectureTypes = model.supportedArchitectureTypes; this.version = model.version; } /** * <p>The available architectures.</p> */ public Builder supportedArchitectureTypes(SupportedArchitectureTypes supportedArchitectureTypes) { this.supportedArchitectureTypes = supportedArchitectureTypes; return this; } /** * <p>The engine version of the instance.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder version(String version) { this.version = version; return this; } public SupportedEngineVersion build() { return new SupportedEngineVersion(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedEngineVersions extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedEngineVersion") private java.util.List<SupportedEngineVersion> supportedEngineVersion; private SupportedEngineVersions(Builder builder) { this.supportedEngineVersion = builder.supportedEngineVersion; } public static Builder builder() { return new Builder(); } public static SupportedEngineVersions create() { return builder().build(); } /** * @return supportedEngineVersion */ public java.util.List<SupportedEngineVersion> getSupportedEngineVersion() { return this.supportedEngineVersion; } public static final class Builder { private java.util.List<SupportedEngineVersion> supportedEngineVersion; private Builder() { } private Builder(SupportedEngineVersions model) { this.supportedEngineVersion = model.supportedEngineVersion; } /** * SupportedEngineVersion. */ public Builder supportedEngineVersion(java.util.List<SupportedEngineVersion> supportedEngineVersion) { this.supportedEngineVersion = supportedEngineVersion; return this; } public SupportedEngineVersions build() { return new SupportedEngineVersions(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedSeriesType extends TeaModel { @com.aliyun.core.annotation.NameInMap("SeriesType") private String seriesType; @com.aliyun.core.annotation.NameInMap("SupportedEngineVersions") private SupportedEngineVersions supportedEngineVersions; private SupportedSeriesType(Builder builder) { this.seriesType = builder.seriesType; this.supportedEngineVersions = builder.supportedEngineVersions; } public static Builder builder() { return new Builder(); } public static SupportedSeriesType create() { return builder().build(); } /** * @return seriesType */ public String getSeriesType() { return this.seriesType; } /** * @return supportedEngineVersions */ public SupportedEngineVersions getSupportedEngineVersions() { return this.supportedEngineVersions; } public static final class Builder { private String seriesType; private SupportedEngineVersions supportedEngineVersions; private Builder() { } private Builder(SupportedSeriesType model) { this.seriesType = model.seriesType; this.supportedEngineVersions = model.supportedEngineVersions; } /** * <p>The instance series. Valid values:</p> * <ul> * <li><strong>enhanced_performance_type</strong>: Tair (Enterprise Edition) DRAM-based instance</li> * <li><strong>hybrid_storage</strong>: Redis Open-Source Edition hybrid-storage instance</li> * </ul> * * <strong>example:</strong> * <p>enhanced_performance_type</p> */ public Builder seriesType(String seriesType) { this.seriesType = seriesType; return this; } /** * <p>The available engine versions.</p> */ public Builder supportedEngineVersions(SupportedEngineVersions supportedEngineVersions) { this.supportedEngineVersions = supportedEngineVersions; return this; } public SupportedSeriesType build() { return new SupportedSeriesType(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedSeriesTypes extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedSeriesType") private java.util.List<SupportedSeriesType> supportedSeriesType; private SupportedSeriesTypes(Builder builder) { this.supportedSeriesType = builder.supportedSeriesType; } public static Builder builder() { return new Builder(); } public static SupportedSeriesTypes create() { return builder().build(); } /** * @return supportedSeriesType */ public java.util.List<SupportedSeriesType> getSupportedSeriesType() { return this.supportedSeriesType; } public static final class Builder { private java.util.List<SupportedSeriesType> supportedSeriesType; private Builder() { } private Builder(SupportedSeriesTypes model) { this.supportedSeriesType = model.supportedSeriesType; } /** * SupportedSeriesType. */ public Builder supportedSeriesType(java.util.List<SupportedSeriesType> supportedSeriesType) { this.supportedSeriesType = supportedSeriesType; return this; } public SupportedSeriesTypes build() { return new SupportedSeriesTypes(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedEditionType extends TeaModel { @com.aliyun.core.annotation.NameInMap("EditionType") private String editionType; @com.aliyun.core.annotation.NameInMap("SupportedSeriesTypes") private SupportedSeriesTypes supportedSeriesTypes; private SupportedEditionType(Builder builder) { this.editionType = builder.editionType; this.supportedSeriesTypes = builder.supportedSeriesTypes; } public static Builder builder() { return new Builder(); } public static SupportedEditionType create() { return builder().build(); } /** * @return editionType */ public String getEditionType() { return this.editionType; } /** * @return supportedSeriesTypes */ public SupportedSeriesTypes getSupportedSeriesTypes() { return this.supportedSeriesTypes; } public static final class Builder { private String editionType; private SupportedSeriesTypes supportedSeriesTypes; private Builder() { } private Builder(SupportedEditionType model) { this.editionType = model.editionType; this.supportedSeriesTypes = model.supportedSeriesTypes; } /** * <p>The edition of the instance. Valid values:</p> * <ul> * <li><strong>Community</strong>: Community Edition</li> * <li><strong>Enterprise</strong>: Enhanced Edition (Tair)</li> * </ul> * * <strong>example:</strong> * <p>Enterprise</p> */ public Builder editionType(String editionType) { this.editionType = editionType; return this; } /** * <p>The instance series types.</p> */ public Builder supportedSeriesTypes(SupportedSeriesTypes supportedSeriesTypes) { this.supportedSeriesTypes = supportedSeriesTypes; return this; } public SupportedEditionType build() { return new SupportedEditionType(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedEditionTypes extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedEditionType") private java.util.List<SupportedEditionType> supportedEditionType; private SupportedEditionTypes(Builder builder) { this.supportedEditionType = builder.supportedEditionType; } public static Builder builder() { return new Builder(); } public static SupportedEditionTypes create() { return builder().build(); } /** * @return supportedEditionType */ public java.util.List<SupportedEditionType> getSupportedEditionType() { return this.supportedEditionType; } public static final class Builder { private java.util.List<SupportedEditionType> supportedEditionType; private Builder() { } private Builder(SupportedEditionTypes model) { this.supportedEditionType = model.supportedEditionType; } /** * SupportedEditionType. */ public Builder supportedEditionType(java.util.List<SupportedEditionType> supportedEditionType) { this.supportedEditionType = supportedEditionType; return this; } public SupportedEditionTypes build() { return new SupportedEditionTypes(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedEngine extends TeaModel { @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("SupportedEditionTypes") private SupportedEditionTypes supportedEditionTypes; private SupportedEngine(Builder builder) { this.engine = builder.engine; this.supportedEditionTypes = builder.supportedEditionTypes; } public static Builder builder() { return new Builder(); } public static SupportedEngine create() { return builder().build(); } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return supportedEditionTypes */ public SupportedEditionTypes getSupportedEditionTypes() { return this.supportedEditionTypes; } public static final class Builder { private String engine; private SupportedEditionTypes supportedEditionTypes; private Builder() { } private Builder(SupportedEngine model) { this.engine = model.engine; this.supportedEditionTypes = model.supportedEditionTypes; } /** * <p>The database engine of the instance.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The instance edition types.</p> */ public Builder supportedEditionTypes(SupportedEditionTypes supportedEditionTypes) { this.supportedEditionTypes = supportedEditionTypes; return this; } public SupportedEngine build() { return new SupportedEngine(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class SupportedEngines extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedEngine") private java.util.List<SupportedEngine> supportedEngine; private SupportedEngines(Builder builder) { this.supportedEngine = builder.supportedEngine; } public static Builder builder() { return new Builder(); } public static SupportedEngines create() { return builder().build(); } /** * @return supportedEngine */ public java.util.List<SupportedEngine> getSupportedEngine() { return this.supportedEngine; } public static final class Builder { private java.util.List<SupportedEngine> supportedEngine; private Builder() { } private Builder(SupportedEngines model) { this.supportedEngine = model.supportedEngine; } /** * SupportedEngine. */ public Builder supportedEngine(java.util.List<SupportedEngine> supportedEngine) { this.supportedEngine = supportedEngine; return this; } public SupportedEngines build() { return new SupportedEngines(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class AvailableZone extends TeaModel { @com.aliyun.core.annotation.NameInMap("IsMainSale") private Boolean isMainSale; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("SupportedEngines") private SupportedEngines supportedEngines; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; @com.aliyun.core.annotation.NameInMap("ZoneName") private String zoneName; private AvailableZone(Builder builder) { this.isMainSale = builder.isMainSale; this.regionId = builder.regionId; this.supportedEngines = builder.supportedEngines; this.zoneId = builder.zoneId; this.zoneName = builder.zoneName; } public static Builder builder() { return new Builder(); } public static AvailableZone create() { return builder().build(); } /** * @return isMainSale */ public Boolean getIsMainSale() { return this.isMainSale; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return supportedEngines */ public SupportedEngines getSupportedEngines() { return this.supportedEngines; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } /** * @return zoneName */ public String getZoneName() { return this.zoneName; } public static final class Builder { private Boolean isMainSale; private String regionId; private SupportedEngines supportedEngines; private String zoneId; private String zoneName; private Builder() { } private Builder(AvailableZone model) { this.isMainSale = model.isMainSale; this.regionId = model.regionId; this.supportedEngines = model.supportedEngines; this.zoneId = model.zoneId; this.zoneName = model.zoneName; } /** * <p>An internal parameter.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isMainSale(Boolean isMainSale) { this.isMainSale = isMainSale; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The supported engines.</p> */ public Builder supportedEngines(SupportedEngines supportedEngines) { this.supportedEngines = supportedEngines; return this; } /** * <p>The ID of the zone in which the instance is located.</p> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } /** * <p>The name of the zone.</p> * * <strong>example:</strong> * <p>Hangzhou Zone H</p> */ public Builder zoneName(String zoneName) { this.zoneName = zoneName; return this; } public AvailableZone build() { return new AvailableZone(this); } } } /** * * {@link DescribeAvailableResourceResponseBody} extends {@link TeaModel} * * <p>DescribeAvailableResourceResponseBody</p> */ public static class AvailableZones extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableZone") private java.util.List<AvailableZone> availableZone; private AvailableZones(Builder builder) { this.availableZone = builder.availableZone; } public static Builder builder() { return new Builder(); } public static AvailableZones create() { return builder().build(); } /** * @return availableZone */ public java.util.List<AvailableZone> getAvailableZone() { return this.availableZone; } public static final class Builder { private java.util.List<AvailableZone> availableZone; private Builder() { } private Builder(AvailableZones model) { this.availableZone = model.availableZone; } /** * AvailableZone. */ public Builder availableZone(java.util.List<AvailableZone> availableZone) { this.availableZone = availableZone; return this; } public AvailableZones build() { return new AvailableZones(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupPolicyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeBackupPolicyRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeBackupPolicyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeBackupPolicyRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeBackupPolicyRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeBackupPolicyRequest build() { return new DescribeBackupPolicyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupPolicyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupPolicyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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("AccessDeniedDetail") private AccessDeniedDetail accessDeniedDetail; @com.aliyun.core.annotation.NameInMap("BackupRetentionPeriod") private String backupRetentionPeriod; @com.aliyun.core.annotation.NameInMap("DbsInstance") private String dbsInstance; @com.aliyun.core.annotation.NameInMap("EnableBackupLog") private Integer enableBackupLog; @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("RequestId") private String requestId; private DescribeBackupPolicyResponseBody(Builder builder) { this.accessDeniedDetail = builder.accessDeniedDetail; this.backupRetentionPeriod = builder.backupRetentionPeriod; this.dbsInstance = builder.dbsInstance; this.enableBackupLog = builder.enableBackupLog; this.preferredBackupPeriod = builder.preferredBackupPeriod; this.preferredBackupTime = builder.preferredBackupTime; this.preferredNextBackupTime = builder.preferredNextBackupTime; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeBackupPolicyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accessDeniedDetail */ public AccessDeniedDetail getAccessDeniedDetail() { return this.accessDeniedDetail; } /** * @return backupRetentionPeriod */ public String getBackupRetentionPeriod() { return this.backupRetentionPeriod; } /** * @return dbsInstance */ public String getDbsInstance() { return this.dbsInstance; } /** * @return enableBackupLog */ public Integer getEnableBackupLog() { return this.enableBackupLog; } /** * @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 requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private AccessDeniedDetail accessDeniedDetail; private String backupRetentionPeriod; private String dbsInstance; private Integer enableBackupLog; private String preferredBackupPeriod; private String preferredBackupTime; private String preferredNextBackupTime; private String requestId; private Builder() { } private Builder(DescribeBackupPolicyResponseBody model) { this.accessDeniedDetail = model.accessDeniedDetail; this.backupRetentionPeriod = model.backupRetentionPeriod; this.dbsInstance = model.dbsInstance; this.enableBackupLog = model.enableBackupLog; this.preferredBackupPeriod = model.preferredBackupPeriod; this.preferredBackupTime = model.preferredBackupTime; this.preferredNextBackupTime = model.preferredNextBackupTime; this.requestId = model.requestId; } /** * <p>The following parameters are no longer used. Ignore the parameters.</p> */ public Builder accessDeniedDetail(AccessDeniedDetail accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; return this; } /** * <p>The retention period of the backup data. Unit: days.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder backupRetentionPeriod(String backupRetentionPeriod) { this.backupRetentionPeriod = backupRetentionPeriod; return this; } /** * <p>Indicates whether the backup-as-a-service feature is enabled for the instance. Valid values:</p> * <ul> * <li><strong>1</strong>: The backup-as-a-service feature is enabled for the instance.</li> * <li><strong>0</strong>: The backup-as-a-service feature is disabled for the instance.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder dbsInstance(String dbsInstance) { this.dbsInstance = dbsInstance; return this; } /** * <p>Indicates whether incremental data backup is enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: Incremental data backup is enabled.</li> * <li><strong>0</strong>: Incremental data backup is disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder enableBackupLog(Integer enableBackupLog) { this.enableBackupLog = enableBackupLog; return this; } /** * <p>The backup cycle. 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,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday</p> */ public Builder preferredBackupPeriod(String preferredBackupPeriod) { this.preferredBackupPeriod = preferredBackupPeriod; return this; } /** * <p>The time range during which the backup was created. 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>05:00Z-06:00Z</p> */ public Builder preferredBackupTime(String preferredBackupTime) { this.preferredBackupTime = preferredBackupTime; return this; } /** * <p>The next backup time. 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-03-14T05:28Z</p> */ public Builder preferredNextBackupTime(String preferredNextBackupTime) { this.preferredNextBackupTime = preferredNextBackupTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>90B82DB7-FB28-4CC2-ADBF-1F8659F3****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeBackupPolicyResponseBody build() { return new DescribeBackupPolicyResponseBody(this); } } /** * * {@link DescribeBackupPolicyResponseBody} extends {@link TeaModel} * * <p>DescribeBackupPolicyResponseBody</p> */ public static class AccessDeniedDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthAction") private String authAction; @com.aliyun.core.annotation.NameInMap("AuthPrincipalDisplayName") private String authPrincipalDisplayName; @com.aliyun.core.annotation.NameInMap("AuthPrincipalOwnerId") private String authPrincipalOwnerId; @com.aliyun.core.annotation.NameInMap("AuthPrincipalType") private String authPrincipalType; @com.aliyun.core.annotation.NameInMap("EncodedDiagnosticMessage") private String encodedDiagnosticMessage; @com.aliyun.core.annotation.NameInMap("NoPermissionType") private String noPermissionType; @com.aliyun.core.annotation.NameInMap("PolicyType") private String policyType; private AccessDeniedDetail(Builder builder) { this.authAction = builder.authAction; this.authPrincipalDisplayName = builder.authPrincipalDisplayName; this.authPrincipalOwnerId = builder.authPrincipalOwnerId; this.authPrincipalType = builder.authPrincipalType; this.encodedDiagnosticMessage = builder.encodedDiagnosticMessage; this.noPermissionType = builder.noPermissionType; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static AccessDeniedDetail create() { return builder().build(); } /** * @return authAction */ public String getAuthAction() { return this.authAction; } /** * @return authPrincipalDisplayName */ public String getAuthPrincipalDisplayName() { return this.authPrincipalDisplayName; } /** * @return authPrincipalOwnerId */ public String getAuthPrincipalOwnerId() { return this.authPrincipalOwnerId; } /** * @return authPrincipalType */ public String getAuthPrincipalType() { return this.authPrincipalType; } /** * @return encodedDiagnosticMessage */ public String getEncodedDiagnosticMessage() { return this.encodedDiagnosticMessage; } /** * @return noPermissionType */ public String getNoPermissionType() { return this.noPermissionType; } /** * @return policyType */ public String getPolicyType() { return this.policyType; } public static final class Builder { private String authAction; private String authPrincipalDisplayName; private String authPrincipalOwnerId; private String authPrincipalType; private String encodedDiagnosticMessage; private String noPermissionType; private String policyType; private Builder() { } private Builder(AccessDeniedDetail model) { this.authAction = model.authAction; this.authPrincipalDisplayName = model.authPrincipalDisplayName; this.authPrincipalOwnerId = model.authPrincipalOwnerId; this.authPrincipalType = model.authPrincipalType; this.encodedDiagnosticMessage = model.encodedDiagnosticMessage; this.noPermissionType = model.noPermissionType; this.policyType = model.policyType; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authAction(String authAction) { this.authAction = authAction; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalDisplayName(String authPrincipalDisplayName) { this.authPrincipalDisplayName = authPrincipalDisplayName; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalOwnerId(String authPrincipalOwnerId) { this.authPrincipalOwnerId = authPrincipalOwnerId; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalType(String authPrincipalType) { this.authPrincipalType = authPrincipalType; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder encodedDiagnosticMessage(String encodedDiagnosticMessage) { this.encodedDiagnosticMessage = encodedDiagnosticMessage; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder noPermissionType(String noPermissionType) { this.noPermissionType = noPermissionType; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } public AccessDeniedDetail build() { return new AccessDeniedDetail(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupTasksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupJobId") private String backupJobId; @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("JobMode") private String jobMode; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeBackupTasksRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.backupJobId = builder.backupJobId; this.instanceId = builder.instanceId; this.jobMode = builder.jobMode; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeBackupTasksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return backupJobId */ public String getBackupJobId() { return this.backupJobId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return jobMode */ public String getJobMode() { return this.jobMode; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeBackupTasksRequest, Builder> { private String regionId; private String backupJobId; private String instanceId; private String jobMode; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeBackupTasksRequest request) { super(request); this.regionId = request.regionId; this.backupJobId = request.backupJobId; this.instanceId = request.instanceId; this.jobMode = request.jobMode; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the backup task.</p> * <blockquote> * <p> If you call the <a href="https://help.aliyun.com/document_detail/473819.html">CreateBackup</a> operation to perform a manual backup task, you can set this parameter to the returned backup ID to query the backup progress of the task.</p> * </blockquote> * * <strong>example:</strong> * <p>1162****</p> */ public Builder backupJobId(String backupJobId) { this.putQueryParameter("BackupJobId", backupJobId); this.backupJobId = backupJobId; return this; } /** * <p>The instance ID. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query instance IDs.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The backup mode. Valid values:</p> * <ul> * <li><strong>Automated</strong>: automatic backup. You can call the <a href="https://help.aliyun.com/document_detail/473822.html">DescribeBackupPolicy</a> operation to query the automatic backup policy.</li> * <li><strong>Manual</strong>: manual backup.</li> * </ul> * <blockquote> * <p> By default, the information about backup tasks in both modes is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>Manual</p> */ public Builder jobMode(String jobMode) { this.putQueryParameter("JobMode", jobMode); this.jobMode = jobMode; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeBackupTasksRequest build() { return new DescribeBackupTasksRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupTasksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupTasksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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("AccessDeniedDetail") private AccessDeniedDetail accessDeniedDetail; @com.aliyun.core.annotation.NameInMap("BackupJobs") private java.util.List<BackupJobs> backupJobs; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeBackupTasksResponseBody(Builder builder) { this.accessDeniedDetail = builder.accessDeniedDetail; this.backupJobs = builder.backupJobs; this.instanceId = builder.instanceId; 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 accessDeniedDetail */ public AccessDeniedDetail getAccessDeniedDetail() { return this.accessDeniedDetail; } /** * @return backupJobs */ public java.util.List<BackupJobs> getBackupJobs() { return this.backupJobs; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private AccessDeniedDetail accessDeniedDetail; private java.util.List<BackupJobs> backupJobs; private String instanceId; private String requestId; private Builder() { } private Builder(DescribeBackupTasksResponseBody model) { this.accessDeniedDetail = model.accessDeniedDetail; this.backupJobs = model.backupJobs; this.instanceId = model.instanceId; this.requestId = model.requestId; } /** * <p>The following parameters are no longer used. Ignore the parameters.</p> */ public Builder accessDeniedDetail(AccessDeniedDetail accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; return this; } /** * <p>The details of the backup tasks.</p> */ public Builder backupJobs(java.util.List<BackupJobs> backupJobs) { this.backupJobs = backupJobs; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>BB73740C-23E2-4392-9DA4-2660C74C****</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 AccessDeniedDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthAction") private String authAction; @com.aliyun.core.annotation.NameInMap("AuthPrincipalDisplayName") private String authPrincipalDisplayName; @com.aliyun.core.annotation.NameInMap("AuthPrincipalOwnerId") private String authPrincipalOwnerId; @com.aliyun.core.annotation.NameInMap("AuthPrincipalType") private String authPrincipalType; @com.aliyun.core.annotation.NameInMap("EncodedDiagnosticMessage") private String encodedDiagnosticMessage; @com.aliyun.core.annotation.NameInMap("NoPermissionType") private String noPermissionType; @com.aliyun.core.annotation.NameInMap("PolicyType") private String policyType; private AccessDeniedDetail(Builder builder) { this.authAction = builder.authAction; this.authPrincipalDisplayName = builder.authPrincipalDisplayName; this.authPrincipalOwnerId = builder.authPrincipalOwnerId; this.authPrincipalType = builder.authPrincipalType; this.encodedDiagnosticMessage = builder.encodedDiagnosticMessage; this.noPermissionType = builder.noPermissionType; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static AccessDeniedDetail create() { return builder().build(); } /** * @return authAction */ public String getAuthAction() { return this.authAction; } /** * @return authPrincipalDisplayName */ public String getAuthPrincipalDisplayName() { return this.authPrincipalDisplayName; } /** * @return authPrincipalOwnerId */ public String getAuthPrincipalOwnerId() { return this.authPrincipalOwnerId; } /** * @return authPrincipalType */ public String getAuthPrincipalType() { return this.authPrincipalType; } /** * @return encodedDiagnosticMessage */ public String getEncodedDiagnosticMessage() { return this.encodedDiagnosticMessage; } /** * @return noPermissionType */ public String getNoPermissionType() { return this.noPermissionType; } /** * @return policyType */ public String getPolicyType() { return this.policyType; } public static final class Builder { private String authAction; private String authPrincipalDisplayName; private String authPrincipalOwnerId; private String authPrincipalType; private String encodedDiagnosticMessage; private String noPermissionType; private String policyType; private Builder() { } private Builder(AccessDeniedDetail model) { this.authAction = model.authAction; this.authPrincipalDisplayName = model.authPrincipalDisplayName; this.authPrincipalOwnerId = model.authPrincipalOwnerId; this.authPrincipalType = model.authPrincipalType; this.encodedDiagnosticMessage = model.encodedDiagnosticMessage; this.noPermissionType = model.noPermissionType; this.policyType = model.policyType; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authAction(String authAction) { this.authAction = authAction; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalDisplayName(String authPrincipalDisplayName) { this.authPrincipalDisplayName = authPrincipalDisplayName; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalOwnerId(String authPrincipalOwnerId) { this.authPrincipalOwnerId = authPrincipalOwnerId; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalType(String authPrincipalType) { this.authPrincipalType = authPrincipalType; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder encodedDiagnosticMessage(String encodedDiagnosticMessage) { this.encodedDiagnosticMessage = encodedDiagnosticMessage; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder noPermissionType(String noPermissionType) { this.noPermissionType = noPermissionType; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } public AccessDeniedDetail build() { return new AccessDeniedDetail(this); } } } /** * * {@link DescribeBackupTasksResponseBody} extends {@link TeaModel} * * <p>DescribeBackupTasksResponseBody</p> */ public static class BackupJobs extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupJobID") private Long backupJobID; @com.aliyun.core.annotation.NameInMap("BackupProgressStatus") private String backupProgressStatus; @com.aliyun.core.annotation.NameInMap("JobMode") private String jobMode; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("Process") private String process; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("TaskAction") private String taskAction; private BackupJobs(Builder builder) { this.backupJobID = builder.backupJobID; this.backupProgressStatus = builder.backupProgressStatus; this.jobMode = builder.jobMode; this.nodeId = builder.nodeId; this.process = builder.process; this.progress = builder.progress; this.startTime = builder.startTime; this.taskAction = builder.taskAction; } public static Builder builder() { return new Builder(); } public static BackupJobs create() { return builder().build(); } /** * @return backupJobID */ public Long getBackupJobID() { return this.backupJobID; } /** * @return backupProgressStatus */ public String getBackupProgressStatus() { return this.backupProgressStatus; } /** * @return jobMode */ public String getJobMode() { return this.jobMode; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return process */ public String getProcess() { return this.process; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return taskAction */ public String getTaskAction() { return this.taskAction; } public static final class Builder { private Long backupJobID; private String backupProgressStatus; private String jobMode; private String nodeId; private String process; private String progress; private String startTime; private String taskAction; private Builder() { } private Builder(BackupJobs model) { this.backupJobID = model.backupJobID; this.backupProgressStatus = model.backupProgressStatus; this.jobMode = model.jobMode; this.nodeId = model.nodeId; this.process = model.process; this.progress = model.progress; this.startTime = model.startTime; this.taskAction = model.taskAction; } /** * <p>The ID of the backup task.</p> * * <strong>example:</strong> * <p>8491111</p> */ public Builder backupJobID(Long backupJobID) { this.backupJobID = backupJobID; return this; } /** * <p>The state of the backup task. Valid values:</p> * <ul> * <li><strong>NoStart</strong>: The backup task is not started.</li> * <li><strong>Preparing</strong>: The backup task is being prepared.</li> * <li><strong>Waiting</strong>: The backup task is pending.</li> * <li><strong>Uploading</strong>: The system is uploading the backup file.</li> * <li><strong>Checking</strong>: The system is checking the uploaded backup file.</li> * <li><strong>Finished</strong>: The backup task is completed.</li> * </ul> * * <strong>example:</strong> * <p>Automated</p> */ public Builder backupProgressStatus(String backupProgressStatus) { this.backupProgressStatus = backupProgressStatus; return this; } /** * <p>The backup mode. Valid values:</p> * <ul> * <li><strong>Automated</strong>: automatic backup</li> * <li><strong>Manual</strong>: manual backup</li> * </ul> * * <strong>example:</strong> * <p>Manual</p> */ public Builder jobMode(String jobMode) { this.jobMode = jobMode; return this; } /** * <p>The ID of the data node.</p> * * <strong>example:</strong> * <hr> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The progress of the backup task in percentage.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder process(String process) { this.process = process; return this; } /** * <p>The backup progress.</p> * * <strong>example:</strong> * <p>27</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The start time of the backup task. 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>2021-01-05T19:24:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The type of the backup task. Valid values:</p> * <ul> * <li><strong>TempBackupTask</strong>: The backup task was manually performed.</li> * <li><strong>NormalBackupTask</strong>: The backup task was automatically performed.</li> * </ul> * * <strong>example:</strong> * <p>NormalBackupTask</p> */ public Builder taskAction(String taskAction) { this.taskAction = taskAction; return this; } public BackupJobs build() { return new BackupJobs(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupId") private Long backupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupJobId") private Long backupJobId; @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("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NeedAof") private String needAof; @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("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("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeBackupsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.backupId = builder.backupId; this.backupJobId = builder.backupJobId; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.needAof = builder.needAof; 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.securityToken = builder.securityToken; 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 regionId */ public String getRegionId() { return this.regionId; } /** * @return backupId */ public Long getBackupId() { return this.backupId; } /** * @return backupJobId */ public Long getBackupJobId() { return this.backupJobId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return needAof */ public String getNeedAof() { return this.needAof; } /** * @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 securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeBackupsRequest, Builder> { private String regionId; private Long backupId; private Long backupJobId; private String endTime; private String instanceId; private String needAof; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String startTime; private Builder() { super(); } private Builder(DescribeBackupsRequest request) { super(request); this.regionId = request.regionId; this.backupId = request.backupId; this.backupJobId = request.backupJobId; this.endTime = request.endTime; this.instanceId = request.instanceId; this.needAof = request.needAof; 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.securityToken = request.securityToken; this.startTime = request.startTime; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the backup file.</p> * * <strong>example:</strong> * <p>11611111</p> */ public Builder backupId(Long backupId) { this.putQueryParameter("BackupId", backupId); this.backupId = backupId; return this; } /** * <p>The backup task ID, returned by CreateBackup. If CreateBackup returns multiple BackupJobIds, you need to use this interface to query each of them separately.</p> * * <strong>example:</strong> * <p>10001</p> */ public Builder backupJobId(Long backupJobId) { this.putQueryParameter("BackupJobId", backupJobId); this.backupJobId = backupJobId; return this; } /** * <p>The end of the time range to query. Specify the time in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC. The end time must be later than the start time.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-03-14T18:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The ID of the instance whose backup files you want to query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>Specifies whether to enable append-only files (AOFs) persistence. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * <blockquote> * <p> The default value is <strong>0</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder needAof(String needAof) { this.putQueryParameter("NeedAof", needAof); this.needAof = needAof; 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. The value must be an integer that is greater than <strong>0</strong>. 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 maximum number of entries per page. Valid values: 30, 50, 100, 200, and 300.</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; 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>2019-03-11T10: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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeBackupsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; 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("AccessDeniedDetail") private AccessDeniedDetail accessDeniedDetail; @com.aliyun.core.annotation.NameInMap("Backups") private Backups backups; @com.aliyun.core.annotation.NameInMap("FreeSize") private Long freeSize; @com.aliyun.core.annotation.NameInMap("FullStorageSize") private Long fullStorageSize; @com.aliyun.core.annotation.NameInMap("LogStorageSize") private Long logStorageSize; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeBackupsResponseBody(Builder builder) { this.accessDeniedDetail = builder.accessDeniedDetail; this.backups = builder.backups; this.freeSize = builder.freeSize; this.fullStorageSize = builder.fullStorageSize; this.logStorageSize = builder.logStorageSize; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeBackupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accessDeniedDetail */ public AccessDeniedDetail getAccessDeniedDetail() { return this.accessDeniedDetail; } /** * @return backups */ public Backups getBackups() { return this.backups; } /** * @return freeSize */ public Long getFreeSize() { return this.freeSize; } /** * @return fullStorageSize */ public Long getFullStorageSize() { return this.fullStorageSize; } /** * @return logStorageSize */ public Long getLogStorageSize() { return this.logStorageSize; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private AccessDeniedDetail accessDeniedDetail; private Backups backups; private Long freeSize; private Long fullStorageSize; private Long logStorageSize; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeBackupsResponseBody model) { this.accessDeniedDetail = model.accessDeniedDetail; this.backups = model.backups; this.freeSize = model.freeSize; this.fullStorageSize = model.fullStorageSize; this.logStorageSize = model.logStorageSize; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The following parameters are no longer used. Ignore the parameters.</p> */ public Builder accessDeniedDetail(AccessDeniedDetail accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; return this; } /** * <p>The queried backup sets.</p> */ public Builder backups(Backups backups) { this.backups = backups; return this; } /** * <p>This parameter does not take effect. Ignore this parameter.</p> * * <strong>example:</strong> * <p>100000</p> */ public Builder freeSize(Long freeSize) { this.freeSize = freeSize; return this; } /** * <p>The size of the full backup file of the instance. Unit: bytes. Full backups originate from scheduled backups, manual backups, and backups generated during cache analysis.</p> * <blockquote> * <p> The value of this parameter is independent of the number and size of the returned backup sets. Instead, it reflects the total size of all valid full backups of the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>1000</p> */ public Builder fullStorageSize(Long fullStorageSize) { this.fullStorageSize = fullStorageSize; return this; } /** * <p>The size of the log backup file of the instance. Unit: bytes. This value is valid only when flashback is enabled.</p> * <blockquote> * <p> The value of this parameter is independent of the number and size of the returned backup sets. Instead, it reflects the total size of all valid log backups of the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>5000</p> */ public Builder logStorageSize(Long logStorageSize) { this.logStorageSize = logStorageSize; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned on each page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>963C20F0-7CE1-4591-AAF3-6F3CD1CE****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of backup files that were returned.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeBackupsResponseBody build() { return new DescribeBackupsResponseBody(this); } } /** * * {@link DescribeBackupsResponseBody} extends {@link TeaModel} * * <p>DescribeBackupsResponseBody</p> */ public static class AccessDeniedDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthAction") private String authAction; @com.aliyun.core.annotation.NameInMap("AuthPrincipalDisplayName") private String authPrincipalDisplayName; @com.aliyun.core.annotation.NameInMap("AuthPrincipalOwnerId") private String authPrincipalOwnerId; @com.aliyun.core.annotation.NameInMap("AuthPrincipalType") private String authPrincipalType; @com.aliyun.core.annotation.NameInMap("EncodedDiagnosticMessage") private String encodedDiagnosticMessage; @com.aliyun.core.annotation.NameInMap("NoPermissionType") private String noPermissionType; @com.aliyun.core.annotation.NameInMap("PolicyType") private String policyType; private AccessDeniedDetail(Builder builder) { this.authAction = builder.authAction; this.authPrincipalDisplayName = builder.authPrincipalDisplayName; this.authPrincipalOwnerId = builder.authPrincipalOwnerId; this.authPrincipalType = builder.authPrincipalType; this.encodedDiagnosticMessage = builder.encodedDiagnosticMessage; this.noPermissionType = builder.noPermissionType; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static AccessDeniedDetail create() { return builder().build(); } /** * @return authAction */ public String getAuthAction() { return this.authAction; } /** * @return authPrincipalDisplayName */ public String getAuthPrincipalDisplayName() { return this.authPrincipalDisplayName; } /** * @return authPrincipalOwnerId */ public String getAuthPrincipalOwnerId() { return this.authPrincipalOwnerId; } /** * @return authPrincipalType */ public String getAuthPrincipalType() { return this.authPrincipalType; } /** * @return encodedDiagnosticMessage */ public String getEncodedDiagnosticMessage() { return this.encodedDiagnosticMessage; } /** * @return noPermissionType */ public String getNoPermissionType() { return this.noPermissionType; } /** * @return policyType */ public String getPolicyType() { return this.policyType; } public static final class Builder { private String authAction; private String authPrincipalDisplayName; private String authPrincipalOwnerId; private String authPrincipalType; private String encodedDiagnosticMessage; private String noPermissionType; private String policyType; private Builder() { } private Builder(AccessDeniedDetail model) { this.authAction = model.authAction; this.authPrincipalDisplayName = model.authPrincipalDisplayName; this.authPrincipalOwnerId = model.authPrincipalOwnerId; this.authPrincipalType = model.authPrincipalType; this.encodedDiagnosticMessage = model.encodedDiagnosticMessage; this.noPermissionType = model.noPermissionType; this.policyType = model.policyType; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authAction(String authAction) { this.authAction = authAction; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalDisplayName(String authPrincipalDisplayName) { this.authPrincipalDisplayName = authPrincipalDisplayName; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalOwnerId(String authPrincipalOwnerId) { this.authPrincipalOwnerId = authPrincipalOwnerId; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder authPrincipalType(String authPrincipalType) { this.authPrincipalType = authPrincipalType; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder encodedDiagnosticMessage(String encodedDiagnosticMessage) { this.encodedDiagnosticMessage = encodedDiagnosticMessage; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder noPermissionType(String noPermissionType) { this.noPermissionType = noPermissionType; return this; } /** * <p>This parameter is no longer used. Ignore this parameter.</p> * * <strong>example:</strong> * <p>_</p> */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } public AccessDeniedDetail build() { return new AccessDeniedDetail(this); } } } /** * * {@link DescribeBackupsResponseBody} extends {@link TeaModel} * * <p>DescribeBackupsResponseBody</p> */ public static class Backup extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupDBNames") private String backupDBNames; @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 Long backupId; @com.aliyun.core.annotation.NameInMap("BackupIntranetDownloadURL") private String backupIntranetDownloadURL; @com.aliyun.core.annotation.NameInMap("BackupJobID") private Long backupJobID; @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("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ExpectExpireTime") private String expectExpireTime; @com.aliyun.core.annotation.NameInMap("NodeInstanceId") private String nodeInstanceId; @com.aliyun.core.annotation.NameInMap("RecoverConfigMode") private String recoverConfigMode; private Backup(Builder builder) { this.backupDBNames = builder.backupDBNames; this.backupDownloadURL = builder.backupDownloadURL; this.backupEndTime = builder.backupEndTime; this.backupId = builder.backupId; this.backupIntranetDownloadURL = builder.backupIntranetDownloadURL; this.backupJobID = builder.backupJobID; 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.engineVersion = builder.engineVersion; this.expectExpireTime = builder.expectExpireTime; this.nodeInstanceId = builder.nodeInstanceId; this.recoverConfigMode = builder.recoverConfigMode; } public static Builder builder() { return new Builder(); } public static Backup create() { return builder().build(); } /** * @return backupDBNames */ public String getBackupDBNames() { return this.backupDBNames; } /** * @return backupDownloadURL */ public String getBackupDownloadURL() { return this.backupDownloadURL; } /** * @return backupEndTime */ public String getBackupEndTime() { return this.backupEndTime; } /** * @return backupId */ public Long getBackupId() { return this.backupId; } /** * @return backupIntranetDownloadURL */ public String getBackupIntranetDownloadURL() { return this.backupIntranetDownloadURL; } /** * @return backupJobID */ public Long getBackupJobID() { return this.backupJobID; } /** * @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 engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return expectExpireTime */ public String getExpectExpireTime() { return this.expectExpireTime; } /** * @return nodeInstanceId */ public String getNodeInstanceId() { return this.nodeInstanceId; } /** * @return recoverConfigMode */ public String getRecoverConfigMode() { return this.recoverConfigMode; } public static final class Builder { private String backupDBNames; private String backupDownloadURL; private String backupEndTime; private Long backupId; private String backupIntranetDownloadURL; private Long backupJobID; private String backupMethod; private String backupMode; private Long backupSize; private String backupStartTime; private String backupStatus; private String backupType; private String engineVersion; private String expectExpireTime; private String nodeInstanceId; private String recoverConfigMode; private Builder() { } private Builder(Backup model) { this.backupDBNames = model.backupDBNames; this.backupDownloadURL = model.backupDownloadURL; this.backupEndTime = model.backupEndTime; this.backupId = model.backupId; this.backupIntranetDownloadURL = model.backupIntranetDownloadURL; this.backupJobID = model.backupJobID; 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.engineVersion = model.engineVersion; this.expectExpireTime = model.expectExpireTime; this.nodeInstanceId = model.nodeInstanceId; this.recoverConfigMode = model.recoverConfigMode; } /** * <p>The names of the databases that are backed up. The default value is <strong>all</strong>, which indicates that all databases are backed up.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder backupDBNames(String backupDBNames) { this.backupDBNames = backupDBNames; return this; } /** * <p>The public download URL of the backup file.</p> * * <strong>example:</strong> * <p><a href="https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/">https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/</a>********</p> */ public Builder backupDownloadURL(String backupDownloadURL) { this.backupDownloadURL = backupDownloadURL; return this; } /** * <p>The end time of the backup.</p> * * <strong>example:</strong> * <p>2019-03-14T05:31:13Z</p> */ public Builder backupEndTime(String backupEndTime) { this.backupEndTime = backupEndTime; return this; } /** * <p>The ID of the backup file.</p> * * <strong>example:</strong> * <p>165*****50</p> */ public Builder backupId(Long backupId) { this.backupId = backupId; return this; } /** * <p>The internal download URL of the backup file.</p> * <blockquote> * <p> You can use this URL to download the backup file from an Elastic Compute Service (ECS) instance that is connected to the Tair instance. The ECS instance must belong to the same classic network or reside in the same virtual private cloud (VPC) as the Tair instance.</p> * </blockquote> * * <strong>example:</strong> * <p><a href="https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/">https://rdsbak-hk45-v2.oss-cn-hongkong.aliyuncs.com/</a>********</p> */ public Builder backupIntranetDownloadURL(String backupIntranetDownloadURL) { this.backupIntranetDownloadURL = backupIntranetDownloadURL; return this; } /** * <p>The ID of the backup task.</p> * * <strong>example:</strong> * <p>24340</p> */ public Builder backupJobID(Long backupJobID) { this.backupJobID = backupJobID; return this; } /** * <p>The backup method. Valid values:</p> * <ul> * <li><strong>Logical</strong></li> * <li><strong>Physical</strong></li> * </ul> * * <strong>example:</strong> * <p>Physical</p> */ public Builder backupMethod(String backupMethod) { this.backupMethod = backupMethod; 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.backupMode = backupMode; return this; } /** * <p>The size of the backup file.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder backupSize(Long backupSize) { this.backupSize = backupSize; return this; } /** * <p>The start time of the backup.</p> * * <strong>example:</strong> * <p>2019-03-14T05:28:50Z</p> */ public Builder backupStartTime(String backupStartTime) { this.backupStartTime = backupStartTime; return this; } /** * <p>The status of the backup. 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.backupStatus = backupStatus; return this; } /** * <p>The backup type. 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 engine version (major version) of the instance.</p> * * <strong>example:</strong> * <p>4.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 node ID.</p> * <blockquote> * <p> If the instance uses the standard architecture, this parameter returns the instance ID.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp10noxlhcoim2****-db-1</p> */ public Builder nodeInstanceId(String nodeInstanceId) { this.nodeInstanceId = nodeInstanceId; return this; } /** * <p>If the backup includes account information, kernel parameters and whitelist details.</p> * * <strong>example:</strong> * <p>{&quot;whitelist&quot;:true,&quot;config&quot;:true,&quot;account&quot;:true}</p> */ public Builder recoverConfigMode(String recoverConfigMode) { this.recoverConfigMode = recoverConfigMode; return this; } public Backup build() { return new Backup(this); } } } /** * * {@link DescribeBackupsResponseBody} extends {@link TeaModel} * * <p>DescribeBackupsResponseBody</p> */ public static class Backups extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backup") private java.util.List<Backup> backup; private Backups(Builder builder) { this.backup = builder.backup; } public static Builder builder() { return new Builder(); } public static Backups 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(Backups model) { this.backup = model.backup; } /** * Backup. */ public Builder backup(java.util.List<Backup> backup) { this.backup = backup; return this; } public Backups build() { return new Backups(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeCacheAnalysisReportListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeCacheAnalysisReportListRequest} extends {@link RequestModel} * * <p>DescribeCacheAnalysisReportListRequest</p> */ public class DescribeCacheAnalysisReportListRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Days") private Integer days; @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("NodeId") private String nodeId; @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("PageNumbers") @com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1) private Integer pageNumbers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") 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("SecurityToken") private String securityToken; private DescribeCacheAnalysisReportListRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.days = builder.days; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumbers = builder.pageNumbers; this.pageSize = builder.pageSize; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeCacheAnalysisReportListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return days */ public Integer getDays() { return this.days; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumbers */ public Integer getPageNumbers() { return this.pageNumbers; } /** * @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 securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeCacheAnalysisReportListRequest, Builder> { private String regionId; private Integer days; private String instanceId; private String nodeId; private String ownerAccount; private Long ownerId; private Integer pageNumbers; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeCacheAnalysisReportListRequest request) { super(request); this.regionId = request.regionId; this.days = request.days; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumbers = request.pageNumbers; this.pageSize = request.pageSize; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The time range to query. Default value: 7. Unit: days.</p> * <blockquote> * <p>If daily automatic analysis has not started and manual analysis is not performed, no records are returned.</p> * </blockquote> * * <strong>example:</strong> * <p>7</p> */ public Builder days(Integer days) { this.putQueryParameter("Days", days); this.days = days; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The ID of the child node in the cluster instance.</p> * <blockquote> * <p> If you do not specify this parameter, the analysis results of all child nodes in the instance are returned.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); this.nodeId = nodeId; 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 number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumbers(Integer pageNumbers) { this.putQueryParameter("PageNumbers", pageNumbers); this.pageNumbers = pageNumbers; return this; } /** * <p>The number of entries to return on each page. Valid values: <strong>30</strong>, <strong>50</strong>, and <strong>100</strong>.</p> * <blockquote> * <p>The default value is <strong>30</strong>.</p> * </blockquote> * * <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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeCacheAnalysisReportListRequest build() { return new DescribeCacheAnalysisReportListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeCacheAnalysisReportListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeCacheAnalysisReportListResponse} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportListResponse</p> */ public class DescribeCacheAnalysisReportListResponse 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 DescribeCacheAnalysisReportListResponseBody body; private DescribeCacheAnalysisReportListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeCacheAnalysisReportListResponse 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 DescribeCacheAnalysisReportListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeCacheAnalysisReportListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeCacheAnalysisReportListResponseBody body); @Override DescribeCacheAnalysisReportListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeCacheAnalysisReportListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeCacheAnalysisReportListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeCacheAnalysisReportListResponse 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(DescribeCacheAnalysisReportListResponseBody body) { this.body = body; return this; } @Override public DescribeCacheAnalysisReportListResponse build() { return new DescribeCacheAnalysisReportListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeCacheAnalysisReportListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeCacheAnalysisReportListResponseBody} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportListResponseBody</p> */ public class DescribeCacheAnalysisReportListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DailyTasks") private DailyTasks dailyTasks; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeCacheAnalysisReportListResponseBody(Builder builder) { this.dailyTasks = builder.dailyTasks; this.instanceId = builder.instanceId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeCacheAnalysisReportListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dailyTasks */ public DailyTasks getDailyTasks() { return this.dailyTasks; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DailyTasks dailyTasks; private String instanceId; private String requestId; private Builder() { } private Builder(DescribeCacheAnalysisReportListResponseBody model) { this.dailyTasks = model.dailyTasks; this.instanceId = model.instanceId; this.requestId = model.requestId; } /** * <p>The list of the offline key analysis reports.</p> */ public Builder dailyTasks(DailyTasks dailyTasks) { this.dailyTasks = dailyTasks; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>1041xxxx</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>743D0A03-52DE-4E6F-8D09-EC1414CF****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeCacheAnalysisReportListResponseBody build() { return new DescribeCacheAnalysisReportListResponseBody(this); } } /** * * {@link DescribeCacheAnalysisReportListResponseBody} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportListResponseBody</p> */ public static class Task extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private Task(Builder builder) { this.nodeId = builder.nodeId; this.startTime = builder.startTime; this.status = builder.status; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static Task create() { return builder().build(); } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String nodeId; private String startTime; private String status; private String taskId; private Builder() { } private Builder(Task model) { this.nodeId = model.nodeId; this.startTime = model.startTime; this.status = model.status; this.taskId = model.taskId; } /** * <p>The ID of the child node in the cluster instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The start time of the offline key analytics task.</p> * * <strong>example:</strong> * <p>2019-08-01T19:08:49Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the offline key analytics task. Valid values:</p> * <ul> * <li><strong>success</strong></li> * <li><strong>running</strong></li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>156465****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public Task build() { return new Task(this); } } } /** * * {@link DescribeCacheAnalysisReportListResponseBody} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportListResponseBody</p> */ public static class Tasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Task") private java.util.List<Task> task; private Tasks(Builder builder) { this.task = builder.task; } public static Builder builder() { return new Builder(); } public static Tasks create() { return builder().build(); } /** * @return task */ public java.util.List<Task> getTask() { return this.task; } public static final class Builder { private java.util.List<Task> task; private Builder() { } private Builder(Tasks model) { this.task = model.task; } /** * Task. */ public Builder task(java.util.List<Task> task) { this.task = task; return this; } public Tasks build() { return new Tasks(this); } } } /** * * {@link DescribeCacheAnalysisReportListResponseBody} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportListResponseBody</p> */ public static class DailyTask extends TeaModel { @com.aliyun.core.annotation.NameInMap("Date") private String date; @com.aliyun.core.annotation.NameInMap("Tasks") private Tasks tasks; private DailyTask(Builder builder) { this.date = builder.date; this.tasks = builder.tasks; } public static Builder builder() { return new Builder(); } public static DailyTask create() { return builder().build(); } /** * @return date */ public String getDate() { return this.date; } /** * @return tasks */ public Tasks getTasks() { return this.tasks; } public static final class Builder { private String date; private Tasks tasks; private Builder() { } private Builder(DailyTask model) { this.date = model.date; this.tasks = model.tasks; } /** * <p>The date when the offline key analytics task was performed.</p> * * <strong>example:</strong> * <p>2019-08-01Z</p> */ public Builder date(String date) { this.date = date; return this; } /** * <p>Details about the offline key analysis reports.</p> */ public Builder tasks(Tasks tasks) { this.tasks = tasks; return this; } public DailyTask build() { return new DailyTask(this); } } } /** * * {@link DescribeCacheAnalysisReportListResponseBody} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportListResponseBody</p> */ public static class DailyTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("DailyTask") private java.util.List<DailyTask> dailyTask; private DailyTasks(Builder builder) { this.dailyTask = builder.dailyTask; } public static Builder builder() { return new Builder(); } public static DailyTasks create() { return builder().build(); } /** * @return dailyTask */ public java.util.List<DailyTask> getDailyTask() { return this.dailyTask; } public static final class Builder { private java.util.List<DailyTask> dailyTask; private Builder() { } private Builder(DailyTasks model) { this.dailyTask = model.dailyTask; } /** * DailyTask. */ public Builder dailyTask(java.util.List<DailyTask> dailyTask) { this.dailyTask = dailyTask; return this; } public DailyTasks build() { return new DailyTasks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeCacheAnalysisReportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeCacheAnalysisReportRequest} extends {@link RequestModel} * * <p>DescribeCacheAnalysisReportRequest</p> */ public class DescribeCacheAnalysisReportRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AnalysisType") @com.aliyun.core.annotation.Validation(required = true) private String analysisType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Date") @com.aliyun.core.annotation.Validation(required = true) private String date; @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("NodeId") private String nodeId; @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("PageNumbers") @com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1) private Integer pageNumbers; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") 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("SecurityToken") private String securityToken; private DescribeCacheAnalysisReportRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.analysisType = builder.analysisType; this.date = builder.date; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumbers = builder.pageNumbers; this.pageSize = builder.pageSize; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeCacheAnalysisReportRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return analysisType */ public String getAnalysisType() { return this.analysisType; } /** * @return date */ public String getDate() { return this.date; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumbers */ public Integer getPageNumbers() { return this.pageNumbers; } /** * @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 securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeCacheAnalysisReportRequest, Builder> { private String regionId; private String analysisType; private String date; private String instanceId; private String nodeId; private String ownerAccount; private Long ownerId; private Integer pageNumbers; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeCacheAnalysisReportRequest request) { super(request); this.regionId = request.regionId; this.analysisType = request.analysisType; this.date = request.date; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumbers = request.pageNumbers; this.pageSize = request.pageSize; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The type of analytics. Set the value to <strong>BigKey</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>BigKey</p> */ public Builder analysisType(String analysisType) { this.putQueryParameter("AnalysisType", analysisType); this.analysisType = analysisType; return this; } /** * <p>The date to query. You can query the report for one day each time. Specify the date in the <em>yyyy-MM-dd</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-08-05Z</p> */ public Builder date(String date) { this.putQueryParameter("Date", date); this.date = date; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The ID of the child node in the cluster instance.</p> * <blockquote> * <p> If you do not specify this parameter, the analysis results of all child nodes in the instance are returned.</p> * </blockquote> * * <strong>example:</strong> * <p>-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); this.nodeId = nodeId; 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 number of the page to return.</p> * <blockquote> * <p>If the parameter value exceeds the maximum number of the returned pages, an empty large key list is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumbers(Integer pageNumbers) { this.putQueryParameter("PageNumbers", pageNumbers); this.pageNumbers = pageNumbers; return this; } /** * <p>The number of entries to return on each page. Valid values: <strong>30</strong>, <strong>50</strong>, and <strong>100</strong>.</p> * <blockquote> * <p>The default value is <strong>30</strong>.</p> * </blockquote> * * <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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeCacheAnalysisReportRequest build() { return new DescribeCacheAnalysisReportRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeCacheAnalysisReportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeCacheAnalysisReportResponse} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportResponse</p> */ public class DescribeCacheAnalysisReportResponse 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 DescribeCacheAnalysisReportResponseBody body; private DescribeCacheAnalysisReportResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeCacheAnalysisReportResponse 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 DescribeCacheAnalysisReportResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeCacheAnalysisReportResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeCacheAnalysisReportResponseBody body); @Override DescribeCacheAnalysisReportResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeCacheAnalysisReportResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeCacheAnalysisReportResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeCacheAnalysisReportResponse 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(DescribeCacheAnalysisReportResponseBody body) { this.body = body; return this; } @Override public DescribeCacheAnalysisReportResponse build() { return new DescribeCacheAnalysisReportResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeCacheAnalysisReportResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeCacheAnalysisReportResponseBody} extends {@link TeaModel} * * <p>DescribeCacheAnalysisReportResponseBody</p> */ public class DescribeCacheAnalysisReportResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BigKeys") private java.util.List<java.util.Map<String, ?>> bigKeys; @com.aliyun.core.annotation.NameInMap("HotKeys") private java.util.List<java.util.Map<String, ?>> hotKeys; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private Integer pageRecordCount; @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 DescribeCacheAnalysisReportResponseBody(Builder builder) { this.bigKeys = builder.bigKeys; this.hotKeys = builder.hotKeys; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeCacheAnalysisReportResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return bigKeys */ public java.util.List<java.util.Map<String, ?>> getBigKeys() { return this.bigKeys; } /** * @return hotKeys */ public java.util.List<java.util.Map<String, ?>> getHotKeys() { return this.hotKeys; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public Integer getPageRecordCount() { return this.pageRecordCount; } /** * @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<java.util.Map<String, ?>> bigKeys; private java.util.List<java.util.Map<String, ?>> hotKeys; private Integer pageNumber; private Integer pageRecordCount; private Integer pageSize; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeCacheAnalysisReportResponseBody model) { this.bigKeys = model.bigKeys; this.hotKeys = model.hotKeys; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>Details of the large keys.</p> */ public Builder bigKeys(java.util.List<java.util.Map<String, ?>> bigKeys) { this.bigKeys = bigKeys; return this; } /** * <p>Details of the hotkeys.</p> * <blockquote> * <p>This parameter is not returned because Tair (Redis OSS-compatible) does not support hotkey analytics.</p> * </blockquote> */ public Builder hotKeys(java.util.List<java.util.Map<String, ?>> hotKeys) { this.hotKeys = hotKeys; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>A057C066-C3F5-4CC9-9FE4-A8D8B0DC****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>160</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeCacheAnalysisReportResponseBody build() { return new DescribeCacheAnalysisReportResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeClusterBackupListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeClusterBackupListRequest} extends {@link RequestModel} * * <p>DescribeClusterBackupListRequest</p> */ public class DescribeClusterBackupListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterBackupId") private String clusterBackupId; @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("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NoShardBackup") private String noShardBackup; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeClusterBackupListRequest(Builder builder) { super(builder); this.clusterBackupId = builder.clusterBackupId; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.noShardBackup = builder.noShardBackup; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeClusterBackupListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterBackupId */ public String getClusterBackupId() { return this.clusterBackupId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return noShardBackup */ public String getNoShardBackup() { return this.noShardBackup; } /** * @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 regionId */ public String getRegionId() { return this.regionId; } /** * @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 startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeClusterBackupListRequest, Builder> { private String clusterBackupId; private String endTime; private String instanceId; private String noShardBackup; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String startTime; private Builder() { super(); } private Builder(DescribeClusterBackupListRequest request) { super(request); this.clusterBackupId = request.clusterBackupId; this.endTime = request.endTime; this.instanceId = request.instanceId; this.noShardBackup = request.noShardBackup; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.startTime = request.startTime; } /** * <p>The backup set ID.</p> * * <strong>example:</strong> * <p>cb-hyxdof5x9kqbtust</p> */ public Builder clusterBackupId(String clusterBackupId) { this.putQueryParameter("ClusterBackupId", clusterBackupId); this.clusterBackupId = clusterBackupId; 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. The end time must be later than the start time.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2021-05-13T00:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-t4nj72oug5r5646qog</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>Specifies whether to show backup set information for shards in the instance.</p> * <ul> * <li><strong>true</strong>: does not show backup set information for shards in the instance.</li> * <li><strong>false</strong> (default): shows backup set information for shards in the instance.</li> * </ul> * <p>Valid values:</p> * <ul> * <li>True</li> * <li>False</li> * </ul> * * <strong>example:</strong> * <p>True</p> */ public Builder noShardBackup(String noShardBackup) { this.putQueryParameter("NoShardBackup", noShardBackup); this.noShardBackup = noShardBackup; 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.</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:</p> * <ul> * <li>30</li> * <li>50</li> * <li>100</li> * <li>200</li> * <li>300</li> * <li>5</li> * <li>10</li> * <li>15</li> * <li>20</li> * </ul> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473763.html">DescribeRegions</a> operation to query the most recent region list.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-zhangjiakou</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; 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>2018-12-03T07:01Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeClusterBackupListRequest build() { return new DescribeClusterBackupListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeClusterBackupListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeClusterBackupListResponse} extends {@link TeaModel} * * <p>DescribeClusterBackupListResponse</p> */ public class DescribeClusterBackupListResponse 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 DescribeClusterBackupListResponseBody body; private DescribeClusterBackupListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeClusterBackupListResponse 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 DescribeClusterBackupListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeClusterBackupListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeClusterBackupListResponseBody body); @Override DescribeClusterBackupListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeClusterBackupListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeClusterBackupListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeClusterBackupListResponse 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(DescribeClusterBackupListResponseBody body) { this.body = body; return this; } @Override public DescribeClusterBackupListResponse build() { return new DescribeClusterBackupListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeClusterBackupListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeClusterBackupListResponseBody} extends {@link TeaModel} * * <p>DescribeClusterBackupListResponseBody</p> */ public class DescribeClusterBackupListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterBackups") private java.util.List<ClusterBackups> clusterBackups; @com.aliyun.core.annotation.NameInMap("FreeSize") private Long freeSize; @com.aliyun.core.annotation.NameInMap("FullStorageSize") private Long fullStorageSize; @com.aliyun.core.annotation.NameInMap("LogStorageSize") private Long logStorageSize; @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; @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; private DescribeClusterBackupListResponseBody(Builder builder) { this.clusterBackups = builder.clusterBackups; this.freeSize = builder.freeSize; this.fullStorageSize = builder.fullStorageSize; this.logStorageSize = builder.logStorageSize; this.maxResults = builder.maxResults; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeClusterBackupListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return clusterBackups */ public java.util.List<ClusterBackups> getClusterBackups() { return this.clusterBackups; } /** * @return freeSize */ public Long getFreeSize() { return this.freeSize; } /** * @return fullStorageSize */ public Long getFullStorageSize() { return this.fullStorageSize; } /** * @return logStorageSize */ public Long getLogStorageSize() { return this.logStorageSize; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ClusterBackups> clusterBackups; private Long freeSize; private Long fullStorageSize; private Long logStorageSize; private Integer maxResults; private Integer pageNumber; private Integer pageSize; private String requestId; private Builder() { } private Builder(DescribeClusterBackupListResponseBody model) { this.clusterBackups = model.clusterBackups; this.freeSize = model.freeSize; this.fullStorageSize = model.fullStorageSize; this.logStorageSize = model.logStorageSize; this.maxResults = model.maxResults; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; } /** * <p>The backup sets of the instance. A backup contains the backup sets of all shards in the instance.</p> */ public Builder clusterBackups(java.util.List<ClusterBackups> clusterBackups) { this.clusterBackups = clusterBackups; return this; } /** * <p>This parameter does not take effect. Ignore this parameter.</p> * * <strong>example:</strong> * <p>100000</p> */ public Builder freeSize(Long freeSize) { this.freeSize = freeSize; return this; } /** * <p>The size of the full backup file of the instance. Unit: bytes. Full backups originate from scheduled backups, manual backups, and backups generated during cache analysis.</p> * <blockquote> * <p> The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid full backups of the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>1000</p> */ public Builder fullStorageSize(Long fullStorageSize) { this.fullStorageSize = fullStorageSize; return this; } /** * <p>The size of the log backup file of the instance. Unit: bytes. This parameter is valid only when flashback is enabled.</p> * <blockquote> * <p> The value of this parameter is independent of the number and size of returned backup sets. Instead, it represents the size of all valid log backups of the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>5000</p> */ public Builder logStorageSize(Long logStorageSize) { this.logStorageSize = logStorageSize; return this; } /** * <p>The maximum number of entries returned.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; 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 maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C009DA42-3B19-5B81-963D-1509DE2408DD</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeClusterBackupListResponseBody build() { return new DescribeClusterBackupListResponseBody(this); } } /** * * {@link DescribeClusterBackupListResponseBody} extends {@link TeaModel} * * <p>DescribeClusterBackupListResponseBody</p> */ public static class ExtraInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CustinsDbVersion") private String custinsDbVersion; private ExtraInfo(Builder builder) { this.custinsDbVersion = builder.custinsDbVersion; } public static Builder builder() { return new Builder(); } public static ExtraInfo create() { return builder().build(); } /** * @return custinsDbVersion */ public String getCustinsDbVersion() { return this.custinsDbVersion; } public static final class Builder { private String custinsDbVersion; private Builder() { } private Builder(ExtraInfo model) { this.custinsDbVersion = model.custinsDbVersion; } /** * <p>The engine version.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder custinsDbVersion(String custinsDbVersion) { this.custinsDbVersion = custinsDbVersion; return this; } public ExtraInfo build() { return new ExtraInfo(this); } } } /** * * {@link DescribeClusterBackupListResponseBody} extends {@link TeaModel} * * <p>DescribeClusterBackupListResponseBody</p> */ public static class Backups extends TeaModel { @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("BackupIntranetDownloadURL") private String backupIntranetDownloadURL; @com.aliyun.core.annotation.NameInMap("BackupName") private String backupName; @com.aliyun.core.annotation.NameInMap("BackupSize") private String backupSize; @com.aliyun.core.annotation.NameInMap("BackupStartTime") private String backupStartTime; @com.aliyun.core.annotation.NameInMap("BackupStatus") private String backupStatus; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("ExtraInfo") private ExtraInfo extraInfo; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("IsAvail") private String isAvail; @com.aliyun.core.annotation.NameInMap("RecoverConfigMode") private String recoverConfigMode; private Backups(Builder builder) { this.backupDownloadURL = builder.backupDownloadURL; this.backupEndTime = builder.backupEndTime; this.backupId = builder.backupId; this.backupIntranetDownloadURL = builder.backupIntranetDownloadURL; this.backupName = builder.backupName; this.backupSize = builder.backupSize; this.backupStartTime = builder.backupStartTime; this.backupStatus = builder.backupStatus; this.engine = builder.engine; this.extraInfo = builder.extraInfo; this.instanceName = builder.instanceName; this.isAvail = builder.isAvail; this.recoverConfigMode = builder.recoverConfigMode; } public static Builder builder() { return new Builder(); } public static Backups create() { return builder().build(); } /** * @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 backupIntranetDownloadURL */ public String getBackupIntranetDownloadURL() { return this.backupIntranetDownloadURL; } /** * @return backupName */ public String getBackupName() { return this.backupName; } /** * @return backupSize */ public String getBackupSize() { return this.backupSize; } /** * @return backupStartTime */ public String getBackupStartTime() { return this.backupStartTime; } /** * @return backupStatus */ public String getBackupStatus() { return this.backupStatus; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return extraInfo */ public ExtraInfo getExtraInfo() { return this.extraInfo; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return isAvail */ public String getIsAvail() { return this.isAvail; } /** * @return recoverConfigMode */ public String getRecoverConfigMode() { return this.recoverConfigMode; } public static final class Builder { private String backupDownloadURL; private String backupEndTime; private String backupId; private String backupIntranetDownloadURL; private String backupName; private String backupSize; private String backupStartTime; private String backupStatus; private String engine; private ExtraInfo extraInfo; private String instanceName; private String isAvail; private String recoverConfigMode; private Builder() { } private Builder(Backups model) { this.backupDownloadURL = model.backupDownloadURL; this.backupEndTime = model.backupEndTime; this.backupId = model.backupId; this.backupIntranetDownloadURL = model.backupIntranetDownloadURL; this.backupName = model.backupName; this.backupSize = model.backupSize; this.backupStartTime = model.backupStartTime; this.backupStatus = model.backupStatus; this.engine = model.engine; this.extraInfo = model.extraInfo; this.instanceName = model.instanceName; this.isAvail = model.isAvail; this.recoverConfigMode = model.recoverConfigMode; } /** * <p>The public download URL of the backup file.</p> * * <strong>example:</strong> * <p><a href="http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb">http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb</a></p> */ public Builder backupDownloadURL(String backupDownloadURL) { this.backupDownloadURL = backupDownloadURL; return this; } /** * <p>The end time of the backup. 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>2024-01-09T17:21:57</p> */ public Builder backupEndTime(String backupEndTime) { this.backupEndTime = backupEndTime; return this; } /** * <p>The ID of the backup file.</p> * * <strong>example:</strong> * <p>514645788</p> */ public Builder backupId(String backupId) { this.backupId = backupId; return this; } /** * <p>The internal download URL of the backup file.</p> * <blockquote> * <p> You can use this URL to download the backup file from an Elastic Compute Service (ECS) instance that is connected to the Tair (Redis OSS-compatible) instance. The ECS instance must reside in the same virtual private cloud (VPC) as the Tair (Redis OSS-compatible) instance.</p> * </blockquote> * * <strong>example:</strong> * <p><a href="http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb">http://rdsbakbucket-huhehaote-v2.oss-cn-huhehaote-internal.aliyuncs.com/custins424747958/hins100322105_data_20240110012135.rdb</a></p> */ public Builder backupIntranetDownloadURL(String backupIntranetDownloadURL) { this.backupIntranetDownloadURL = backupIntranetDownloadURL; return this; } /** * <p>The name of the backup.</p> * * <strong>example:</strong> * <p>hins100322105_data_20240110012135.rdb</p> */ public Builder backupName(String backupName) { this.backupName = backupName; return this; } /** * <p>The size of the backup file. Unit: bytes.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder backupSize(String 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:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-01-09T17:21:30Z</p> */ public Builder backupStartTime(String backupStartTime) { this.backupStartTime = backupStartTime; return this; } /** * <p>The status of the backup. Valid values:</p> * <ul> * <li><strong>OK</strong></li> * <li><strong>ERROR</strong></li> * </ul> * * <strong>example:</strong> * <p>OK</p> */ public Builder backupStatus(String backupStatus) { this.backupStatus = backupStatus; return this; } /** * <p>The database engine. The return value is <strong>redis</strong>.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The additional information.</p> */ public Builder extraInfo(ExtraInfo extraInfo) { this.extraInfo = extraInfo; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>hins100322105_data_20240108012127.rdb</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>Indicates whether the backup set is available. Valid values:</p> * <ul> * <li><strong>0</strong>: unavailable</li> * <li><strong>1</strong>: available</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isAvail(String isAvail) { this.isAvail = isAvail; return this; } /** * <p>This parameter does not take effect. Ignore this parameter.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder recoverConfigMode(String recoverConfigMode) { this.recoverConfigMode = recoverConfigMode; return this; } public Backups build() { return new Backups(this); } } } /** * * {@link DescribeClusterBackupListResponseBody} extends {@link TeaModel} * * <p>DescribeClusterBackupListResponseBody</p> */ public static class ClusterBackups extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backups") private java.util.List<Backups> backups; @com.aliyun.core.annotation.NameInMap("ClusterBackupEndTime") private String clusterBackupEndTime; @com.aliyun.core.annotation.NameInMap("ClusterBackupId") private String clusterBackupId; @com.aliyun.core.annotation.NameInMap("ClusterBackupMode") private String clusterBackupMode; @com.aliyun.core.annotation.NameInMap("ClusterBackupSize") private String clusterBackupSize; @com.aliyun.core.annotation.NameInMap("ClusterBackupStartTime") private String clusterBackupStartTime; @com.aliyun.core.annotation.NameInMap("ClusterBackupStatus") private String clusterBackupStatus; @com.aliyun.core.annotation.NameInMap("ExpectExpireTime") private String expectExpireTime; @com.aliyun.core.annotation.NameInMap("IsAvail") private Integer isAvail; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("ShardClassMemory") private Integer shardClassMemory; private ClusterBackups(Builder builder) { this.backups = builder.backups; this.clusterBackupEndTime = builder.clusterBackupEndTime; this.clusterBackupId = builder.clusterBackupId; this.clusterBackupMode = builder.clusterBackupMode; this.clusterBackupSize = builder.clusterBackupSize; this.clusterBackupStartTime = builder.clusterBackupStartTime; this.clusterBackupStatus = builder.clusterBackupStatus; this.expectExpireTime = builder.expectExpireTime; this.isAvail = builder.isAvail; this.progress = builder.progress; this.shardClassMemory = builder.shardClassMemory; } public static Builder builder() { return new Builder(); } public static ClusterBackups create() { return builder().build(); } /** * @return backups */ public java.util.List<Backups> getBackups() { return this.backups; } /** * @return clusterBackupEndTime */ public String getClusterBackupEndTime() { return this.clusterBackupEndTime; } /** * @return clusterBackupId */ public String getClusterBackupId() { return this.clusterBackupId; } /** * @return clusterBackupMode */ public String getClusterBackupMode() { return this.clusterBackupMode; } /** * @return clusterBackupSize */ public String getClusterBackupSize() { return this.clusterBackupSize; } /** * @return clusterBackupStartTime */ public String getClusterBackupStartTime() { return this.clusterBackupStartTime; } /** * @return clusterBackupStatus */ public String getClusterBackupStatus() { return this.clusterBackupStatus; } /** * @return expectExpireTime */ public String getExpectExpireTime() { return this.expectExpireTime; } /** * @return isAvail */ public Integer getIsAvail() { return this.isAvail; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return shardClassMemory */ public Integer getShardClassMemory() { return this.shardClassMemory; } public static final class Builder { private java.util.List<Backups> backups; private String clusterBackupEndTime; private String clusterBackupId; private String clusterBackupMode; private String clusterBackupSize; private String clusterBackupStartTime; private String clusterBackupStatus; private String expectExpireTime; private Integer isAvail; private String progress; private Integer shardClassMemory; private Builder() { } private Builder(ClusterBackups model) { this.backups = model.backups; this.clusterBackupEndTime = model.clusterBackupEndTime; this.clusterBackupId = model.clusterBackupId; this.clusterBackupMode = model.clusterBackupMode; this.clusterBackupSize = model.clusterBackupSize; this.clusterBackupStartTime = model.clusterBackupStartTime; this.clusterBackupStatus = model.clusterBackupStatus; this.expectExpireTime = model.expectExpireTime; this.isAvail = model.isAvail; this.progress = model.progress; this.shardClassMemory = model.shardClassMemory; } /** * <p>The backup sets of all shards in the instance.</p> */ public Builder backups(java.util.List<Backups> backups) { this.backups = backups; return this; } /** * <p>The end time of the backup.</p> * * <strong>example:</strong> * <p>2024-01-10T17:21:55Z</p> */ public Builder clusterBackupEndTime(String clusterBackupEndTime) { this.clusterBackupEndTime = clusterBackupEndTime; return this; } /** * <p>The ID of the backup set.</p> * * <strong>example:</strong> * <p>cb-zmdqj2m3xyxjtdt0</p> */ public Builder clusterBackupId(String clusterBackupId) { this.clusterBackupId = clusterBackupId; return this; } /** * <p>The backup mode.</p> * * <strong>example:</strong> * <p>Automated</p> */ public Builder clusterBackupMode(String clusterBackupMode) { this.clusterBackupMode = clusterBackupMode; return this; } /** * <p>The size of the backup set.</p> * * <strong>example:</strong> * <p>2048</p> */ public Builder clusterBackupSize(String clusterBackupSize) { this.clusterBackupSize = clusterBackupSize; return this; } /** * <p>The start time of the backup.</p> * * <strong>example:</strong> * <p>2024-01-10T17:21:25Z</p> */ public Builder clusterBackupStartTime(String clusterBackupStartTime) { this.clusterBackupStartTime = clusterBackupStartTime; return this; } /** * <p>The status of the backup set.</p> * <ul> * <li>OK</li> * <li>RUNNING</li> * <li>Failed</li> * </ul> * * <strong>example:</strong> * <p>OK</p> */ public Builder clusterBackupStatus(String clusterBackupStatus) { this.clusterBackupStatus = clusterBackupStatus; return this; } /** * ExpectExpireTime. */ public Builder expectExpireTime(String expectExpireTime) { this.expectExpireTime = expectExpireTime; return this; } /** * <p>Indicates whether the backup set is valid. A value of 0 indicates that shard-level backups failed or have not been completed.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder isAvail(Integer isAvail) { this.isAvail = isAvail; return this; } /** * <p>The backup progress. The system displays only the progress of running backup tasks.</p> * * <strong>example:</strong> * <p>100%</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The memory size of a single shard during a full backup. Unit: MB.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder shardClassMemory(Integer shardClassMemory) { this.shardClassMemory = shardClassMemory; return this; } public ClusterBackups build() { return new ClusterBackups(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeClusterMemberInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeClusterMemberInfoRequest} extends {@link RequestModel} * * <p>DescribeClusterMemberInfoRequest</p> */ public class DescribeClusterMemberInfoRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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 = 1000, minimum = 1) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 1000, 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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeClusterMemberInfoRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; 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.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeClusterMemberInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeClusterMemberInfoRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeClusterMemberInfoRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; 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.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the Tair (Redis OSS-compatible) instance. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query instance IDs.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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.</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: <strong>30</strong>, <strong>50</strong>, and <strong>100</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeClusterMemberInfoRequest build() { return new DescribeClusterMemberInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeClusterMemberInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeClusterMemberInfoResponse} extends {@link TeaModel} * * <p>DescribeClusterMemberInfoResponse</p> */ public class DescribeClusterMemberInfoResponse 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 DescribeClusterMemberInfoResponseBody body; private DescribeClusterMemberInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeClusterMemberInfoResponse 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 DescribeClusterMemberInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeClusterMemberInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeClusterMemberInfoResponseBody body); @Override DescribeClusterMemberInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeClusterMemberInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeClusterMemberInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeClusterMemberInfoResponse 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(DescribeClusterMemberInfoResponseBody body) { this.body = body; return this; } @Override public DescribeClusterMemberInfoResponse build() { return new DescribeClusterMemberInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeClusterMemberInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeClusterMemberInfoResponseBody} extends {@link TeaModel} * * <p>DescribeClusterMemberInfoResponseBody</p> */ public class DescribeClusterMemberInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterChildren") private java.util.List<ClusterChildren> clusterChildren; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeClusterMemberInfoResponseBody(Builder builder) { this.clusterChildren = builder.clusterChildren; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeClusterMemberInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return clusterChildren */ public java.util.List<ClusterChildren> getClusterChildren() { return this.clusterChildren; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ClusterChildren> clusterChildren; private String requestId; private Builder() { } private Builder(DescribeClusterMemberInfoResponseBody model) { this.clusterChildren = model.clusterChildren; this.requestId = model.requestId; } /** * <p>Details about data nodes in the cluster instance.</p> */ public Builder clusterChildren(java.util.List<ClusterChildren> clusterChildren) { this.clusterChildren = clusterChildren; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2D9F3768-EDA9-4811-943E-42C8006E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeClusterMemberInfoResponseBody build() { return new DescribeClusterMemberInfoResponseBody(this); } } /** * * {@link DescribeClusterMemberInfoResponseBody} extends {@link TeaModel} * * <p>DescribeClusterMemberInfoResponseBody</p> */ public static class ClusterChildren extends TeaModel { @com.aliyun.core.annotation.NameInMap("BandWidth") private Long bandWidth; @com.aliyun.core.annotation.NameInMap("BinlogRetentionDays") private Integer binlogRetentionDays; @com.aliyun.core.annotation.NameInMap("BizType") private String bizType; @com.aliyun.core.annotation.NameInMap("Capacity") private Long capacity; @com.aliyun.core.annotation.NameInMap("ClassCode") private String classCode; @com.aliyun.core.annotation.NameInMap("Connections") private Long connections; @com.aliyun.core.annotation.NameInMap("CurrentBandWidth") private Long currentBandWidth; @com.aliyun.core.annotation.NameInMap("DiskSizeMB") private Integer diskSizeMB; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("ReplicaSize") private Integer replicaSize; @com.aliyun.core.annotation.NameInMap("ResourceGroupName") private String resourceGroupName; @com.aliyun.core.annotation.NameInMap("Service") private String service; @com.aliyun.core.annotation.NameInMap("ServiceVersion") private String serviceVersion; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private ClusterChildren(Builder builder) { this.bandWidth = builder.bandWidth; this.binlogRetentionDays = builder.binlogRetentionDays; this.bizType = builder.bizType; this.capacity = builder.capacity; this.classCode = builder.classCode; this.connections = builder.connections; this.currentBandWidth = builder.currentBandWidth; this.diskSizeMB = builder.diskSizeMB; this.id = builder.id; this.name = builder.name; this.replicaSize = builder.replicaSize; this.resourceGroupName = builder.resourceGroupName; this.service = builder.service; this.serviceVersion = builder.serviceVersion; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static ClusterChildren create() { return builder().build(); } /** * @return bandWidth */ public Long getBandWidth() { return this.bandWidth; } /** * @return binlogRetentionDays */ public Integer getBinlogRetentionDays() { return this.binlogRetentionDays; } /** * @return bizType */ public String getBizType() { return this.bizType; } /** * @return capacity */ public Long getCapacity() { return this.capacity; } /** * @return classCode */ public String getClassCode() { return this.classCode; } /** * @return connections */ public Long getConnections() { return this.connections; } /** * @return currentBandWidth */ public Long getCurrentBandWidth() { return this.currentBandWidth; } /** * @return diskSizeMB */ public Integer getDiskSizeMB() { return this.diskSizeMB; } /** * @return id */ public Long getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return replicaSize */ public Integer getReplicaSize() { return this.replicaSize; } /** * @return resourceGroupName */ public String getResourceGroupName() { return this.resourceGroupName; } /** * @return service */ public String getService() { return this.service; } /** * @return serviceVersion */ public String getServiceVersion() { return this.serviceVersion; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private Long bandWidth; private Integer binlogRetentionDays; private String bizType; private Long capacity; private String classCode; private Long connections; private Long currentBandWidth; private Integer diskSizeMB; private Long id; private String name; private Integer replicaSize; private String resourceGroupName; private String service; private String serviceVersion; private String userId; private Builder() { } private Builder(ClusterChildren model) { this.bandWidth = model.bandWidth; this.binlogRetentionDays = model.binlogRetentionDays; this.bizType = model.bizType; this.capacity = model.capacity; this.classCode = model.classCode; this.connections = model.connections; this.currentBandWidth = model.currentBandWidth; this.diskSizeMB = model.diskSizeMB; this.id = model.id; this.name = model.name; this.replicaSize = model.replicaSize; this.resourceGroupName = model.resourceGroupName; this.service = model.service; this.serviceVersion = model.serviceVersion; this.userId = model.userId; } /** * <p>The maximum bandwidth of the node. Unit: MB/s.</p> * <blockquote> * <p>This parameter is returned only if the return value of <strong>Service</strong> is <strong>redis</strong>, which indicates a data node.</p> * </blockquote> * * <strong>example:</strong> * <p>96</p> */ public Builder bandWidth(Long bandWidth) { this.bandWidth = bandWidth; return this; } /** * <p>The retention period of binlogs.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder binlogRetentionDays(Integer binlogRetentionDays) { this.binlogRetentionDays = binlogRetentionDays; return this; } /** * <p>The type of workload. The return value is <strong>ALIYUN</strong>.</p> * * <strong>example:</strong> * <p>ALIYUN</p> */ public Builder bizType(String bizType) { this.bizType = bizType; return this; } /** * <p>The maximum memory capacity per data node. Unit: MB.</p> * <blockquote> * <p>This parameter is returned only if the return value of <strong>Service</strong> is <strong>redis</strong>, which indicates a data node.</p> * </blockquote> * * <strong>example:</strong> * <p>1024</p> */ public Builder capacity(Long capacity) { this.capacity = capacity; return this; } /** * <p>The specifications of the data node. For more information, see <a href="https://help.aliyun.com/document_detail/164477.html">Community Edition instances that use cloud disks</a>.</p> * * <strong>example:</strong> * <p>redis.shard.small.ce</p> */ public Builder classCode(String classCode) { this.classCode = classCode; return this; } /** * <p>The maximum number of connections supported by the data node.</p> * * <strong>example:</strong> * <p>20000</p> */ public Builder connections(Long connections) { this.connections = connections; return this; } /** * <p>The current bandwidth of the data node, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder currentBandWidth(Long currentBandWidth) { this.currentBandWidth = currentBandWidth; return this; } /** * <p>The storage capacity of the <a href="https://help.aliyun.com/document_detail/122389.html">enhanced SSD (ESSD)</a> that is used by the data node. Unit: MB.</p> * <blockquote> * <p>The ESSD is used only to store system operating data, such as Persistent Memory (PMEM). It is not used as a medium to write and read data.</p> * </blockquote> * * <strong>example:</strong> * <p>4096</p> */ public Builder diskSizeMB(Integer diskSizeMB) { this.diskSizeMB = diskSizeMB; return this; } /** * <p>The ID of the replica set in the node.</p> * * <strong>example:</strong> * <p>501791111</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the data node.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The number of replica nodes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder replicaSize(Integer replicaSize) { this.replicaSize = replicaSize; return this; } /** * <p>The name of the resource group to which the node belongs.</p> * * <strong>example:</strong> * <p>GLOBAL_ZHANGJIAKOU_A</p> */ public Builder resourceGroupName(String resourceGroupName) { this.resourceGroupName = resourceGroupName; return this; } /** * <p>The node type. Valid values:</p> * <ul> * <li><strong>redis</strong>: data node</li> * <li><strong>redis_cs</strong>: config server</li> * </ul> * * <strong>example:</strong> * <p>redis</p> */ public Builder service(String service) { this.service = service; return this; } /** * <p>The major version of the node.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder serviceVersion(String serviceVersion) { this.serviceVersion = serviceVersion; return this; } /** * <p>The ID of the user.</p> * * <strong>example:</strong> * <p>2****_176498472570****</p> */ public Builder userId(String userId) { this.userId = userId; return this; } public ClusterChildren build() { return new ClusterChildren(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDBInstanceNetInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDBInstanceNetInfoRequest} extends {@link RequestModel} * * <p>DescribeDBInstanceNetInfoRequest</p> */ public class DescribeDBInstanceNetInfoRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeDBInstanceNetInfoRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeDBInstanceNetInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeDBInstanceNetInfoRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeDBInstanceNetInfoRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeDBInstanceNetInfoRequest build() { return new DescribeDBInstanceNetInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDBInstanceNetInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDBInstanceNetInfoResponse} extends {@link TeaModel} * * <p>DescribeDBInstanceNetInfoResponse</p> */ public class DescribeDBInstanceNetInfoResponse 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 DescribeDBInstanceNetInfoResponseBody body; private DescribeDBInstanceNetInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBInstanceNetInfoResponse 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 DescribeDBInstanceNetInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBInstanceNetInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBInstanceNetInfoResponseBody body); @Override DescribeDBInstanceNetInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBInstanceNetInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBInstanceNetInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBInstanceNetInfoResponse 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(DescribeDBInstanceNetInfoResponseBody body) { this.body = body; return this; } @Override public DescribeDBInstanceNetInfoResponse build() { return new DescribeDBInstanceNetInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDBInstanceNetInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDBInstanceNetInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstanceNetInfoResponseBody</p> */ public class DescribeDBInstanceNetInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceNetworkType") private String instanceNetworkType; @com.aliyun.core.annotation.NameInMap("NetInfoItems") private NetInfoItems netInfoItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDBInstanceNetInfoResponseBody(Builder builder) { this.instanceNetworkType = builder.instanceNetworkType; this.netInfoItems = builder.netInfoItems; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDBInstanceNetInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceNetworkType */ public String getInstanceNetworkType() { return this.instanceNetworkType; } /** * @return netInfoItems */ public NetInfoItems getNetInfoItems() { return this.netInfoItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String instanceNetworkType; private NetInfoItems netInfoItems; private String requestId; private Builder() { } private Builder(DescribeDBInstanceNetInfoResponseBody model) { this.instanceNetworkType = model.instanceNetworkType; this.netInfoItems = model.netInfoItems; this.requestId = model.requestId; } /** * <p>The network type. Valid values:</p> * <ul> * <li><strong>CLASSIC</strong>: The instance runs in a classic network.</li> * <li><strong>VPC</strong>: The instance runs in a virtual private cloud (VPC).</li> * </ul> * * <strong>example:</strong> * <p>CLASSIC</p> */ public Builder instanceNetworkType(String instanceNetworkType) { this.instanceNetworkType = instanceNetworkType; return this; } /** * <p>The network information about the instance.</p> */ public Builder netInfoItems(NetInfoItems netInfoItems) { this.netInfoItems = netInfoItems; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>FC77D4E1-2A7C-4F0B-A4CC-CE0B9C314B9B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDBInstanceNetInfoResponseBody build() { return new DescribeDBInstanceNetInfoResponseBody(this); } } /** * * {@link DescribeDBInstanceNetInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstanceNetInfoResponseBody</p> */ public static class InstanceNetInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConnectionString") private String connectionString; @com.aliyun.core.annotation.NameInMap("DBInstanceNetType") private String DBInstanceNetType; @com.aliyun.core.annotation.NameInMap("DirectConnection") private Integer directConnection; @com.aliyun.core.annotation.NameInMap("ExpiredTime") private String expiredTime; @com.aliyun.core.annotation.NameInMap("IPAddress") private String IPAddress; @com.aliyun.core.annotation.NameInMap("IPType") private String IPType; @com.aliyun.core.annotation.NameInMap("IsSlaveProxy") private Integer isSlaveProxy; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("Upgradeable") private String upgradeable; @com.aliyun.core.annotation.NameInMap("VPCId") private String VPCId; @com.aliyun.core.annotation.NameInMap("VPCInstanceId") private String VPCInstanceId; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; private InstanceNetInfo(Builder builder) { this.connectionString = builder.connectionString; this.DBInstanceNetType = builder.DBInstanceNetType; this.directConnection = builder.directConnection; this.expiredTime = builder.expiredTime; this.IPAddress = builder.IPAddress; this.IPType = builder.IPType; this.isSlaveProxy = builder.isSlaveProxy; this.port = builder.port; this.upgradeable = builder.upgradeable; this.VPCId = builder.VPCId; this.VPCInstanceId = builder.VPCInstanceId; this.vSwitchId = builder.vSwitchId; } public static Builder builder() { return new Builder(); } public static InstanceNetInfo create() { return builder().build(); } /** * @return connectionString */ public String getConnectionString() { return this.connectionString; } /** * @return DBInstanceNetType */ public String getDBInstanceNetType() { return this.DBInstanceNetType; } /** * @return directConnection */ public Integer getDirectConnection() { return this.directConnection; } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return IPAddress */ public String getIPAddress() { return this.IPAddress; } /** * @return IPType */ public String getIPType() { return this.IPType; } /** * @return isSlaveProxy */ public Integer getIsSlaveProxy() { return this.isSlaveProxy; } /** * @return port */ public String getPort() { return this.port; } /** * @return upgradeable */ public String getUpgradeable() { return this.upgradeable; } /** * @return VPCId */ public String getVPCId() { return this.VPCId; } /** * @return VPCInstanceId */ public String getVPCInstanceId() { return this.VPCInstanceId; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } public static final class Builder { private String connectionString; private String DBInstanceNetType; private Integer directConnection; private String expiredTime; private String IPAddress; private String IPType; private Integer isSlaveProxy; private String port; private String upgradeable; private String VPCId; private String VPCInstanceId; private String vSwitchId; private Builder() { } private Builder(InstanceNetInfo model) { this.connectionString = model.connectionString; this.DBInstanceNetType = model.DBInstanceNetType; this.directConnection = model.directConnection; this.expiredTime = model.expiredTime; this.IPAddress = model.IPAddress; this.IPType = model.IPType; this.isSlaveProxy = model.isSlaveProxy; this.port = model.port; this.upgradeable = model.upgradeable; this.VPCId = model.VPCId; this.VPCInstanceId = model.VPCInstanceId; this.vSwitchId = model.vSwitchId; } /** * <p>The endpoint of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</p> */ public Builder connectionString(String connectionString) { this.connectionString = connectionString; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>0</strong>: Internet</li> * <li><strong>1</strong>: classic network</li> * <li><strong>2</strong>: Virtual Private Cloud (VPC)</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder DBInstanceNetType(String DBInstanceNetType) { this.DBInstanceNetType = DBInstanceNetType; return this; } /** * <p>Indicates whether the address is a private endpoint. Valid values:</p> * <ul> * <li><strong>0</strong>: The address is not a private endpoint.</li> * <li><strong>1</strong>: The address is a private endpoint.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder directConnection(Integer directConnection) { this.directConnection = directConnection; return this; } /** * <p>The expiration time of the classic network endpoint. Unit: seconds.</p> * * <strong>example:</strong> * <p>5183779</p> */ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; return this; } /** * <p>The IP address.</p> * * <strong>example:</strong> * <p>172.16.49.***</p> */ public Builder IPAddress(String IPAddress) { this.IPAddress = IPAddress; return this; } /** * <p>The network type of the IP address. Valid values:</p> * <ul> * <li><strong>Public</strong>: Internet</li> * <li><strong>Inner</strong>: classic network</li> * <li><strong>Private</strong>: VPC</li> * </ul> * * <strong>example:</strong> * <p>Inner</p> */ public Builder IPType(String IPType) { this.IPType = IPType; return this; } /** * <p>Indicates whether the address is the endpoint for the secondary zone. Valid values: 1 and 0. A value of 1 indicates that the address is the endpoint for the secondary zone.</p> * <blockquote> * <p> This parameter is returned only after you enable the multi-zone read/write splitting architecture for the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder isSlaveProxy(Integer isSlaveProxy) { this.isSlaveProxy = isSlaveProxy; return this; } /** * <p>The service port of the instance.</p> * * <strong>example:</strong> * <p>6379</p> */ public Builder port(String port) { this.port = port; return this; } /** * <p>The remaining validity period of the classic network endpoint. Unit: seconds.</p> * <blockquote> * <p> **A value of 0 indicates that the endpoint never expires.</p> * </blockquote> * * <strong>example:</strong> * <p>0</p> */ public Builder upgradeable(String upgradeable) { this.upgradeable = upgradeable; return this; } /** * <p>The ID of the VPC to which the instance belongs.</p> * * <strong>example:</strong> * <p>vpc-bp1nme44gek34slfc****</p> */ public Builder VPCId(String VPCId) { this.VPCId = VPCId; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>r-bp1ky7j6qc7umk****</p> */ public Builder VPCInstanceId(String VPCInstanceId) { this.VPCInstanceId = VPCInstanceId; return this; } /** * <p>The ID of the vSwitch.</p> * * <strong>example:</strong> * <p>vsw-bp1e7clcw529l773d****</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } public InstanceNetInfo build() { return new InstanceNetInfo(this); } } } /** * * {@link DescribeDBInstanceNetInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstanceNetInfoResponseBody</p> */ public static class NetInfoItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceNetInfo") private java.util.List<InstanceNetInfo> instanceNetInfo; private NetInfoItems(Builder builder) { this.instanceNetInfo = builder.instanceNetInfo; } public static Builder builder() { return new Builder(); } public static NetInfoItems create() { return builder().build(); } /** * @return instanceNetInfo */ public java.util.List<InstanceNetInfo> getInstanceNetInfo() { return this.instanceNetInfo; } public static final class Builder { private java.util.List<InstanceNetInfo> instanceNetInfo; private Builder() { } private Builder(NetInfoItems model) { this.instanceNetInfo = model.instanceNetInfo; } /** * InstanceNetInfo. */ public Builder instanceNetInfo(java.util.List<InstanceNetInfo> instanceNetInfo) { this.instanceNetInfo = instanceNetInfo; return this; } public NetInfoItems build() { return new NetInfoItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDBNodeDirectVipInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDBNodeDirectVipInfoRequest} extends {@link RequestModel} * * <p>DescribeDBNodeDirectVipInfoRequest</p> */ public class DescribeDBNodeDirectVipInfoRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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 DescribeDBNodeDirectVipInfoRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; 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 DescribeDBNodeDirectVipInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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<DescribeDBNodeDirectVipInfoRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDBNodeDirectVipInfoRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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 DescribeDBNodeDirectVipInfoRequest build() { return new DescribeDBNodeDirectVipInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDBNodeDirectVipInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDBNodeDirectVipInfoResponse} extends {@link TeaModel} * * <p>DescribeDBNodeDirectVipInfoResponse</p> */ public class DescribeDBNodeDirectVipInfoResponse 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 DescribeDBNodeDirectVipInfoResponseBody body; private DescribeDBNodeDirectVipInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBNodeDirectVipInfoResponse 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 DescribeDBNodeDirectVipInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBNodeDirectVipInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBNodeDirectVipInfoResponseBody body); @Override DescribeDBNodeDirectVipInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBNodeDirectVipInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBNodeDirectVipInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBNodeDirectVipInfoResponse 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(DescribeDBNodeDirectVipInfoResponseBody body) { this.body = body; return this; } @Override public DescribeDBNodeDirectVipInfoResponse build() { return new DescribeDBNodeDirectVipInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDBNodeDirectVipInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDBNodeDirectVipInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDBNodeDirectVipInfoResponseBody</p> */ public class DescribeDBNodeDirectVipInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DirectVipInfo") private DirectVipInfo directVipInfo; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDBNodeDirectVipInfoResponseBody(Builder builder) { this.directVipInfo = builder.directVipInfo; this.instanceId = builder.instanceId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDBNodeDirectVipInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return directVipInfo */ public DirectVipInfo getDirectVipInfo() { return this.directVipInfo; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DirectVipInfo directVipInfo; private String instanceId; private String requestId; private Builder() { } private Builder(DescribeDBNodeDirectVipInfoResponseBody model) { this.directVipInfo = model.directVipInfo; this.instanceId = model.instanceId; this.requestId = model.requestId; } /** * <p>The VIP information of shards in the cluster instance.</p> */ public Builder directVipInfo(DirectVipInfo directVipInfo) { this.directVipInfo = directVipInfo; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>ABAF95F6-35C1-4177-AF3A-70969EBD****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDBNodeDirectVipInfoResponseBody build() { return new DescribeDBNodeDirectVipInfoResponseBody(this); } } /** * * {@link DescribeDBNodeDirectVipInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDBNodeDirectVipInfoResponseBody</p> */ public static class VipInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("NetType") private String netType; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("Vip") private String vip; private VipInfo(Builder builder) { this.netType = builder.netType; this.nodeId = builder.nodeId; this.port = builder.port; this.vip = builder.vip; } public static Builder builder() { return new Builder(); } public static VipInfo create() { return builder().build(); } /** * @return netType */ public String getNetType() { return this.netType; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return port */ public String getPort() { return this.port; } /** * @return vip */ public String getVip() { return this.vip; } public static final class Builder { private String netType; private String nodeId; private String port; private String vip; private Builder() { } private Builder(VipInfo model) { this.netType = model.netType; this.nodeId = model.nodeId; this.port = model.port; this.vip = model.vip; } /** * <p>The network type of the security group. Valid values:</p> * <ul> * <li><strong>vpc</strong>: Virtual Private Cloud (VPC)</li> * </ul> * * <strong>example:</strong> * <p>vpc</p> */ public Builder netType(String netType) { this.netType = netType; return this; } /** * <p>The shard ID.</p> * * <strong>example:</strong> * <p>r-8vb3679b04551444-db-2</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The port number. Valid values: <strong>1024</strong> to <strong>65535</strong>. Default value: <strong>6379</strong>.</p> * * <strong>example:</strong> * <p>6379</p> */ public Builder port(String port) { this.port = port; return this; } /** * <p>The VIP of the shard.</p> * * <strong>example:</strong> * <p>100.115.61.8</p> */ public Builder vip(String vip) { this.vip = vip; return this; } public VipInfo build() { return new VipInfo(this); } } } /** * * {@link DescribeDBNodeDirectVipInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDBNodeDirectVipInfoResponseBody</p> */ public static class DirectVipInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("VipInfo") private java.util.List<VipInfo> vipInfo; private DirectVipInfo(Builder builder) { this.vipInfo = builder.vipInfo; } public static Builder builder() { return new Builder(); } public static DirectVipInfo create() { return builder().build(); } /** * @return vipInfo */ public java.util.List<VipInfo> getVipInfo() { return this.vipInfo; } public static final class Builder { private java.util.List<VipInfo> vipInfo; private Builder() { } private Builder(DirectVipInfo model) { this.vipInfo = model.vipInfo; } /** * VipInfo. */ public Builder vipInfo(java.util.List<VipInfo> vipInfo) { this.vipInfo = vipInfo; return this; } public DirectVipInfo build() { return new DirectVipInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDedicatedClusterInstanceListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDedicatedClusterInstanceListRequest} extends {@link RequestModel} * * <p>DescribeDedicatedClusterInstanceListRequest</p> */ public class DescribeDedicatedClusterInstanceListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedHostName") private String dedicatedHostName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") 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("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceNetType") private String instanceNetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceStatus") private Integer instanceStatus; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeDedicatedClusterInstanceListRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.dedicatedHostName = builder.dedicatedHostName; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.instanceId = builder.instanceId; this.instanceNetType = builder.instanceNetType; this.instanceStatus = builder.instanceStatus; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeDedicatedClusterInstanceListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return dedicatedHostName */ public String getDedicatedHostName() { return this.dedicatedHostName; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceNetType */ public String getInstanceNetType() { return this.instanceNetType; } /** * @return instanceStatus */ public Integer getInstanceStatus() { return this.instanceStatus; } /** * @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 regionId */ public String getRegionId() { return this.regionId; } /** * @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 zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeDedicatedClusterInstanceListRequest, Builder> { private String clusterId; private String dedicatedHostName; private String engine; private String engineVersion; private String instanceId; private String instanceNetType; private Integer instanceStatus; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String zoneId; private Builder() { super(); } private Builder(DescribeDedicatedClusterInstanceListRequest request) { super(request); this.clusterId = request.clusterId; this.dedicatedHostName = request.dedicatedHostName; this.engine = request.engine; this.engineVersion = request.engineVersion; this.instanceId = request.instanceId; this.instanceNetType = request.instanceNetType; this.instanceStatus = request.instanceStatus; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.zoneId = request.zoneId; } /** * <p>The ID of the dedicated cluster. You can view the dedicated cluster ID on the Dedicated Clusters page in the ApsaraDB for MyBase console.</p> * <blockquote> * <p>Separate multiple IDs with commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>dhg-5f2v98840ioq****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The ID of the host in the dedicated cluster. You can call the <a href="https://help.aliyun.com/document_detail/200944.html">DescribeDedicatedHosts</a> operation to query the host ID.</p> * <blockquote> * <p>Separate multiple IDs with commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>ch-t4n664a9mal4c****</p> */ public Builder dedicatedHostName(String dedicatedHostName) { this.putQueryParameter("DedicatedHostName", dedicatedHostName); this.dedicatedHostName = dedicatedHostName; return this; } /** * <p>The database engine of the instance. Set the value to <strong>Redis</strong>.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The database engine version of the instance. Set the value to <strong>5.0</strong>.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; return this; } /** * <p>The ID of the instance.</p> * <blockquote> * <p>The instance must be created by using a dedicated cluster. For more information, see <a href="https://help.aliyun.com/document_detail/141455.html">What is ApsaraDB for MyBase?</a></p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>0</strong>: Internet</li> * <li><strong>1</strong>: classic network</li> * <li><strong>2</strong>: Virtual Private Cloud (VPC)</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder instanceNetType(String instanceNetType) { this.putQueryParameter("InstanceNetType", instanceNetType); this.instanceNetType = instanceNetType; return this; } /** * <p>The state of the instance. Valid values:</p> * <ul> * <li><strong>0</strong>: The instance is being created.</li> * <li><strong>1</strong>: The instance is running.</li> * <li><strong>3</strong>: The instance is being deleted.</li> * <li><strong>5</strong>: The configurations of the instance are being changed.</li> * <li><strong>6</strong>: The instance is being migrated.</li> * <li><strong>7</strong>: The instance is being restored from a backup.</li> * <li><strong>8</strong>: A master-replica switchover is in progress.</li> * <li><strong>9</strong>: Expired data of the instance is being deleted.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder instanceStatus(Integer instanceStatus) { this.putQueryParameter("InstanceStatus", instanceStatus); this.instanceStatus = instanceStatus; 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 number of the page to return. The value must be an integer that is greater than <strong>0</strong>. 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: <strong>30</strong>, <strong>50</strong>, and <strong>100</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; } /** * <p>The region ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473763.html">DescribeRegions</a> 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The zone ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473764.html">DescribeZones</a> 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 DescribeDedicatedClusterInstanceListRequest build() { return new DescribeDedicatedClusterInstanceListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDedicatedClusterInstanceListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDedicatedClusterInstanceListResponse} extends {@link TeaModel} * * <p>DescribeDedicatedClusterInstanceListResponse</p> */ public class DescribeDedicatedClusterInstanceListResponse 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 DescribeDedicatedClusterInstanceListResponseBody body; private DescribeDedicatedClusterInstanceListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDedicatedClusterInstanceListResponse 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 DescribeDedicatedClusterInstanceListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDedicatedClusterInstanceListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDedicatedClusterInstanceListResponseBody body); @Override DescribeDedicatedClusterInstanceListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDedicatedClusterInstanceListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDedicatedClusterInstanceListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDedicatedClusterInstanceListResponse 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(DescribeDedicatedClusterInstanceListResponseBody body) { this.body = body; return this; } @Override public DescribeDedicatedClusterInstanceListResponse build() { return new DescribeDedicatedClusterInstanceListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeDedicatedClusterInstanceListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDedicatedClusterInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedClusterInstanceListResponseBody</p> */ public class DescribeDedicatedClusterInstanceListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private java.util.List<Instances> instances; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeDedicatedClusterInstanceListResponseBody(Builder builder) { this.instances = builder.instances; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeDedicatedClusterInstanceListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public java.util.List<Instances> getInstances() { return this.instances; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<Instances> instances; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeDedicatedClusterInstanceListResponseBody model) { this.instances = model.instances; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>Details about the instances.</p> */ public Builder instances(java.util.List<Instances> instances) { this.instances = instances; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>712CCF2A-16BD-411B-93F7-E978BEF2****</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 totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeDedicatedClusterInstanceListResponseBody build() { return new DescribeDedicatedClusterInstanceListResponseBody(this); } } /** * * {@link DescribeDedicatedClusterInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedClusterInstanceListResponseBody</p> */ public static class InstanceNodeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DedicatedHostName") private String dedicatedHostName; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("NodeId") private Integer nodeId; @com.aliyun.core.annotation.NameInMap("NodeIp") private String nodeIp; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("Port") private Integer port; @com.aliyun.core.annotation.NameInMap("Role") private String role; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private InstanceNodeList(Builder builder) { this.dedicatedHostName = builder.dedicatedHostName; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.nodeIp = builder.nodeIp; this.nodeType = builder.nodeType; this.port = builder.port; this.role = builder.role; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static InstanceNodeList create() { return builder().build(); } /** * @return dedicatedHostName */ public String getDedicatedHostName() { return this.dedicatedHostName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public Integer getNodeId() { return this.nodeId; } /** * @return nodeIp */ public String getNodeIp() { return this.nodeIp; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return role */ public String getRole() { return this.role; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String dedicatedHostName; private String instanceId; private Integer nodeId; private String nodeIp; private String nodeType; private Integer port; private String role; private String zoneId; private Builder() { } private Builder(InstanceNodeList model) { this.dedicatedHostName = model.dedicatedHostName; this.instanceId = model.instanceId; this.nodeId = model.nodeId; this.nodeIp = model.nodeIp; this.nodeType = model.nodeType; this.port = model.port; this.role = model.role; this.zoneId = model.zoneId; } /** * <p>The ID of the host in the dedicated cluster.</p> * * <strong>example:</strong> * <p>ch-bp13vf0y9gx3c****</p> */ public Builder dedicatedHostName(String dedicatedHostName) { this.dedicatedHostName = dedicatedHostName; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1e7vl6ygf1yq****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The node ID.</p> * * <strong>example:</strong> * <p>17921111</p> */ public Builder nodeId(Integer nodeId) { this.nodeId = nodeId; return this; } /** * <p>The IP address of the node.</p> * * <strong>example:</strong> * <p>10.0.33.***</p> */ public Builder nodeIp(String nodeIp) { this.nodeIp = nodeIp; return this; } /** * <p>The node type. Valid values:</p> * <ul> * <li><strong>db</strong>: data node.</li> * <li><strong>proxy</strong>: proxy node.</li> * <li><strong>normal</strong>: regular node. This value is returned when the instance runs in the standard architecture.</li> * </ul> * * <strong>example:</strong> * <p>normal</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>The port number that is used to connect to the node.</p> * * <strong>example:</strong> * <p>3001</p> */ public Builder port(Integer port) { this.port = port; return this; } /** * <p>The role of the node. Valid values:</p> * <ul> * <li><strong>master</strong>: master node</li> * <li><strong>slave</strong>: replica node</li> * </ul> * * <strong>example:</strong> * <p>master</p> */ public Builder role(String role) { this.role = role; return this; } /** * <p>The zone ID of the node.</p> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public InstanceNodeList build() { return new InstanceNodeList(this); } } } /** * * {@link DescribeDedicatedClusterInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedClusterInstanceListResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("BandWidth") private Long bandWidth; @com.aliyun.core.annotation.NameInMap("CharacterType") private String characterType; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("ConnectionDomain") private String connectionDomain; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("CurrentBandWidth") private Long currentBandWidth; @com.aliyun.core.annotation.NameInMap("CustomId") private String customId; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceNodeList") private java.util.List<InstanceNodeList> instanceNodeList; @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("MaintainEndTime") private String maintainEndTime; @com.aliyun.core.annotation.NameInMap("MaintainStartTime") private String maintainStartTime; @com.aliyun.core.annotation.NameInMap("ProxyCount") private Integer proxyCount; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ShardCount") private Integer shardCount; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("VswitchId") private String vswitchId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private Instances(Builder builder) { this.bandWidth = builder.bandWidth; this.characterType = builder.characterType; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.connectionDomain = builder.connectionDomain; this.createTime = builder.createTime; this.currentBandWidth = builder.currentBandWidth; this.customId = builder.customId; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceNodeList = builder.instanceNodeList; this.instanceStatus = builder.instanceStatus; this.maintainEndTime = builder.maintainEndTime; this.maintainStartTime = builder.maintainStartTime; this.proxyCount = builder.proxyCount; this.regionId = builder.regionId; this.shardCount = builder.shardCount; this.storageType = builder.storageType; this.vpcId = builder.vpcId; this.vswitchId = builder.vswitchId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return bandWidth */ public Long getBandWidth() { return this.bandWidth; } /** * @return characterType */ public String getCharacterType() { return this.characterType; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return connectionDomain */ public String getConnectionDomain() { return this.connectionDomain; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return currentBandWidth */ public Long getCurrentBandWidth() { return this.currentBandWidth; } /** * @return customId */ public String getCustomId() { return this.customId; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceNodeList */ public java.util.List<InstanceNodeList> getInstanceNodeList() { return this.instanceNodeList; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return maintainEndTime */ public String getMaintainEndTime() { return this.maintainEndTime; } /** * @return maintainStartTime */ public String getMaintainStartTime() { return this.maintainStartTime; } /** * @return proxyCount */ public Integer getProxyCount() { return this.proxyCount; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vswitchId */ public String getVswitchId() { return this.vswitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Long bandWidth; private String characterType; private String clusterId; private String clusterName; private String connectionDomain; private String createTime; private Long currentBandWidth; private String customId; private String engine; private String engineVersion; private String instanceClass; private String instanceId; private String instanceName; private java.util.List<InstanceNodeList> instanceNodeList; private String instanceStatus; private String maintainEndTime; private String maintainStartTime; private Integer proxyCount; private String regionId; private Integer shardCount; private String storageType; private String vpcId; private String vswitchId; private String zoneId; private Builder() { } private Builder(Instances model) { this.bandWidth = model.bandWidth; this.characterType = model.characterType; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.connectionDomain = model.connectionDomain; this.createTime = model.createTime; this.currentBandWidth = model.currentBandWidth; this.customId = model.customId; this.engine = model.engine; this.engineVersion = model.engineVersion; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceNodeList = model.instanceNodeList; this.instanceStatus = model.instanceStatus; this.maintainEndTime = model.maintainEndTime; this.maintainStartTime = model.maintainStartTime; this.proxyCount = model.proxyCount; this.regionId = model.regionId; this.shardCount = model.shardCount; this.storageType = model.storageType; this.vpcId = model.vpcId; this.vswitchId = model.vswitchId; this.zoneId = model.zoneId; } /** * <p>The default bandwidth of the instance. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>24</p> */ public Builder bandWidth(Long bandWidth) { this.bandWidth = bandWidth; return this; } /** * <p>The architecture of the instance. Valid values:</p> * <ul> * <li><strong>logic</strong>: cluster</li> * <li><strong>normal</strong>: standard</li> * </ul> * * <strong>example:</strong> * <p>logic</p> */ public Builder characterType(String characterType) { this.characterType = characterType; return this; } /** * <p>The ID of the dedicated cluster to which the instance belongs.</p> * * <strong>example:</strong> * <p>dhg-rx71fc5ndh9o****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The name of the dedicated cluster to which the instance belongs.</p> * * <strong>example:</strong> * <p>testname</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The private endpoint of the instance.</p> * * <strong>example:</strong> * <p>r-t4ncdi1dgi0ja8****.redis.hangzhou.rds.aliyuncs.com</p> */ public Builder connectionDomain(String connectionDomain) { this.connectionDomain = connectionDomain; return this; } /** * <p>The time when the instance was created. 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>2021-05-06T07:09:40Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The current bandwidth of the instance, which is the sum of the default bandwidth and any extra bandwidth that is purchased. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder currentBandWidth(Long currentBandWidth) { this.currentBandWidth = currentBandWidth; return this; } /** * <p>An internal parameter used for the maintenance and management of instances.</p> * * <strong>example:</strong> * <p>4652****</p> */ public Builder customId(String customId) { this.customId = customId; return this; } /** * <p>The database engine. The return value is <strong>redis</strong>.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version of the instance. The return value is <strong>5.0</strong>.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The instance type.</p> * * <strong>example:</strong> * <p>redis.cluster.sharding.common.ce</p> */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1e7vl6ygf1yq****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>testdb</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>Details about the nodes.</p> */ public Builder instanceNodeList(java.util.List<InstanceNodeList> instanceNodeList) { this.instanceNodeList = instanceNodeList; return this; } /** * <p>The state of the instance. Valid values:</p> * <ul> * <li><strong>Normal</strong>: The instance is normal.</li> * <li><strong>Creating</strong>: The instance is being created.</li> * <li><strong>Changing</strong>: The configurations of the instance are being changed.</li> * <li><strong>Inactive</strong>: The instance is disabled.</li> * <li><strong>Flushing</strong>: The instance is being released.</li> * <li><strong>Released</strong>: The instance is released.</li> * <li><strong>Transforming</strong>: The billing method of the instance is being changed.</li> * <li><strong>Unavailable</strong>: The instance is unavailable.</li> * <li><strong>Error</strong>: The instance failed to be created.</li> * <li><strong>Migrating</strong>: The instance is being migrated.</li> * <li><strong>BackupRecovering</strong>: The instance is being restored from a backup.</li> * <li><strong>MinorVersionUpgrading</strong>: The minor version of the instance is being updated.</li> * <li><strong>NetworkModifying</strong>: The network type of the instance is being changed.</li> * <li><strong>SSLModifying</strong>: The SSL configurations of the instance are being changed.</li> * <li><strong>MajorVersionUpgrading</strong>: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.</li> * </ul> * * <strong>example:</strong> * <p>Normal</p> */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * <p>The end time of the maintenance window. The time is in the <em>HH:mm</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>17:00Z</p> */ public Builder maintainEndTime(String maintainEndTime) { this.maintainEndTime = maintainEndTime; return this; } /** * <p>The start time of the maintenance window. The time is in the <em>HH:mm</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>16:00Z</p> */ public Builder maintainStartTime(String maintainStartTime) { this.maintainStartTime = maintainStartTime; return this; } /** * <p>The number of proxy nodes.</p> * <blockquote> * </blockquote> * <ul> * <li><p>If the return value is <strong>0</strong>, the proxy mode is disabled for the instance. If the return value is an integer greater than <strong>0</strong>, such as <strong>1</strong>, the proxy mode is enabled for the instance.</p> * </li> * <li><p>This parameter is returned only when the instance is a <a href="https://help.aliyun.com/document_detail/52228.html">cluster</a> instance.</p> * </li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder proxyCount(Integer proxyCount) { this.proxyCount = proxyCount; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The number of shards.</p> * <blockquote> * <p> This parameter is returned only when the instance is a <a href="https://help.aliyun.com/document_detail/52228.html">cluster</a> instance.</p> * </blockquote> * * <strong>example:</strong> * <p>3</p> */ public Builder shardCount(Integer shardCount) { this.shardCount = shardCount; return this; } /** * <p>The storage type of the instance. The return value is LOCAL_SSD, which indicates <a href="https://help.aliyun.com/document_detail/122389.html">enhanced SSDs (ESSDs)</a>.</p> * * <strong>example:</strong> * <p>LOCAL_SSD</p> */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * <p>The VPC ID.</p> * * <strong>example:</strong> * <p>vpc-t4n2clc70t3hqwsrr****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The vSwitch ID.</p> * * <strong>example:</strong> * <p>vsw-t4nvrca24dczppq44****</p> */ public Builder vswitchId(String vswitchId) { this.vswitchId = vswitchId; 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 Instances build() { return new Instances(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEncryptionKeyListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEncryptionKeyListRequest} extends {@link RequestModel} * * <p>DescribeEncryptionKeyListRequest</p> */ public class DescribeEncryptionKeyListRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeEncryptionKeyListRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeEncryptionKeyListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeEncryptionKeyListRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeEncryptionKeyListRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query the ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeEncryptionKeyListRequest build() { return new DescribeEncryptionKeyListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEncryptionKeyListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEncryptionKeyListResponse} extends {@link TeaModel} * * <p>DescribeEncryptionKeyListResponse</p> */ public class DescribeEncryptionKeyListResponse 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 DescribeEncryptionKeyListResponseBody body; private DescribeEncryptionKeyListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEncryptionKeyListResponse 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 DescribeEncryptionKeyListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEncryptionKeyListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEncryptionKeyListResponseBody body); @Override DescribeEncryptionKeyListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEncryptionKeyListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEncryptionKeyListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEncryptionKeyListResponse 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(DescribeEncryptionKeyListResponseBody body) { this.body = body; return this; } @Override public DescribeEncryptionKeyListResponse build() { return new DescribeEncryptionKeyListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEncryptionKeyListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEncryptionKeyListResponseBody} extends {@link TeaModel} * * <p>DescribeEncryptionKeyListResponseBody</p> */ public class DescribeEncryptionKeyListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("KeyIds") private KeyIds keyIds; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeEncryptionKeyListResponseBody(Builder builder) { this.keyIds = builder.keyIds; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeEncryptionKeyListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return keyIds */ public KeyIds getKeyIds() { return this.keyIds; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private KeyIds keyIds; private String requestId; private Builder() { } private Builder(DescribeEncryptionKeyListResponseBody model) { this.keyIds = model.keyIds; this.requestId = model.requestId; } /** * <p>The custom keys that are available in the region.</p> */ public Builder keyIds(KeyIds keyIds) { this.keyIds = keyIds; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>10E2160B-959C-5C3E-BFE6-86EC5925****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeEncryptionKeyListResponseBody build() { return new DescribeEncryptionKeyListResponseBody(this); } } /** * * {@link DescribeEncryptionKeyListResponseBody} extends {@link TeaModel} * * <p>DescribeEncryptionKeyListResponseBody</p> */ public static class KeyIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("KeyId") private java.util.List<String> keyId; private KeyIds(Builder builder) { this.keyId = builder.keyId; } public static Builder builder() { return new Builder(); } public static KeyIds create() { return builder().build(); } /** * @return keyId */ public java.util.List<String> getKeyId() { return this.keyId; } public static final class Builder { private java.util.List<String> keyId; private Builder() { } private Builder(KeyIds model) { this.keyId = model.keyId; } /** * KeyId. */ public Builder keyId(java.util.List<String> keyId) { this.keyId = keyId; return this; } public KeyIds build() { return new KeyIds(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEncryptionKeyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEncryptionKeyRequest} extends {@link RequestModel} * * <p>DescribeEncryptionKeyRequest</p> */ public class DescribeEncryptionKeyRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EncryptionKey") private String encryptionKey; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeEncryptionKeyRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.encryptionKey = builder.encryptionKey; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeEncryptionKeyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return encryptionKey */ public String getEncryptionKey() { return this.encryptionKey; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeEncryptionKeyRequest, Builder> { private String regionId; private String encryptionKey; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeEncryptionKeyRequest request) { super(request); this.regionId = request.regionId; this.encryptionKey = request.encryptionKey; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the custom key. You can call the <a href="https://help.aliyun.com/document_detail/473860.html">DescribeEncryptionKeyList</a> operation to query the ID of the key.</p> * * <strong>example:</strong> * <p>ad463061-992d-4195-8a94-ed63********</p> */ public Builder encryptionKey(String encryptionKey) { this.putQueryParameter("EncryptionKey", encryptionKey); this.encryptionKey = encryptionKey; return this; } /** * <p>The ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query the ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeEncryptionKeyRequest build() { return new DescribeEncryptionKeyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEncryptionKeyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEncryptionKeyResponse} extends {@link TeaModel} * * <p>DescribeEncryptionKeyResponse</p> */ public class DescribeEncryptionKeyResponse 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 DescribeEncryptionKeyResponseBody body; private DescribeEncryptionKeyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEncryptionKeyResponse 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 DescribeEncryptionKeyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEncryptionKeyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEncryptionKeyResponseBody body); @Override DescribeEncryptionKeyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEncryptionKeyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEncryptionKeyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEncryptionKeyResponse 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(DescribeEncryptionKeyResponseBody body) { this.body = body; return this; } @Override public DescribeEncryptionKeyResponse build() { return new DescribeEncryptionKeyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEncryptionKeyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEncryptionKeyResponseBody} extends {@link TeaModel} * * <p>DescribeEncryptionKeyResponseBody</p> */ public class DescribeEncryptionKeyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Creator") private String creator; @com.aliyun.core.annotation.NameInMap("DeleteDate") private String deleteDate; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("EncryptionKey") private String encryptionKey; @com.aliyun.core.annotation.NameInMap("EncryptionKeyStatus") private String encryptionKeyStatus; @com.aliyun.core.annotation.NameInMap("EncryptionName") private String encryptionName; @com.aliyun.core.annotation.NameInMap("KeyUsage") private String keyUsage; @com.aliyun.core.annotation.NameInMap("MaterialExpireTime") private String materialExpireTime; @com.aliyun.core.annotation.NameInMap("Origin") private String origin; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RoleArn") private String roleArn; private DescribeEncryptionKeyResponseBody(Builder builder) { this.creator = builder.creator; this.deleteDate = builder.deleteDate; this.description = builder.description; this.encryptionKey = builder.encryptionKey; this.encryptionKeyStatus = builder.encryptionKeyStatus; this.encryptionName = builder.encryptionName; this.keyUsage = builder.keyUsage; this.materialExpireTime = builder.materialExpireTime; this.origin = builder.origin; this.requestId = builder.requestId; this.roleArn = builder.roleArn; } public static Builder builder() { return new Builder(); } public static DescribeEncryptionKeyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return creator */ public String getCreator() { return this.creator; } /** * @return deleteDate */ public String getDeleteDate() { return this.deleteDate; } /** * @return description */ public String getDescription() { return this.description; } /** * @return encryptionKey */ public String getEncryptionKey() { return this.encryptionKey; } /** * @return encryptionKeyStatus */ public String getEncryptionKeyStatus() { return this.encryptionKeyStatus; } /** * @return encryptionName */ public String getEncryptionName() { return this.encryptionName; } /** * @return keyUsage */ public String getKeyUsage() { return this.keyUsage; } /** * @return materialExpireTime */ public String getMaterialExpireTime() { return this.materialExpireTime; } /** * @return origin */ public String getOrigin() { return this.origin; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } public static final class Builder { private String creator; private String deleteDate; private String description; private String encryptionKey; private String encryptionKeyStatus; private String encryptionName; private String keyUsage; private String materialExpireTime; private String origin; private String requestId; private String roleArn; private Builder() { } private Builder(DescribeEncryptionKeyResponseBody model) { this.creator = model.creator; this.deleteDate = model.deleteDate; this.description = model.description; this.encryptionKey = model.encryptionKey; this.encryptionKeyStatus = model.encryptionKeyStatus; this.encryptionName = model.encryptionName; this.keyUsage = model.keyUsage; this.materialExpireTime = model.materialExpireTime; this.origin = model.origin; this.requestId = model.requestId; this.roleArn = model.roleArn; } /** * <p>The ID of the Alibaba Cloud account that is used to create the custom key.</p> * * <strong>example:</strong> * <p>17649847********</p> */ public Builder creator(String creator) { this.creator = creator; return this; } /** * <p>The time when the custom key is expected to be deleted. 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>If the return value is an empty string, the custom key cannot be automatically deleted.</p> * </blockquote> * * <strong>example:</strong> * <p>2021-09-24T18:22:03Z</p> */ public Builder deleteDate(String deleteDate) { this.deleteDate = deleteDate; return this; } /** * <p>The description of the custom key. By default, an empty string is returned.</p> * * <strong>example:</strong> * <p>testkey</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The ID of the custom key.</p> * * <strong>example:</strong> * <p>ad463061-992d-4195-8a94-ed63********</p> */ public Builder encryptionKey(String encryptionKey) { this.encryptionKey = encryptionKey; return this; } /** * <p>The state of the custom key. Valid values:</p> * <ul> * <li><strong>Enabled</strong>: The custom key is available.</li> * <li><strong>Disabled</strong>: The custom key is unavailable.</li> * </ul> * * <strong>example:</strong> * <p>Enabled</p> */ public Builder encryptionKeyStatus(String encryptionKeyStatus) { this.encryptionKeyStatus = encryptionKeyStatus; return this; } /** * <p>The encryption algorithm.</p> * * <strong>example:</strong> * <p>AES-CTR-256</p> */ public Builder encryptionName(String encryptionName) { this.encryptionName = encryptionName; return this; } /** * <p>The purpose of the custom key. A value of <code>ENCRYPT/DECRYPT</code> indicates encryption and decryption.</p> * * <strong>example:</strong> * <p>ENCRYPT/DECRYPT</p> */ public Builder keyUsage(String keyUsage) { this.keyUsage = keyUsage; return this; } /** * <p>The time when the custom key expires. 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>If the return value is an empty string, the custom key does not expire.</p> * </blockquote> * * <strong>example:</strong> * <p>2021-09-24T18:22:03Z</p> */ public Builder materialExpireTime(String materialExpireTime) { this.materialExpireTime = materialExpireTime; return this; } /** * <p>The source of the custom key. A value of <strong>Aliyun_KMS</strong> indicates <a href="https://help.aliyun.com/document_detail/28935.html">Key Management Service (KMS)</a> of Alibaba Cloud.</p> * * <strong>example:</strong> * <p>Aliyun_KMS</p> */ public Builder origin(String origin) { this.origin = origin; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>9A931CE5-C926-5E09-B0EC-6299C4A6****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role to which you want to grant permissions.</p> * * <strong>example:</strong> * <p>acs:ram::123456789012****:role/AliyunRdsInstanceEncryptionDefaultRole</p> */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } public DescribeEncryptionKeyResponseBody build() { return new DescribeEncryptionKeyResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEngineVersionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEngineVersionRequest} extends {@link RequestModel} * * <p>DescribeEngineVersionRequest</p> */ public class DescribeEngineVersionRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeEngineVersionRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeEngineVersionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeEngineVersionRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeEngineVersionRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The instance ID. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeEngineVersionRequest build() { return new DescribeEngineVersionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEngineVersionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEngineVersionResponse} extends {@link TeaModel} * * <p>DescribeEngineVersionResponse</p> */ public class DescribeEngineVersionResponse 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 DescribeEngineVersionResponseBody body; private DescribeEngineVersionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEngineVersionResponse 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 DescribeEngineVersionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEngineVersionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEngineVersionResponseBody body); @Override DescribeEngineVersionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEngineVersionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEngineVersionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEngineVersionResponse 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(DescribeEngineVersionResponseBody body) { this.body = body; return this; } @Override public DescribeEngineVersionResponse build() { return new DescribeEngineVersionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeEngineVersionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public class DescribeEngineVersionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBLatestMinorVersion") private DBLatestMinorVersion DBLatestMinorVersion; @com.aliyun.core.annotation.NameInMap("DBVersionRelease") private String DBVersionRelease; @com.aliyun.core.annotation.NameInMap("EnableUpgradeMajorVersion") private Boolean enableUpgradeMajorVersion; @com.aliyun.core.annotation.NameInMap("EnableUpgradeMinorVersion") private Boolean enableUpgradeMinorVersion; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("IsAutoUpgradeOpen") private String isAutoUpgradeOpen; @com.aliyun.core.annotation.NameInMap("IsLatestVersion") private Boolean isLatestVersion; @com.aliyun.core.annotation.NameInMap("IsNewSSLMode") private String isNewSSLMode; @com.aliyun.core.annotation.NameInMap("IsOpenNGLB") private String isOpenNGLB; @com.aliyun.core.annotation.NameInMap("IsRedisCompatibleVersion") private String isRedisCompatibleVersion; @com.aliyun.core.annotation.NameInMap("IsSSLEnable") private String isSSLEnable; @com.aliyun.core.annotation.NameInMap("MajorVersion") private String majorVersion; @com.aliyun.core.annotation.NameInMap("MinorVersion") private String minorVersion; @com.aliyun.core.annotation.NameInMap("ProxyLatestMinorVersion") private ProxyLatestMinorVersion proxyLatestMinorVersion; @com.aliyun.core.annotation.NameInMap("ProxyMinorVersion") private String proxyMinorVersion; @com.aliyun.core.annotation.NameInMap("ProxyVersionRelease") private String proxyVersionRelease; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeEngineVersionResponseBody(Builder builder) { this.DBLatestMinorVersion = builder.DBLatestMinorVersion; this.DBVersionRelease = builder.DBVersionRelease; this.enableUpgradeMajorVersion = builder.enableUpgradeMajorVersion; this.enableUpgradeMinorVersion = builder.enableUpgradeMinorVersion; this.engine = builder.engine; this.isAutoUpgradeOpen = builder.isAutoUpgradeOpen; this.isLatestVersion = builder.isLatestVersion; this.isNewSSLMode = builder.isNewSSLMode; this.isOpenNGLB = builder.isOpenNGLB; this.isRedisCompatibleVersion = builder.isRedisCompatibleVersion; this.isSSLEnable = builder.isSSLEnable; this.majorVersion = builder.majorVersion; this.minorVersion = builder.minorVersion; this.proxyLatestMinorVersion = builder.proxyLatestMinorVersion; this.proxyMinorVersion = builder.proxyMinorVersion; this.proxyVersionRelease = builder.proxyVersionRelease; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeEngineVersionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBLatestMinorVersion */ public DBLatestMinorVersion getDBLatestMinorVersion() { return this.DBLatestMinorVersion; } /** * @return DBVersionRelease */ public String getDBVersionRelease() { return this.DBVersionRelease; } /** * @return enableUpgradeMajorVersion */ public Boolean getEnableUpgradeMajorVersion() { return this.enableUpgradeMajorVersion; } /** * @return enableUpgradeMinorVersion */ public Boolean getEnableUpgradeMinorVersion() { return this.enableUpgradeMinorVersion; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return isAutoUpgradeOpen */ public String getIsAutoUpgradeOpen() { return this.isAutoUpgradeOpen; } /** * @return isLatestVersion */ public Boolean getIsLatestVersion() { return this.isLatestVersion; } /** * @return isNewSSLMode */ public String getIsNewSSLMode() { return this.isNewSSLMode; } /** * @return isOpenNGLB */ public String getIsOpenNGLB() { return this.isOpenNGLB; } /** * @return isRedisCompatibleVersion */ public String getIsRedisCompatibleVersion() { return this.isRedisCompatibleVersion; } /** * @return isSSLEnable */ public String getIsSSLEnable() { return this.isSSLEnable; } /** * @return majorVersion */ public String getMajorVersion() { return this.majorVersion; } /** * @return minorVersion */ public String getMinorVersion() { return this.minorVersion; } /** * @return proxyLatestMinorVersion */ public ProxyLatestMinorVersion getProxyLatestMinorVersion() { return this.proxyLatestMinorVersion; } /** * @return proxyMinorVersion */ public String getProxyMinorVersion() { return this.proxyMinorVersion; } /** * @return proxyVersionRelease */ public String getProxyVersionRelease() { return this.proxyVersionRelease; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DBLatestMinorVersion DBLatestMinorVersion; private String DBVersionRelease; private Boolean enableUpgradeMajorVersion; private Boolean enableUpgradeMinorVersion; private String engine; private String isAutoUpgradeOpen; private Boolean isLatestVersion; private String isNewSSLMode; private String isOpenNGLB; private String isRedisCompatibleVersion; private String isSSLEnable; private String majorVersion; private String minorVersion; private ProxyLatestMinorVersion proxyLatestMinorVersion; private String proxyMinorVersion; private String proxyVersionRelease; private String requestId; private Builder() { } private Builder(DescribeEngineVersionResponseBody model) { this.DBLatestMinorVersion = model.DBLatestMinorVersion; this.DBVersionRelease = model.DBVersionRelease; this.enableUpgradeMajorVersion = model.enableUpgradeMajorVersion; this.enableUpgradeMinorVersion = model.enableUpgradeMinorVersion; this.engine = model.engine; this.isAutoUpgradeOpen = model.isAutoUpgradeOpen; this.isLatestVersion = model.isLatestVersion; this.isNewSSLMode = model.isNewSSLMode; this.isOpenNGLB = model.isOpenNGLB; this.isRedisCompatibleVersion = model.isRedisCompatibleVersion; this.isSSLEnable = model.isSSLEnable; this.majorVersion = model.majorVersion; this.minorVersion = model.minorVersion; this.proxyLatestMinorVersion = model.proxyLatestMinorVersion; this.proxyMinorVersion = model.proxyMinorVersion; this.proxyVersionRelease = model.proxyVersionRelease; this.requestId = model.requestId; } /** * <p>The latest minor version to which the instance can be updated.</p> */ public Builder DBLatestMinorVersion(DBLatestMinorVersion DBLatestMinorVersion) { this.DBLatestMinorVersion = DBLatestMinorVersion; return this; } /** * <p>The release notes for the minor version of the instance, including the release date, minor version number, release type such as new feature, and description.</p> * * <strong>example:</strong> * <p>{&quot;releaseInfo&quot;:{&quot;createTime&quot;:&quot;2021-07-27&quot;,&quot;level&quot;:1,&quot;releaseVersion&quot;:&quot;0.5.4&quot;,&quot;releaseNote&quot;:&quot;Feature optimization: The stability is improved.&quot;}],&quot;versionChangesLevel&quot;:2}</p> */ public Builder DBVersionRelease(String DBVersionRelease) { this.DBVersionRelease = DBVersionRelease; return this; } /** * <p>Indicates whether the instance major version can be upgraded. Valid values:</p> * <ul> * <li><strong>true</strong>: The major version can be upgraded.</li> * <li><strong>false</strong>: The major version is the latest version and cannot be upgraded.</li> * </ul> * <blockquote> * <p> To upgrade the major version, call the <a href="https://help.aliyun.com/document_detail/473776.html">ModifyInstanceMajorVersion</a> operation.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder enableUpgradeMajorVersion(Boolean enableUpgradeMajorVersion) { this.enableUpgradeMajorVersion = enableUpgradeMajorVersion; return this; } /** * <p>Indicates whether the instance minor version can be updated. Valid values:</p> * <ul> * <li><strong>true</strong>: The minor version can be updated.</li> * <li><strong>false</strong>: The minor version is the latest version and cannot be updated.</li> * </ul> * <blockquote> * <p> To update the minor version, call the <a href="https://help.aliyun.com/document_detail/473777.html">ModifyInstanceMinorVersion</a> operation.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder enableUpgradeMinorVersion(Boolean enableUpgradeMinorVersion) { this.enableUpgradeMinorVersion = enableUpgradeMinorVersion; return this; } /** * <p>The database engine. Valid values: <strong>redis</strong> and <strong>memcache</strong>.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>Indicates whether automatic minor version update is enabled. Valid values:</p> * <ul> * <li><strong>0</strong>: Automatic minor version update is disabled.</li> * <li><strong>1</strong>: Automatic minor version update is enabled.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder isAutoUpgradeOpen(String isAutoUpgradeOpen) { this.isAutoUpgradeOpen = isAutoUpgradeOpen; return this; } /** * <p>Indicates whether the instance uses the latest minor version. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder isLatestVersion(Boolean isLatestVersion) { this.isLatestVersion = isLatestVersion; return this; } /** * <p>Indicates whether Transport Layer Security (TLS) is enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: TLS is enabled.</li> * <li><strong>0</strong>: TLS is disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isNewSSLMode(String isNewSSLMode) { this.isNewSSLMode = isNewSSLMode; return this; } /** * <p>Indicates whether the NGLB mode is enabled. Valid values:</p> * <ul> * <li><strong>0</strong>: The NGLB mode is disabled.</li> * <li><strong>1</strong>: The NGLB mode is enabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isOpenNGLB(String isOpenNGLB) { this.isOpenNGLB = isOpenNGLB; return this; } /** * <p>Indicates whether the instance runs a Redis version.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder isRedisCompatibleVersion(String isRedisCompatibleVersion) { this.isRedisCompatibleVersion = isRedisCompatibleVersion; return this; } /** * <p>Indicates whether SSL is enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: SSL is enabled.</li> * <li><strong>0</strong>: TLS is disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isSSLEnable(String isSSLEnable) { this.isSSLEnable = isSSLEnable; return this; } /** * <p>The major version of the instance.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder majorVersion(String majorVersion) { this.majorVersion = majorVersion; return this; } /** * <p>The current minor version of the instance.</p> * * <strong>example:</strong> * <p>redis-5.0_0.5.0</p> */ public Builder minorVersion(String minorVersion) { this.minorVersion = minorVersion; return this; } /** * <p>The latest minor version to which the proxy node can be updated.</p> */ public Builder proxyLatestMinorVersion(ProxyLatestMinorVersion proxyLatestMinorVersion) { this.proxyLatestMinorVersion = proxyLatestMinorVersion; return this; } /** * <p>The current minor version of the proxy node.</p> * <blockquote> * <p> This parameter is returned only for cluster and read/write splitting instances.</p> * </blockquote> * * <strong>example:</strong> * <p>6.6.0</p> */ public Builder proxyMinorVersion(String proxyMinorVersion) { this.proxyMinorVersion = proxyMinorVersion; return this; } /** * <p>The release notes for the minor version of proxy nodes. The release notes include the release date, minor version number, release type such as new feature, and description.</p> * <blockquote> * <p> This parameter is returned only for cluster and read/write splitting instances.</p> * </blockquote> * * <strong>example:</strong> * <p>{&quot;releaseInfo&quot;:[{&quot;createTime&quot;:&quot;2021-06-08&quot;,&quot;level&quot;:0,&quot;releaseVersion&quot;:&quot;6.6.2&quot;,&quot;releaseNote&quot;:&quot;New feature: Some internal commands are supported.&quot;}],&quot;versionChangesLevel&quot;:2}</p> */ public Builder proxyVersionRelease(String proxyVersionRelease) { this.proxyVersionRelease = proxyVersionRelease; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A52974D1-9D57-4805-86CC-92E6EDE8****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeEngineVersionResponseBody build() { return new DescribeEngineVersionResponseBody(this); } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class ReleaseInfoList extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("ReleaseNote") private String releaseNote; @com.aliyun.core.annotation.NameInMap("ReleaseNoteEn") private String releaseNoteEn; @com.aliyun.core.annotation.NameInMap("ReleaseVersion") private String releaseVersion; private ReleaseInfoList(Builder builder) { this.createTime = builder.createTime; this.level = builder.level; this.releaseNote = builder.releaseNote; this.releaseNoteEn = builder.releaseNoteEn; this.releaseVersion = builder.releaseVersion; } public static Builder builder() { return new Builder(); } public static ReleaseInfoList create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return level */ public String getLevel() { return this.level; } /** * @return releaseNote */ public String getReleaseNote() { return this.releaseNote; } /** * @return releaseNoteEn */ public String getReleaseNoteEn() { return this.releaseNoteEn; } /** * @return releaseVersion */ public String getReleaseVersion() { return this.releaseVersion; } public static final class Builder { private String createTime; private String level; private String releaseNote; private String releaseNoteEn; private String releaseVersion; private Builder() { } private Builder(ReleaseInfoList model) { this.createTime = model.createTime; this.level = model.level; this.releaseNote = model.releaseNote; this.releaseNoteEn = model.releaseNoteEn; this.releaseVersion = model.releaseVersion; } /** * <p>The creation time of the instance.</p> * * <strong>example:</strong> * <p>2022-11-21T13:28Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The importance level.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The release notes.</p> * * <strong>example:</strong> * <p>netbank1022</p> */ public Builder releaseNote(String releaseNote) { this.releaseNote = releaseNote; return this; } /** * <p>The description of the minor versions to which the instance can be updated.</p> * * <strong>example:</strong> * <p>ReleaseNoteEn</p> */ public Builder releaseNoteEn(String releaseNoteEn) { this.releaseNoteEn = releaseNoteEn; return this; } /** * <p>The release version of EMR.</p> * * <strong>example:</strong> * <p>EMR-5.7.0</p> */ public Builder releaseVersion(String releaseVersion) { this.releaseVersion = releaseVersion; return this; } public ReleaseInfoList build() { return new ReleaseInfoList(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class ReleaseInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReleaseInfoList") private java.util.List<ReleaseInfoList> releaseInfoList; private ReleaseInfo(Builder builder) { this.releaseInfoList = builder.releaseInfoList; } public static Builder builder() { return new Builder(); } public static ReleaseInfo create() { return builder().build(); } /** * @return releaseInfoList */ public java.util.List<ReleaseInfoList> getReleaseInfoList() { return this.releaseInfoList; } public static final class Builder { private java.util.List<ReleaseInfoList> releaseInfoList; private Builder() { } private Builder(ReleaseInfo model) { this.releaseInfoList = model.releaseInfoList; } /** * ReleaseInfoList. */ public Builder releaseInfoList(java.util.List<ReleaseInfoList> releaseInfoList) { this.releaseInfoList = releaseInfoList; return this; } public ReleaseInfo build() { return new ReleaseInfo(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class VersionRelease extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReleaseInfo") private ReleaseInfo releaseInfo; @com.aliyun.core.annotation.NameInMap("VersionChangesLevel") private String versionChangesLevel; private VersionRelease(Builder builder) { this.releaseInfo = builder.releaseInfo; this.versionChangesLevel = builder.versionChangesLevel; } public static Builder builder() { return new Builder(); } public static VersionRelease create() { return builder().build(); } /** * @return releaseInfo */ public ReleaseInfo getReleaseInfo() { return this.releaseInfo; } /** * @return versionChangesLevel */ public String getVersionChangesLevel() { return this.versionChangesLevel; } public static final class Builder { private ReleaseInfo releaseInfo; private String versionChangesLevel; private Builder() { } private Builder(VersionRelease model) { this.releaseInfo = model.releaseInfo; this.versionChangesLevel = model.versionChangesLevel; } /** * <p>The information about the minor versions.</p> */ public Builder releaseInfo(ReleaseInfo releaseInfo) { this.releaseInfo = releaseInfo; return this; } /** * <p>The version update level, which indicates how strongly the update is recommended. Valid values:</p> * <ul> * <li>0: regular</li> * <li>1: recommended</li> * <li>2: critical</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder versionChangesLevel(String versionChangesLevel) { this.versionChangesLevel = versionChangesLevel; return this; } public VersionRelease build() { return new VersionRelease(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class DBLatestMinorVersion extends TeaModel { @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("MinorVersion") private String minorVersion; @com.aliyun.core.annotation.NameInMap("VersionRelease") private VersionRelease versionRelease; private DBLatestMinorVersion(Builder builder) { this.level = builder.level; this.minorVersion = builder.minorVersion; this.versionRelease = builder.versionRelease; } public static Builder builder() { return new Builder(); } public static DBLatestMinorVersion create() { return builder().build(); } /** * @return level */ public String getLevel() { return this.level; } /** * @return minorVersion */ public String getMinorVersion() { return this.minorVersion; } /** * @return versionRelease */ public VersionRelease getVersionRelease() { return this.versionRelease; } public static final class Builder { private String level; private String minorVersion; private VersionRelease versionRelease; private Builder() { } private Builder(DBLatestMinorVersion model) { this.level = model.level; this.minorVersion = model.minorVersion; this.versionRelease = model.versionRelease; } /** * <p>The version update level. Valid values:</p> * <ul> * <li><strong>0</strong>: regular</li> * <li><strong>1</strong>: recommended</li> * <li><strong>2</strong>: critical</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The version number.</p> * * <strong>example:</strong> * <p>7.0.1.4</p> */ public Builder minorVersion(String minorVersion) { this.minorVersion = minorVersion; return this; } /** * <p>The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.</p> */ public Builder versionRelease(VersionRelease versionRelease) { this.versionRelease = versionRelease; return this; } public DBLatestMinorVersion build() { return new DBLatestMinorVersion(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class ReleaseInfoReleaseInfoList extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("ReleaseNote") private String releaseNote; @com.aliyun.core.annotation.NameInMap("ReleaseNoteEn") private String releaseNoteEn; @com.aliyun.core.annotation.NameInMap("ReleaseVersion") private String releaseVersion; private ReleaseInfoReleaseInfoList(Builder builder) { this.createTime = builder.createTime; this.level = builder.level; this.releaseNote = builder.releaseNote; this.releaseNoteEn = builder.releaseNoteEn; this.releaseVersion = builder.releaseVersion; } public static Builder builder() { return new Builder(); } public static ReleaseInfoReleaseInfoList create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return level */ public String getLevel() { return this.level; } /** * @return releaseNote */ public String getReleaseNote() { return this.releaseNote; } /** * @return releaseNoteEn */ public String getReleaseNoteEn() { return this.releaseNoteEn; } /** * @return releaseVersion */ public String getReleaseVersion() { return this.releaseVersion; } public static final class Builder { private String createTime; private String level; private String releaseNote; private String releaseNoteEn; private String releaseVersion; private Builder() { } private Builder(ReleaseInfoReleaseInfoList model) { this.createTime = model.createTime; this.level = model.level; this.releaseNote = model.releaseNote; this.releaseNoteEn = model.releaseNoteEn; this.releaseVersion = model.releaseVersion; } /** * <p>The time when the version was released.</p> * * <strong>example:</strong> * <p>2022-08-23T14:26:20Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The version update level. Valid values:</p> * <ul> * <li><strong>0</strong>: regular</li> * <li><strong>1</strong>: recommended</li> * <li><strong>2</strong>: critical</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The release notes.</p> * * <strong>example:</strong> * <p>x x x x</p> */ public Builder releaseNote(String releaseNote) { this.releaseNote = releaseNote; return this; } /** * <p>The description of the minor versions to which the instance can be updated.</p> * * <strong>example:</strong> * <p>ReleaseNoteEn</p> */ public Builder releaseNoteEn(String releaseNoteEn) { this.releaseNoteEn = releaseNoteEn; return this; } /** * <p>The release version of EMR.</p> * * <strong>example:</strong> * <p>EMR-5.9.1</p> */ public Builder releaseVersion(String releaseVersion) { this.releaseVersion = releaseVersion; return this; } public ReleaseInfoReleaseInfoList build() { return new ReleaseInfoReleaseInfoList(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class VersionReleaseReleaseInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReleaseInfoList") private java.util.List<ReleaseInfoReleaseInfoList> releaseInfoList; private VersionReleaseReleaseInfo(Builder builder) { this.releaseInfoList = builder.releaseInfoList; } public static Builder builder() { return new Builder(); } public static VersionReleaseReleaseInfo create() { return builder().build(); } /** * @return releaseInfoList */ public java.util.List<ReleaseInfoReleaseInfoList> getReleaseInfoList() { return this.releaseInfoList; } public static final class Builder { private java.util.List<ReleaseInfoReleaseInfoList> releaseInfoList; private Builder() { } private Builder(VersionReleaseReleaseInfo model) { this.releaseInfoList = model.releaseInfoList; } /** * ReleaseInfoList. */ public Builder releaseInfoList(java.util.List<ReleaseInfoReleaseInfoList> releaseInfoList) { this.releaseInfoList = releaseInfoList; return this; } public VersionReleaseReleaseInfo build() { return new VersionReleaseReleaseInfo(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class ProxyLatestMinorVersionVersionRelease extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReleaseInfo") private VersionReleaseReleaseInfo releaseInfo; @com.aliyun.core.annotation.NameInMap("VersionChangesLevel") private String versionChangesLevel; private ProxyLatestMinorVersionVersionRelease(Builder builder) { this.releaseInfo = builder.releaseInfo; this.versionChangesLevel = builder.versionChangesLevel; } public static Builder builder() { return new Builder(); } public static ProxyLatestMinorVersionVersionRelease create() { return builder().build(); } /** * @return releaseInfo */ public VersionReleaseReleaseInfo getReleaseInfo() { return this.releaseInfo; } /** * @return versionChangesLevel */ public String getVersionChangesLevel() { return this.versionChangesLevel; } public static final class Builder { private VersionReleaseReleaseInfo releaseInfo; private String versionChangesLevel; private Builder() { } private Builder(ProxyLatestMinorVersionVersionRelease model) { this.releaseInfo = model.releaseInfo; this.versionChangesLevel = model.versionChangesLevel; } /** * <p>The information about the minor versions.</p> */ public Builder releaseInfo(VersionReleaseReleaseInfo releaseInfo) { this.releaseInfo = releaseInfo; return this; } /** * <p>The version update level, which indicates how strongly the update is recommended. Valid values:</p> * <ul> * <li>0: regular</li> * <li>1: recommended</li> * <li>2: critical</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder versionChangesLevel(String versionChangesLevel) { this.versionChangesLevel = versionChangesLevel; return this; } public ProxyLatestMinorVersionVersionRelease build() { return new ProxyLatestMinorVersionVersionRelease(this); } } } /** * * {@link DescribeEngineVersionResponseBody} extends {@link TeaModel} * * <p>DescribeEngineVersionResponseBody</p> */ public static class ProxyLatestMinorVersion extends TeaModel { @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("MinorVersion") private String minorVersion; @com.aliyun.core.annotation.NameInMap("VersionRelease") private ProxyLatestMinorVersionVersionRelease versionRelease; private ProxyLatestMinorVersion(Builder builder) { this.level = builder.level; this.minorVersion = builder.minorVersion; this.versionRelease = builder.versionRelease; } public static Builder builder() { return new Builder(); } public static ProxyLatestMinorVersion create() { return builder().build(); } /** * @return level */ public String getLevel() { return this.level; } /** * @return minorVersion */ public String getMinorVersion() { return this.minorVersion; } /** * @return versionRelease */ public ProxyLatestMinorVersionVersionRelease getVersionRelease() { return this.versionRelease; } public static final class Builder { private String level; private String minorVersion; private ProxyLatestMinorVersionVersionRelease versionRelease; private Builder() { } private Builder(ProxyLatestMinorVersion model) { this.level = model.level; this.minorVersion = model.minorVersion; this.versionRelease = model.versionRelease; } /** * <p>The version update level. Valid values:</p> * <ul> * <li><strong>0</strong>: regular</li> * <li><strong>1</strong>: recommended</li> * <li><strong>2</strong>: critical</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The version number.</p> * * <strong>example:</strong> * <p>7.0.6</p> */ public Builder minorVersion(String minorVersion) { this.minorVersion = minorVersion; return this; } /** * <p>The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.</p> */ public Builder versionRelease(ProxyLatestMinorVersionVersionRelease versionRelease) { this.versionRelease = versionRelease; return this; } public ProxyLatestMinorVersion build() { return new ProxyLatestMinorVersion(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalDistributeCacheRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalDistributeCacheRequest} extends {@link RequestModel} * * <p>DescribeGlobalDistributeCacheRequest</p> */ public class DescribeGlobalDistributeCacheRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GlobalInstanceId") private String globalInstanceId; @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 String pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String 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("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubInstanceId") private String subInstanceId; private DescribeGlobalDistributeCacheRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.globalInstanceId = builder.globalInstanceId; 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.securityToken = builder.securityToken; this.subInstanceId = builder.subInstanceId; } public static Builder builder() { return new Builder(); } public static DescribeGlobalDistributeCacheRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return globalInstanceId */ public String getGlobalInstanceId() { return this.globalInstanceId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @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 subInstanceId */ public String getSubInstanceId() { return this.subInstanceId; } public static final class Builder extends Request.Builder<DescribeGlobalDistributeCacheRequest, Builder> { private String regionId; private String globalInstanceId; private String ownerAccount; private Long ownerId; private String pageNumber; private String pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String subInstanceId; private Builder() { super(); } private Builder(DescribeGlobalDistributeCacheRequest request) { super(request); this.regionId = request.regionId; this.globalInstanceId = request.globalInstanceId; 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.securityToken = request.securityToken; this.subInstanceId = request.subInstanceId; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the distributed instance.</p> * * <strong>example:</strong> * <p>gr-bp14rkqrhac****</p> */ public Builder globalInstanceId(String globalInstanceId) { this.putQueryParameter("GlobalInstanceId", globalInstanceId); this.globalInstanceId = globalInstanceId; 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 number of the page to return. The value must be an integer that is greater than <strong>0</strong>. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries to return each page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(String 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The ID of the child instance that is attached to the distributed instance.</p> * * <strong>example:</strong> * <p>gr-bp1zcjlobkyrq****</p> */ public Builder subInstanceId(String subInstanceId) { this.putQueryParameter("SubInstanceId", subInstanceId); this.subInstanceId = subInstanceId; return this; } @Override public DescribeGlobalDistributeCacheRequest build() { return new DescribeGlobalDistributeCacheRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalDistributeCacheResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalDistributeCacheResponse} extends {@link TeaModel} * * <p>DescribeGlobalDistributeCacheResponse</p> */ public class DescribeGlobalDistributeCacheResponse 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 DescribeGlobalDistributeCacheResponseBody body; private DescribeGlobalDistributeCacheResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGlobalDistributeCacheResponse 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 DescribeGlobalDistributeCacheResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGlobalDistributeCacheResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGlobalDistributeCacheResponseBody body); @Override DescribeGlobalDistributeCacheResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGlobalDistributeCacheResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGlobalDistributeCacheResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGlobalDistributeCacheResponse 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(DescribeGlobalDistributeCacheResponseBody body) { this.body = body; return this; } @Override public DescribeGlobalDistributeCacheResponse build() { return new DescribeGlobalDistributeCacheResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalDistributeCacheResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalDistributeCacheResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalDistributeCacheResponseBody</p> */ public class DescribeGlobalDistributeCacheResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GlobalDistributeCaches") private java.util.List<GlobalDistributeCaches> globalDistributeCaches; @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 DescribeGlobalDistributeCacheResponseBody(Builder builder) { this.globalDistributeCaches = builder.globalDistributeCaches; 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 DescribeGlobalDistributeCacheResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return globalDistributeCaches */ public java.util.List<GlobalDistributeCaches> getGlobalDistributeCaches() { return this.globalDistributeCaches; } /** * @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<GlobalDistributeCaches> globalDistributeCaches; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeGlobalDistributeCacheResponseBody model) { this.globalDistributeCaches = model.globalDistributeCaches; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>Details of the distributed instance.</p> */ public Builder globalDistributeCaches(java.util.List<GlobalDistributeCaches> globalDistributeCaches) { this.globalDistributeCaches = globalDistributeCaches; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>F3F44BE3-5419-4B61-9BAC-E66E295A****</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 DescribeGlobalDistributeCacheResponseBody build() { return new DescribeGlobalDistributeCacheResponseBody(this); } } /** * * {@link DescribeGlobalDistributeCacheResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalDistributeCacheResponseBody</p> */ public static class SubInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("GlobalInstanceId") private String globalInstanceId; @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.NameInMap("InstanceID") private String instanceID; @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private SubInstances(Builder builder) { this.globalInstanceId = builder.globalInstanceId; this.instanceClass = builder.instanceClass; this.instanceID = builder.instanceID; this.instanceStatus = builder.instanceStatus; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static SubInstances create() { return builder().build(); } /** * @return globalInstanceId */ public String getGlobalInstanceId() { return this.globalInstanceId; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceID */ public String getInstanceID() { return this.instanceID; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private String globalInstanceId; private String instanceClass; private String instanceID; private String instanceStatus; private String regionId; private Builder() { } private Builder(SubInstances model) { this.globalInstanceId = model.globalInstanceId; this.instanceClass = model.instanceClass; this.instanceID = model.instanceID; this.instanceStatus = model.instanceStatus; this.regionId = model.regionId; } /** * <p>The ID of the distributed instance.</p> * * <strong>example:</strong> * <p>gr-bp14rkqrhac****</p> */ public Builder globalInstanceId(String globalInstanceId) { this.globalInstanceId = globalInstanceId; return this; } /** * <p>The instance type of the child instance. For more information, see the following topics:</p> * <ul> * <li><a href="https://help.aliyun.com/document_detail/145228.html">Standard DRAM-based instances</a></li> * <li><a href="https://help.aliyun.com/document_detail/150458.html">Cluster DRAM-based instances</a></li> * <li><a href="https://help.aliyun.com/document_detail/150459.html">Read/write splitting DRAM-based instances</a></li> * </ul> * * <strong>example:</strong> * <p>redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread</p> */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * <p>The ID of the child instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceID(String instanceID) { this.instanceID = instanceID; return this; } /** * <p>The state of the child instance. Valid values:</p> * <ul> * <li><strong>Normal</strong>: The instance is normal.</li> * <li><strong>Creating</strong>: The instance is being created.</li> * <li><strong>Changing</strong>: The configurations of the instance are being changed.</li> * <li><strong>Inactive</strong>: The instance is disabled.</li> * <li><strong>Flushing</strong>: The instance is being released.</li> * <li><strong>Released</strong>: The instance is released.</li> * <li><strong>Transforming</strong>: The billing method of the instance is changing.</li> * <li><strong>Unavailable</strong>: The instance is suspended.</li> * <li><strong>Error</strong>: The instance failed to be created.</li> * <li><strong>Migrating</strong>: The instance is being migrated.</li> * <li><strong>BackupRecovering</strong>: The instance is being restored from a backup.</li> * <li><strong>MinorVersionUpgrading</strong>: The minor version of the instance is being updated.</li> * <li><strong>NetworkModifying</strong>: The network type of the instance is being changed.</li> * <li><strong>SSLModifying</strong>: The SSL certificate of the instance is being changed.</li> * <li><strong>MajorVersionUpgrading</strong>: The major version of the instance is being upgraded. The instance remains available during the upgrade.</li> * </ul> * <blockquote> * <p> For more information about instance states, see <a href="https://help.aliyun.com/document_detail/200740.html">Instance states and impacts</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>Normal</p> */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public SubInstances build() { return new SubInstances(this); } } } /** * * {@link DescribeGlobalDistributeCacheResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalDistributeCacheResponseBody</p> */ public static class GlobalDistributeCaches extends TeaModel { @com.aliyun.core.annotation.NameInMap("GlobalInstanceId") private String globalInstanceId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("SubInstances") private java.util.List<SubInstances> subInstances; private GlobalDistributeCaches(Builder builder) { this.globalInstanceId = builder.globalInstanceId; this.status = builder.status; this.subInstances = builder.subInstances; } public static Builder builder() { return new Builder(); } public static GlobalDistributeCaches create() { return builder().build(); } /** * @return globalInstanceId */ public String getGlobalInstanceId() { return this.globalInstanceId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return subInstances */ public java.util.List<SubInstances> getSubInstances() { return this.subInstances; } public static final class Builder { private String globalInstanceId; private String status; private java.util.List<SubInstances> subInstances; private Builder() { } private Builder(GlobalDistributeCaches model) { this.globalInstanceId = model.globalInstanceId; this.status = model.status; this.subInstances = model.subInstances; } /** * <p>The ID of the distributed instance.</p> * * <strong>example:</strong> * <p>gr-bp14rkqrhac****</p> */ public Builder globalInstanceId(String globalInstanceId) { this.globalInstanceId = globalInstanceId; return this; } /** * <p>The state of the distributed instance. Valid values:</p> * <ul> * <li><strong>Normal</strong>: The instance is normal.</li> * <li><strong>Changing</strong>: The configurations of the instance are being changed.</li> * <li><strong>Creating</strong>: The instance is being created.</li> * </ul> * * <strong>example:</strong> * <p>Normal</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>Details of the child instances.</p> */ public Builder subInstances(java.util.List<SubInstances> subInstances) { this.subInstances = subInstances; return this; } public GlobalDistributeCaches build() { return new GlobalDistributeCaches(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalSecurityIPGroupRelationRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalSecurityIPGroupRelationRequest} extends {@link RequestModel} * * <p>DescribeGlobalSecurityIPGroupRelationRequest</p> */ public class DescribeGlobalSecurityIPGroupRelationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBClusterId") @com.aliyun.core.annotation.Validation(required = true) private String DBClusterId; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeGlobalSecurityIPGroupRelationRequest(Builder builder) { super(builder); this.DBClusterId = builder.DBClusterId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeGlobalSecurityIPGroupRelationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeGlobalSecurityIPGroupRelationRequest, Builder> { private String DBClusterId; private String ownerAccount; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeGlobalSecurityIPGroupRelationRequest request) { super(request); this.DBClusterId = request.DBClusterId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-t4n885e834f6****</p> */ public Builder DBClusterId(String DBClusterId) { this.putQueryParameter("DBClusterId", DBClusterId); this.DBClusterId = DBClusterId; 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.</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 ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmyiu4ekp****</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeGlobalSecurityIPGroupRelationRequest build() { return new DescribeGlobalSecurityIPGroupRelationRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalSecurityIPGroupRelationResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalSecurityIPGroupRelationResponse} extends {@link TeaModel} * * <p>DescribeGlobalSecurityIPGroupRelationResponse</p> */ public class DescribeGlobalSecurityIPGroupRelationResponse 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 DescribeGlobalSecurityIPGroupRelationResponseBody body; private DescribeGlobalSecurityIPGroupRelationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGlobalSecurityIPGroupRelationResponse 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 DescribeGlobalSecurityIPGroupRelationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGlobalSecurityIPGroupRelationResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGlobalSecurityIPGroupRelationResponseBody body); @Override DescribeGlobalSecurityIPGroupRelationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGlobalSecurityIPGroupRelationResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGlobalSecurityIPGroupRelationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGlobalSecurityIPGroupRelationResponse 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(DescribeGlobalSecurityIPGroupRelationResponseBody body) { this.body = body; return this; } @Override public DescribeGlobalSecurityIPGroupRelationResponse build() { return new DescribeGlobalSecurityIPGroupRelationResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalSecurityIPGroupRelationResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalSecurityIPGroupRelationResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalSecurityIPGroupRelationResponseBody</p> */ public class DescribeGlobalSecurityIPGroupRelationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBClusterId") private String DBClusterId; @com.aliyun.core.annotation.NameInMap("GlobalSecurityIPGroupRel") private java.util.List<GlobalSecurityIPGroupRel> globalSecurityIPGroupRel; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGlobalSecurityIPGroupRelationResponseBody(Builder builder) { this.DBClusterId = builder.DBClusterId; this.globalSecurityIPGroupRel = builder.globalSecurityIPGroupRel; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGlobalSecurityIPGroupRelationResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return globalSecurityIPGroupRel */ public java.util.List<GlobalSecurityIPGroupRel> getGlobalSecurityIPGroupRel() { return this.globalSecurityIPGroupRel; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBClusterId; private java.util.List<GlobalSecurityIPGroupRel> globalSecurityIPGroupRel; private String requestId; private Builder() { } private Builder(DescribeGlobalSecurityIPGroupRelationResponseBody model) { this.DBClusterId = model.DBClusterId; this.globalSecurityIPGroupRel = model.globalSecurityIPGroupRel; this.requestId = model.requestId; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>r-t4n885e834f6****</p> */ public Builder DBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } /** * <p>The information about the associated global IP whitelist template.</p> */ public Builder globalSecurityIPGroupRel(java.util.List<GlobalSecurityIPGroupRel> globalSecurityIPGroupRel) { this.globalSecurityIPGroupRel = globalSecurityIPGroupRel; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9B7BFB11-C077-4FE3-B051-F69CEB******</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGlobalSecurityIPGroupRelationResponseBody build() { return new DescribeGlobalSecurityIPGroupRelationResponseBody(this); } } /** * * {@link DescribeGlobalSecurityIPGroupRelationResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalSecurityIPGroupRelationResponseBody</p> */ public static class GlobalSecurityIPGroupRel extends TeaModel { @com.aliyun.core.annotation.NameInMap("GIpList") private String gIpList; @com.aliyun.core.annotation.NameInMap("GlobalIgName") private String globalIgName; @com.aliyun.core.annotation.NameInMap("GlobalSecurityGroupId") private String globalSecurityGroupId; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GlobalSecurityIPGroupRel(Builder builder) { this.gIpList = builder.gIpList; this.globalIgName = builder.globalIgName; this.globalSecurityGroupId = builder.globalSecurityGroupId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GlobalSecurityIPGroupRel create() { return builder().build(); } /** * @return gIpList */ public String getGIpList() { return this.gIpList; } /** * @return globalIgName */ public String getGlobalIgName() { return this.globalIgName; } /** * @return globalSecurityGroupId */ public String getGlobalSecurityGroupId() { return this.globalSecurityGroupId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private String gIpList; private String globalIgName; private String globalSecurityGroupId; private String regionId; private Builder() { } private Builder(GlobalSecurityIPGroupRel model) { this.gIpList = model.gIpList; this.globalIgName = model.globalIgName; this.globalSecurityGroupId = model.globalSecurityGroupId; this.regionId = model.regionId; } /** * <p>The IP address in the IP whitelist template.</p> * <blockquote> * <p> Multiple IP addresses are separated by commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>192.168.0.1,10.10.10.10</p> */ public Builder gIpList(String gIpList) { this.gIpList = gIpList; return this; } /** * <p>The name of the IP whitelist template.</p> * * <strong>example:</strong> * <p>test_123</p> */ public Builder globalIgName(String globalIgName) { this.globalIgName = globalIgName; return this; } /** * <p>The ID of the IP whitelist template.</p> * * <strong>example:</strong> * <p>g-zsldxfiwjmti0kcm****</p> */ public Builder globalSecurityGroupId(String globalSecurityGroupId) { this.globalSecurityGroupId = globalSecurityGroupId; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public GlobalSecurityIPGroupRel build() { return new GlobalSecurityIPGroupRel(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalSecurityIPGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalSecurityIPGroupRequest} extends {@link RequestModel} * * <p>DescribeGlobalSecurityIPGroupRequest</p> */ public class DescribeGlobalSecurityIPGroupRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GlobalSecurityGroupId") private String globalSecurityGroupId; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeGlobalSecurityIPGroupRequest(Builder builder) { super(builder); this.globalSecurityGroupId = builder.globalSecurityGroupId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeGlobalSecurityIPGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return globalSecurityGroupId */ public String getGlobalSecurityGroupId() { return this.globalSecurityGroupId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeGlobalSecurityIPGroupRequest, Builder> { private String globalSecurityGroupId; private String ownerAccount; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeGlobalSecurityIPGroupRequest request) { super(request); this.globalSecurityGroupId = request.globalSecurityGroupId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * <p>The ID of the IP whitelist template.</p> * * <strong>example:</strong> * <p>g-zsldxfiwjmti0kcm****</p> */ public Builder globalSecurityGroupId(String globalSecurityGroupId) { this.putQueryParameter("GlobalSecurityGroupId", globalSecurityGroupId); this.globalSecurityGroupId = globalSecurityGroupId; 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.</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.</p> * * <strong>example:</strong> * <p>rg-acfmyiu4ekp****</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeGlobalSecurityIPGroupRequest build() { return new DescribeGlobalSecurityIPGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalSecurityIPGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalSecurityIPGroupResponse} extends {@link TeaModel} * * <p>DescribeGlobalSecurityIPGroupResponse</p> */ public class DescribeGlobalSecurityIPGroupResponse 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 DescribeGlobalSecurityIPGroupResponseBody body; private DescribeGlobalSecurityIPGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGlobalSecurityIPGroupResponse 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 DescribeGlobalSecurityIPGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGlobalSecurityIPGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGlobalSecurityIPGroupResponseBody body); @Override DescribeGlobalSecurityIPGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGlobalSecurityIPGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGlobalSecurityIPGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGlobalSecurityIPGroupResponse 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(DescribeGlobalSecurityIPGroupResponseBody body) { this.body = body; return this; } @Override public DescribeGlobalSecurityIPGroupResponse build() { return new DescribeGlobalSecurityIPGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeGlobalSecurityIPGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGlobalSecurityIPGroupResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalSecurityIPGroupResponseBody</p> */ public class DescribeGlobalSecurityIPGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GlobalSecurityIPGroup") private java.util.List<GlobalSecurityIPGroup> globalSecurityIPGroup; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGlobalSecurityIPGroupResponseBody(Builder builder) { this.globalSecurityIPGroup = builder.globalSecurityIPGroup; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGlobalSecurityIPGroupResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return globalSecurityIPGroup */ public java.util.List<GlobalSecurityIPGroup> getGlobalSecurityIPGroup() { return this.globalSecurityIPGroup; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<GlobalSecurityIPGroup> globalSecurityIPGroup; private String requestId; private Builder() { } private Builder(DescribeGlobalSecurityIPGroupResponseBody model) { this.globalSecurityIPGroup = model.globalSecurityIPGroup; this.requestId = model.requestId; } /** * <p>The information about the IP whitelist template.</p> */ public Builder globalSecurityIPGroup(java.util.List<GlobalSecurityIPGroup> globalSecurityIPGroup) { this.globalSecurityIPGroup = globalSecurityIPGroup; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2FF6158E-3394-4A90-B634-79C49184****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGlobalSecurityIPGroupResponseBody build() { return new DescribeGlobalSecurityIPGroupResponseBody(this); } } /** * * {@link DescribeGlobalSecurityIPGroupResponseBody} extends {@link TeaModel} * * <p>DescribeGlobalSecurityIPGroupResponseBody</p> */ public static class GlobalSecurityIPGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstances") private java.util.List<String> DBInstances; @com.aliyun.core.annotation.NameInMap("GIpList") private String gIpList; @com.aliyun.core.annotation.NameInMap("GlobalIgName") private String globalIgName; @com.aliyun.core.annotation.NameInMap("GlobalSecurityGroupId") private String globalSecurityGroupId; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GlobalSecurityIPGroup(Builder builder) { this.DBInstances = builder.DBInstances; this.gIpList = builder.gIpList; this.globalIgName = builder.globalIgName; this.globalSecurityGroupId = builder.globalSecurityGroupId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GlobalSecurityIPGroup create() { return builder().build(); } /** * @return DBInstances */ public java.util.List<String> getDBInstances() { return this.DBInstances; } /** * @return gIpList */ public String getGIpList() { return this.gIpList; } /** * @return globalIgName */ public String getGlobalIgName() { return this.globalIgName; } /** * @return globalSecurityGroupId */ public String getGlobalSecurityGroupId() { return this.globalSecurityGroupId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private java.util.List<String> DBInstances; private String gIpList; private String globalIgName; private String globalSecurityGroupId; private String regionId; private Builder() { } private Builder(GlobalSecurityIPGroup model) { this.DBInstances = model.DBInstances; this.gIpList = model.gIpList; this.globalIgName = model.globalIgName; this.globalSecurityGroupId = model.globalSecurityGroupId; this.regionId = model.regionId; } /** * <p>The IDs of the instances that are associated with the IP whitelist template.</p> */ public Builder DBInstances(java.util.List<String> DBInstances) { this.DBInstances = DBInstances; return this; } /** * <p>The IP address in the IP whitelist template.</p> * <blockquote> * <p> Multiple IP addresses are separated by commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>125.38.177.62,221.197.232.185</p> */ public Builder gIpList(String gIpList) { this.gIpList = gIpList; return this; } /** * <p>The name of the IP whitelist template.</p> * * <strong>example:</strong> * <p>test_123</p> */ public Builder globalIgName(String globalIgName) { this.globalIgName = globalIgName; return this; } /** * <p>The ID of the IP whitelist template.</p> * * <strong>example:</strong> * <p>g-zsldxfiwjmti0kcm****</p> */ public Builder globalSecurityGroupId(String globalSecurityGroupId) { this.globalSecurityGroupId = globalSecurityGroupId; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public GlobalSecurityIPGroup build() { return new GlobalSecurityIPGroup(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeHistoryMonitorValuesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHistoryMonitorValuesRequest} extends {@link RequestModel} * * <p>DescribeHistoryMonitorValuesRequest</p> */ public class DescribeHistoryMonitorValuesRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntervalForHistory") @com.aliyun.core.annotation.Validation(required = true) private String intervalForHistory; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MonitorKeys") private String monitorKeys; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeRole") private String nodeRole; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeHistoryMonitorValuesRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.intervalForHistory = builder.intervalForHistory; this.monitorKeys = builder.monitorKeys; this.nodeId = builder.nodeId; this.nodeRole = builder.nodeRole; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.startTime = builder.startTime; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeHistoryMonitorValuesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return intervalForHistory */ public String getIntervalForHistory() { return this.intervalForHistory; } /** * @return monitorKeys */ public String getMonitorKeys() { return this.monitorKeys; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return nodeRole */ public String getNodeRole() { return this.nodeRole; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeHistoryMonitorValuesRequest, Builder> { private String regionId; private String endTime; private String instanceId; private String intervalForHistory; private String monitorKeys; private String nodeId; private String nodeRole; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String startTime; private String type; private Builder() { super(); } private Builder(DescribeHistoryMonitorValuesRequest request) { super(request); this.regionId = request.regionId; this.endTime = request.endTime; this.instanceId = request.instanceId; this.intervalForHistory = request.intervalForHistory; this.monitorKeys = request.monitorKeys; this.nodeId = request.nodeId; this.nodeRole = request.nodeRole; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.startTime = request.startTime; this.type = request.type; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; 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 <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <blockquote> * <p> You can query the monitoring data of the previous month. The maximum time range that you can specify for a query is seven days.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-11-06T00:30:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>This parameter is deprecated. Set the value to <code>01m</code>.</p> * <p>The <strong>interval at which a query is performed</strong> is automatically determined based on the start time and end time of the query. For example, if the query time range is less than or equal to 10 minutes, data is aggregated at a frequency of every 5 seconds and the results are returned at 5-second intervals.</p> * <blockquote> * <ul> * <li>The query result is aligned with the data aggregation frequency. If the specified StartTime value does not coincide with a point in time for data aggregation, the system returns the latest point in time for data aggregation as the first point in time. For example, if you set the StartTime parameter to 2022-01-20T12:01:48Z, the first point in time returned is 2022-01-20T12:01:45Z.</li> * <li>If the number of data shards is greater than or equal to 32, the minimum data aggregation frequency is 1 minute.</li> * </ul> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>01m</p> */ public Builder intervalForHistory(String intervalForHistory) { this.putQueryParameter("IntervalForHistory", intervalForHistory); this.intervalForHistory = intervalForHistory; return this; } /** * <p>The monitoring metrics. Separate the metrics with commas (,). Take CpuUsage as an example:</p> * <ul> * <li><p>Cluster or read/write splitting instances</p> * <ul> * <li>To query the overall CPU utilization of all data nodes, specify <strong>CpuUsage$db</strong>.</li> * <li>To query the CPU utilization of a single data node, specify <strong>CpuUsage</strong> and NodeId.</li> * </ul> * </li> * <li><p>Standard master-replica instances: Specify only <strong>CpuUsage</strong>.</p> * </li> * </ul> * <p>For more information about monitoring metrics and their descriptions, see <a href="https://www.alibabacloud.com/help/zh/redis/developer-reference/api-r-kvstore-2015-01-01-describehistorymonitorvalues-redis#monitorKeys-note">Additional description of MonitorKeys</a>.</p> * <blockquote> * <ul> * <li>This parameter is empty by default, which indicates that the UsedMemory and quotaMemory metrics are returned.</li> * <li>To ensure query efficiency, we recommend that you specify no more than five metrics for a single node at a time, and specify only a single metric when you query aggregate metrics.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>memoryUsage</p> */ public Builder monitorKeys(String monitorKeys) { this.putQueryParameter("MonitorKeys", monitorKeys); this.monitorKeys = monitorKeys; return this; } /** * <p>The ID of the node in the instance. You can set this parameter to query the data of a specified node.</p> * <ul> * <li><p>This parameter is available only for read/write splitting or cluster instances of Tair.</p> * </li> * <li><p>You can call the <a href="https://help.aliyun.com/document_detail/473786.html">DescribeLogicInstanceTopology</a> operation to query node IDs.</p> * </li> * </ul> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0#1679****</p> */ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); this.nodeId = nodeId; return this; } /** * <p>If you want to query the metrics of the read replicas in a cloud-native read/write splitting instance, you must set this parameter to <strong>READONLY</strong> and specify <strong>NodeId</strong>.</p> * <blockquote> * <p>In other cases, you do not need to specify this parameter or you can set this parameter to <strong>MASTER</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>READONLY</p> */ public Builder nodeRole(String nodeRole) { this.putQueryParameter("NodeRole", nodeRole); this.nodeRole = nodeRole; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The beginning of the time range to query. Specify the time 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>2022-11-06T00:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * Type. */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeHistoryMonitorValuesRequest build() { return new DescribeHistoryMonitorValuesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeHistoryMonitorValuesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHistoryMonitorValuesResponse} extends {@link TeaModel} * * <p>DescribeHistoryMonitorValuesResponse</p> */ public class DescribeHistoryMonitorValuesResponse 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 DescribeHistoryMonitorValuesResponseBody body; private DescribeHistoryMonitorValuesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHistoryMonitorValuesResponse 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 DescribeHistoryMonitorValuesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHistoryMonitorValuesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHistoryMonitorValuesResponseBody body); @Override DescribeHistoryMonitorValuesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHistoryMonitorValuesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHistoryMonitorValuesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHistoryMonitorValuesResponse 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(DescribeHistoryMonitorValuesResponseBody body) { this.body = body; return this; } @Override public DescribeHistoryMonitorValuesResponse build() { return new DescribeHistoryMonitorValuesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeHistoryMonitorValuesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHistoryMonitorValuesResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryMonitorValuesResponseBody</p> */ public class DescribeHistoryMonitorValuesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MonitorHistory") private String monitorHistory; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHistoryMonitorValuesResponseBody(Builder builder) { this.monitorHistory = builder.monitorHistory; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHistoryMonitorValuesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return monitorHistory */ public String getMonitorHistory() { return this.monitorHistory; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String monitorHistory; private String requestId; private Builder() { } private Builder(DescribeHistoryMonitorValuesResponseBody model) { this.monitorHistory = model.monitorHistory; this.requestId = model.requestId; } /** * <p>The monitoring information returned in the JSON format. For more information, see <a href="https://help.aliyun.com/document_detail/122091.html">View performance monitoring data</a>.</p> * <ul> * <li><p>Only metrics whose values are not 0 are returned. This improves data transmission efficiency. Metrics that are not displayed are represented by the <strong>0</strong> default value.</p> * </li> * <li><p>The query result is aligned with the data aggregation frequency. If the specified time range to query is less than or equal to 10 minutes and the data is aggregated once every 5 seconds, query results are returned at an interval of 5 seconds. If the specified StartTime value does not coincide with a point in time for data aggregation, the system returns the latest point in time for data aggregation as the first point in time. For example, if you set the StartTime parameter to 2022-01-20T12:01:48Z, the first point in time returned is 2022-01-20T12:01:45Z.</p> * </li> * </ul> * * <strong>example:</strong> * <p>&quot;{&quot;2022-11-06T00:00:00Z&quot;:{&quot;memoryUsage&quot;:&quot;6.67&quot;},&quot;2022-11-06T00:00:05Z&quot;:{&quot;memoryUsage&quot;:&quot;6.67&quot;},&quot;2022-11-06T00:00:10Z&quot;:{&quot;memoryUsage&quot;:&quot;6.67&quot;},&quot;2022-11-06T00:00:15Z&quot;:{&quot;memoryUsage&quot;:&quot;6.67&quot;},&quot;2022-11-06T00:00:20Z&quot;:{&quot;memoryUsage&quot;:&quot;6.67&quot;},&quot;2022-11-06T00:00:25Z&quot;:{&quot;memoryUsage&quot;:&quot;6.67&quot;}}&quot;</p> */ public Builder monitorHistory(String monitorHistory) { this.monitorHistory = monitorHistory; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>F0997EE8-F4C2-4503-9168-85177ED7****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHistoryMonitorValuesResponseBody build() { return new DescribeHistoryMonitorValuesResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeHistoryTasksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHistoryTasksRequest} extends {@link RequestModel} * * <p>DescribeHistoryTasksRequest</p> */ public class DescribeHistoryTasksRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromExecTime") private Integer fromExecTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromStartTime") @com.aliyun.core.annotation.Validation(required = true) private String fromStartTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @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("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private Long 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 String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToExecTime") private Integer toExecTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToStartTime") @com.aliyun.core.annotation.Validation(required = true) private String toStartTime; private DescribeHistoryTasksRequest(Builder builder) { super(builder); this.fromExecTime = builder.fromExecTime; this.fromStartTime = builder.fromStartTime; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.status = builder.status; this.taskId = builder.taskId; this.taskType = builder.taskType; this.toExecTime = builder.toExecTime; this.toStartTime = builder.toStartTime; } public static Builder builder() { return new Builder(); } public static DescribeHistoryTasksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return fromExecTime */ public Integer getFromExecTime() { return this.fromExecTime; } /** * @return fromStartTime */ public String getFromStartTime() { return this.fromStartTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public Long getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return toExecTime */ public Integer getToExecTime() { return this.toExecTime; } /** * @return toStartTime */ public String getToStartTime() { return this.toStartTime; } public static final class Builder extends Request.Builder<DescribeHistoryTasksRequest, Builder> { private Integer fromExecTime; private String fromStartTime; private String instanceId; private String instanceType; private Integer pageNumber; private Integer pageSize; private String regionId; private Long resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String status; private String taskId; private String taskType; private Integer toExecTime; private String toStartTime; private Builder() { super(); } private Builder(DescribeHistoryTasksRequest request) { super(request); this.fromExecTime = request.fromExecTime; this.fromStartTime = request.fromStartTime; this.instanceId = request.instanceId; this.instanceType = request.instanceType; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.status = request.status; this.taskId = request.taskId; this.taskType = request.taskType; this.toExecTime = request.toExecTime; this.toStartTime = request.toStartTime; } /** * <p>The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder fromExecTime(Integer fromExecTime) { this.putQueryParameter("FromExecTime", fromExecTime); this.fromExecTime = fromExecTime; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-01-02T11:31:03Z</p> */ public Builder fromStartTime(String fromStartTime) { this.putQueryParameter("FromStartTime", fromStartTime); this.fromStartTime = fromStartTime; return this; } /** * <p>The instance ID. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs.</p> * * <strong>example:</strong> * <p>r-uf62br2491p5l****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>Set the value to Instance.</p> * * <strong>example:</strong> * <p>Instance</p> */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; 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. Valid values: 10 to 100. Default value: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID. You can call the <a href="https://help.aliyun.com/document_detail/473763.html">DescribeRegions</a> operation to query the most recent region list.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(Long 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 task status. Valid values:</p> * <ul> * <li><strong>Scheduled</strong></li> * <li><strong>Running</strong></li> * <li><strong>Succeed</strong></li> * <li><strong>Failed</strong></li> * <li><strong>Cancelling</strong></li> * <li><strong>Canceled</strong></li> * <li><strong>Waiting</strong></li> * </ul> * <blockquote> * <p> This parameter is empty by default, which indicates that tasks in all states are queried. Separate multiple states with commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>Scheduled</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The task ID. This parameter is empty by default, which indicates that you can specify an unlimited number of task IDs. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs.</p> * * <strong>example:</strong> * <p>t-83br18hloy3faf****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The task type. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.</p> * <ul> * <li><strong>ModifyInsSpec</strong></li> * <li><strong>DeleteInsNode</strong></li> * <li><strong>AddInsNode</strong></li> * <li><strong>HaSwitch</strong></li> * <li><strong>RestartIns</strong></li> * <li><strong>CreateIns</strong></li> * <li><strong>ModifyInsConfig</strong></li> * </ul> * <blockquote> * <p> Separate multiple task types with commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>ModifyInsSpec</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } /** * <p>The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder toExecTime(Integer toExecTime) { this.putQueryParameter("ToExecTime", toExecTime); this.toExecTime = toExecTime; return this; } /** * <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-03-02T11:31:03Z</p> */ public Builder toStartTime(String toStartTime) { this.putQueryParameter("ToStartTime", toStartTime); this.toStartTime = toStartTime; return this; } @Override public DescribeHistoryTasksRequest build() { return new DescribeHistoryTasksRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeHistoryTasksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHistoryTasksResponse} extends {@link TeaModel} * * <p>DescribeHistoryTasksResponse</p> */ public class DescribeHistoryTasksResponse 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 DescribeHistoryTasksResponseBody body; private DescribeHistoryTasksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHistoryTasksResponse 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 DescribeHistoryTasksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHistoryTasksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHistoryTasksResponseBody body); @Override DescribeHistoryTasksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHistoryTasksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHistoryTasksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHistoryTasksResponse 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(DescribeHistoryTasksResponseBody body) { this.body = body; return this; } @Override public DescribeHistoryTasksResponse build() { return new DescribeHistoryTasksResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeHistoryTasksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHistoryTasksResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryTasksResponseBody</p> */ public class DescribeHistoryTasksResponseBody 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("TotalCount") private Integer totalCount; private DescribeHistoryTasksResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeHistoryTasksResponseBody 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 totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<Items> items; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeHistoryTasksResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The queried task objects.</p> */ public Builder items(java.util.List<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(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>5D622714-AEDD-4609-9167-F5DDD3D1****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of tasks that meet these constraints without taking pagination into account.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeHistoryTasksResponseBody build() { return new DescribeHistoryTasksResponseBody(this); } } /** * * {@link DescribeHistoryTasksResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryTasksResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActionInfo") private String actionInfo; @com.aliyun.core.annotation.NameInMap("CallerSource") private String callerSource; @com.aliyun.core.annotation.NameInMap("CallerUid") private String callerUid; @com.aliyun.core.annotation.NameInMap("CurrentStepName") private String currentStepName; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Product") private String product; @com.aliyun.core.annotation.NameInMap("Progress") private Float progress; @com.aliyun.core.annotation.NameInMap("ReasonCode") private String reasonCode; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RemainTime") private Integer remainTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskDetail") private String taskDetail; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.NameInMap("Uid") private String uid; private Items(Builder builder) { this.actionInfo = builder.actionInfo; this.callerSource = builder.callerSource; this.callerUid = builder.callerUid; this.currentStepName = builder.currentStepName; this.dbType = builder.dbType; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceType = builder.instanceType; this.product = builder.product; this.progress = builder.progress; this.reasonCode = builder.reasonCode; this.regionId = builder.regionId; this.remainTime = builder.remainTime; this.startTime = builder.startTime; this.status = builder.status; this.taskDetail = builder.taskDetail; this.taskId = builder.taskId; this.taskType = builder.taskType; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return actionInfo */ public String getActionInfo() { return this.actionInfo; } /** * @return callerSource */ public String getCallerSource() { return this.callerSource; } /** * @return callerUid */ public String getCallerUid() { return this.callerUid; } /** * @return currentStepName */ public String getCurrentStepName() { return this.currentStepName; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return product */ public String getProduct() { return this.product; } /** * @return progress */ public Float getProgress() { return this.progress; } /** * @return reasonCode */ public String getReasonCode() { return this.reasonCode; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return remainTime */ public Integer getRemainTime() { return this.remainTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskDetail */ public String getTaskDetail() { return this.taskDetail; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return uid */ public String getUid() { return this.uid; } public static final class Builder { private String actionInfo; private String callerSource; private String callerUid; private String currentStepName; private String dbType; private String endTime; private String instanceId; private String instanceName; private String instanceType; private String product; private Float progress; private String reasonCode; private String regionId; private Integer remainTime; private String startTime; private String status; private String taskDetail; private String taskId; private String taskType; private String uid; private Builder() { } private Builder(Items model) { this.actionInfo = model.actionInfo; this.callerSource = model.callerSource; this.callerUid = model.callerUid; this.currentStepName = model.currentStepName; this.dbType = model.dbType; this.endTime = model.endTime; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceType = model.instanceType; this.product = model.product; this.progress = model.progress; this.reasonCode = model.reasonCode; this.regionId = model.regionId; this.remainTime = model.remainTime; this.startTime = model.startTime; this.status = model.status; this.taskDetail = model.taskDetail; this.taskId = model.taskId; this.taskType = model.taskType; this.uid = model.uid; } /** * <p>A set of allowed actions that can be taken on the task. The system matches the current step name and status of the task to the available actions specified by ActionInfo. If no matching action is found, the current status of the task does not support any action. Example:</p> * <pre><code>{&quot;steps&quot;: [ * { * &quot;step_name&quot;: &quot;exec_task&quot;, // The name of the step, which matches CurrentStepName. * &quot;action_info&quot;: { // The actions supported for this step. * &quot;Waiting&quot;: [ // The status, which matches Status. * &quot;modifySwitchTime&quot; // The action. Multiple actions are supported. * ] * } * }, * { * &quot;step_name&quot;: &quot;init_task&quot;, // The name of the step. * &quot;action_info&quot;: { // The actions supported for this step. * &quot;Running&quot;: [ // The status. * &quot;cancel&quot;, // The action. * &quot;pause&quot; * ] * } * } * ] * } * </code></pre> * <p>The system may support the following actions:</p> * <ul> * <li><strong>retry</strong></li> * <li><strong>cancel</strong></li> * <li><strong>modifySwitchTime</strong>: changes the switching or restoration time.</li> * </ul> * * <strong>example:</strong> * <p>{&quot;steps&quot;:[{&quot;action_info&quot;:{&quot;Waiting&quot;:[&quot;modifySwitchTime&quot;]},&quot;step_name&quot;:&quot;exec_task&quot;}]}</p> */ public Builder actionInfo(String actionInfo) { this.actionInfo = actionInfo; return this; } /** * <p>The ID of the user who made the request. If CallerSource is set to User, CallerUid indicates the unique ID (UID) of the user.</p> * * <strong>example:</strong> * <p>141345906006****</p> */ public Builder callerSource(String callerSource) { this.callerSource = callerSource; return this; } /** * <p>The request source. Valid values:</p> * <ul> * <li><strong>System</strong></li> * <li><strong>User</strong></li> * </ul> * * <strong>example:</strong> * <p>User</p> */ public Builder callerUid(String callerUid) { this.callerUid = callerUid; return this; } /** * <p>The name of the current step. If this parameter is left empty, the task is not started.</p> * * <strong>example:</strong> * <p>exec_task</p> */ public Builder currentStepName(String currentStepName) { this.currentStepName = currentStepName; return this; } /** * <p>The database type. The return value is redis.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The end 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>2022-02-03T12:06:17Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>dba-tair-test-qcloud</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The instance type. The return value is Instance.</p> * * <strong>example:</strong> * <p>Instance</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>The product. The return value is kvstore.</p> * * <strong>example:</strong> * <p>kvstore</p> */ public Builder product(String product) { this.product = product; return this; } /** * <p>The task progress. Valid values: 0 to 100.</p> * * <strong>example:</strong> * <p>79.0</p> */ public Builder progress(Float progress) { this.progress = progress; return this; } /** * <p>The reason why the current task was initiated.</p> * * <strong>example:</strong> * <p>UpgradeMinorVersion</p> */ public Builder reasonCode(String reasonCode) { this.reasonCode = reasonCode; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The estimated amount of time remaining to complete the task. Unit: seconds. A value of 0 indicates that the task is completed.</p> * * <strong>example:</strong> * <p>1000</p> */ public Builder remainTime(Integer remainTime) { this.remainTime = remainTime; return this; } /** * <p>The start 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>2022-02-03T11:31:03Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The task status.</p> * <ul> * <li><strong>Scheduled</strong></li> * <li><strong>Running</strong></li> * <li><strong>Succeed</strong></li> * <li><strong>Failed</strong></li> * <li><strong>Cancelling</strong></li> * <li><strong>Canceled</strong></li> * <li><strong>Waiting</strong></li> * </ul> * * <strong>example:</strong> * <p>Running</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The task details. The details vary based on the task type.</p> * * <strong>example:</strong> * <p>{&quot;callerUid&quot;:&quot;test&quot;}</p> */ public Builder taskDetail(String taskDetail) { this.taskDetail = taskDetail; return this; } /** * <p>The task ID.</p> * * <strong>example:</strong> * <p>t-83br18hloy3faf****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The task type.</p> * <ul> * <li><strong>ModifyInsSpec</strong></li> * <li><strong>DeleteInsNode</strong></li> * <li><strong>AddInsNode</strong></li> * <li><strong>HaSwitch</strong></li> * <li><strong>RestartIns</strong></li> * <li><strong>CreateIns</strong></li> * <li><strong>ModifyInsConfig</strong></li> * </ul> * * <strong>example:</strong> * <p>ModifyInsSpec</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The ID of the user to which the resources belong.</p> * * <strong>example:</strong> * <p>141345906006****</p> */ public Builder uid(String uid) { this.uid = uid; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceAttributeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAttributeRequest} extends {@link RequestModel} * * <p>DescribeInstanceAttributeRequest</p> */ public class DescribeInstanceAttributeRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeInstanceAttributeRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeInstanceAttributeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeInstanceAttributeRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeInstanceAttributeRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeInstanceAttributeRequest build() { return new DescribeInstanceAttributeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceAttributeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAttributeResponse} extends {@link TeaModel} * * <p>DescribeInstanceAttributeResponse</p> */ public class DescribeInstanceAttributeResponse 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 DescribeInstanceAttributeResponseBody body; private DescribeInstanceAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceAttributeResponse 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 DescribeInstanceAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceAttributeResponseBody body); @Override DescribeInstanceAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceAttributeResponse 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(DescribeInstanceAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceAttributeResponse build() { return new DescribeInstanceAttributeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceAttributeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAttributeResponseBody</p> */ public class DescribeInstanceAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private Instances instances; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeInstanceAttributeResponseBody(Builder builder) { this.instances = builder.instances; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceAttributeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public Instances getInstances() { return this.instances; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Instances instances; private String requestId; private Builder() { } private Builder(DescribeInstanceAttributeResponseBody model) { this.instances = model.instances; this.requestId = model.requestId; } /** * <p>Details about the instances.</p> */ public Builder instances(Instances instances) { this.instances = instances; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>CA40C261-EB72-4EDA-AC57-958722162595</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeInstanceAttributeResponseBody build() { return new DescribeInstanceAttributeResponseBody(this); } } /** * * {@link DescribeInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAttributeResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The tag key.</p> * * <strong>example:</strong> * <p>tagkey</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>tagvalue</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAttributeResponseBody</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private Tags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder { private java.util.List<Tag> tag; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link DescribeInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAttributeResponseBody</p> */ public static class DBInstanceAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @com.aliyun.core.annotation.NameInMap("AuditLogRetention") private String auditLogRetention; @com.aliyun.core.annotation.NameInMap("AutoSecondaryZone") private Boolean autoSecondaryZone; @com.aliyun.core.annotation.NameInMap("AvailabilityValue") private String availabilityValue; @com.aliyun.core.annotation.NameInMap("BackupLogStartTime") private String backupLogStartTime; @com.aliyun.core.annotation.NameInMap("Bandwidth") private Long bandwidth; @com.aliyun.core.annotation.NameInMap("Capacity") private Long capacity; @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("CloudType") private String cloudType; @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("ConnectionDomain") private String connectionDomain; @com.aliyun.core.annotation.NameInMap("Connections") private Long connections; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("GlobalInstanceId") private String globalInstanceId; @com.aliyun.core.annotation.NameInMap("HasRenewChangeOrder") private String hasRenewChangeOrder; @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceReleaseProtection") private Boolean instanceReleaseProtection; @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("IsOrderCompleted") private Boolean isOrderCompleted; @com.aliyun.core.annotation.NameInMap("IsRds") private Boolean isRds; @com.aliyun.core.annotation.NameInMap("IsSupportTDE") private Boolean isSupportTDE; @com.aliyun.core.annotation.NameInMap("MaintainEndTime") private String maintainEndTime; @com.aliyun.core.annotation.NameInMap("MaintainStartTime") private String maintainStartTime; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("PackageType") private String packageType; @com.aliyun.core.annotation.NameInMap("Port") private Long port; @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.NameInMap("QPS") private Long QPS; @com.aliyun.core.annotation.NameInMap("ReadOnlyCount") private Integer readOnlyCount; @com.aliyun.core.annotation.NameInMap("RealInstanceClass") private String realInstanceClass; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ReplicaCount") private Integer replicaCount; @com.aliyun.core.annotation.NameInMap("ReplicaId") private String replicaId; @com.aliyun.core.annotation.NameInMap("ReplicationMode") private String replicationMode; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SecondaryZoneId") private String secondaryZoneId; @com.aliyun.core.annotation.NameInMap("SecurityIPList") private String securityIPList; @com.aliyun.core.annotation.NameInMap("ShardCount") private Integer shardCount; @com.aliyun.core.annotation.NameInMap("SlaveReadOnlyCount") private Long slaveReadOnlyCount; @com.aliyun.core.annotation.NameInMap("SlaveReplicaCount") private Integer slaveReplicaCount; @com.aliyun.core.annotation.NameInMap("Storage") private String storage; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcAuthMode") private String vpcAuthMode; @com.aliyun.core.annotation.NameInMap("VpcCloudInstanceId") private String vpcCloudInstanceId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; @com.aliyun.core.annotation.NameInMap("ZoneType") private String zoneType; private DBInstanceAttribute(Builder builder) { this.architectureType = builder.architectureType; this.auditLogRetention = builder.auditLogRetention; this.autoSecondaryZone = builder.autoSecondaryZone; this.availabilityValue = builder.availabilityValue; this.backupLogStartTime = builder.backupLogStartTime; this.bandwidth = builder.bandwidth; this.capacity = builder.capacity; this.chargeType = builder.chargeType; this.cloudType = builder.cloudType; this.config = builder.config; this.connectionDomain = builder.connectionDomain; this.connections = builder.connections; this.createTime = builder.createTime; this.endTime = builder.endTime; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.globalInstanceId = builder.globalInstanceId; this.hasRenewChangeOrder = builder.hasRenewChangeOrder; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceReleaseProtection = builder.instanceReleaseProtection; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.isOrderCompleted = builder.isOrderCompleted; this.isRds = builder.isRds; this.isSupportTDE = builder.isSupportTDE; this.maintainEndTime = builder.maintainEndTime; this.maintainStartTime = builder.maintainStartTime; this.networkType = builder.networkType; this.nodeType = builder.nodeType; this.packageType = builder.packageType; this.port = builder.port; this.privateIp = builder.privateIp; this.QPS = builder.QPS; this.readOnlyCount = builder.readOnlyCount; this.realInstanceClass = builder.realInstanceClass; this.regionId = builder.regionId; this.replicaCount = builder.replicaCount; this.replicaId = builder.replicaId; this.replicationMode = builder.replicationMode; this.resourceGroupId = builder.resourceGroupId; this.secondaryZoneId = builder.secondaryZoneId; this.securityIPList = builder.securityIPList; this.shardCount = builder.shardCount; this.slaveReadOnlyCount = builder.slaveReadOnlyCount; this.slaveReplicaCount = builder.slaveReplicaCount; this.storage = builder.storage; this.storageType = builder.storageType; this.tags = builder.tags; this.vSwitchId = builder.vSwitchId; this.vpcAuthMode = builder.vpcAuthMode; this.vpcCloudInstanceId = builder.vpcCloudInstanceId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; this.zoneType = builder.zoneType; } public static Builder builder() { return new Builder(); } public static DBInstanceAttribute create() { return builder().build(); } /** * @return architectureType */ public String getArchitectureType() { return this.architectureType; } /** * @return auditLogRetention */ public String getAuditLogRetention() { return this.auditLogRetention; } /** * @return autoSecondaryZone */ public Boolean getAutoSecondaryZone() { return this.autoSecondaryZone; } /** * @return availabilityValue */ public String getAvailabilityValue() { return this.availabilityValue; } /** * @return backupLogStartTime */ public String getBackupLogStartTime() { return this.backupLogStartTime; } /** * @return bandwidth */ public Long getBandwidth() { return this.bandwidth; } /** * @return capacity */ public Long getCapacity() { return this.capacity; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return cloudType */ public String getCloudType() { return this.cloudType; } /** * @return config */ public String getConfig() { return this.config; } /** * @return connectionDomain */ public String getConnectionDomain() { return this.connectionDomain; } /** * @return connections */ public Long getConnections() { return this.connections; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return globalInstanceId */ public String getGlobalInstanceId() { return this.globalInstanceId; } /** * @return hasRenewChangeOrder */ public String getHasRenewChangeOrder() { return this.hasRenewChangeOrder; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceReleaseProtection */ public Boolean getInstanceReleaseProtection() { return this.instanceReleaseProtection; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return isOrderCompleted */ public Boolean getIsOrderCompleted() { return this.isOrderCompleted; } /** * @return isRds */ public Boolean getIsRds() { return this.isRds; } /** * @return isSupportTDE */ public Boolean getIsSupportTDE() { return this.isSupportTDE; } /** * @return maintainEndTime */ public String getMaintainEndTime() { return this.maintainEndTime; } /** * @return maintainStartTime */ public String getMaintainStartTime() { return this.maintainStartTime; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return packageType */ public String getPackageType() { return this.packageType; } /** * @return port */ public Long getPort() { return this.port; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @return QPS */ public Long getQPS() { return this.QPS; } /** * @return readOnlyCount */ public Integer getReadOnlyCount() { return this.readOnlyCount; } /** * @return realInstanceClass */ public String getRealInstanceClass() { return this.realInstanceClass; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return replicaCount */ public Integer getReplicaCount() { return this.replicaCount; } /** * @return replicaId */ public String getReplicaId() { return this.replicaId; } /** * @return replicationMode */ public String getReplicationMode() { return this.replicationMode; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return secondaryZoneId */ public String getSecondaryZoneId() { return this.secondaryZoneId; } /** * @return securityIPList */ public String getSecurityIPList() { return this.securityIPList; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } /** * @return slaveReadOnlyCount */ public Long getSlaveReadOnlyCount() { return this.slaveReadOnlyCount; } /** * @return slaveReplicaCount */ public Integer getSlaveReplicaCount() { return this.slaveReplicaCount; } /** * @return storage */ public String getStorage() { return this.storage; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcAuthMode */ public String getVpcAuthMode() { return this.vpcAuthMode; } /** * @return vpcCloudInstanceId */ public String getVpcCloudInstanceId() { return this.vpcCloudInstanceId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } /** * @return zoneType */ public String getZoneType() { return this.zoneType; } public static final class Builder { private String architectureType; private String auditLogRetention; private Boolean autoSecondaryZone; private String availabilityValue; private String backupLogStartTime; private Long bandwidth; private Long capacity; private String chargeType; private String cloudType; private String config; private String connectionDomain; private Long connections; private String createTime; private String endTime; private String engine; private String engineVersion; private String globalInstanceId; private String hasRenewChangeOrder; private String instanceClass; private String instanceId; private String instanceName; private Boolean instanceReleaseProtection; private String instanceStatus; private String instanceType; private Boolean isOrderCompleted; private Boolean isRds; private Boolean isSupportTDE; private String maintainEndTime; private String maintainStartTime; private String networkType; private String nodeType; private String packageType; private Long port; private String privateIp; private Long QPS; private Integer readOnlyCount; private String realInstanceClass; private String regionId; private Integer replicaCount; private String replicaId; private String replicationMode; private String resourceGroupId; private String secondaryZoneId; private String securityIPList; private Integer shardCount; private Long slaveReadOnlyCount; private Integer slaveReplicaCount; private String storage; private String storageType; private Tags tags; private String vSwitchId; private String vpcAuthMode; private String vpcCloudInstanceId; private String vpcId; private String zoneId; private String zoneType; private Builder() { } private Builder(DBInstanceAttribute model) { this.architectureType = model.architectureType; this.auditLogRetention = model.auditLogRetention; this.autoSecondaryZone = model.autoSecondaryZone; this.availabilityValue = model.availabilityValue; this.backupLogStartTime = model.backupLogStartTime; this.bandwidth = model.bandwidth; this.capacity = model.capacity; this.chargeType = model.chargeType; this.cloudType = model.cloudType; this.config = model.config; this.connectionDomain = model.connectionDomain; this.connections = model.connections; this.createTime = model.createTime; this.endTime = model.endTime; this.engine = model.engine; this.engineVersion = model.engineVersion; this.globalInstanceId = model.globalInstanceId; this.hasRenewChangeOrder = model.hasRenewChangeOrder; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceReleaseProtection = model.instanceReleaseProtection; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.isOrderCompleted = model.isOrderCompleted; this.isRds = model.isRds; this.isSupportTDE = model.isSupportTDE; this.maintainEndTime = model.maintainEndTime; this.maintainStartTime = model.maintainStartTime; this.networkType = model.networkType; this.nodeType = model.nodeType; this.packageType = model.packageType; this.port = model.port; this.privateIp = model.privateIp; this.QPS = model.QPS; this.readOnlyCount = model.readOnlyCount; this.realInstanceClass = model.realInstanceClass; this.regionId = model.regionId; this.replicaCount = model.replicaCount; this.replicaId = model.replicaId; this.replicationMode = model.replicationMode; this.resourceGroupId = model.resourceGroupId; this.secondaryZoneId = model.secondaryZoneId; this.securityIPList = model.securityIPList; this.shardCount = model.shardCount; this.slaveReadOnlyCount = model.slaveReadOnlyCount; this.slaveReplicaCount = model.slaveReplicaCount; this.storage = model.storage; this.storageType = model.storageType; this.tags = model.tags; this.vSwitchId = model.vSwitchId; this.vpcAuthMode = model.vpcAuthMode; this.vpcCloudInstanceId = model.vpcCloudInstanceId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; this.zoneType = model.zoneType; } /** * <p>The architecture of the instance. Valid values:</p> * <ul> * <li><strong>cluster</strong>: cluster architecture</li> * <li><strong>standard</strong>: standard architecture</li> * <li><strong>rwsplit</strong>: read/write splitting architecture</li> * </ul> * * <strong>example:</strong> * <p>standard</p> */ public Builder architectureType(String architectureType) { this.architectureType = architectureType; return this; } /** * <p>The retention period of audit logs. Unit: day. A value of 0 indicates that the audit log feature is disabled. For information about how to enable the feature, see <a href="https://help.aliyun.com/document_detail/102015.html">Enable the audit log feature</a>.</p> * * <strong>example:</strong> * <p>15</p> */ public Builder auditLogRetention(String auditLogRetention) { this.auditLogRetention = auditLogRetention; return this; } /** * <p>Indicates whether a secondary zone is automatically allocated.</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder autoSecondaryZone(Boolean autoSecondaryZone) { this.autoSecondaryZone = autoSecondaryZone; return this; } /** * <p>The availability metric of the current month.</p> * * <strong>example:</strong> * <p>100%</p> */ public Builder availabilityValue(String availabilityValue) { this.availabilityValue = availabilityValue; return this; } /** * <p>The earliest point in time to which data can be restored. 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> * </blockquote> * <ul> * <li><p>This parameter is returned only when the data flashback feature is enabled for the instance. For more information, see <a href="https://help.aliyun.com/document_detail/148479.html">Restore data to a point in time by using the data flashback feature</a>.</p> * </li> * <li><p>When you call the <a href="https://help.aliyun.com/document_detail/473824.html">RestoreInstance</a> operation to implement data flashback, you can obtain the earliest point in time for data flashback from the return value of this parameter and set the <strong>RestoreTime</strong> parameter to this point in time.</p> * </li> * </ul> * * <strong>example:</strong> * <p>2021-07-06T05:49:55Z</p> */ public Builder backupLogStartTime(String backupLogStartTime) { this.backupLogStartTime = backupLogStartTime; return this; } /** * <p>The bandwidth of the instance. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder bandwidth(Long bandwidth) { this.bandwidth = bandwidth; return this; } /** * <p>The storage capacity of the instance. Unit: MB.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder capacity(Long capacity) { this.capacity = capacity; 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> * </ul> * * <strong>example:</strong> * <p>PostPaid</p> */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * <p>This parameter is returned only when the instance is in a cloud box.</p> * * <strong>example:</strong> * <p>cloudbox</p> */ public Builder cloudType(String cloudType) { this.cloudType = cloudType; return this; } /** * <p>The parameter configurations of the instance in the JSON format. For more information, see <a href="https://help.aliyun.com/document_detail/43885.html">Parameter descriptions</a>. You can use the <a href="https://help.aliyun.com/document_detail/473830.html">DescribeAuditLogConfig</a> operation to query audit log configurations.</p> * * <strong>example:</strong> * <p>{&quot;EvictionPolicy&quot;:&quot;volatile-lru&quot;,&quot;hash-max-ziplist-entries&quot;:512,&quot;zset-max-ziplist-entries&quot;:128,&quot;zset-max-ziplist-value&quot;:64,&quot;set-max-intset-entries&quot;:512,&quot;hash-max-ziplist-value&quot;:64}</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The internal endpoint of the instance.</p> * * <strong>example:</strong> * <p>r-bp1d72gwl41z7f****.redis.rds.aliyuncs.com</p> */ public Builder connectionDomain(String connectionDomain) { this.connectionDomain = connectionDomain; return this; } /** * <p>The maximum number of connections supported by the instance.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder connections(Long connections) { this.connections = connections; return this; } /** * <p>The time when the instance was created. 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-03-06T10:42:03Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The time when the subscription expires. 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-04-06T10:42:03Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The database engine of the instance. The return value is <strong>Redis</strong>.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version of the instance. Valid values: <strong>2.8</strong>, <strong>4.0</strong>, <strong>5.0</strong>, <strong>6.0</strong>, and <strong>7.0</strong>.</p> * * <strong>example:</strong> * <p>4.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The ID of the distributed instance to which the instance belongs.</p> * <blockquote> * <p> This parameter is returned only when the Tair (Redis OSS-compatible) instance is a child instance of a distributed instance.</p> * </blockquote> * * <strong>example:</strong> * <p>gr-bp14rkqrhac****</p> */ public Builder globalInstanceId(String globalInstanceId) { this.globalInstanceId = globalInstanceId; return this; } /** * <p>Indicates whether your Alibaba Cloud account has pending orders for renewal and configuration change. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder hasRenewChangeOrder(String hasRenewChangeOrder) { this.hasRenewChangeOrder = hasRenewChangeOrder; return this; } /** * <p>The instance type. For more information, see <a href="https://help.aliyun.com/document_detail/107984.html">Instance types</a>.</p> * * <strong>example:</strong> * <p>redis.master.small.default</p> */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1d72gwl41z7f****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the instance.</p> * * <strong>example:</strong> * <p>apitest</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>Indicates whether the release protection feature is enabled for the instance. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder instanceReleaseProtection(Boolean instanceReleaseProtection) { this.instanceReleaseProtection = instanceReleaseProtection; return this; } /** * <p>The state of the instance. Valid values:</p> * <ul> * <li><strong>Normal</strong>: The instance is normal.</li> * <li><strong>Creating</strong>: The instance is being created.</li> * <li><strong>Changing</strong>: The configurations of the instance are being changed.</li> * <li><strong>Inactive</strong>: The instance is disabled.</li> * <li><strong>Flushing</strong>: The instance is being released.</li> * <li><strong>Released</strong>: The instance is released.</li> * <li><strong>Transforming</strong>: The billing method of the instance is being changed.</li> * <li><strong>Unavailable</strong>: The instance is unavailable.</li> * <li><strong>Error</strong>: The instance failed to be created.</li> * <li><strong>Migrating</strong>: The instance is being migrated.</li> * <li><strong>BackupRecovering</strong>: The instance is being restored from a backup.</li> * <li><strong>MinorVersionUpgrading</strong>: The minor version of the instance is being updated.</li> * <li><strong>NetworkModifying</strong>: The network type of the instance is being changed.</li> * <li><strong>SSLModifying</strong>: The SSL configurations of the instance are being changed.</li> * <li><strong>MajorVersionUpgrading</strong>: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.</li> * </ul> * <blockquote> * <p> For more information about instance states, see <a href="https://help.aliyun.com/document_detail/200740.html">Instance states and impacts</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>Normal</p> */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * <p>The database engine of the instance. Valid values:</p> * <ul> * <li><strong>Tair</strong></li> * <li><strong>Redis</strong></li> * <li><strong>Memcache</strong></li> * </ul> * * <strong>example:</strong> * <p>Redis</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>Indicates whether the order for instance configuration change has reached the final state. Valid values:</p> * <ul> * <li><strong>true</strong>: The configuration change has been completed or has not been performed.</li> * <li><strong>false</strong>: The configurations of the instance are being changed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isOrderCompleted(Boolean isOrderCompleted) { this.isOrderCompleted = isOrderCompleted; return this; } /** * <p>Indicates whether the instance is managed by ApsaraDB RDS. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isRds(Boolean isRds) { this.isRds = isRds; return this; } /** * <p>Indicates whether the transparent data encryption (TDE) feature is supported for the instance. Valid values:</p> * <ul> * <li><strong>true</strong>: This feature is supported only for DRAM-based classic instances.</li> * <li><strong>false</strong>: This feature is not supported.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isSupportTDE(Boolean isSupportTDE) { this.isSupportTDE = isSupportTDE; return this; } /** * <p>The end time of the maintenance window. The time is in the <em>HH:mmZ</em> format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>22:00Z</p> */ public Builder maintainEndTime(String maintainEndTime) { this.maintainEndTime = maintainEndTime; return this; } /** * <p>The start time of the maintenance window. The time is in the <em>HH:mmZ</em> format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>18:00Z</p> */ public Builder maintainStartTime(String maintainStartTime) { this.maintainStartTime = maintainStartTime; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>CLASSIC</strong></li> * <li><strong>VPC</strong></li> * </ul> * * <strong>example:</strong> * <p>CLASSIC</p> */ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** * <p>The node type. Valid values:</p> * <ul> * <li><strong>double</strong>: The instance contains a master node and a replica node.</li> * <li><strong>single</strong>: The instance is a standalone instance.</li> * </ul> * * <strong>example:</strong> * <p>double</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>The plan type. Valid values:</p> * <ul> * <li><strong>standard</strong>: standard plan.</li> * <li><strong>customized</strong>: custom plan. This plan type is phased out.</li> * </ul> * * <strong>example:</strong> * <p>standard</p> */ public Builder packageType(String packageType) { this.packageType = packageType; return this; } /** * <p>The service port of the instance.</p> * * <strong>example:</strong> * <p>6379</p> */ public Builder port(Long port) { this.port = port; return this; } /** * <p>The private IP address of the instance.</p> * <blockquote> * <p> This parameter is not returned when the instance is deployed in the classic network.</p> * </blockquote> * * <strong>example:</strong> * <p>172.16.49.***</p> */ public Builder privateIp(String privateIp) { this.privateIp = privateIp; return this; } /** * <p>The expected maximum queries per second (QPS).</p> * * <strong>example:</strong> * <p>100000</p> */ public Builder QPS(Long QPS) { this.QPS = QPS; return this; } /** * <p>The number of read replicas. This parameter is available only for read/write splitting instances that use cloud disks.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder readOnlyCount(Integer readOnlyCount) { this.readOnlyCount = readOnlyCount; return this; } /** * <p>If the instance is a cluster instance that uses cloud disks, this parameter indicates the actual instance type of individual shards in the instance. The InstanceClass parameter indicates the virtual instance type.</p> * <blockquote> * <p> To query fees for instances of the instance type, you can specify the instance type that is returned by this parameter in the <a href="https://help.aliyun.com/document_detail/473807.html">DescribePrice</a> operation.</p> * </blockquote> * * <strong>example:</strong> * <p>tair.rdb.with.proxy.1g</p> */ public Builder realInstanceClass(String realInstanceClass) { this.realInstanceClass = realInstanceClass; 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 number of replica nodes in the primary zone.</p> * <blockquote> * <p> The <strong>ReplicaCount</strong> and <strong>SlaveReplicaCount</strong> parameters are applicable only to cloud-native instances. If the instance is a cluster instance, the preceding parameters indicate the number of replica nodes <strong>per node</strong> in the primary and secondary zones of the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder replicaCount(Integer replicaCount) { this.replicaCount = replicaCount; return this; } /** * <p>The ID of the replica node.</p> * * <strong>example:</strong> * <p>bls-awxxxxxxxxxxxxx</p> */ public Builder replicaId(String replicaId) { this.replicaId = replicaId; return this; } /** * <p>The architecture of the replica node. Valid values:</p> * <ul> * <li><strong>master-slave</strong>: the standard master-replica architecture.</li> * <li><strong>cluster</strong>: the cluster architecture, which includes the read/write splitting instances and cluster instances.</li> * </ul> * * <strong>example:</strong> * <p>master-slave</p> */ public Builder replicationMode(String replicationMode) { this.replicationMode = replicationMode; return this; } /** * <p>The ID of the resource group to which the instance belongs.</p> * * <strong>example:</strong> * <p>rg-acfmyiu4ekp****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>The ID of the secondary zone.</p> * <blockquote> * <p> This parameter is returned only if the instance has a secondary zone ID.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hongkong-h</p> */ public Builder secondaryZoneId(String secondaryZoneId) { this.secondaryZoneId = secondaryZoneId; return this; } /** * <p>The IP addresses in the whitelist.</p> * * <strong>example:</strong> * <p>127.0.0.1</p> */ public Builder securityIPList(String securityIPList) { this.securityIPList = securityIPList; return this; } /** * <p>The number of shards. This parameter is available only for instances that are purchased on the China site (aliyun.com).</p> * * <strong>example:</strong> * <p>2</p> */ public Builder shardCount(Integer shardCount) { this.shardCount = shardCount; return this; } /** * <p>The number of read replicas in the secondary zone. This parameter is returned only after read/write splitting is enabled for the instance across multiple zones.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder slaveReadOnlyCount(Long slaveReadOnlyCount) { this.slaveReadOnlyCount = slaveReadOnlyCount; return this; } /** * <p>The number of replica nodes in the secondary zone.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder slaveReplicaCount(Integer slaveReplicaCount) { this.slaveReplicaCount = slaveReplicaCount; return this; } /** * <p>The storage capacity of the cloud disk.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder storage(String storage) { this.storage = storage; return this; } /** * <p>The storage type.</p> * * <strong>example:</strong> * <p>essd_pl1</p> */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * <p>Details about the tags.</p> */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * <p>The ID of the vSwitch.</p> * * <strong>example:</strong> * <p>vsw-bp1e7clcw529l773d****</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>Indicates whether password authentication is enabled. Valid values:</p> * <ul> * <li><strong>Open</strong>: Password authentication is enabled.</li> * <li><strong>Close</strong>: Password authentication is disabled and <a href="https://help.aliyun.com/document_detail/85168.html">password-free access</a> is enabled.</li> * </ul> * * <strong>example:</strong> * <p>Open</p> */ public Builder vpcAuthMode(String vpcAuthMode) { this.vpcAuthMode = vpcAuthMode; return this; } /** * <p>The ID of the instance in the VPC.</p> * * <strong>example:</strong> * <p>r-bp1d72gwl41z7f****</p> */ public Builder vpcCloudInstanceId(String vpcCloudInstanceId) { this.vpcCloudInstanceId = vpcCloudInstanceId; return this; } /** * <p>The ID of the virtual private cloud (VPC).</p> * * <strong>example:</strong> * <p>vpc-bp1nme44gek34slfc****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The zone ID.</p> * * <strong>example:</strong> * <p>cn-hongkong-b</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } /** * <p>The deployment type of the instance. Valid values:</p> * <ul> * <li><strong>singlezone</strong>: The instance is deployed in a single zone.</li> * <li><strong>doublezone</strong>: The instance is deployed in two zones of the same region.</li> * </ul> * * <strong>example:</strong> * <p>singlezone</p> */ public Builder zoneType(String zoneType) { this.zoneType = zoneType; return this; } public DBInstanceAttribute build() { return new DBInstanceAttribute(this); } } } /** * * {@link DescribeInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAttributeResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceAttribute") private java.util.List<DBInstanceAttribute> DBInstanceAttribute; private Instances(Builder builder) { this.DBInstanceAttribute = builder.DBInstanceAttribute; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return DBInstanceAttribute */ public java.util.List<DBInstanceAttribute> getDBInstanceAttribute() { return this.DBInstanceAttribute; } public static final class Builder { private java.util.List<DBInstanceAttribute> DBInstanceAttribute; private Builder() { } private Builder(Instances model) { this.DBInstanceAttribute = model.DBInstanceAttribute; } /** * DBInstanceAttribute. */ public Builder DBInstanceAttribute(java.util.List<DBInstanceAttribute> DBInstanceAttribute) { this.DBInstanceAttribute = DBInstanceAttribute; return this; } public Instances build() { return new Instances(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceAutoRenewalAttributeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAutoRenewalAttributeRequest} extends {@link RequestModel} * * <p>DescribeInstanceAutoRenewalAttributeRequest</p> */ public class DescribeInstanceAutoRenewalAttributeRequest 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("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 = 200, minimum = 30) private Integer pageSize; @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 DescribeInstanceAutoRenewalAttributeRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceAutoRenewalAttributeRequest 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 pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @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<DescribeInstanceAutoRenewalAttributeRequest, Builder> { private String clientToken; private String DBInstanceId; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeInstanceAutoRenewalAttributeRequest request) { super(request); this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; 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 value, but you must ensure that it 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 ID of the instance.</p> * <blockquote> * <p>By default, the system checks whether auto-renewal is enabled for all instances.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</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 number of the page to return. The value must be an integer greater than <strong>0</strong>. 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: <strong>30</strong>, <strong>50</strong>, and <strong>100</strong>.</p> * <blockquote> * <p>The default value is <strong>30</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; 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; } /** * 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 DescribeInstanceAutoRenewalAttributeRequest build() { return new DescribeInstanceAutoRenewalAttributeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceAutoRenewalAttributeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAutoRenewalAttributeResponse} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponse</p> */ public class DescribeInstanceAutoRenewalAttributeResponse 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 DescribeInstanceAutoRenewalAttributeResponseBody body; private DescribeInstanceAutoRenewalAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceAutoRenewalAttributeResponse 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 DescribeInstanceAutoRenewalAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceAutoRenewalAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceAutoRenewalAttributeResponseBody body); @Override DescribeInstanceAutoRenewalAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceAutoRenewalAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceAutoRenewalAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceAutoRenewalAttributeResponse 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(DescribeInstanceAutoRenewalAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceAutoRenewalAttributeResponse build() { return new DescribeInstanceAutoRenewalAttributeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceAutoRenewalAttributeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAutoRenewalAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponseBody</p> */ public class DescribeInstanceAutoRenewalAttributeResponseBody 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 DescribeInstanceAutoRenewalAttributeResponseBody(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 DescribeInstanceAutoRenewalAttributeResponseBody 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(DescribeInstanceAutoRenewalAttributeResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>Details of the auto-renewal information for the instance.</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(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2B17D708-1D6D-49F3-B6D7-478371DD****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of returned entries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeInstanceAutoRenewalAttributeResponseBody build() { return new DescribeInstanceAutoRenewalAttributeResponseBody(this); } } /** * * {@link DescribeInstanceAutoRenewalAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponseBody</p> */ public static class Item extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoRenew") private String autoRenew; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("Duration") private Integer duration; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private Item(Builder builder) { this.autoRenew = builder.autoRenew; this.DBInstanceId = builder.DBInstanceId; this.duration = builder.duration; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static Item create() { return builder().build(); } /** * @return autoRenew */ public String getAutoRenew() { return this.autoRenew; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return duration */ public Integer getDuration() { return this.duration; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private String autoRenew; private String DBInstanceId; private Integer duration; private String regionId; private Builder() { } private Builder(Item model) { this.autoRenew = model.autoRenew; this.DBInstanceId = model.DBInstanceId; this.duration = model.duration; this.regionId = model.regionId; } /** * <p>Indicates whether auto-renewal is enabled. Valid values:</p> * <ul> * <li><strong>true</strong>: Auto-renewal is enabled.</li> * <li><strong>false</strong>: Auto-renewal is disabled.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder autoRenew(String autoRenew) { this.autoRenew = autoRenew; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The auto-renewal period. Unit: months.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder duration(Integer duration) { this.duration = duration; return this; } /** * <p>The region ID of the instance.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public Item build() { return new Item(this); } } } /** * * {@link DescribeInstanceAutoRenewalAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<Item> item; private Items(Builder builder) { this.item = builder.item; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return item */ public java.util.List<Item> getItem() { return this.item; } public static final class Builder { private java.util.List<Item> item; private Builder() { } private Builder(Items model) { this.item = model.item; } /** * Item. */ public Builder item(java.util.List<Item> item) { this.item = item; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceConfigRequest} extends {@link RequestModel} * * <p>DescribeInstanceConfigRequest</p> */ public class DescribeInstanceConfigRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeInstanceConfigRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeInstanceConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeInstanceConfigRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeInstanceConfigRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The instance ID. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query the ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeInstanceConfigRequest build() { return new DescribeInstanceConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceConfigResponse} extends {@link TeaModel} * * <p>DescribeInstanceConfigResponse</p> */ public class DescribeInstanceConfigResponse 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 DescribeInstanceConfigResponseBody body; private DescribeInstanceConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceConfigResponse 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 DescribeInstanceConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceConfigResponseBody body); @Override DescribeInstanceConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceConfigResponse 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(DescribeInstanceConfigResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceConfigResponse build() { return new DescribeInstanceConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101
java-sources/com/aliyun/alibabacloud-r_kvstore20150101/5.0.2/com/aliyun/sdk/service/r_kvstore20150101/models/DescribeInstanceConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.r_kvstore20150101.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceConfigResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceConfigResponseBody</p> */ public class DescribeInstanceConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("ParamNoLooseSentinelEnabled") private String paramNoLooseSentinelEnabled; @com.aliyun.core.annotation.NameInMap("ParamNoLooseSentinelPasswordFreeAccess") private String paramNoLooseSentinelPasswordFreeAccess; @com.aliyun.core.annotation.NameInMap("ParamNoLooseSentinelPasswordFreeCommands") private String paramNoLooseSentinelPasswordFreeCommands; @com.aliyun.core.annotation.NameInMap("ParamReplMode") private String paramReplMode; @com.aliyun.core.annotation.NameInMap("ParamReplTimeout") private String paramReplTimeout; @com.aliyun.core.annotation.NameInMap("ParamSentinelCompatEnable") private String paramSentinelCompatEnable; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeInstanceConfigResponseBody(Builder builder) { this.config = builder.config; this.paramNoLooseSentinelEnabled = builder.paramNoLooseSentinelEnabled; this.paramNoLooseSentinelPasswordFreeAccess = builder.paramNoLooseSentinelPasswordFreeAccess; this.paramNoLooseSentinelPasswordFreeCommands = builder.paramNoLooseSentinelPasswordFreeCommands; this.paramReplMode = builder.paramReplMode; this.paramReplTimeout = builder.paramReplTimeout; this.paramSentinelCompatEnable = builder.paramSentinelCompatEnable; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return config */ public String getConfig() { return this.config; } /** * @return paramNoLooseSentinelEnabled */ public String getParamNoLooseSentinelEnabled() { return this.paramNoLooseSentinelEnabled; } /** * @return paramNoLooseSentinelPasswordFreeAccess */ public String getParamNoLooseSentinelPasswordFreeAccess() { return this.paramNoLooseSentinelPasswordFreeAccess; } /** * @return paramNoLooseSentinelPasswordFreeCommands */ public String getParamNoLooseSentinelPasswordFreeCommands() { return this.paramNoLooseSentinelPasswordFreeCommands; } /** * @return paramReplMode */ public String getParamReplMode() { return this.paramReplMode; } /** * @return paramReplTimeout */ public String getParamReplTimeout() { return this.paramReplTimeout; } /** * @return paramSentinelCompatEnable */ public String getParamSentinelCompatEnable() { return this.paramSentinelCompatEnable; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String config; private String paramNoLooseSentinelEnabled; private String paramNoLooseSentinelPasswordFreeAccess; private String paramNoLooseSentinelPasswordFreeCommands; private String paramReplMode; private String paramReplTimeout; private String paramSentinelCompatEnable; private String requestId; private Builder() { } private Builder(DescribeInstanceConfigResponseBody model) { this.config = model.config; this.paramNoLooseSentinelEnabled = model.paramNoLooseSentinelEnabled; this.paramNoLooseSentinelPasswordFreeAccess = model.paramNoLooseSentinelPasswordFreeAccess; this.paramNoLooseSentinelPasswordFreeCommands = model.paramNoLooseSentinelPasswordFreeCommands; this.paramReplMode = model.paramReplMode; this.paramReplTimeout = model.paramReplTimeout; this.paramSentinelCompatEnable = model.paramSentinelCompatEnable; this.requestId = model.requestId; } /** * <p>The parameter settings of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/43885.html">Parameter overview and configuration guide</a>.</p> * * <strong>example:</strong> * <p>{&quot;EvictionPolicy&quot;:&quot;volatile-lru&quot;,&quot;hash-max-ziplist-entries&quot;:512,&quot;zset-max-ziplist-entries&quot;:128,&quot;list-max-ziplist-entries&quot;:512,&quot;list-max-ziplist-value&quot;:64,&quot;zset-max-ziplist-value&quot;:64,&quot;set-max-intset-entries&quot;:512,&quot;hash-max-ziplist-value&quot;:64}</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The Sentinel-compatible mode, which is applicable to non-cluster instances. For more information about the parameter, see the relevant documentation.</p> * * <strong>example:</strong> * <hr> */ public Builder paramNoLooseSentinelEnabled(String paramNoLooseSentinelEnabled) { this.paramNoLooseSentinelEnabled = paramNoLooseSentinelEnabled; return this; } /** * <p>Indicates whether Sentinel commands can be run without requiring a password when the Sentinel mode is enabled. Valid values: Valid values: yes and no. Default value: no. After you set this parameter to yes, you can run Sentinel commands in a virtual private cloud (VPC) without the need to enable the password-free access feature.</p> * * <strong>example:</strong> * <p>no</p> */ public Builder paramNoLooseSentinelPasswordFreeAccess(String paramNoLooseSentinelPasswordFreeAccess) { this.paramNoLooseSentinelPasswordFreeAccess = paramNoLooseSentinelPasswordFreeAccess; return this; } /** * <p>After you enable the Sentinel mode and set the ParamNoLooseSentinelPasswordFreeAccess parameter to yes, you can use this parameter to specify an additional list of commands that can be run without requiring a password. By default, this parameter is empty. After you configure this parameter, you can run the specified commands without a password on any connection. Proceed with caution. The commands must be written in lowercase letters. Multiple commands are separated by commas (,).</p> * * <strong>example:</strong> * <hr> */ public Builder paramNoLooseSentinelPasswordFreeCommands(String paramNoLooseSentinelPasswordFreeCommands) { this.paramNoLooseSentinelPasswordFreeCommands = paramNoLooseSentinelPasswordFreeCommands; return this; } /** * <p>The synchronization mode.</p> * <ul> * <li><strong>semisync</strong></li> * <li><strong>async</strong></li> * </ul> * * <strong>example:</strong> * <p>async</p> */ public Builder paramReplMode(String paramReplMode) { this.paramReplMode = paramReplMode; return this; } /** * <p>The degradation threshold time of the semi-synchronous replication mode. This parameter is required only when semi-synchronous replication is enabled. Unit: milliseconds. Valid values: 10 to 60000.</p> * * <strong>example:</strong> * <hr> */ public Builder paramReplTimeout(String paramReplTimeout) { this.paramReplTimeout = paramReplTimeout; return this; } /** * <p>The Sentinel-compatible mode, which is applicable to cluster instances in proxy mode or read/write splitting instances. For more information about the parameter, see the relevant documentation.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder paramSentinelCompatEnable(String paramSentinelCompatEnable) { this.paramSentinelCompatEnable = paramSentinelCompatEnable; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeInstanceConfigResponseBody build() { return new DescribeInstanceConfigResponseBody(this); } } }