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/DescribeInstanceSSLRequest.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 DescribeInstanceSSLRequest} extends {@link RequestModel} * * <p>DescribeInstanceSSLRequest</p> */ public class DescribeInstanceSSLRequest 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 DescribeInstanceSSLRequest(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 DescribeInstanceSSLRequest 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<DescribeInstanceSSLRequest, 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(DescribeInstanceSSLRequest 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 DescribeInstanceSSLRequest build() { return new DescribeInstanceSSLRequest(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/DescribeInstanceSSLResponse.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 DescribeInstanceSSLResponse} extends {@link TeaModel} * * <p>DescribeInstanceSSLResponse</p> */ public class DescribeInstanceSSLResponse 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 DescribeInstanceSSLResponseBody body; private DescribeInstanceSSLResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceSSLResponse 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 DescribeInstanceSSLResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceSSLResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceSSLResponseBody body); @Override DescribeInstanceSSLResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceSSLResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceSSLResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceSSLResponse 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(DescribeInstanceSSLResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceSSLResponse build() { return new DescribeInstanceSSLResponse(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/DescribeInstanceSSLResponseBody.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 DescribeInstanceSSLResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceSSLResponseBody</p> */ public class DescribeInstanceSSLResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CertCommonName") private String certCommonName; @com.aliyun.core.annotation.NameInMap("CertDownloadURL") private String certDownloadURL; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SSLEnabled") private String SSLEnabled; @com.aliyun.core.annotation.NameInMap("SSLExpiredTime") private String SSLExpiredTime; private DescribeInstanceSSLResponseBody(Builder builder) { this.certCommonName = builder.certCommonName; this.certDownloadURL = builder.certDownloadURL; this.instanceId = builder.instanceId; this.requestId = builder.requestId; this.SSLEnabled = builder.SSLEnabled; this.SSLExpiredTime = builder.SSLExpiredTime; } public static Builder builder() { return new Builder(); } public static DescribeInstanceSSLResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return certCommonName */ public String getCertCommonName() { return this.certCommonName; } /** * @return certDownloadURL */ public String getCertDownloadURL() { return this.certDownloadURL; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return SSLEnabled */ public String getSSLEnabled() { return this.SSLEnabled; } /** * @return SSLExpiredTime */ public String getSSLExpiredTime() { return this.SSLExpiredTime; } public static final class Builder { private String certCommonName; private String certDownloadURL; private String instanceId; private String requestId; private String SSLEnabled; private String SSLExpiredTime; private Builder() { } private Builder(DescribeInstanceSSLResponseBody model) { this.certCommonName = model.certCommonName; this.certDownloadURL = model.certDownloadURL; this.instanceId = model.instanceId; this.requestId = model.requestId; this.SSLEnabled = model.SSLEnabled; this.SSLExpiredTime = model.SSLExpiredTime; } /** * <p>The common name of the CA certificate. The default value is the internal endpoint of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</p> */ public Builder certCommonName(String certCommonName) { this.certCommonName = certCommonName; return this; } /** * <p>The download URL of the CA certificate.</p> * * <strong>example:</strong> * <p><a href="https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip">https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip</a></p> */ public Builder certDownloadURL(String certDownloadURL) { this.certDownloadURL = certDownloadURL; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>02260F96-913E-4655-9BA5-A3651CAF****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The status of the TLS (SSL) encryption feature. Valid values:</p> * <ul> * <li><strong>Enable</strong>: SSL encryption is enabled.</li> * <li><strong>Disable</strong>: SSL encryption is disabled.</li> * </ul> * * <strong>example:</strong> * <p>Enable</p> */ public Builder SSLEnabled(String SSLEnabled) { this.SSLEnabled = SSLEnabled; return this; } /** * <p>The time when the CA certificate expires.</p> * * <strong>example:</strong> * <p>2020-08-05T09:05:53Z</p> */ public Builder SSLExpiredTime(String SSLExpiredTime) { this.SSLExpiredTime = SSLExpiredTime; return this; } public DescribeInstanceSSLResponseBody build() { return new DescribeInstanceSSLResponseBody(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/DescribeInstanceTDEStatusRequest.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 DescribeInstanceTDEStatusRequest} extends {@link RequestModel} * * <p>DescribeInstanceTDEStatusRequest</p> */ public class DescribeInstanceTDEStatusRequest 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 DescribeInstanceTDEStatusRequest(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 DescribeInstanceTDEStatusRequest 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<DescribeInstanceTDEStatusRequest, 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(DescribeInstanceTDEStatusRequest 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 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; } /** * 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 DescribeInstanceTDEStatusRequest build() { return new DescribeInstanceTDEStatusRequest(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/DescribeInstanceTDEStatusResponse.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 DescribeInstanceTDEStatusResponse} extends {@link TeaModel} * * <p>DescribeInstanceTDEStatusResponse</p> */ public class DescribeInstanceTDEStatusResponse 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 DescribeInstanceTDEStatusResponseBody body; private DescribeInstanceTDEStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceTDEStatusResponse 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 DescribeInstanceTDEStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceTDEStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceTDEStatusResponseBody body); @Override DescribeInstanceTDEStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceTDEStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceTDEStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceTDEStatusResponse 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(DescribeInstanceTDEStatusResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceTDEStatusResponse build() { return new DescribeInstanceTDEStatusResponse(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/DescribeInstanceTDEStatusResponseBody.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 DescribeInstanceTDEStatusResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceTDEStatusResponseBody</p> */ public class DescribeInstanceTDEStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TDEStatus") private String TDEStatus; private DescribeInstanceTDEStatusResponseBody(Builder builder) { this.requestId = builder.requestId; this.TDEStatus = builder.TDEStatus; } public static Builder builder() { return new Builder(); } public static DescribeInstanceTDEStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return TDEStatus */ public String getTDEStatus() { return this.TDEStatus; } public static final class Builder { private String requestId; private String TDEStatus; private Builder() { } private Builder(DescribeInstanceTDEStatusResponseBody model) { this.requestId = model.requestId; this.TDEStatus = model.TDEStatus; } /** * <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; } /** * <p>Indicates whether TDE is enabled. Valid values:</p> * <ul> * <li><strong>Enabled</strong>: TDE is enabled.</li> * <li><strong>Disable</strong>: TDE is disabled.</li> * </ul> * * <strong>example:</strong> * <p>Enabled</p> */ public Builder TDEStatus(String TDEStatus) { this.TDEStatus = TDEStatus; return this; } public DescribeInstanceTDEStatusResponseBody build() { return new DescribeInstanceTDEStatusResponseBody(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/DescribeInstancesOverviewRequest.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 DescribeInstancesOverviewRequest} extends {@link RequestModel} * * <p>DescribeInstancesOverviewRequest</p> */ public class DescribeInstancesOverviewRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EditionType") private String editionType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") private String instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @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("PrivateIp") private String privateIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchKey") private String searchKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeInstancesOverviewRequest(Builder builder) { super(builder); this.architectureType = builder.architectureType; this.chargeType = builder.chargeType; this.editionType = builder.editionType; this.engineVersion = builder.engineVersion; this.instanceClass = builder.instanceClass; this.instanceIds = builder.instanceIds; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.networkType = builder.networkType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.searchKey = builder.searchKey; this.securityToken = builder.securityToken; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeInstancesOverviewRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return architectureType */ public String getArchitectureType() { return this.architectureType; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return editionType */ public String getEditionType() { return this.editionType; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceIds */ public String getInstanceIds() { return this.instanceIds; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @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 searchKey */ public String getSearchKey() { return this.searchKey; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeInstancesOverviewRequest, Builder> { private String architectureType; private String chargeType; private String editionType; private String engineVersion; private String instanceClass; private String instanceIds; private String instanceStatus; private String instanceType; private String networkType; private String ownerAccount; private Long ownerId; private String privateIp; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String searchKey; private String securityToken; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { super(); } private Builder(DescribeInstancesOverviewRequest request) { super(request); this.architectureType = request.architectureType; this.chargeType = request.chargeType; this.editionType = request.editionType; this.engineVersion = request.engineVersion; this.instanceClass = request.instanceClass; this.instanceIds = request.instanceIds; this.instanceStatus = request.instanceStatus; this.instanceType = request.instanceType; this.networkType = request.networkType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.privateIp = request.privateIp; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.searchKey = request.searchKey; this.securityToken = request.securityToken; this.vSwitchId = request.vSwitchId; this.vpcId = request.vpcId; this.zoneId = request.zoneId; } /** * <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.putQueryParameter("ArchitectureType", architectureType); this.architectureType = architectureType; 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.putQueryParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * <p>The edition of the instance. Valid values:</p> * <ul> * <li><strong>Community</strong>: Redis Open-Source Edition</li> * <li><strong>Enterprise</strong>: Tair (Enterprise Edition)</li> * </ul> * * <strong>example:</strong> * <p>Enterprise</p> */ public Builder editionType(String editionType) { this.putQueryParameter("EditionType", editionType); this.editionType = editionType; return this; } /** * <p>The 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> * <p>Valid values:</p> * <ul> * <li>1.0</li> * <li>2.8</li> * <li>4.0</li> * <li>5.0</li> * <li>6.0</li> * <li>7.0</li> * </ul> * * <strong>example:</strong> * <p>4.0</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; return this; } /** * <p>The instance type of the instance. 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.putQueryParameter("InstanceClass", instanceClass); this.instanceClass = instanceClass; return this; } /** * <p>The IDs of instances.</p> * <blockquote> * <p>By default, all instances that belong to this account are queried. If you specify multiple instance IDs, separate the instance IDs with commas (,).</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceIds(String instanceIds) { this.putQueryParameter("InstanceIds", instanceIds); this.instanceIds = instanceIds; 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 certificate of the instance is 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.putQueryParameter("InstanceStatus", instanceStatus); this.instanceStatus = instanceStatus; return this; } /** * <p>The category 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.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>CLASSIC</strong>: classic network</li> * <li><strong>VPC</strong>: Virtual Private Cloud (VPC)</li> * </ul> * * <strong>example:</strong> * <p>CLASSIC</p> */ public Builder networkType(String networkType) { this.putQueryParameter("NetworkType", networkType); this.networkType = networkType; 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 private IP address of the instance.</p> * * <strong>example:</strong> * <p>172.16.49.***</p> */ public Builder privateIp(String privateIp) { this.putQueryParameter("PrivateIp", privateIp); this.privateIp = privateIp; return this; } /** * <p>The ID of the region in which the instances you want to query reside. 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-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 instances you want to query belong.</p> * <blockquote> * <p>You can query resource group IDs by using the Tair (Redis OSS-compatible) console or by calling the <a href="https://help.aliyun.com/document_detail/158855.html">ListResourceGroups</a> operation. For more information, see <a href="https://help.aliyun.com/document_detail/151181.html">View basic information of a resource group</a>.</p> * </blockquote> * * <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; } /** * <p>The keyword used for fuzzy search. The keyword can be based on an instance ID or an instance description.</p> * * <strong>example:</strong> * <p>apitest</p> */ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); this.searchKey = searchKey; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The ID of the vSwitch.</p> * * <strong>example:</strong> * <p>vsw-bp1e7clcw529l773d****</p> */ public Builder vSwitchId(String vSwitchId) { this.putQueryParameter("VSwitchId", vSwitchId); this.vSwitchId = vSwitchId; return this; } /** * <p>The ID of the VPC.</p> * * <strong>example:</strong> * <p>vpc-bp1nme44gek34slfc****</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } /** * <p>The zone ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hangzhou-b</p> */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribeInstancesOverviewRequest build() { return new DescribeInstancesOverviewRequest(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/DescribeInstancesOverviewResponse.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 DescribeInstancesOverviewResponse} extends {@link TeaModel} * * <p>DescribeInstancesOverviewResponse</p> */ public class DescribeInstancesOverviewResponse 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 DescribeInstancesOverviewResponseBody body; private DescribeInstancesOverviewResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstancesOverviewResponse 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 DescribeInstancesOverviewResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstancesOverviewResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstancesOverviewResponseBody body); @Override DescribeInstancesOverviewResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstancesOverviewResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstancesOverviewResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstancesOverviewResponse 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(DescribeInstancesOverviewResponseBody body) { this.body = body; return this; } @Override public DescribeInstancesOverviewResponse build() { return new DescribeInstancesOverviewResponse(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/DescribeInstancesOverviewResponseBody.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 DescribeInstancesOverviewResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesOverviewResponseBody</p> */ public class DescribeInstancesOverviewResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private java.util.List<Instances> instances; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeInstancesOverviewResponseBody(Builder builder) { this.instances = builder.instances; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeInstancesOverviewResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public java.util.List<Instances> getInstances() { return this.instances; } /** * @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 String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeInstancesOverviewResponseBody model) { this.instances = model.instances; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The queried instances.</p> */ public Builder instances(java.util.List<Instances> instances) { this.instances = instances; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>1E83311F-0EE4-4922-A3BF-730B312B****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeInstancesOverviewResponseBody build() { return new DescribeInstancesOverviewResponseBody(this); } } /** * * {@link DescribeInstancesOverviewResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesOverviewResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @com.aliyun.core.annotation.NameInMap("Capacity") private Long capacity; @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("ConnectionDomain") private String connectionDomain; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @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("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SecondaryZoneId") private String secondaryZoneId; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private Instances(Builder builder) { this.architectureType = builder.architectureType; this.capacity = builder.capacity; this.chargeType = builder.chargeType; this.connectionDomain = builder.connectionDomain; this.createTime = builder.createTime; this.endTime = builder.endTime; this.engineVersion = builder.engineVersion; this.globalInstanceId = builder.globalInstanceId; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.networkType = builder.networkType; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.secondaryZoneId = builder.secondaryZoneId; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return architectureType */ public String getArchitectureType() { return this.architectureType; } /** * @return capacity */ public Long getCapacity() { return this.capacity; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return connectionDomain */ public String getConnectionDomain() { return this.connectionDomain; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @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 instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return secondaryZoneId */ public String getSecondaryZoneId() { return this.secondaryZoneId; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String architectureType; private Long capacity; private String chargeType; private String connectionDomain; private String createTime; private String endTime; private String engineVersion; private String globalInstanceId; private String instanceClass; private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private String networkType; private String privateIp; private String regionId; private String resourceGroupId; private String secondaryZoneId; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { } private Builder(Instances model) { this.architectureType = model.architectureType; this.capacity = model.capacity; this.chargeType = model.chargeType; this.connectionDomain = model.connectionDomain; this.createTime = model.createTime; this.endTime = model.endTime; this.engineVersion = model.engineVersion; this.globalInstanceId = model.globalInstanceId; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.networkType = model.networkType; this.privateIp = model.privateIp; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.secondaryZoneId = model.secondaryZoneId; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; } /** * <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>cluster</p> */ public Builder architectureType(String architectureType) { this.architectureType = architectureType; return this; } /** * <p>The storage capacity of the instance. Unit: MB.</p> * * <strong>example:</strong> * <p>4096</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>The internal endpoint of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</p> */ public Builder connectionDomain(String connectionDomain) { this.connectionDomain = connectionDomain; return this; } /** * <p>The time when the instance was created.</p> * * <strong>example:</strong> * <p>2018-11-07T08:49:00Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The time when the subscription instance expires.</p> * * <strong>example:</strong> * <p>2022-06-13T16:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The 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.</p> * <blockquote> * <p>This parameter is returned only when the 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>The instance type of the instance.</p> * * <strong>example:</strong> * <p>redis.logic.sharding.2g.2db.0rodb.4proxy.default</p> */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</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>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 certificate of the instance is 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 edition of the instance. Valid values:</p> * <ul> * <li><strong>Tair</strong>: Tair (Enterprise Edition)</li> * <li><strong>Redis</strong>: Redis Open-Source Edition</li> * <li><strong>Memcache</strong></li> * </ul> * * <strong>example:</strong> * <p>Redis</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>CLASSIC</strong>: classic network</li> * <li><strong>VPC</strong>: VPC</li> * </ul> * * <strong>example:</strong> * <p>CLASSIC</p> */ public Builder networkType(String networkType) { this.networkType = networkType; 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 region ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The ID of the resource group to which the instance belongs.</p> * * <strong>example:</strong> * <p>rg-acfmyiu4ekp****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>Instance&quot;s secondary zone id.</p> * <blockquote> * <p>This parameter is only returned when the instance has a secondary zone ID.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou-g</p> */ public Builder secondaryZoneId(String secondaryZoneId) { this.secondaryZoneId = secondaryZoneId; return this; } /** * <p>The ID of the vSwitch to which the instance is connected.</p> * * <strong>example:</strong> * <p>vsw-bp1e7clcw529l773d****</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>The ID of the VPC.</p> * * <strong>example:</strong> * <p>vpc-bp1nme44gek34slfc****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The zone ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hangzhou-b</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/DescribeInstancesRequest.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 DescribeInstancesRequest} extends {@link RequestModel} * * <p>DescribeInstancesRequest</p> */ public class DescribeInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EditionType") private String editionType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Expired") private String expired; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GlobalInstance") private Boolean globalInstance; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") private String instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @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") @com.aliyun.core.annotation.Validation(maximum = 1000) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchKey") private String searchKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeInstancesRequest(Builder builder) { super(builder); this.architectureType = builder.architectureType; this.chargeType = builder.chargeType; this.editionType = builder.editionType; this.engineVersion = builder.engineVersion; this.expired = builder.expired; this.globalInstance = builder.globalInstance; this.instanceClass = builder.instanceClass; this.instanceIds = builder.instanceIds; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.networkType = builder.networkType; this.nodeType = builder.nodeType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.searchKey = builder.searchKey; this.securityToken = builder.securityToken; this.tag = builder.tag; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return architectureType */ public String getArchitectureType() { return this.architectureType; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return editionType */ public String getEditionType() { return this.editionType; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return expired */ public String getExpired() { return this.expired; } /** * @return globalInstance */ public Boolean getGlobalInstance() { return this.globalInstance; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceIds */ public String getInstanceIds() { return this.instanceIds; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @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 privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @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 searchKey */ public String getSearchKey() { return this.searchKey; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeInstancesRequest, Builder> { private String architectureType; private String chargeType; private String editionType; private String engineVersion; private String expired; private Boolean globalInstance; private String instanceClass; private String instanceIds; private String instanceStatus; private String instanceType; private String networkType; private String nodeType; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String privateIp; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String searchKey; private String securityToken; private java.util.List<Tag> tag; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { super(); } private Builder(DescribeInstancesRequest request) { super(request); this.architectureType = request.architectureType; this.chargeType = request.chargeType; this.editionType = request.editionType; this.engineVersion = request.engineVersion; this.expired = request.expired; this.globalInstance = request.globalInstance; this.instanceClass = request.instanceClass; this.instanceIds = request.instanceIds; this.instanceStatus = request.instanceStatus; this.instanceType = request.instanceType; this.networkType = request.networkType; this.nodeType = request.nodeType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.privateIp = request.privateIp; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.searchKey = request.searchKey; this.securityToken = request.securityToken; this.tag = request.tag; this.vSwitchId = request.vSwitchId; this.vpcId = request.vpcId; this.zoneId = request.zoneId; } /** * <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.putQueryParameter("ArchitectureType", architectureType); this.architectureType = architectureType; 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.putQueryParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * <p>The edition of the instance. Valid values:</p> * <ul> * <li><strong>Community</strong>: Redis Open-Source Edition</li> * <li><strong>Enterprise</strong>: Tair (Enterprise Edition)</li> * </ul> * * <strong>example:</strong> * <p>Enterprise</p> */ public Builder editionType(String editionType) { this.putQueryParameter("EditionType", editionType); this.editionType = editionType; 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> * <p>Enumerated values:</p> * <ul> * <li>1.0</li> * <li>2.8</li> * <li>4.0</li> * <li>5.0</li> * <li>6.0</li> * <li>7.0</li> * </ul> * * <strong>example:</strong> * <p>4.0</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; return this; } /** * <p>Specifies whether the instance has expired. Valid values:</p> * <ul> * <li><strong>true</strong>: The instance has expired.</li> * <li><strong>false</strong>: The instance has not expired.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder expired(String expired) { this.putQueryParameter("Expired", expired); this.expired = expired; return this; } /** * <p>Specifies whether to return the child instances of distributed instances. Valid values:</p> * <ul> * <li><strong>true</strong>: Only child instances are returned.</li> * <li><strong>false</strong>: Child instances are not returned.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder globalInstance(Boolean globalInstance) { this.putQueryParameter("GlobalInstance", globalInstance); this.globalInstance = globalInstance; return this; } /** * <p>The instance type of the instance. 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.putQueryParameter("InstanceClass", instanceClass); this.instanceClass = instanceClass; return this; } /** * <p>The IDs of the instances that you want to query.</p> * <blockquote> * <p> If you want to specify multiple instance IDs, separate the instance IDs with commas (,). You can specify a maximum of 30 instance IDs in a single request.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceIds(String instanceIds) { this.putQueryParameter("InstanceIds", instanceIds); this.instanceIds = instanceIds; 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 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 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.putQueryParameter("InstanceStatus", instanceStatus); this.instanceStatus = instanceStatus; return this; } /** * <p>The database engine. Valid values:</p> * <ul> * <li><strong>Tair</strong>: Tair (Enterprise Edition)</li> * <li><strong>Redis</strong>: Redis Open-Source Edition</li> * <li><strong>Memcache</strong></li> * </ul> * * <strong>example:</strong> * <p>Redis</p> */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * <p>The network type. 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.putQueryParameter("NetworkType", networkType); this.networkType = networkType; return this; } /** * NodeType. */ public Builder nodeType(String nodeType) { this.putQueryParameter("NodeType", nodeType); this.nodeType = nodeType; 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 <strong>1</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 per page. Maximum value: <strong>50</strong>. Default value: <strong>30</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The private IP address of the instance.</p> * * <strong>example:</strong> * <p>172.16.49.***</p> */ public Builder privateIp(String privateIp) { this.putQueryParameter("PrivateIp", privateIp); this.privateIp = privateIp; return this; } /** * <p>The region ID of the instance.</p> * <blockquote> * <p>When you call this operation and specify the <strong>Tag</strong> parameter, you must also specify this parameter.</p> * </blockquote> * * <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.</p> * <blockquote> * <p>You can query resource group IDs by using the Tair (Redis OSS-compatible) console or by calling the <a href="https://help.aliyun.com/document_detail/158855.html">ListResourceGroups</a> operation. For more information, see <a href="https://help.aliyun.com/document_detail/151181.html">View basic information of a resource group</a>.</p> * </blockquote> * * <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; } /** * <p>The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.</p> * * <strong>example:</strong> * <p>apitest</p> */ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); this.searchKey = searchKey; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The tags of the instance.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * <p>The ID of the vSwitch.</p> * * <strong>example:</strong> * <p>vsw-bp1e7clcw529l773d****</p> */ public Builder vSwitchId(String vSwitchId) { this.putQueryParameter("VSwitchId", vSwitchId); this.vSwitchId = vSwitchId; return this; } /** * <p>The ID of the VPC.</p> * * <strong>example:</strong> * <p>vpc-bp1nme44gek34slfc****</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } /** * <p>The zone ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hongkong-b</p> */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribeInstancesRequest build() { return new DescribeInstancesRequest(this); } } /** * * {@link DescribeInstancesRequest} extends {@link TeaModel} * * <p>DescribeInstancesRequest</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. A tag is a key-value pair.</p> * <blockquote> * <p> A maximum of five key-value pairs can be specified at a time.</p> * </blockquote> * * <strong>example:</strong> * <p>Storage type</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>Local disk</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(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/DescribeInstancesResponse.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 DescribeInstancesResponse} extends {@link TeaModel} * * <p>DescribeInstancesResponse</p> */ public class DescribeInstancesResponse 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 DescribeInstancesResponseBody body; private DescribeInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstancesResponse 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 DescribeInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstancesResponseBody body); @Override DescribeInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstancesResponse 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(DescribeInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeInstancesResponse build() { return new DescribeInstancesResponse(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/DescribeInstancesResponseBody.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 DescribeInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesResponseBody</p> */ public class DescribeInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private 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 DescribeInstancesResponseBody(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 DescribeInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public 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 Instances instances; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeInstancesResponseBody 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(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 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>1E83311F-0EE4-4922-A3BF-730B312B****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeInstancesResponseBody build() { return new DescribeInstancesResponseBody(this); } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>key1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>value1</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesResponseBody</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 DescribeInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesResponseBody</p> */ public static class KVStoreInstance extends TeaModel { @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @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("ComputingType") private String computingType; @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("ConnectionDomain") private String connectionDomain; @com.aliyun.core.annotation.NameInMap("ConnectionMode") private String connectionMode; @com.aliyun.core.annotation.NameInMap("Connections") private Long connections; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DestroyTime") private String destroyTime; @com.aliyun.core.annotation.NameInMap("EditionType") private String editionType; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @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 Boolean 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("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("IsRds") private Boolean isRds; @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 String readOnlyCount; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ReplacateId") private String replacateId; @com.aliyun.core.annotation.NameInMap("ReplicaCount") private Integer replicaCount; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SecondaryZoneId") private String secondaryZoneId; @com.aliyun.core.annotation.NameInMap("ShardClass") private String shardClass; @com.aliyun.core.annotation.NameInMap("ShardCount") private Integer shardCount; @com.aliyun.core.annotation.NameInMap("SlaveReadOnlyCount") private Integer slaveReadOnlyCount; @com.aliyun.core.annotation.NameInMap("SlaveReplicaCount") private Integer slaveReplicaCount; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private KVStoreInstance(Builder builder) { this.architectureType = builder.architectureType; this.bandwidth = builder.bandwidth; this.capacity = builder.capacity; this.chargeType = builder.chargeType; this.cloudType = builder.cloudType; this.computingType = builder.computingType; this.config = builder.config; this.connectionDomain = builder.connectionDomain; this.connectionMode = builder.connectionMode; this.connections = builder.connections; this.createTime = builder.createTime; this.destroyTime = builder.destroyTime; this.editionType = builder.editionType; this.endTime = builder.endTime; 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.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.isRds = builder.isRds; 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.regionId = builder.regionId; this.replacateId = builder.replacateId; this.replicaCount = builder.replicaCount; this.resourceGroupId = builder.resourceGroupId; this.secondaryZoneId = builder.secondaryZoneId; this.shardClass = builder.shardClass; this.shardCount = builder.shardCount; this.slaveReadOnlyCount = builder.slaveReadOnlyCount; this.slaveReplicaCount = builder.slaveReplicaCount; this.tags = builder.tags; this.userName = builder.userName; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static KVStoreInstance create() { return builder().build(); } /** * @return architectureType */ public String getArchitectureType() { return this.architectureType; } /** * @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 computingType */ public String getComputingType() { return this.computingType; } /** * @return config */ public String getConfig() { return this.config; } /** * @return connectionDomain */ public String getConnectionDomain() { return this.connectionDomain; } /** * @return connectionMode */ public String getConnectionMode() { return this.connectionMode; } /** * @return connections */ public Long getConnections() { return this.connections; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return destroyTime */ public String getDestroyTime() { return this.destroyTime; } /** * @return editionType */ public String getEditionType() { return this.editionType; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return globalInstanceId */ public String getGlobalInstanceId() { return this.globalInstanceId; } /** * @return hasRenewChangeOrder */ public Boolean 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 instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return isRds */ public Boolean getIsRds() { return this.isRds; } /** * @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 String getReadOnlyCount() { return this.readOnlyCount; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return replacateId */ public String getReplacateId() { return this.replacateId; } /** * @return replicaCount */ public Integer getReplicaCount() { return this.replicaCount; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return secondaryZoneId */ public String getSecondaryZoneId() { return this.secondaryZoneId; } /** * @return shardClass */ public String getShardClass() { return this.shardClass; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } /** * @return slaveReadOnlyCount */ public Integer getSlaveReadOnlyCount() { return this.slaveReadOnlyCount; } /** * @return slaveReplicaCount */ public Integer getSlaveReplicaCount() { return this.slaveReplicaCount; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String architectureType; private Long bandwidth; private Long capacity; private String chargeType; private String cloudType; private String computingType; private String config; private String connectionDomain; private String connectionMode; private Long connections; private String createTime; private String destroyTime; private String editionType; private String endTime; private String engineVersion; private String globalInstanceId; private Boolean hasRenewChangeOrder; private String instanceClass; private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private Boolean isRds; private String networkType; private String nodeType; private String packageType; private Long port; private String privateIp; private Long QPS; private String readOnlyCount; private String regionId; private String replacateId; private Integer replicaCount; private String resourceGroupId; private String secondaryZoneId; private String shardClass; private Integer shardCount; private Integer slaveReadOnlyCount; private Integer slaveReplicaCount; private Tags tags; private String userName; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { } private Builder(KVStoreInstance model) { this.architectureType = model.architectureType; this.bandwidth = model.bandwidth; this.capacity = model.capacity; this.chargeType = model.chargeType; this.cloudType = model.cloudType; this.computingType = model.computingType; this.config = model.config; this.connectionDomain = model.connectionDomain; this.connectionMode = model.connectionMode; this.connections = model.connections; this.createTime = model.createTime; this.destroyTime = model.destroyTime; this.editionType = model.editionType; this.endTime = model.endTime; 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.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.isRds = model.isRds; 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.regionId = model.regionId; this.replacateId = model.replacateId; this.replicaCount = model.replicaCount; this.resourceGroupId = model.resourceGroupId; this.secondaryZoneId = model.secondaryZoneId; this.shardClass = model.shardClass; this.shardCount = model.shardCount; this.slaveReadOnlyCount = model.slaveReadOnlyCount; this.slaveReplicaCount = model.slaveReplicaCount; this.tags = model.tags; this.userName = model.userName; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; } /** * <p>The architecture of the instance. Default value: NULL. 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> * <li><strong>NULL</strong>: all of the preceding architectures</li> * </ul> * * <strong>example:</strong> * <p>cluster</p> */ public Builder architectureType(String architectureType) { this.architectureType = architectureType; return this; } /** * <p>The bandwidth of the instance. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>96</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>4096</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 type of the computing resource. Valid values:</p> * <ul> * <li><strong>Ecs</strong>: cloud-native computing service</li> * <li><strong>Machine</strong>: physical machine</li> * </ul> * * <strong>example:</strong> * <p>Ecs</p> */ public Builder computingType(String computingType) { this.computingType = computingType; return this; } /** * <p>The parameter configurations of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/43885.html">Modify parameters of an instance</a>.</p> * * <strong>example:</strong> * <p>{&quot;maxmemory-policy&quot;:&quot;volatile-lfu&quot;,&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,&quot;#no_loose_disabled-commands&quot;:&quot;flushall,flushdb&quot;,&quot;lazyfree-lazy-eviction&quot;:&quot;yes&quot;}</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The internal endpoint of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com</p> */ public Builder connectionDomain(String connectionDomain) { this.connectionDomain = connectionDomain; return this; } /** * <p>The connection mode of the instance. Valid values:</p> * <ul> * <li><strong>Standard</strong>: standard mode</li> * <li><strong>Safe</strong>: database proxy mode</li> * </ul> * * <strong>example:</strong> * <p>Standard</p> */ public Builder connectionMode(String connectionMode) { this.connectionMode = connectionMode; return this; } /** * <p>The maximum number of connections supported by the instance.</p> * * <strong>example:</strong> * <p>20000</p> */ public Builder connections(Long connections) { this.connections = connections; return this; } /** * <p>The time when the instance was created.</p> * * <strong>example:</strong> * <p>2018-11-07T08:49:00Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The time when the instance was deleted.</p> * * <strong>example:</strong> * <p>2019-04-28T10:03:01Z</p> */ public Builder destroyTime(String destroyTime) { this.destroyTime = destroyTime; return this; } /** * <p>The edition of the instance. Valid values:</p> * <ul> * <li><strong>Community</strong>: Redis Open-Source Edition</li> * <li><strong>Enterprise</strong>: Tair (Enterprise Edition)</li> * </ul> * * <strong>example:</strong> * <p>Enterprise</p> */ public Builder editionType(String editionType) { this.editionType = editionType; return this; } /** * <p>The time when the subscription instance expires.</p> * * <strong>example:</strong> * <p>2019-06-13T16:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The database engine version of the instance.</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.</p> * <blockquote> * <p> This parameter is returned only if the 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(Boolean hasRenewChangeOrder) { this.hasRenewChangeOrder = hasRenewChangeOrder; return this; } /** * <p>The instance class.</p> * * <strong>example:</strong> * <p>redis.logic.sharding.2g.2db.0rodb.4proxy.default</p> */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</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>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 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 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>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 contains only a master node. This node type is phased out.</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</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.</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 number of 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 in the primary zone.</p> * <blockquote> * <p> The <strong>ReadOnlyCount</strong> and <strong>SlaveReadOnlyCount</strong> parameters are applicable only to cloud-native instances for which read/write splitting is enabled. If the instance is a cluster instance, the preceding parameters indicate the number of read replicas <strong>per node</strong> in the primary and secondary zones of the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder readOnlyCount(String readOnlyCount) { this.readOnlyCount = readOnlyCount; 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 logical ID of the distributed instance.</p> * * <strong>example:</strong> * <p>grr-bp11381ebc16****</p> */ public Builder replacateId(String replacateId) { this.replacateId = replacateId; 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 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> If multiple zones are returned for <strong>ZoneId</strong>, such as cn-hangzhou-MAZ10(h,i), this parameter is ignored.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder secondaryZoneId(String secondaryZoneId) { this.secondaryZoneId = secondaryZoneId; return this; } /** * <p>The shard class. For more information about shard classes, see <a href="https://help.aliyun.com/document_detail/26350.html">Overview</a>.</p> * <blockquote> * <p> The overall performance of a cluster instance is calculated by multiplying the class of a single shard (ShardClass) by the number of shards (ShardCount).</p> * </blockquote> * * <strong>example:</strong> * <p>redis.shard.small.ce</p> */ public Builder shardClass(String shardClass) { this.shardClass = shardClass; return this; } /** * <p>The number of data shards in the cluster instance.</p> * <blockquote> * <p> This parameter is returned only for cloud-native cluster instances or read/write splitting instances.</p> * </blockquote> * * <strong>example:</strong> * <p>3</p> */ public Builder shardCount(Integer shardCount) { this.shardCount = shardCount; return this; } /** * <p>The number of read replicas in the secondary zone.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder slaveReadOnlyCount(Integer 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>Details about the tags.</p> */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * <p>The username used to connect to the instance. By default, a username named after the instance ID is included.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder userName(String userName) { this.userName = userName; 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>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-hangzhou-b</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public KVStoreInstance build() { return new KVStoreInstance(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeInstancesResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("KVStoreInstance") private java.util.List<KVStoreInstance> KVStoreInstance; private Instances(Builder builder) { this.KVStoreInstance = builder.KVStoreInstance; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return KVStoreInstance */ public java.util.List<KVStoreInstance> getKVStoreInstance() { return this.KVStoreInstance; } public static final class Builder { private java.util.List<KVStoreInstance> KVStoreInstance; private Builder() { } private Builder(Instances model) { this.KVStoreInstance = model.KVStoreInstance; } /** * KVStoreInstance. */ public Builder KVStoreInstance(java.util.List<KVStoreInstance> KVStoreInstance) { this.KVStoreInstance = KVStoreInstance; 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/DescribeIntranetAttributeRequest.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 DescribeIntranetAttributeRequest} extends {@link RequestModel} * * <p>DescribeIntranetAttributeRequest</p> */ public class DescribeIntranetAttributeRequest 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("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 DescribeIntranetAttributeRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; 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 DescribeIntranetAttributeRequest 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 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<DescribeIntranetAttributeRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeIntranetAttributeRequest request) { super(request); this.regionId = request.regionId; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceGroupId = request.resourceGroupId; 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; } /** * <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 DescribeIntranetAttributeRequest build() { return new DescribeIntranetAttributeRequest(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/DescribeIntranetAttributeResponse.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 DescribeIntranetAttributeResponse} extends {@link TeaModel} * * <p>DescribeIntranetAttributeResponse</p> */ public class DescribeIntranetAttributeResponse 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 DescribeIntranetAttributeResponseBody body; private DescribeIntranetAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeIntranetAttributeResponse 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 DescribeIntranetAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeIntranetAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeIntranetAttributeResponseBody body); @Override DescribeIntranetAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeIntranetAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeIntranetAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeIntranetAttributeResponse 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(DescribeIntranetAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeIntranetAttributeResponse build() { return new DescribeIntranetAttributeResponse(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/DescribeIntranetAttributeResponseBody.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 DescribeIntranetAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeIntranetAttributeResponseBody</p> */ public class DescribeIntranetAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoRenewal") private Boolean autoRenewal; @com.aliyun.core.annotation.NameInMap("BandwidthExpireTime") private String bandwidthExpireTime; @com.aliyun.core.annotation.NameInMap("BandwidthPrePaid") private String bandwidthPrePaid; @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; @com.aliyun.core.annotation.NameInMap("HasPrePaidBandWidthOrderRunning") private Boolean hasPrePaidBandWidthOrderRunning; @com.aliyun.core.annotation.NameInMap("IntranetBandwidth") private Integer intranetBandwidth; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeIntranetAttributeResponseBody(Builder builder) { this.autoRenewal = builder.autoRenewal; this.bandwidthExpireTime = builder.bandwidthExpireTime; this.bandwidthPrePaid = builder.bandwidthPrePaid; this.expireTime = builder.expireTime; this.hasPrePaidBandWidthOrderRunning = builder.hasPrePaidBandWidthOrderRunning; this.intranetBandwidth = builder.intranetBandwidth; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeIntranetAttributeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return autoRenewal */ public Boolean getAutoRenewal() { return this.autoRenewal; } /** * @return bandwidthExpireTime */ public String getBandwidthExpireTime() { return this.bandwidthExpireTime; } /** * @return bandwidthPrePaid */ public String getBandwidthPrePaid() { return this.bandwidthPrePaid; } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return hasPrePaidBandWidthOrderRunning */ public Boolean getHasPrePaidBandWidthOrderRunning() { return this.hasPrePaidBandWidthOrderRunning; } /** * @return intranetBandwidth */ public Integer getIntranetBandwidth() { return this.intranetBandwidth; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Boolean autoRenewal; private String bandwidthExpireTime; private String bandwidthPrePaid; private String expireTime; private Boolean hasPrePaidBandWidthOrderRunning; private Integer intranetBandwidth; private String requestId; private Builder() { } private Builder(DescribeIntranetAttributeResponseBody model) { this.autoRenewal = model.autoRenewal; this.bandwidthExpireTime = model.bandwidthExpireTime; this.bandwidthPrePaid = model.bandwidthPrePaid; this.expireTime = model.expireTime; this.hasPrePaidBandWidthOrderRunning = model.hasPrePaidBandWidthOrderRunning; this.intranetBandwidth = model.intranetBandwidth; this.requestId = model.requestId; } /** * <p>Indicates whether auto-renewal is enabled for the extra internal bandwidth that you purchased. Valid values:</p> * <ul> * <li><strong>true</strong>: Auto-renewal is enabled.</li> * <li><strong>false</strong>: Auto-renewal is disabled.</li> * </ul> * <blockquote> * <p>If no extra internal bandwidth is purchased, this parameter is not returned.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder autoRenewal(Boolean autoRenewal) { this.autoRenewal = autoRenewal; return this; } /** * <p>The expiration time of the purchased bandwidth. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em> T <em>HH:mm:ss</em> Z format.</p> * <blockquote> * <p>If no extra internal bandwidth is purchased, this parameter is not returned.</p> * </blockquote> * * <strong>example:</strong> * <p>2021-03-06T16:00:00Z</p> */ public Builder bandwidthExpireTime(String bandwidthExpireTime) { this.bandwidthExpireTime = bandwidthExpireTime; return this; } /** * <p>The billing method of the bandwidth plan. Valid values:</p> * <ul> * <li><strong>0</strong>: pay-as-you-go</li> * <li><strong>1</strong>: subscription</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder bandwidthPrePaid(String bandwidthPrePaid) { this.bandwidthPrePaid = bandwidthPrePaid; return this; } /** * <p>The time when the extra internal bandwidth that you purchased for temporary use 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 no extra internal bandwidth for temporary use is purchased or the extra internal bandwidth that you purchased for temporary use has expired, <strong>0</strong> is returned for this parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>0</p> */ public Builder expireTime(String expireTime) { this.expireTime = expireTime; return this; } /** * <p>Specifies whether the instance has unexpired bandwidth plans. Valid values:</p> * <ul> * <li><strong>true</strong>: The instance has unexpired bandwidth plans.</li> * <li><strong>false</strong>: The instance does not have unexpired bandwidth plans.</li> * </ul> * <blockquote> * <p>If no extra internal bandwidth is purchased, this parameter is not returned.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder hasPrePaidBandWidthOrderRunning(Boolean hasPrePaidBandWidthOrderRunning) { this.hasPrePaidBandWidthOrderRunning = hasPrePaidBandWidthOrderRunning; return this; } /** * <p>The internal bandwidth of the instance. This parameter indicates the combined bandwidth of all shards in the instance. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>102</p> */ public Builder intranetBandwidth(Integer intranetBandwidth) { this.intranetBandwidth = intranetBandwidth; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25D42CC3-FBA1-4AEC-BCE2-B8DD3137****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeIntranetAttributeResponseBody build() { return new DescribeIntranetAttributeResponseBody(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/DescribeLogicInstanceTopologyRequest.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 DescribeLogicInstanceTopologyRequest} extends {@link RequestModel} * * <p>DescribeLogicInstanceTopologyRequest</p> */ public class DescribeLogicInstanceTopologyRequest 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 DescribeLogicInstanceTopologyRequest(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 DescribeLogicInstanceTopologyRequest 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<DescribeLogicInstanceTopologyRequest, 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(DescribeLogicInstanceTopologyRequest 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 DescribeLogicInstanceTopologyRequest build() { return new DescribeLogicInstanceTopologyRequest(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/DescribeLogicInstanceTopologyResponse.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 DescribeLogicInstanceTopologyResponse} extends {@link TeaModel} * * <p>DescribeLogicInstanceTopologyResponse</p> */ public class DescribeLogicInstanceTopologyResponse 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 DescribeLogicInstanceTopologyResponseBody body; private DescribeLogicInstanceTopologyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLogicInstanceTopologyResponse 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 DescribeLogicInstanceTopologyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLogicInstanceTopologyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLogicInstanceTopologyResponseBody body); @Override DescribeLogicInstanceTopologyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLogicInstanceTopologyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLogicInstanceTopologyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLogicInstanceTopologyResponse 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(DescribeLogicInstanceTopologyResponseBody body) { this.body = body; return this; } @Override public DescribeLogicInstanceTopologyResponse build() { return new DescribeLogicInstanceTopologyResponse(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/DescribeLogicInstanceTopologyResponseBody.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 DescribeLogicInstanceTopologyResponseBody} extends {@link TeaModel} * * <p>DescribeLogicInstanceTopologyResponseBody</p> */ public class DescribeLogicInstanceTopologyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RedisProxyList") private RedisProxyList redisProxyList; @com.aliyun.core.annotation.NameInMap("RedisShardList") private RedisShardList redisShardList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeLogicInstanceTopologyResponseBody(Builder builder) { this.instanceId = builder.instanceId; this.redisProxyList = builder.redisProxyList; this.redisShardList = builder.redisShardList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeLogicInstanceTopologyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return redisProxyList */ public RedisProxyList getRedisProxyList() { return this.redisProxyList; } /** * @return redisShardList */ public RedisShardList getRedisShardList() { return this.redisShardList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String instanceId; private RedisProxyList redisProxyList; private RedisShardList redisShardList; private String requestId; private Builder() { } private Builder(DescribeLogicInstanceTopologyResponseBody model) { this.instanceId = model.instanceId; this.redisProxyList = model.redisProxyList; this.redisShardList = model.redisShardList; this.requestId = model.requestId; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The detailed proxy information, including information about proxy nodes.</p> */ public Builder redisProxyList(RedisProxyList redisProxyList) { this.redisProxyList = redisProxyList; return this; } /** * <p>Details of data shards, which includes node information such as NodeInfo.</p> */ public Builder redisShardList(RedisShardList redisShardList) { this.redisShardList = redisShardList; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>794120D1-E0CF-4713-BAE4-EBAEA04506AF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeLogicInstanceTopologyResponseBody build() { return new DescribeLogicInstanceTopologyResponseBody(this); } } /** * * {@link DescribeLogicInstanceTopologyResponseBody} extends {@link TeaModel} * * <p>DescribeLogicInstanceTopologyResponseBody</p> */ public static class NodeInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Bandwidth") private String bandwidth; @com.aliyun.core.annotation.NameInMap("Capacity") private String capacity; @com.aliyun.core.annotation.NameInMap("Connection") private String connection; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; private NodeInfo(Builder builder) { this.bandwidth = builder.bandwidth; this.capacity = builder.capacity; this.connection = builder.connection; this.nodeId = builder.nodeId; this.nodeType = builder.nodeType; } public static Builder builder() { return new Builder(); } public static NodeInfo create() { return builder().build(); } /** * @return bandwidth */ public String getBandwidth() { return this.bandwidth; } /** * @return capacity */ public String getCapacity() { return this.capacity; } /** * @return connection */ public String getConnection() { return this.connection; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } public static final class Builder { private String bandwidth; private String capacity; private String connection; private String nodeId; private String nodeType; private Builder() { } private Builder(NodeInfo model) { this.bandwidth = model.bandwidth; this.capacity = model.capacity; this.connection = model.connection; this.nodeId = model.nodeId; this.nodeType = model.nodeType; } /** * <p>The bandwidth throttling of the node. Unit: MB/s.</p> * * <strong>example:</strong> * <p>96</p> */ public Builder bandwidth(String bandwidth) { this.bandwidth = bandwidth; return this; } /** * <p>The storage capacity of the node. Unit: MB.</p> * * <strong>example:</strong> * <p>5120</p> */ public Builder capacity(String capacity) { this.capacity = capacity; return this; } /** * <p>The maximum number of connections.</p> * * <strong>example:</strong> * <p>320000</p> */ public Builder connection(String connection) { this.connection = connection; return this; } /** * <p>The ID of the node.</p> * * <strong>example:</strong> * <p>r-bp10noxlhcoim2****-proxy-3#542****</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The node type. Valid values:</p> * <ul> * <li><strong>proxy</strong>: proxy node</li> * <li><strong>db</strong>: data node</li> * </ul> * * <strong>example:</strong> * <p>proxy</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } public NodeInfo build() { return new NodeInfo(this); } } } /** * * {@link DescribeLogicInstanceTopologyResponseBody} extends {@link TeaModel} * * <p>DescribeLogicInstanceTopologyResponseBody</p> */ public static class RedisProxyList extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeInfo") private java.util.List<NodeInfo> nodeInfo; private RedisProxyList(Builder builder) { this.nodeInfo = builder.nodeInfo; } public static Builder builder() { return new Builder(); } public static RedisProxyList create() { return builder().build(); } /** * @return nodeInfo */ public java.util.List<NodeInfo> getNodeInfo() { return this.nodeInfo; } public static final class Builder { private java.util.List<NodeInfo> nodeInfo; private Builder() { } private Builder(RedisProxyList model) { this.nodeInfo = model.nodeInfo; } /** * NodeInfo. */ public Builder nodeInfo(java.util.List<NodeInfo> nodeInfo) { this.nodeInfo = nodeInfo; return this; } public RedisProxyList build() { return new RedisProxyList(this); } } } /** * * {@link DescribeLogicInstanceTopologyResponseBody} extends {@link TeaModel} * * <p>DescribeLogicInstanceTopologyResponseBody</p> */ public static class RedisShardListNodeInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Bandwidth") private String bandwidth; @com.aliyun.core.annotation.NameInMap("Capacity") private String capacity; @com.aliyun.core.annotation.NameInMap("Connection") private String connection; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("SubInstanceType") private String subInstanceType; private RedisShardListNodeInfo(Builder builder) { this.bandwidth = builder.bandwidth; this.capacity = builder.capacity; this.connection = builder.connection; this.nodeId = builder.nodeId; this.nodeType = builder.nodeType; this.subInstanceType = builder.subInstanceType; } public static Builder builder() { return new Builder(); } public static RedisShardListNodeInfo create() { return builder().build(); } /** * @return bandwidth */ public String getBandwidth() { return this.bandwidth; } /** * @return capacity */ public String getCapacity() { return this.capacity; } /** * @return connection */ public String getConnection() { return this.connection; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return subInstanceType */ public String getSubInstanceType() { return this.subInstanceType; } public static final class Builder { private String bandwidth; private String capacity; private String connection; private String nodeId; private String nodeType; private String subInstanceType; private Builder() { } private Builder(RedisShardListNodeInfo model) { this.bandwidth = model.bandwidth; this.capacity = model.capacity; this.connection = model.connection; this.nodeId = model.nodeId; this.nodeType = model.nodeType; this.subInstanceType = model.subInstanceType; } /** * <p>The bandwidth throttling of the node. Unit: MB/s.</p> * * <strong>example:</strong> * <p>96</p> */ public Builder bandwidth(String bandwidth) { this.bandwidth = bandwidth; return this; } /** * <p>The storage capacity of the node. Unit: MB.</p> * * <strong>example:</strong> * <p>2048</p> */ public Builder capacity(String capacity) { this.capacity = capacity; return this; } /** * <p>The maximum number of connections.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder connection(String connection) { this.connection = connection; return this; } /** * <p>The ID of the node.</p> * * <strong>example:</strong> * <p>r-bp10noxlhcoim2****-db-0#688****</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The node type. Valid values:</p> * <ul> * <li><strong>proxy</strong>: proxy node</li> * <li><strong>db</strong>: data node</li> * </ul> * * <strong>example:</strong> * <p>db</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>子实例类型,返回值:</p> * <ul> * <li><strong>master</strong>:主节点类型。</li> * <li><strong>readonly</strong>:只读实例类型。</li> * </ul> * * <strong>example:</strong> * <p>master</p> */ public Builder subInstanceType(String subInstanceType) { this.subInstanceType = subInstanceType; return this; } public RedisShardListNodeInfo build() { return new RedisShardListNodeInfo(this); } } } /** * * {@link DescribeLogicInstanceTopologyResponseBody} extends {@link TeaModel} * * <p>DescribeLogicInstanceTopologyResponseBody</p> */ public static class RedisShardList extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeInfo") private java.util.List<RedisShardListNodeInfo> nodeInfo; private RedisShardList(Builder builder) { this.nodeInfo = builder.nodeInfo; } public static Builder builder() { return new Builder(); } public static RedisShardList create() { return builder().build(); } /** * @return nodeInfo */ public java.util.List<RedisShardListNodeInfo> getNodeInfo() { return this.nodeInfo; } public static final class Builder { private java.util.List<RedisShardListNodeInfo> nodeInfo; private Builder() { } private Builder(RedisShardList model) { this.nodeInfo = model.nodeInfo; } /** * NodeInfo. */ public Builder nodeInfo(java.util.List<RedisShardListNodeInfo> nodeInfo) { this.nodeInfo = nodeInfo; return this; } public RedisShardList build() { return new RedisShardList(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/DescribeMonitorItemsRequest.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 DescribeMonitorItemsRequest} extends {@link RequestModel} * * <p>DescribeMonitorItemsRequest</p> */ public class DescribeMonitorItemsRequest 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("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 DescribeMonitorItemsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; 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 DescribeMonitorItemsRequest 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 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<DescribeMonitorItemsRequest, Builder> { private String regionId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeMonitorItemsRequest request) { super(request); this.regionId = request.regionId; 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; } /** * 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 DescribeMonitorItemsRequest build() { return new DescribeMonitorItemsRequest(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/DescribeMonitorItemsResponse.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 DescribeMonitorItemsResponse} extends {@link TeaModel} * * <p>DescribeMonitorItemsResponse</p> */ public class DescribeMonitorItemsResponse 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 DescribeMonitorItemsResponseBody body; private DescribeMonitorItemsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMonitorItemsResponse 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 DescribeMonitorItemsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMonitorItemsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMonitorItemsResponseBody body); @Override DescribeMonitorItemsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMonitorItemsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMonitorItemsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMonitorItemsResponse 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(DescribeMonitorItemsResponseBody body) { this.body = body; return this; } @Override public DescribeMonitorItemsResponse build() { return new DescribeMonitorItemsResponse(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/DescribeMonitorItemsResponseBody.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 DescribeMonitorItemsResponseBody} extends {@link TeaModel} * * <p>DescribeMonitorItemsResponseBody</p> */ public class DescribeMonitorItemsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MonitorItems") private MonitorItems monitorItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMonitorItemsResponseBody(Builder builder) { this.monitorItems = builder.monitorItems; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMonitorItemsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return monitorItems */ public MonitorItems getMonitorItems() { return this.monitorItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private MonitorItems monitorItems; private String requestId; private Builder() { } private Builder(DescribeMonitorItemsResponseBody model) { this.monitorItems = model.monitorItems; this.requestId = model.requestId; } /** * <p>The returned metrics.</p> * <blockquote> * <ul> * <li><strong>memoryUsage</strong>, <strong>GetQps</strong>, and <strong>PutQps</strong> are supported only by Tair instances that use Redis 4.0 or later. <strong>GetQps</strong> and <strong>PutQps</strong> require the latest minor version. You can upgrade the major version or minor version of the instance as needed. For more information, see <a href="https://help.aliyun.com/document_detail/101764.html">Upgrade the major version</a> and <a href="https://help.aliyun.com/document_detail/56450.html">Upgrade the minor version</a>.</li> * <li>When you use instances of Redis 2.8, if the <strong>hit_rate</strong> metric is not displayed, you must upgrade the minor version of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/56450.html">Upgrade the minor version</a>.</li> * </ul> * </blockquote> */ public Builder monitorItems(MonitorItems monitorItems) { this.monitorItems = monitorItems; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>8BEB2618-9517-43F3-A233-E0B34512****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMonitorItemsResponseBody build() { return new DescribeMonitorItemsResponseBody(this); } } /** * * {@link DescribeMonitorItemsResponseBody} extends {@link TeaModel} * * <p>DescribeMonitorItemsResponseBody</p> */ public static class KVStoreMonitorItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("MonitorKey") private String monitorKey; @com.aliyun.core.annotation.NameInMap("Unit") private String unit; private KVStoreMonitorItem(Builder builder) { this.monitorKey = builder.monitorKey; this.unit = builder.unit; } public static Builder builder() { return new Builder(); } public static KVStoreMonitorItem create() { return builder().build(); } /** * @return monitorKey */ public String getMonitorKey() { return this.monitorKey; } /** * @return unit */ public String getUnit() { return this.unit; } public static final class Builder { private String monitorKey; private String unit; private Builder() { } private Builder(KVStoreMonitorItem model) { this.monitorKey = model.monitorKey; this.unit = model.unit; } /** * <p>The metric.</p> * * <strong>example:</strong> * <p>select</p> */ public Builder monitorKey(String monitorKey) { this.monitorKey = monitorKey; return this; } /** * <p>The unit of the metric.</p> * * <strong>example:</strong> * <p>Counts/s</p> */ public Builder unit(String unit) { this.unit = unit; return this; } public KVStoreMonitorItem build() { return new KVStoreMonitorItem(this); } } } /** * * {@link DescribeMonitorItemsResponseBody} extends {@link TeaModel} * * <p>DescribeMonitorItemsResponseBody</p> */ public static class MonitorItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("KVStoreMonitorItem") private java.util.List<KVStoreMonitorItem> KVStoreMonitorItem; private MonitorItems(Builder builder) { this.KVStoreMonitorItem = builder.KVStoreMonitorItem; } public static Builder builder() { return new Builder(); } public static MonitorItems create() { return builder().build(); } /** * @return KVStoreMonitorItem */ public java.util.List<KVStoreMonitorItem> getKVStoreMonitorItem() { return this.KVStoreMonitorItem; } public static final class Builder { private java.util.List<KVStoreMonitorItem> KVStoreMonitorItem; private Builder() { } private Builder(MonitorItems model) { this.KVStoreMonitorItem = model.KVStoreMonitorItem; } /** * KVStoreMonitorItem. */ public Builder KVStoreMonitorItem(java.util.List<KVStoreMonitorItem> KVStoreMonitorItem) { this.KVStoreMonitorItem = KVStoreMonitorItem; return this; } public MonitorItems build() { return new MonitorItems(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/DescribeParameterGroupRequest.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 DescribeParameterGroupRequest} extends {@link RequestModel} * * <p>DescribeParameterGroupRequest</p> */ public class DescribeParameterGroupRequest extends Request { @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("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeParameterGroupRequest(Builder builder) { super(builder); this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.parameterGroupId = builder.parameterGroupId; 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 DescribeParameterGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @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 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<DescribeParameterGroupRequest, Builder> { private String ownerAccount; private Long ownerId; private String parameterGroupId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeParameterGroupRequest request) { super(request); this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.parameterGroupId = request.parameterGroupId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * 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; } /** * <p>The ID of the region.</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(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 DescribeParameterGroupRequest build() { return new DescribeParameterGroupRequest(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/DescribeParameterGroupResponse.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 DescribeParameterGroupResponse} extends {@link TeaModel} * * <p>DescribeParameterGroupResponse</p> */ public class DescribeParameterGroupResponse 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 DescribeParameterGroupResponseBody body; private DescribeParameterGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterGroupResponse 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 DescribeParameterGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterGroupResponseBody body); @Override DescribeParameterGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterGroupResponse 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(DescribeParameterGroupResponseBody body) { this.body = body; return this; } @Override public DescribeParameterGroupResponse build() { return new DescribeParameterGroupResponse(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/DescribeParameterGroupResponseBody.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 DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public class DescribeParameterGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterGroup") private ParameterGroup parameterGroup; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterGroupResponseBody(Builder builder) { this.parameterGroup = builder.parameterGroup; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return parameterGroup */ public ParameterGroup getParameterGroup() { return this.parameterGroup; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ParameterGroup parameterGroup; private String requestId; private Builder() { } private Builder(DescribeParameterGroupResponseBody model) { this.parameterGroup = model.parameterGroup; this.requestId = model.requestId; } /** * <p>The information about the parameter template.</p> */ public Builder parameterGroup(ParameterGroup parameterGroup) { this.parameterGroup = parameterGroup; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A501A191-BD70-5E50-98A9-C2A486A82****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeParameterGroupResponseBody build() { return new DescribeParameterGroupResponseBody(this); } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class ParamGroupsDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamName") private String paramName; @com.aliyun.core.annotation.NameInMap("ParamValue") private String paramValue; private ParamGroupsDetails(Builder builder) { this.paramName = builder.paramName; this.paramValue = builder.paramValue; } public static Builder builder() { return new Builder(); } public static ParamGroupsDetails create() { return builder().build(); } /** * @return paramName */ public String getParamName() { return this.paramName; } /** * @return paramValue */ public String getParamValue() { return this.paramValue; } public static final class Builder { private String paramName; private String paramValue; private Builder() { } private Builder(ParamGroupsDetails model) { this.paramName = model.paramName; this.paramValue = model.paramValue; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>timeout</p> */ public Builder paramName(String paramName) { this.paramName = paramName; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>1000</p> */ public Builder paramValue(String paramValue) { this.paramValue = paramValue; return this; } public ParamGroupsDetails build() { return new ParamGroupsDetails(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class ParameterGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private Long category; @com.aliyun.core.annotation.NameInMap("Created") private String created; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("Modified") private String modified; @com.aliyun.core.annotation.NameInMap("ParamGroupId") private String paramGroupId; @com.aliyun.core.annotation.NameInMap("ParamGroupsDetails") private java.util.List<ParamGroupsDetails> paramGroupsDetails; @com.aliyun.core.annotation.NameInMap("ParameterGroupDesc") private String parameterGroupDesc; @com.aliyun.core.annotation.NameInMap("ParameterGroupName") private String parameterGroupName; private ParameterGroup(Builder builder) { this.category = builder.category; this.created = builder.created; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.modified = builder.modified; this.paramGroupId = builder.paramGroupId; this.paramGroupsDetails = builder.paramGroupsDetails; this.parameterGroupDesc = builder.parameterGroupDesc; this.parameterGroupName = builder.parameterGroupName; } public static Builder builder() { return new Builder(); } public static ParameterGroup create() { return builder().build(); } /** * @return category */ public Long getCategory() { return this.category; } /** * @return created */ public String getCreated() { return this.created; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return modified */ public String getModified() { return this.modified; } /** * @return paramGroupId */ public String getParamGroupId() { return this.paramGroupId; } /** * @return paramGroupsDetails */ public java.util.List<ParamGroupsDetails> getParamGroupsDetails() { return this.paramGroupsDetails; } /** * @return parameterGroupDesc */ public String getParameterGroupDesc() { return this.parameterGroupDesc; } /** * @return parameterGroupName */ public String getParameterGroupName() { return this.parameterGroupName; } public static final class Builder { private Long category; private String created; private String engine; private String engineVersion; private String modified; private String paramGroupId; private java.util.List<ParamGroupsDetails> paramGroupsDetails; private String parameterGroupDesc; private String parameterGroupName; private Builder() { } private Builder(ParameterGroup model) { this.category = model.category; this.created = model.created; this.engine = model.engine; this.engineVersion = model.engineVersion; this.modified = model.modified; this.paramGroupId = model.paramGroupId; this.paramGroupsDetails = model.paramGroupsDetails; this.parameterGroupDesc = model.parameterGroupDesc; this.parameterGroupName = model.parameterGroupName; } /** * <p>The service category. Valid values:</p> * <ul> * <li><strong>0</strong>: Redis Open-Source Edition</li> * <li><strong>1</strong>: Tair (Enterprise Edition)</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder category(Long category) { this.category = category; return this; } /** * <p>The time when the parameter template was created.</p> * * <strong>example:</strong> * <p>2023-04-18 16:32:45</p> */ public Builder created(String created) { this.created = created; return this; } /** * <p>The engine type. Valid values:</p> * <ul> * <li><em>redis</em>: Redis or Tair DRAM-based instance</li> * <li><em>tair_pena</em>: Tair persistent memory-optimized instance</li> * <li><em>tair_pdb</em>: Tair ESSD-based instance</li> * </ul> * * <strong>example:</strong> * <p>redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The compatible engine version.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The time when the parameter template was last modified.</p> * * <strong>example:</strong> * <p>2023-04-18 16:32:45</p> */ public Builder modified(String modified) { this.modified = modified; return this; } /** * <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>The parameter details of the parameter template.</p> */ public Builder paramGroupsDetails(java.util.List<ParamGroupsDetails> paramGroupsDetails) { this.paramGroupsDetails = paramGroupsDetails; return this; } /** * <p>The description of the parameter template.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder parameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } /** * <p>The name of the parameter template.</p> * * <strong>example:</strong> * <p>testGroupName</p> */ public Builder parameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } public ParameterGroup build() { return new ParameterGroup(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/DescribeParameterGroupSupportParamRequest.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 DescribeParameterGroupSupportParamRequest} extends {@link RequestModel} * * <p>DescribeParameterGroupSupportParamRequest</p> */ public class DescribeParameterGroupSupportParamRequest 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("Category") private String category; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineType") private String engineType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") @com.aliyun.core.annotation.Validation(required = true) private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("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 DescribeParameterGroupSupportParamRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.category = builder.category; this.engineType = builder.engineType; this.engineVersion = builder.engineVersion; 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 DescribeParameterGroupSupportParamRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return category */ public String getCategory() { return this.category; } /** * @return engineType */ public String getEngineType() { return this.engineType; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @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<DescribeParameterGroupSupportParamRequest, Builder> { private String regionId; private String category; private String engineType; private String engineVersion; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeParameterGroupSupportParamRequest request) { super(request); this.regionId = request.regionId; this.category = request.category; this.engineType = request.engineType; this.engineVersion = request.engineVersion; 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 service category. Valid values:</p> * <ul> * <li><strong>standard</strong>: ApsaraDB for Redis Community Edition</li> * <li><strong>enterprise</strong>: ApsaraDB for Redis Enhanced Edition (Tair)</li> * </ul> * * <strong>example:</strong> * <p>standard</p> */ public Builder category(String category) { this.putQueryParameter("Category", category); this.category = category; return this; } /** * <p>The engine type. Valid values:</p> * <ul> * <li><strong>redis</strong>: ApsaraDB for Redis Community Edition instance or Tair DRAM-based instance</li> * <li><strong>tair_pena</strong>: Tair persistent memory-optimized instance</li> * <li><strong>tair_pdb</strong>: Tair ESSD/SSD-based instance</li> * </ul> * * <strong>example:</strong> * <p>redis</p> */ public Builder engineType(String engineType) { this.putQueryParameter("EngineType", engineType); this.engineType = engineType; return this; } /** * <p>The compatible engine version. Valid values:</p> * <ul> * <li>For ApsaraDB for Redis Community Edition instances, set the parameter to <strong>5.0</strong>, <strong>6.0</strong>, or <strong>7.0</strong>.</li> * <li>For Tair DRAM-based instances that are compatible with Redis 5.0 or Redis 6.0, set the parameter to <strong>5.0</strong> or <strong>6.0</strong>.</li> * <li>For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to <strong>1.0</strong>.</li> * <li>For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to <strong>1.0</strong>. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to <strong>2.0</strong>.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; 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 DescribeParameterGroupSupportParamRequest build() { return new DescribeParameterGroupSupportParamRequest(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/DescribeParameterGroupSupportParamResponse.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 DescribeParameterGroupSupportParamResponse} extends {@link TeaModel} * * <p>DescribeParameterGroupSupportParamResponse</p> */ public class DescribeParameterGroupSupportParamResponse 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 DescribeParameterGroupSupportParamResponseBody body; private DescribeParameterGroupSupportParamResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterGroupSupportParamResponse 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 DescribeParameterGroupSupportParamResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterGroupSupportParamResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterGroupSupportParamResponseBody body); @Override DescribeParameterGroupSupportParamResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterGroupSupportParamResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterGroupSupportParamResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterGroupSupportParamResponse 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(DescribeParameterGroupSupportParamResponseBody body) { this.body = body; return this; } @Override public DescribeParameterGroupSupportParamResponse build() { return new DescribeParameterGroupSupportParamResponse(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/DescribeParameterGroupSupportParamResponseBody.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 DescribeParameterGroupSupportParamResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupSupportParamResponseBody</p> */ public class DescribeParameterGroupSupportParamResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceList") private java.util.List<ResourceList> resourceList; private DescribeParameterGroupSupportParamResponseBody(Builder builder) { this.requestId = builder.requestId; this.resourceList = builder.resourceList; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupSupportParamResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceList */ public java.util.List<ResourceList> getResourceList() { return this.resourceList; } public static final class Builder { private String requestId; private java.util.List<ResourceList> resourceList; private Builder() { } private Builder(DescribeParameterGroupSupportParamResponseBody model) { this.requestId = model.requestId; this.resourceList = model.resourceList; } /** * <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; } /** * <p>The parameters.</p> */ public Builder resourceList(java.util.List<ResourceList> resourceList) { this.resourceList = resourceList; return this; } public DescribeParameterGroupSupportParamResponseBody build() { return new DescribeParameterGroupSupportParamResponseBody(this); } } /** * * {@link DescribeParameterGroupSupportParamResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupSupportParamResponseBody</p> */ public static class ResourceList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("DbVersion") private String dbVersion; @com.aliyun.core.annotation.NameInMap("ParamName") private String paramName; private ResourceList(Builder builder) { this.category = builder.category; this.dbType = builder.dbType; this.dbVersion = builder.dbVersion; this.paramName = builder.paramName; } public static Builder builder() { return new Builder(); } public static ResourceList create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return dbVersion */ public String getDbVersion() { return this.dbVersion; } /** * @return paramName */ public String getParamName() { return this.paramName; } public static final class Builder { private String category; private String dbType; private String dbVersion; private String paramName; private Builder() { } private Builder(ResourceList model) { this.category = model.category; this.dbType = model.dbType; this.dbVersion = model.dbVersion; this.paramName = model.paramName; } /** * <p>The service category.</p> * * <strong>example:</strong> * <p>standard</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The engine type.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The engine version.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder dbVersion(String dbVersion) { this.dbVersion = dbVersion; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>rt_threshold_ms</p> */ public Builder paramName(String paramName) { this.paramName = paramName; return this; } public ResourceList build() { return new ResourceList(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/DescribeParameterGroupTemplateListRequest.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 DescribeParameterGroupTemplateListRequest} extends {@link RequestModel} * * <p>DescribeParameterGroupTemplateListRequest</p> */ public class DescribeParameterGroupTemplateListRequest 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("Category") @com.aliyun.core.annotation.Validation(required = true) private String category; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CharacterType") private String characterType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineType") @com.aliyun.core.annotation.Validation(required = true) private String engineType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") @com.aliyun.core.annotation.Validation(required = true) private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("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 DescribeParameterGroupTemplateListRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.category = builder.category; this.characterType = builder.characterType; this.engineType = builder.engineType; this.engineVersion = builder.engineVersion; 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 DescribeParameterGroupTemplateListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return category */ public String getCategory() { return this.category; } /** * @return characterType */ public String getCharacterType() { return this.characterType; } /** * @return engineType */ public String getEngineType() { return this.engineType; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @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<DescribeParameterGroupTemplateListRequest, Builder> { private String regionId; private String category; private String characterType; private String engineType; private String engineVersion; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeParameterGroupTemplateListRequest request) { super(request); this.regionId = request.regionId; this.category = request.category; this.characterType = request.characterType; this.engineType = request.engineType; this.engineVersion = request.engineVersion; 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 service category. Valid values:</p> * <ul> * <li><strong>standard</strong>: Redis Open-Source Edition</li> * <li><strong>enterprise</strong>: Tair (Enterprise Edition)</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>standard</p> */ public Builder category(String category) { this.putQueryParameter("Category", category); this.category = category; return this; } /** * <p>The role of the instance. Valid values: logic: logical instance. db: database instance. proxy: proxy node. cs: ConfigServer node. normal: master-replica database instance.</p> * * <strong>example:</strong> * <p>db</p> */ public Builder characterType(String characterType) { this.putQueryParameter("CharacterType", characterType); this.characterType = characterType; return this; } /** * <p>The engine type. Valid values:</p> * <ul> * <li><strong>redis</strong>: Redis Open-Source Edition or Tair (In-Memory)</li> * <li><strong>tair_pena</strong>: Tair (On NVM)</li> * <li><strong>tair_pdb</strong>: Tair (On Disk)</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder engineType(String engineType) { this.putQueryParameter("EngineType", engineType); this.engineType = engineType; return this; } /** * <p>The compatible engine version. Valid values:</p> * <ul> * <li>For Redis Open-Source Edition instances, set the parameter to <strong>5.0</strong>, <strong>6.0</strong>, or <strong>7.0</strong>.</li> * <li>For Tair DRAM-based instances that are compatible with Redis 5.0, 6.0, or 7.0, set the parameter to <strong>5.0</strong>, <strong>6.0</strong>, or <strong>7.0</strong>.</li> * <li>For Tair persistent memory-optimized instances that are compatible with Redis 6.0, set the parameter to <strong>1.0</strong>.</li> * <li>For Tair ESSD-based instances that are compatible with Redis 6.0, set the parameter to <strong>1.0</strong>. For Tair SSD-based instances that are compatible with Redis 6.0, set the parameter to <strong>2.0</strong>.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; 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 DescribeParameterGroupTemplateListRequest build() { return new DescribeParameterGroupTemplateListRequest(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/DescribeParameterGroupTemplateListResponse.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 DescribeParameterGroupTemplateListResponse} extends {@link TeaModel} * * <p>DescribeParameterGroupTemplateListResponse</p> */ public class DescribeParameterGroupTemplateListResponse 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 DescribeParameterGroupTemplateListResponseBody body; private DescribeParameterGroupTemplateListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterGroupTemplateListResponse 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 DescribeParameterGroupTemplateListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterGroupTemplateListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterGroupTemplateListResponseBody body); @Override DescribeParameterGroupTemplateListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterGroupTemplateListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterGroupTemplateListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterGroupTemplateListResponse 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(DescribeParameterGroupTemplateListResponseBody body) { this.body = body; return this; } @Override public DescribeParameterGroupTemplateListResponse build() { return new DescribeParameterGroupTemplateListResponse(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/DescribeParameterGroupTemplateListResponseBody.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 DescribeParameterGroupTemplateListResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupTemplateListResponseBody</p> */ public class DescribeParameterGroupTemplateListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("Parameters") private java.util.List<Parameters> parameters; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterGroupTemplateListResponseBody(Builder builder) { this.engineVersion = builder.engineVersion; this.parameters = builder.parameters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupTemplateListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return parameters */ public java.util.List<Parameters> getParameters() { return this.parameters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String engineVersion; private java.util.List<Parameters> parameters; private String requestId; private Builder() { } private Builder(DescribeParameterGroupTemplateListResponseBody model) { this.engineVersion = model.engineVersion; this.parameters = model.parameters; this.requestId = model.requestId; } /** * <p>The compatible engine version. Valid values:</p> * <p>Redis Open Source Edition: 5.0, 6.0, and 7.0. Tair DRAM-based instances: 5.0 and 6.0. Tair persistent memory-optimized instances: 6.0. Tair ESSD-based instances: 4.0.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The information about parameters.</p> */ public Builder parameters(java.util.List<Parameters> parameters) { this.parameters = parameters; return this; } /** * <p>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 DescribeParameterGroupTemplateListResponseBody build() { return new DescribeParameterGroupTemplateListResponseBody(this); } } /** * * {@link DescribeParameterGroupTemplateListResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupTemplateListResponseBody</p> */ public static class Parameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckingCode") private String checkingCode; @com.aliyun.core.annotation.NameInMap("Effective") private Long effective; @com.aliyun.core.annotation.NameInMap("Factor") private Long factor; @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; @com.aliyun.core.annotation.NameInMap("Revisable") private Long revisable; @com.aliyun.core.annotation.NameInMap("SupportModifyForMinorVersion") private Boolean supportModifyForMinorVersion; @com.aliyun.core.annotation.NameInMap("Unit") private String unit; private Parameters(Builder builder) { this.checkingCode = builder.checkingCode; this.effective = builder.effective; this.factor = builder.factor; this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; this.revisable = builder.revisable; this.supportModifyForMinorVersion = builder.supportModifyForMinorVersion; this.unit = builder.unit; } public static Builder builder() { return new Builder(); } public static Parameters create() { return builder().build(); } /** * @return checkingCode */ public String getCheckingCode() { return this.checkingCode; } /** * @return effective */ public Long getEffective() { return this.effective; } /** * @return factor */ public Long getFactor() { return this.factor; } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } /** * @return revisable */ public Long getRevisable() { return this.revisable; } /** * @return supportModifyForMinorVersion */ public Boolean getSupportModifyForMinorVersion() { return this.supportModifyForMinorVersion; } /** * @return unit */ public String getUnit() { return this.unit; } public static final class Builder { private String checkingCode; private Long effective; private Long factor; private String parameterDescription; private String parameterName; private String parameterValue; private Long revisable; private Boolean supportModifyForMinorVersion; private String unit; private Builder() { } private Builder(Parameters model) { this.checkingCode = model.checkingCode; this.effective = model.effective; this.factor = model.factor; this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; this.revisable = model.revisable; this.supportModifyForMinorVersion = model.supportModifyForMinorVersion; this.unit = model.unit; } /** * <p>The regular expression used to validate input.</p> * * <strong>example:</strong> * <p>&quot;\d+\s+\d+\s+\d+&quot;</p> */ public Builder checkingCode(String checkingCode) { this.checkingCode = checkingCode; return this; } /** * <p>Indicates whether the modification takes effect. Valid values: 0 and 1. A value of 0 indicates that the modification does not take effect. A value of 1 indicates that the modification takes effect.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder effective(Long effective) { this.effective = effective; return this; } /** * <p>A divisor of the parameter. For a parameter of the integer or byte type, the valid values must be a multiple of Factor unless you set Factor to 0.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder factor(Long factor) { this.factor = factor; return this; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>Open AOF persistence mode</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The parameter name.</p> * * <strong>example:</strong> * <p>appendonly</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The default value of the parameter.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } /** * <p>Indicates whether the parameter can be modified. Valid values:</p> * <ul> * <li><strong>0: The parameter cannot be modified.</strong></li> * <li><strong>1</strong>: The parameter can be modified.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder revisable(Long revisable) { this.revisable = revisable; return this; } /** * <p>Indicates whether the minor version can be changed. Valid values: true and false.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder supportModifyForMinorVersion(Boolean supportModifyForMinorVersion) { this.supportModifyForMinorVersion = supportModifyForMinorVersion; return this; } /** * <p>The unit of the parameter value. Valid values: INT (ordinary integer), STRING (fixed string), and B (byte).</p> * * <strong>example:</strong> * <p>STRING</p> */ public Builder unit(String unit) { this.unit = unit; return this; } public Parameters build() { return new Parameters(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/DescribeParameterGroupsRequest.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 DescribeParameterGroupsRequest} extends {@link RequestModel} * * <p>DescribeParameterGroupsRequest</p> */ public class DescribeParameterGroupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @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 DescribeParameterGroupsRequest(Builder builder) { super(builder); this.dbType = builder.dbType; 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 DescribeParameterGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @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<DescribeParameterGroupsRequest, Builder> { private String dbType; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeParameterGroupsRequest request) { super(request); this.dbType = request.dbType; 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 engine type. Valid values:</p> * <ul> * <li><strong>redis</strong>: Redis Open-Source Edition or Tair (In-Memory)</li> * <li><strong>tair_pena</strong>: Tair (On NVM)</li> * <li><strong>tair_pdb</strong>: Tair (On Disk)</li> * </ul> * * <strong>example:</strong> * <p>redis</p> */ public Builder dbType(String dbType) { this.putQueryParameter("DbType", dbType); this.dbType = dbType; 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.</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; } @Override public DescribeParameterGroupsRequest build() { return new DescribeParameterGroupsRequest(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/DescribeParameterGroupsResponse.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 DescribeParameterGroupsResponse} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponse</p> */ public class DescribeParameterGroupsResponse 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 DescribeParameterGroupsResponseBody body; private DescribeParameterGroupsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterGroupsResponse 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 DescribeParameterGroupsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterGroupsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterGroupsResponseBody body); @Override DescribeParameterGroupsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterGroupsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterGroupsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterGroupsResponse 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(DescribeParameterGroupsResponseBody body) { this.body = body; return this; } @Override public DescribeParameterGroupsResponse build() { return new DescribeParameterGroupsResponse(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/DescribeParameterGroupsResponseBody.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 DescribeParameterGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponseBody</p> */ public class DescribeParameterGroupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterGroups") private java.util.List<ParameterGroups> parameterGroups; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterGroupsResponseBody(Builder builder) { this.parameterGroups = builder.parameterGroups; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return parameterGroups */ public java.util.List<ParameterGroups> getParameterGroups() { return this.parameterGroups; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ParameterGroups> parameterGroups; private String requestId; private Builder() { } private Builder(DescribeParameterGroupsResponseBody model) { this.parameterGroups = model.parameterGroups; this.requestId = model.requestId; } /** * <p>The list of parameter templates.</p> */ public Builder parameterGroups(java.util.List<ParameterGroups> parameterGroups) { this.parameterGroups = parameterGroups; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>686BB8A6-BBA5-47E5-8A75-D2ADE433****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeParameterGroupsResponseBody build() { return new DescribeParameterGroupsResponseBody(this); } } /** * * {@link DescribeParameterGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponseBody</p> */ public static class ParameterGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private Long category; @com.aliyun.core.annotation.NameInMap("Created") private String created; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("Modified") private String modified; @com.aliyun.core.annotation.NameInMap("ParamGroupId") private String paramGroupId; @com.aliyun.core.annotation.NameInMap("ParameterGroupDesc") private String parameterGroupDesc; @com.aliyun.core.annotation.NameInMap("ParameterGroupName") private String parameterGroupName; private ParameterGroups(Builder builder) { this.category = builder.category; this.created = builder.created; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.modified = builder.modified; this.paramGroupId = builder.paramGroupId; this.parameterGroupDesc = builder.parameterGroupDesc; this.parameterGroupName = builder.parameterGroupName; } public static Builder builder() { return new Builder(); } public static ParameterGroups create() { return builder().build(); } /** * @return category */ public Long getCategory() { return this.category; } /** * @return created */ public String getCreated() { return this.created; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return modified */ public String getModified() { return this.modified; } /** * @return paramGroupId */ public String getParamGroupId() { return this.paramGroupId; } /** * @return parameterGroupDesc */ public String getParameterGroupDesc() { return this.parameterGroupDesc; } /** * @return parameterGroupName */ public String getParameterGroupName() { return this.parameterGroupName; } public static final class Builder { private Long category; private String created; private String engine; private String engineVersion; private String modified; private String paramGroupId; private String parameterGroupDesc; private String parameterGroupName; private Builder() { } private Builder(ParameterGroups model) { this.category = model.category; this.created = model.created; this.engine = model.engine; this.engineVersion = model.engineVersion; this.modified = model.modified; this.paramGroupId = model.paramGroupId; this.parameterGroupDesc = model.parameterGroupDesc; this.parameterGroupName = model.parameterGroupName; } /** * <p>The service category. Valid values:</p> * <ul> * <li><strong>0</strong>: Redis Open-Source Edition</li> * <li><strong>1</strong>: Tair (Enterprise Edition)</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder category(Long category) { this.category = category; return this; } /** * <p>The time when the parameter template was created.</p> * * <strong>example:</strong> * <p>2023-04-18 16:32:45</p> */ public Builder created(String created) { this.created = created; return this; } /** * <p>The engine type. Valid values:</p> * <ul> * <li><strong>redis</strong>: Redis Open-Source Edition or Tair (In-Memory)</li> * <li><strong>tair_pena</strong>: Tair (On NVM)</li> * <li><strong>tair_pdb</strong>: Tair (On Disk)</li> * </ul> * * <strong>example:</strong> * <p>redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The compatible engine version.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The time when the parameter template was last modified.</p> * * <strong>example:</strong> * <p>2023-04-18 16:32:45</p> */ public Builder modified(String modified) { this.modified = modified; return this; } /** * <p>The parameter template ID.</p> * * <strong>example:</strong> * <p>test01</p> */ public Builder paramGroupId(String paramGroupId) { this.paramGroupId = paramGroupId; return this; } /** * <p>The description of the parameter template.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder parameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } /** * <p>The name of the parameter template.</p> * * <strong>example:</strong> * <p>testGroupName</p> */ public Builder parameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } public ParameterGroups build() { return new ParameterGroups(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/DescribeParameterModificationHistoryRequest.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 DescribeParameterModificationHistoryRequest} extends {@link RequestModel} * * <p>DescribeParameterModificationHistoryRequest</p> */ public class DescribeParameterModificationHistoryRequest 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("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("ParameterName") private String parameterName; @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 DescribeParameterModificationHistoryRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.parameterName = builder.parameterName; 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 DescribeParameterModificationHistoryRequest 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 nodeId */ public String getNodeId() { return this.nodeId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @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<DescribeParameterModificationHistoryRequest, Builder> { private String regionId; private String endTime; private String instanceId; private String nodeId; private String ownerAccount; private Long ownerId; private String parameterName; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String startTime; private Builder() { super(); } private Builder(DescribeParameterModificationHistoryRequest request) { super(request); this.regionId = request.regionId; this.endTime = request.endTime; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.parameterName = request.parameterName; 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 end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-09-05T09:49:27Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; 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; } /** * <p>The ID of the node.</p> * <blockquote> * <p>You can set this parameter to query the parameter settings of the specified node in a cluster instance.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1xxxxxxxxxxxxx-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 name of the parameter.</p> * * <strong>example:</strong> * <p>script_check_enable</p> */ public Builder parameterName(String parameterName) { this.putQueryParameter("ParameterName", parameterName); this.parameterName = parameterName; 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 yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-09-05T08:49:27Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeParameterModificationHistoryRequest build() { return new DescribeParameterModificationHistoryRequest(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/DescribeParameterModificationHistoryResponse.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 DescribeParameterModificationHistoryResponse} extends {@link TeaModel} * * <p>DescribeParameterModificationHistoryResponse</p> */ public class DescribeParameterModificationHistoryResponse 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 DescribeParameterModificationHistoryResponseBody body; private DescribeParameterModificationHistoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterModificationHistoryResponse 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 DescribeParameterModificationHistoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterModificationHistoryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterModificationHistoryResponseBody body); @Override DescribeParameterModificationHistoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterModificationHistoryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterModificationHistoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterModificationHistoryResponse 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(DescribeParameterModificationHistoryResponseBody body) { this.body = body; return this; } @Override public DescribeParameterModificationHistoryResponse build() { return new DescribeParameterModificationHistoryResponse(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/DescribeParameterModificationHistoryResponseBody.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 DescribeParameterModificationHistoryResponseBody} extends {@link TeaModel} * * <p>DescribeParameterModificationHistoryResponseBody</p> */ public class DescribeParameterModificationHistoryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("HistoricalParameters") private HistoricalParameters historicalParameters; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterModificationHistoryResponseBody(Builder builder) { this.historicalParameters = builder.historicalParameters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterModificationHistoryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return historicalParameters */ public HistoricalParameters getHistoricalParameters() { return this.historicalParameters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private HistoricalParameters historicalParameters; private String requestId; private Builder() { } private Builder(DescribeParameterModificationHistoryResponseBody model) { this.historicalParameters = model.historicalParameters; this.requestId = model.requestId; } /** * <p>The modification records of the parameters.</p> */ public Builder historicalParameters(HistoricalParameters historicalParameters) { this.historicalParameters = historicalParameters; 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; } public DescribeParameterModificationHistoryResponseBody build() { return new DescribeParameterModificationHistoryResponseBody(this); } } /** * * {@link DescribeParameterModificationHistoryResponseBody} extends {@link TeaModel} * * <p>DescribeParameterModificationHistoryResponseBody</p> */ public static class HistoricalParameter extends TeaModel { @com.aliyun.core.annotation.NameInMap("ModifyTime") private String modifyTime; @com.aliyun.core.annotation.NameInMap("NewParameterValue") private String newParameterValue; @com.aliyun.core.annotation.NameInMap("OldParameterValue") private String oldParameterValue; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; private HistoricalParameter(Builder builder) { this.modifyTime = builder.modifyTime; this.newParameterValue = builder.newParameterValue; this.oldParameterValue = builder.oldParameterValue; this.parameterName = builder.parameterName; } public static Builder builder() { return new Builder(); } public static HistoricalParameter create() { return builder().build(); } /** * @return modifyTime */ public String getModifyTime() { return this.modifyTime; } /** * @return newParameterValue */ public String getNewParameterValue() { return this.newParameterValue; } /** * @return oldParameterValue */ public String getOldParameterValue() { return this.oldParameterValue; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } public static final class Builder { private String modifyTime; private String newParameterValue; private String oldParameterValue; private String parameterName; private Builder() { } private Builder(HistoricalParameter model) { this.modifyTime = model.modifyTime; this.newParameterValue = model.newParameterValue; this.oldParameterValue = model.oldParameterValue; this.parameterName = model.parameterName; } /** * <p>The time when the parameter was modified. 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-09-05T09:56:10Z</p> */ public Builder modifyTime(String modifyTime) { this.modifyTime = modifyTime; return this; } /** * <p>The parameter value after modification.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder newParameterValue(String newParameterValue) { this.newParameterValue = newParameterValue; return this; } /** * <p>The parameter value before modification.</p> * * <strong>example:</strong> * <p>-2</p> */ public Builder oldParameterValue(String oldParameterValue) { this.oldParameterValue = oldParameterValue; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>script_check_enable</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } public HistoricalParameter build() { return new HistoricalParameter(this); } } } /** * * {@link DescribeParameterModificationHistoryResponseBody} extends {@link TeaModel} * * <p>DescribeParameterModificationHistoryResponseBody</p> */ public static class HistoricalParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("HistoricalParameter") private java.util.List<HistoricalParameter> historicalParameter; private HistoricalParameters(Builder builder) { this.historicalParameter = builder.historicalParameter; } public static Builder builder() { return new Builder(); } public static HistoricalParameters create() { return builder().build(); } /** * @return historicalParameter */ public java.util.List<HistoricalParameter> getHistoricalParameter() { return this.historicalParameter; } public static final class Builder { private java.util.List<HistoricalParameter> historicalParameter; private Builder() { } private Builder(HistoricalParameters model) { this.historicalParameter = model.historicalParameter; } /** * HistoricalParameter. */ public Builder historicalParameter(java.util.List<HistoricalParameter> historicalParameter) { this.historicalParameter = historicalParameter; return this; } public HistoricalParameters build() { return new HistoricalParameters(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/DescribeParameterTemplatesRequest.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 DescribeParameterTemplatesRequest} extends {@link RequestModel} * * <p>DescribeParameterTemplatesRequest</p> */ public class DescribeParameterTemplatesRequest 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("CharacterType") @com.aliyun.core.annotation.Validation(required = true) private String characterType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") @com.aliyun.core.annotation.Validation(required = true) private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") @com.aliyun.core.annotation.Validation(required = true) private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") 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("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 DescribeParameterTemplatesRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.characterType = builder.characterType; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.instanceId = builder.instanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; 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 DescribeParameterTemplatesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return characterType */ public String getCharacterType() { return this.characterType; } /** * @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 ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeParameterTemplatesRequest, Builder> { private String regionId; private String characterType; private String engine; private String engineVersion; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeParameterTemplatesRequest request) { super(request); this.regionId = request.regionId; this.characterType = request.characterType; this.engine = request.engine; this.engineVersion = request.engineVersion; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceGroupId = request.resourceGroupId; 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 architecture of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/86132.html">Overview</a>. Valid values:</p> * <ul> * <li><strong>logic</strong>: The instance is a cluster master-replica instance or a read/write splitting instance.</li> * <li><strong>normal</strong>: The instance is a standard master-replica instance.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>logic</p> */ public Builder characterType(String characterType) { this.putQueryParameter("CharacterType", characterType); this.characterType = characterType; return this; } /** * <p>The database engine that is run on the instance. Set the value to <strong>Redis</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The major version of the instance. Valid values: <strong>4.0</strong>, <strong>5.0</strong>, <strong>6.0</strong>, and <strong>7.0</strong>.</p> * <p>This parameter is required.</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. You can call the <a href="https://help.aliyun.com/document_detail/473778.html">DescribeInstances</a> operation to query the IDs of instances.</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 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 ID of a resource group in the Resource Management console. For more information, see <a href="https://help.aliyun.com/document_detail/151181.html">View the basic information of a resource group</a>.</p> * </blockquote> * * <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 DescribeParameterTemplatesRequest build() { return new DescribeParameterTemplatesRequest(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/DescribeParameterTemplatesResponse.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 DescribeParameterTemplatesResponse} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponse</p> */ public class DescribeParameterTemplatesResponse 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 DescribeParameterTemplatesResponseBody body; private DescribeParameterTemplatesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterTemplatesResponse 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 DescribeParameterTemplatesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterTemplatesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterTemplatesResponseBody body); @Override DescribeParameterTemplatesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterTemplatesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterTemplatesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterTemplatesResponse 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(DescribeParameterTemplatesResponseBody body) { this.body = body; return this; } @Override public DescribeParameterTemplatesResponse build() { return new DescribeParameterTemplatesResponse(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/DescribeParameterTemplatesResponseBody.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 DescribeParameterTemplatesResponseBody} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponseBody</p> */ public class DescribeParameterTemplatesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ParameterCount") private String parameterCount; @com.aliyun.core.annotation.NameInMap("Parameters") private Parameters parameters; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterTemplatesResponseBody(Builder builder) { this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.parameterCount = builder.parameterCount; this.parameters = builder.parameters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterTemplatesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return parameterCount */ public String getParameterCount() { return this.parameterCount; } /** * @return parameters */ public Parameters getParameters() { return this.parameters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String engine; private String engineVersion; private String parameterCount; private Parameters parameters; private String requestId; private Builder() { } private Builder(DescribeParameterTemplatesResponseBody model) { this.engine = model.engine; this.engineVersion = model.engineVersion; this.parameterCount = model.parameterCount; this.parameters = model.parameters; this.requestId = model.requestId; } /** * <p>The database engine that is run on the instance. The value <strong>Redis</strong> is returned for this parameter.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The major version of the instance.</p> * * <strong>example:</strong> * <p>5.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The number of parameters that are supported by the instance.</p> * * <strong>example:</strong> * <p>24</p> */ public Builder parameterCount(String parameterCount) { this.parameterCount = parameterCount; return this; } /** * <p>An array that consists of the details about the parameters returned.</p> */ public Builder parameters(Parameters parameters) { this.parameters = parameters; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>9DA28D8E-514D-4F12-ADED-70A9C818****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeParameterTemplatesResponseBody build() { return new DescribeParameterTemplatesResponseBody(this); } } /** * * {@link DescribeParameterTemplatesResponseBody} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponseBody</p> */ public static class TemplateRecord extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckingCode") private String checkingCode; @com.aliyun.core.annotation.NameInMap("ForceModify") private Boolean forceModify; @com.aliyun.core.annotation.NameInMap("ForceRestart") private Boolean forceRestart; @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; private TemplateRecord(Builder builder) { this.checkingCode = builder.checkingCode; this.forceModify = builder.forceModify; this.forceRestart = builder.forceRestart; this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; } public static Builder builder() { return new Builder(); } public static TemplateRecord create() { return builder().build(); } /** * @return checkingCode */ public String getCheckingCode() { return this.checkingCode; } /** * @return forceModify */ public Boolean getForceModify() { return this.forceModify; } /** * @return forceRestart */ public Boolean getForceRestart() { return this.forceRestart; } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } public static final class Builder { private String checkingCode; private Boolean forceModify; private Boolean forceRestart; private String parameterDescription; private String parameterName; private String parameterValue; private Builder() { } private Builder(TemplateRecord model) { this.checkingCode = model.checkingCode; this.forceModify = model.forceModify; this.forceRestart = model.forceRestart; this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; } /** * <p>The valid values of the parameter.</p> * * <strong>example:</strong> * <p>[yes|no]</p> */ public Builder checkingCode(String checkingCode) { this.checkingCode = checkingCode; return this; } /** * <p>Indicates whether the parameter can be reconfigured. Valid values:</p> * <ul> * <li><strong>true</strong>: The parameter can be reconfigured.</li> * <li><strong>false</strong>: The parameter cannot be reconfigured.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder forceModify(Boolean forceModify) { this.forceModify = forceModify; return this; } /** * <p>Indicates whether a restart of the instance is required after the parameter is reconfigured. Valid values:</p> * <ul> * <li><strong>true</strong>: After the parameter is reconfigured, you must restart the instance to make the new value of the parameter take effect.</li> * <li><strong>false</strong>: After the parameter is reconfigured, the new value of the parameter immediately takes effect. You do not need to restart the instance.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder forceRestart(Boolean forceRestart) { this.forceRestart = forceRestart; return this; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>test description</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The name of the parameter. For more information about the parameters and the parameter settings, see <a href="https://help.aliyun.com/document_detail/259681.html">Parameters</a>.</p> * * <strong>example:</strong> * <p>appendonly</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The default value of the parameter.</p> * * <strong>example:</strong> * <p>yes</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } public TemplateRecord build() { return new TemplateRecord(this); } } } /** * * {@link DescribeParameterTemplatesResponseBody} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponseBody</p> */ public static class Parameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("TemplateRecord") private java.util.List<TemplateRecord> templateRecord; private Parameters(Builder builder) { this.templateRecord = builder.templateRecord; } public static Builder builder() { return new Builder(); } public static Parameters create() { return builder().build(); } /** * @return templateRecord */ public java.util.List<TemplateRecord> getTemplateRecord() { return this.templateRecord; } public static final class Builder { private java.util.List<TemplateRecord> templateRecord; private Builder() { } private Builder(Parameters model) { this.templateRecord = model.templateRecord; } /** * TemplateRecord. */ public Builder templateRecord(java.util.List<TemplateRecord> templateRecord) { this.templateRecord = templateRecord; return this; } public Parameters build() { return new Parameters(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/DescribeParametersRequest.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 DescribeParametersRequest} extends {@link RequestModel} * * <p>DescribeParametersRequest</p> */ public class DescribeParametersRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("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("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeParametersRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.nodeId = builder.nodeId; 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 DescribeParametersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @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 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<DescribeParametersRequest, Builder> { private String DBInstanceId; private String nodeId; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeParametersRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.nodeId = request.nodeId; 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.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The ID of the node.</p> * <blockquote> * <p>You can set this parameter to query the parameter settings of the specified node in a cluster instance.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1xxxxxxxxxxxxx-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 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> * * <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; } @Override public DescribeParametersRequest build() { return new DescribeParametersRequest(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/DescribeParametersResponse.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 DescribeParametersResponse} extends {@link TeaModel} * * <p>DescribeParametersResponse</p> */ public class DescribeParametersResponse 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 DescribeParametersResponseBody body; private DescribeParametersResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParametersResponse 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 DescribeParametersResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParametersResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParametersResponseBody body); @Override DescribeParametersResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParametersResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParametersResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParametersResponse 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(DescribeParametersResponseBody body) { this.body = body; return this; } @Override public DescribeParametersResponse build() { return new DescribeParametersResponse(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/DescribeParametersResponseBody.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 DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public class DescribeParametersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigParameters") private ConfigParameters configParameters; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RunningParameters") private RunningParameters runningParameters; private DescribeParametersResponseBody(Builder builder) { this.configParameters = builder.configParameters; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.requestId = builder.requestId; this.runningParameters = builder.runningParameters; } public static Builder builder() { return new Builder(); } public static DescribeParametersResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configParameters */ public ConfigParameters getConfigParameters() { return this.configParameters; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return runningParameters */ public RunningParameters getRunningParameters() { return this.runningParameters; } public static final class Builder { private ConfigParameters configParameters; private String engine; private String engineVersion; private String requestId; private RunningParameters runningParameters; private Builder() { } private Builder(DescribeParametersResponseBody model) { this.configParameters = model.configParameters; this.engine = model.engine; this.engineVersion = model.engineVersion; this.requestId = model.requestId; this.runningParameters = model.runningParameters; } /** * <p>The configuration parameters that have not taken effect.</p> */ public Builder configParameters(ConfigParameters configParameters) { this.configParameters = configParameters; return this; } /** * <p>The database engine that the instance runs.</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.</p> * * <strong>example:</strong> * <p>4.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>9C1338BE-8DE8-4890-A900-E1BC06BF****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The running parameters.</p> */ public Builder runningParameters(RunningParameters runningParameters) { this.runningParameters = runningParameters; return this; } public DescribeParametersResponseBody build() { return new DescribeParametersResponseBody(this); } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class Parameter extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckingCode") private String checkingCode; @com.aliyun.core.annotation.NameInMap("ForceRestart") private Boolean forceRestart; @com.aliyun.core.annotation.NameInMap("ModifiableStatus") private Boolean modifiableStatus; @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; private Parameter(Builder builder) { this.checkingCode = builder.checkingCode; this.forceRestart = builder.forceRestart; this.modifiableStatus = builder.modifiableStatus; this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; } public static Builder builder() { return new Builder(); } public static Parameter create() { return builder().build(); } /** * @return checkingCode */ public String getCheckingCode() { return this.checkingCode; } /** * @return forceRestart */ public Boolean getForceRestart() { return this.forceRestart; } /** * @return modifiableStatus */ public Boolean getModifiableStatus() { return this.modifiableStatus; } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } public static final class Builder { private String checkingCode; private Boolean forceRestart; private Boolean modifiableStatus; private String parameterDescription; private String parameterName; private String parameterValue; private Builder() { } private Builder(Parameter model) { this.checkingCode = model.checkingCode; this.forceRestart = model.forceRestart; this.modifiableStatus = model.modifiableStatus; this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; } /** * <p>The check code that indicates the valid values of the parameter.</p> * * <strong>example:</strong> * <p>[0|1]</p> */ public Builder checkingCode(String checkingCode) { this.checkingCode = checkingCode; return this; } /** * <p>Indicates whether the instance must be restarted for the modifications to take effect. Valid values:</p> * <ul> * <li><strong>True</strong>: The instance must be restarted for the modifications to take effect.</li> * <li><strong>False</strong>: The instance does not need to be restarted for the modifications to take effect. Modifications immediately take effect.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder forceRestart(Boolean forceRestart) { this.forceRestart = forceRestart; return this; } /** * <p>Indicates whether the parameter can be reset. Valid values:</p> * <ul> * <li><strong>False</strong>: The parameter cannot be reset.</li> * <li><strong>True</strong>: The parameter can be reset.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder modifiableStatus(Boolean modifiableStatus) { this.modifiableStatus = modifiableStatus; return this; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>Check all keys passed in the KEYS array map to the same slot.</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>script_check_enable</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } public Parameter build() { return new Parameter(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class ConfigParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("Parameter") private java.util.List<Parameter> parameter; private ConfigParameters(Builder builder) { this.parameter = builder.parameter; } public static Builder builder() { return new Builder(); } public static ConfigParameters create() { return builder().build(); } /** * @return parameter */ public java.util.List<Parameter> getParameter() { return this.parameter; } public static final class Builder { private java.util.List<Parameter> parameter; private Builder() { } private Builder(ConfigParameters model) { this.parameter = model.parameter; } /** * Parameter. */ public Builder parameter(java.util.List<Parameter> parameter) { this.parameter = parameter; return this; } public ConfigParameters build() { return new ConfigParameters(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class RunningParametersParameter extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckingCode") private String checkingCode; @com.aliyun.core.annotation.NameInMap("ForceRestart") private String forceRestart; @com.aliyun.core.annotation.NameInMap("ModifiableStatus") private String modifiableStatus; @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; private RunningParametersParameter(Builder builder) { this.checkingCode = builder.checkingCode; this.forceRestart = builder.forceRestart; this.modifiableStatus = builder.modifiableStatus; this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; } public static Builder builder() { return new Builder(); } public static RunningParametersParameter create() { return builder().build(); } /** * @return checkingCode */ public String getCheckingCode() { return this.checkingCode; } /** * @return forceRestart */ public String getForceRestart() { return this.forceRestart; } /** * @return modifiableStatus */ public String getModifiableStatus() { return this.modifiableStatus; } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } public static final class Builder { private String checkingCode; private String forceRestart; private String modifiableStatus; private String parameterDescription; private String parameterName; private String parameterValue; private Builder() { } private Builder(RunningParametersParameter model) { this.checkingCode = model.checkingCode; this.forceRestart = model.forceRestart; this.modifiableStatus = model.modifiableStatus; this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; } /** * <p>The check code that indicates the valid values of the parameter.</p> * * <strong>example:</strong> * <p>[0|1]</p> */ public Builder checkingCode(String checkingCode) { this.checkingCode = checkingCode; return this; } /** * <p>Indicates whether the instance must be restarted for the modifications to take effect. Valid values:</p> * <ul> * <li><strong>True</strong>: The instance must be restarted for the modifications to take effect.</li> * <li><strong>False</strong>: The instance does not need to be restarted for the modifications to take effect. Modifications immediately take effect.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder forceRestart(String forceRestart) { this.forceRestart = forceRestart; return this; } /** * <p>Indicates whether the parameter can be reset. Valid values:</p> * <ul> * <li><strong>False</strong>: The parameter cannot be reset.</li> * <li><strong>True</strong>: The parameter can be reset.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder modifiableStatus(String modifiableStatus) { this.modifiableStatus = modifiableStatus; return this; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>You can disable some dangerous commands, for example &quot;keys,flushdb,flushall&quot;, the commands must be in [flushall,flushdb,keys,hgetall,eval,evalsha,script].</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>#no_loose_disabled-commands</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>keys,flushall,flushdb</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } public RunningParametersParameter build() { return new RunningParametersParameter(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class RunningParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("Parameter") private java.util.List<RunningParametersParameter> parameter; private RunningParameters(Builder builder) { this.parameter = builder.parameter; } public static Builder builder() { return new Builder(); } public static RunningParameters create() { return builder().build(); } /** * @return parameter */ public java.util.List<RunningParametersParameter> getParameter() { return this.parameter; } public static final class Builder { private java.util.List<RunningParametersParameter> parameter; private Builder() { } private Builder(RunningParameters model) { this.parameter = model.parameter; } /** * Parameter. */ public Builder parameter(java.util.List<RunningParametersParameter> parameter) { this.parameter = parameter; return this; } public RunningParameters build() { return new RunningParameters(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/DescribePriceRequest.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 DescribePriceRequest} extends {@link RequestModel} * * <p>DescribePriceRequest</p> */ public class DescribePriceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BusinessInfo") private String businessInfo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Capacity") private Long capacity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CouponNo") private String couponNo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ForceUpgrade") private Boolean forceUpgrade; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Instances") private String instances; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderParamOut") private String orderParamOut; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderType") @com.aliyun.core.annotation.Validation(required = true) 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("Period") private Long period; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Quantity") private Long quantity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecondaryZoneId") private String secondaryZoneId; @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") private Integer shardCount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribePriceRequest(Builder builder) { super(builder); this.businessInfo = builder.businessInfo; this.capacity = builder.capacity; this.chargeType = builder.chargeType; this.couponNo = builder.couponNo; this.engineVersion = builder.engineVersion; this.forceUpgrade = builder.forceUpgrade; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instances = builder.instances; this.nodeType = builder.nodeType; this.orderParamOut = builder.orderParamOut; this.orderType = builder.orderType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.period = builder.period; this.quantity = builder.quantity; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.secondaryZoneId = builder.secondaryZoneId; this.securityToken = builder.securityToken; this.shardCount = builder.shardCount; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribePriceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return businessInfo */ public String getBusinessInfo() { return this.businessInfo; } /** * @return capacity */ public Long getCapacity() { return this.capacity; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return couponNo */ public String getCouponNo() { return this.couponNo; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return forceUpgrade */ public Boolean getForceUpgrade() { return this.forceUpgrade; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instances */ public String getInstances() { return this.instances; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return orderParamOut */ public String getOrderParamOut() { return this.orderParamOut; } /** * @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 period */ public Long getPeriod() { return this.period; } /** * @return quantity */ public Long getQuantity() { return this.quantity; } /** * @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 secondaryZoneId */ public String getSecondaryZoneId() { return this.secondaryZoneId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribePriceRequest, Builder> { private String businessInfo; private Long capacity; private String chargeType; private String couponNo; private String engineVersion; private Boolean forceUpgrade; private String instanceClass; private String instanceId; private String instances; private String nodeType; private String orderParamOut; private String orderType; private String ownerAccount; private Long ownerId; private Long period; private Long quantity; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String secondaryZoneId; private String securityToken; private Integer shardCount; private String zoneId; private Builder() { super(); } private Builder(DescribePriceRequest request) { super(request); this.businessInfo = request.businessInfo; this.capacity = request.capacity; this.chargeType = request.chargeType; this.couponNo = request.couponNo; this.engineVersion = request.engineVersion; this.forceUpgrade = request.forceUpgrade; this.instanceClass = request.instanceClass; this.instanceId = request.instanceId; this.instances = request.instances; this.nodeType = request.nodeType; this.orderParamOut = request.orderParamOut; this.orderType = request.orderType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.period = request.period; this.quantity = request.quantity; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.secondaryZoneId = request.secondaryZoneId; this.securityToken = request.securityToken; this.shardCount = request.shardCount; this.zoneId = request.zoneId; } /** * <p>The extended information such as the promotional event ID and business information.</p> * * <strong>example:</strong> * <p>000000000000</p> */ public Builder businessInfo(String businessInfo) { this.putQueryParameter("BusinessInfo", businessInfo); this.businessInfo = businessInfo; return this; } /** * <p>The storage capacity of the instance. Unit: MB. This parameter is used only to query Redis Open-Source Edition instances that are deployed in classic mode. We recommend that you use the <strong>InstanceClass</strong> parameter to specify an exact instance type.</p> * <blockquote> * <p> If you specify the <strong>InstanceClass</strong> parameter, you do not need to specify the Capacity parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>1024</p> */ public Builder capacity(Long capacity) { this.putQueryParameter("Capacity", capacity); this.capacity = capacity; return this; } /** * <p>The billing method. Valid values:</p> * <ul> * <li><strong>PostPaid</strong> (default): pay-as-you-go</li> * <li><strong>PrePaid</strong>: subscription</li> * </ul> * * <strong>example:</strong> * <p>PostPaid</p> */ public Builder chargeType(String chargeType) { this.putQueryParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * <p>The coupon code. Default value: youhuiquan_promotion_option_id_for_blank. This value indicates that no coupon code is available.</p> * * <strong>example:</strong> * <p>youhuiquan_promotion_option_id_for_blank</p> */ public Builder couponNo(String couponNo) { this.putQueryParameter("CouponNo", couponNo); this.couponNo = couponNo; return this; } /** * <p>The engine version of the instance. Valid values: <strong>2.8</strong>, <strong>4.0</strong>, and <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>Specifies whether to forcefully change the configurations of the instance. Valid values:</p> * <ul> * <li><strong>false</strong>: forcefully changes the configurations.</li> * <li><strong>true</strong> (default): does not forcefully change the configurations.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder forceUpgrade(Boolean forceUpgrade) { this.putQueryParameter("ForceUpgrade", forceUpgrade); this.forceUpgrade = forceUpgrade; return this; } /** * <p>The instance type.**** <strong>To view the instance type, perform the following steps:</strong></p> * <ol> * <li>In the <a href="https://help.aliyun.com/document_detail/26350.html">Instance specifications</a> topic, click the link in the <strong>References for instance specifications</strong> column corresponding to the instance type that you want to view.</li> * <li>In the instance type table of the specification documentation, find the instance type in the <strong>InstanceClass</strong> column.</li> * </ol> * <blockquote> * <p> If you want to query new instances, in addition to key parameters, you must also specify at least the following parameters:</p> * </blockquote> * <ul> * <li><p>To query a classic instance, specify this parameter.</p> * </li> * <li><p>To query a cloud-native standard instance, specify this parameter.</p> * </li> * <li><p>To query a cloud-native cluster instance, specify this parameter and the <strong>ShardCount</strong> parameter.</p> * </li> * <li><p>To query a cloud-native read/write splitting instance, specify this parameter and the <strong>Instances</strong> parameter.</p> * </li> * <li><p>To query multiple instances of different specifications or to query a Tair ESSD-based instance that has a custom storage type and storage capacity, specify the Instances parameter. In this case, you do not need to specify the InstanceClass parameter.</p> * </li> * </ul> * * <strong>example:</strong> * <p>redis.master.small.default</p> */ public Builder instanceClass(String instanceClass) { this.putQueryParameter("InstanceClass", instanceClass); this.instanceClass = instanceClass; return this; } /** * <p>The instance ID.</p> * <blockquote> * <p> This parameter is required when the <strong>OrderType</strong> parameter is set to <strong>UPGRADE</strong> or <strong>RENEW</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>If you want to query cloud-native read/write splitting instances, Tair ESSD-based instances, or instances of different specifications, you must specify this parameter as a JSON string. For more information, see the <strong>Additional description of the Instances parameter</strong> section.</p> * * <strong>example:</strong> * <p>Instances=[{&quot;RegionId&quot;: &quot;cn-hangzhou&quot;,&quot;ZoneId&quot;: &quot;cn-hangzhou-b&quot;,&quot;InstanceClass&quot;: &quot;redis.master.small.default&quot;,&quot;Period&quot;: &quot;1&quot;,&quot;Quantity&quot;: &quot;1&quot;,&quot;Capacity&quot;: &quot;4096&quot;}]</p> */ public Builder instances(String instances) { this.putQueryParameter("Instances", instances); this.instances = instances; return this; } /** * <p>The node type. Valid values:</p> * <ul> * <li><strong>STAND_ALONE</strong>: standalone</li> * <li><strong>MASTER_SLAVE</strong> (default): high availability (master-replica)</li> * </ul> * * <strong>example:</strong> * <p>MASTER_SLAVE</p> */ public Builder nodeType(String nodeType) { this.putQueryParameter("NodeType", nodeType); this.nodeType = nodeType; return this; } /** * <p>Specifies whether to return parameters related to the order. Valid values:</p> * <ul> * <li><strong>false</strong> (default)</li> * <li><strong>true</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder orderParamOut(String orderParamOut) { this.putQueryParameter("OrderParamOut", orderParamOut); this.orderParamOut = orderParamOut; return this; } /** * <p>The order type. Valid values:</p> * <ul> * <li><strong>BUY</strong>: specifies the orders that are used to purchase instances.</li> * <li><strong>UPGRADE</strong>: specifies the orders that are used to change the configurations of instances.</li> * <li><strong>RENEW</strong>: specifies the orders that are used to renew instances.</li> * <li><strong>CONVERT</strong>: specifies the orders that are used to change the billing methods of instances.</li> * </ul> * <p>This parameter is required.</p> * * <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 subscription duration. Unit: month. Valid values: <strong>1</strong>, 2, 3, 4, 5, 6, 7, 8, <strong>9</strong>, <strong>12</strong>, <strong>24</strong>, and <strong>36</strong>.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder period(Long period) { this.putQueryParameter("Period", period); this.period = period; return this; } /** * <p>The number of instances that you want to purchase. Valid values: <strong>1</strong> to <strong>30</strong>. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder quantity(Long quantity) { this.putQueryParameter("Quantity", quantity); this.quantity = quantity; 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 region ID.</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; } /** * SecondaryZoneId. */ public Builder secondaryZoneId(String secondaryZoneId) { this.putQueryParameter("SecondaryZoneId", secondaryZoneId); this.secondaryZoneId = secondaryZoneId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The number of data shards in the cloud-native cluster instance.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder shardCount(Integer shardCount) { this.putQueryParameter("ShardCount", shardCount); this.shardCount = shardCount; return this; } /** * <p>The zone ID. You can call the <a href="https://help.aliyun.com/document_detail/473764.html">DescribeZones</a> operation to query the zone ID.</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 DescribePriceRequest build() { return new DescribePriceRequest(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/DescribePriceResponse.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 DescribePriceResponse} extends {@link TeaModel} * * <p>DescribePriceResponse</p> */ public class DescribePriceResponse 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 DescribePriceResponseBody body; private DescribePriceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePriceResponse 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 DescribePriceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePriceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePriceResponseBody body); @Override DescribePriceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePriceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePriceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePriceResponse 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(DescribePriceResponseBody body) { this.body = body; return this; } @Override public DescribePriceResponse build() { return new DescribePriceResponse(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/DescribePriceResponseBody.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 DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public class DescribePriceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Order") private Order order; @com.aliyun.core.annotation.NameInMap("OrderParams") private String orderParams; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Rules") private Rules rules; @com.aliyun.core.annotation.NameInMap("SubOrders") private SubOrders subOrders; private DescribePriceResponseBody(Builder builder) { this.order = builder.order; this.orderParams = builder.orderParams; this.requestId = builder.requestId; this.rules = builder.rules; this.subOrders = builder.subOrders; } public static Builder builder() { return new Builder(); } public static DescribePriceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return order */ public Order getOrder() { return this.order; } /** * @return orderParams */ public String getOrderParams() { return this.orderParams; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return rules */ public Rules getRules() { return this.rules; } /** * @return subOrders */ public SubOrders getSubOrders() { return this.subOrders; } public static final class Builder { private Order order; private String orderParams; private String requestId; private Rules rules; private SubOrders subOrders; private Builder() { } private Builder(DescribePriceResponseBody model) { this.order = model.order; this.orderParams = model.orderParams; this.requestId = model.requestId; this.rules = model.rules; this.subOrders = model.subOrders; } /** * <p>The information about the order.</p> */ public Builder order(Order order) { this.order = order; return this; } /** * <p>The parameters of the order. When OrderParamOut is set to <code>true</code>, this parameter is returned.</p> * * <strong>example:</strong> * <p>String</p> */ public Builder orderParams(String orderParams) { this.orderParams = orderParams; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3A40BE4E-1890-4972-889C-FEFA37663635</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Details about promotion rules.</p> */ public Builder rules(Rules rules) { this.rules = rules; return this; } /** * <p>The orders that match the coupons.</p> */ public Builder subOrders(SubOrders subOrders) { this.subOrders = subOrders; return this; } public DescribePriceResponseBody build() { return new DescribePriceResponseBody(this); } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Coupon extends TeaModel { @com.aliyun.core.annotation.NameInMap("CouponNo") private String couponNo; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("IsSelected") private String isSelected; @com.aliyun.core.annotation.NameInMap("Name") private String name; private Coupon(Builder builder) { this.couponNo = builder.couponNo; this.description = builder.description; this.isSelected = builder.isSelected; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static Coupon create() { return builder().build(); } /** * @return couponNo */ public String getCouponNo() { return this.couponNo; } /** * @return description */ public String getDescription() { return this.description; } /** * @return isSelected */ public String getIsSelected() { return this.isSelected; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String couponNo; private String description; private String isSelected; private String name; private Builder() { } private Builder(Coupon model) { this.couponNo = model.couponNo; this.description = model.description; this.isSelected = model.isSelected; this.name = model.name; } /** * <p>The coupon ID.</p> * * <strong>example:</strong> * <p>youhuiquan_promotion_option_id_for_blank</p> */ public Builder couponNo(String couponNo) { this.couponNo = couponNo; return this; } /** * <p>The coupon description.</p> * * <strong>example:</strong> * <p>coupondemo</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>Indicates whether the coupon is selected.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isSelected(String isSelected) { this.isSelected = isSelected; return this; } /** * <p>The coupon name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } public Coupon build() { return new Coupon(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Coupons extends TeaModel { @com.aliyun.core.annotation.NameInMap("Coupon") private java.util.List<Coupon> coupon; private Coupons(Builder builder) { this.coupon = builder.coupon; } public static Builder builder() { return new Builder(); } public static Coupons create() { return builder().build(); } /** * @return coupon */ public java.util.List<Coupon> getCoupon() { return this.coupon; } public static final class Builder { private java.util.List<Coupon> coupon; private Builder() { } private Builder(Coupons model) { this.coupon = model.coupon; } /** * Coupon. */ public Builder coupon(java.util.List<Coupon> coupon) { this.coupon = coupon; return this; } public Coupons build() { return new Coupons(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class OptionIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("OptionId") private java.util.List<Long> optionId; private OptionIds(Builder builder) { this.optionId = builder.optionId; } public static Builder builder() { return new Builder(); } public static OptionIds create() { return builder().build(); } /** * @return optionId */ public java.util.List<Long> getOptionId() { return this.optionId; } public static final class Builder { private java.util.List<Long> optionId; private Builder() { } private Builder(OptionIds model) { this.optionId = model.optionId; } /** * OptionId. */ public Builder optionId(java.util.List<Long> optionId) { this.optionId = optionId; return this; } public OptionIds build() { return new OptionIds(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ContractActivity extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivityId") private Long activityId; @com.aliyun.core.annotation.NameInMap("ActivityName") private String activityName; @com.aliyun.core.annotation.NameInMap("FinalFee") private Double finalFee; @com.aliyun.core.annotation.NameInMap("FinalPromFee") private Double finalPromFee; @com.aliyun.core.annotation.NameInMap("OptionCode") private String optionCode; @com.aliyun.core.annotation.NameInMap("OptionIds") private OptionIds optionIds; @com.aliyun.core.annotation.NameInMap("ProdFee") private Double prodFee; private ContractActivity(Builder builder) { this.activityId = builder.activityId; this.activityName = builder.activityName; this.finalFee = builder.finalFee; this.finalPromFee = builder.finalPromFee; this.optionCode = builder.optionCode; this.optionIds = builder.optionIds; this.prodFee = builder.prodFee; } public static Builder builder() { return new Builder(); } public static ContractActivity create() { return builder().build(); } /** * @return activityId */ public Long getActivityId() { return this.activityId; } /** * @return activityName */ public String getActivityName() { return this.activityName; } /** * @return finalFee */ public Double getFinalFee() { return this.finalFee; } /** * @return finalPromFee */ public Double getFinalPromFee() { return this.finalPromFee; } /** * @return optionCode */ public String getOptionCode() { return this.optionCode; } /** * @return optionIds */ public OptionIds getOptionIds() { return this.optionIds; } /** * @return prodFee */ public Double getProdFee() { return this.prodFee; } public static final class Builder { private Long activityId; private String activityName; private Double finalFee; private Double finalPromFee; private String optionCode; private OptionIds optionIds; private Double prodFee; private Builder() { } private Builder(ContractActivity model) { this.activityId = model.activityId; this.activityName = model.activityName; this.finalFee = model.finalFee; this.finalPromFee = model.finalPromFee; this.optionCode = model.optionCode; this.optionIds = model.optionIds; this.prodFee = model.prodFee; } /** * <p>The activity ID.</p> * * <strong>example:</strong> * <hr> */ public Builder activityId(Long activityId) { this.activityId = activityId; return this; } /** * <p>The activity name.</p> * * <strong>example:</strong> * <p>contract promotion_order_xxx discount</p> */ public Builder activityName(String activityName) { this.activityName = activityName; return this; } /** * <p>The preferential price.</p> */ public Builder finalFee(Double finalFee) { this.finalFee = finalFee; return this; } /** * <p>The total discount amount.</p> */ public Builder finalPromFee(Double finalPromFee) { this.finalPromFee = finalPromFee; return this; } /** * <p>The promotion code.</p> * * <strong>example:</strong> * <hr> */ public Builder optionCode(String optionCode) { this.optionCode = optionCode; return this; } /** * <p>The promotion IDs.</p> */ public Builder optionIds(OptionIds optionIds) { this.optionIds = optionIds; return this; } /** * <p>The original price.</p> * * <strong>example:</strong> * <hr> */ public Builder prodFee(Double prodFee) { this.prodFee = prodFee; return this; } public ContractActivity build() { return new ContractActivity(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class DepreciateInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheapRate") private Long cheapRate; @com.aliyun.core.annotation.NameInMap("CheapStandAmount") private Long cheapStandAmount; @com.aliyun.core.annotation.NameInMap("ContractActivity") private ContractActivity contractActivity; @com.aliyun.core.annotation.NameInMap("Differential") private Long differential; @com.aliyun.core.annotation.NameInMap("DifferentialName") private String differentialName; @com.aliyun.core.annotation.NameInMap("IsContractActivity") private Boolean isContractActivity; @com.aliyun.core.annotation.NameInMap("IsShow") private Boolean isShow; @com.aliyun.core.annotation.NameInMap("ListPrice") private Long listPrice; @com.aliyun.core.annotation.NameInMap("MonthPrice") private Long monthPrice; @com.aliyun.core.annotation.NameInMap("OriginalStandAmount") private Long originalStandAmount; private DepreciateInfo(Builder builder) { this.cheapRate = builder.cheapRate; this.cheapStandAmount = builder.cheapStandAmount; this.contractActivity = builder.contractActivity; this.differential = builder.differential; this.differentialName = builder.differentialName; this.isContractActivity = builder.isContractActivity; this.isShow = builder.isShow; this.listPrice = builder.listPrice; this.monthPrice = builder.monthPrice; this.originalStandAmount = builder.originalStandAmount; } public static Builder builder() { return new Builder(); } public static DepreciateInfo create() { return builder().build(); } /** * @return cheapRate */ public Long getCheapRate() { return this.cheapRate; } /** * @return cheapStandAmount */ public Long getCheapStandAmount() { return this.cheapStandAmount; } /** * @return contractActivity */ public ContractActivity getContractActivity() { return this.contractActivity; } /** * @return differential */ public Long getDifferential() { return this.differential; } /** * @return differentialName */ public String getDifferentialName() { return this.differentialName; } /** * @return isContractActivity */ public Boolean getIsContractActivity() { return this.isContractActivity; } /** * @return isShow */ public Boolean getIsShow() { return this.isShow; } /** * @return listPrice */ public Long getListPrice() { return this.listPrice; } /** * @return monthPrice */ public Long getMonthPrice() { return this.monthPrice; } /** * @return originalStandAmount */ public Long getOriginalStandAmount() { return this.originalStandAmount; } public static final class Builder { private Long cheapRate; private Long cheapStandAmount; private ContractActivity contractActivity; private Long differential; private String differentialName; private Boolean isContractActivity; private Boolean isShow; private Long listPrice; private Long monthPrice; private Long originalStandAmount; private Builder() { } private Builder(DepreciateInfo model) { this.cheapRate = model.cheapRate; this.cheapStandAmount = model.cheapStandAmount; this.contractActivity = model.contractActivity; this.differential = model.differential; this.differentialName = model.differentialName; this.isContractActivity = model.isContractActivity; this.isShow = model.isShow; this.listPrice = model.listPrice; this.monthPrice = model.monthPrice; this.originalStandAmount = model.originalStandAmount; } /** * <p>The price reduction rate.</p> * * <strong>example:</strong> * <p>30%</p> */ public Builder cheapRate(Long cheapRate) { this.cheapRate = cheapRate; return this; } /** * <p>The new total price displayed on the official website.</p> * * <strong>example:</strong> * <p>9*</p> */ public Builder cheapStandAmount(Long cheapStandAmount) { this.cheapStandAmount = cheapStandAmount; return this; } /** * <p>The activity information.</p> */ public Builder contractActivity(ContractActivity contractActivity) { this.contractActivity = contractActivity; return this; } /** * <p>The promotional offer (displayed in the total order amount).</p> * * <strong>example:</strong> * <p>**</p> */ public Builder differential(Long differential) { this.differential = differential; return this; } /** * <p>The name of the promotional offer.</p> * * <strong>example:</strong> * <p>XXXXX</p> */ public Builder differentialName(String differentialName) { this.differentialName = differentialName; return this; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder isContractActivity(Boolean isContractActivity) { this.isContractActivity = isContractActivity; return this; } /** * <p>Indicates whether the price reduction rate is displayed.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isShow(Boolean isShow) { this.isShow = isShow; return this; } /** * <p>The list price.</p> * * <strong>example:</strong> * <p>1*</p> */ public Builder listPrice(Long listPrice) { this.listPrice = listPrice; return this; } /** * <p>The monthly price.</p> * * <strong>example:</strong> * <p>**</p> */ public Builder monthPrice(Long monthPrice) { this.monthPrice = monthPrice; return this; } /** * <p>The original total price displayed on the official website.</p> * * <strong>example:</strong> * <p>12*</p> */ public Builder originalStandAmount(Long originalStandAmount) { this.originalStandAmount = originalStandAmount; return this; } public DepreciateInfo build() { return new DepreciateInfo(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class RuleIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuleId") private java.util.List<String> ruleId; private RuleIds(Builder builder) { this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static RuleIds create() { return builder().build(); } /** * @return ruleId */ public java.util.List<String> getRuleId() { return this.ruleId; } public static final class Builder { private java.util.List<String> ruleId; private Builder() { } private Builder(RuleIds model) { this.ruleId = model.ruleId; } /** * RuleId. */ public Builder ruleId(java.util.List<String> ruleId) { this.ruleId = ruleId; return this; } public RuleIds build() { return new RuleIds(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Order extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Coupons") private Coupons coupons; @com.aliyun.core.annotation.NameInMap("Currency") private String currency; @com.aliyun.core.annotation.NameInMap("DepreciateInfo") private DepreciateInfo depreciateInfo; @com.aliyun.core.annotation.NameInMap("DiscountAmount") private String discountAmount; @com.aliyun.core.annotation.NameInMap("HandlingFeeAmount") private String handlingFeeAmount; @com.aliyun.core.annotation.NameInMap("IsContractActivity") private Boolean isContractActivity; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("OriginalAmount") private String originalAmount; @com.aliyun.core.annotation.NameInMap("RuleIds") private RuleIds ruleIds; @com.aliyun.core.annotation.NameInMap("ShowDiscountInfo") private Boolean showDiscountInfo; @com.aliyun.core.annotation.NameInMap("StandDiscountPrice") private Long standDiscountPrice; @com.aliyun.core.annotation.NameInMap("StandPrice") private Long standPrice; @com.aliyun.core.annotation.NameInMap("TradeAmount") private String tradeAmount; private Order(Builder builder) { this.code = builder.code; this.coupons = builder.coupons; this.currency = builder.currency; this.depreciateInfo = builder.depreciateInfo; this.discountAmount = builder.discountAmount; this.handlingFeeAmount = builder.handlingFeeAmount; this.isContractActivity = builder.isContractActivity; this.message = builder.message; this.originalAmount = builder.originalAmount; this.ruleIds = builder.ruleIds; this.showDiscountInfo = builder.showDiscountInfo; this.standDiscountPrice = builder.standDiscountPrice; this.standPrice = builder.standPrice; this.tradeAmount = builder.tradeAmount; } public static Builder builder() { return new Builder(); } public static Order create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return coupons */ public Coupons getCoupons() { return this.coupons; } /** * @return currency */ public String getCurrency() { return this.currency; } /** * @return depreciateInfo */ public DepreciateInfo getDepreciateInfo() { return this.depreciateInfo; } /** * @return discountAmount */ public String getDiscountAmount() { return this.discountAmount; } /** * @return handlingFeeAmount */ public String getHandlingFeeAmount() { return this.handlingFeeAmount; } /** * @return isContractActivity */ public Boolean getIsContractActivity() { return this.isContractActivity; } /** * @return message */ public String getMessage() { return this.message; } /** * @return originalAmount */ public String getOriginalAmount() { return this.originalAmount; } /** * @return ruleIds */ public RuleIds getRuleIds() { return this.ruleIds; } /** * @return showDiscountInfo */ public Boolean getShowDiscountInfo() { return this.showDiscountInfo; } /** * @return standDiscountPrice */ public Long getStandDiscountPrice() { return this.standDiscountPrice; } /** * @return standPrice */ public Long getStandPrice() { return this.standPrice; } /** * @return tradeAmount */ public String getTradeAmount() { return this.tradeAmount; } public static final class Builder { private String code; private Coupons coupons; private String currency; private DepreciateInfo depreciateInfo; private String discountAmount; private String handlingFeeAmount; private Boolean isContractActivity; private String message; private String originalAmount; private RuleIds ruleIds; private Boolean showDiscountInfo; private Long standDiscountPrice; private Long standPrice; private String tradeAmount; private Builder() { } private Builder(Order model) { this.code = model.code; this.coupons = model.coupons; this.currency = model.currency; this.depreciateInfo = model.depreciateInfo; this.discountAmount = model.discountAmount; this.handlingFeeAmount = model.handlingFeeAmount; this.isContractActivity = model.isContractActivity; this.message = model.message; this.originalAmount = model.originalAmount; this.ruleIds = model.ruleIds; this.showDiscountInfo = model.showDiscountInfo; this.standDiscountPrice = model.standDiscountPrice; this.standPrice = model.standPrice; this.tradeAmount = model.tradeAmount; } /** * <p>The order code.</p> * * <strong>example:</strong> * <p>&quot;&quot;</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>Details about coupons.</p> */ public Builder coupons(Coupons coupons) { this.coupons = coupons; return this; } /** * <p>The currency used for payment. A value of CNY is used when the order was generated on the China site (aliyun.com), and a value of USD is used when the order was generated on the international site (alibabacloud.com).</p> * * <strong>example:</strong> * <p>CNY</p> */ public Builder currency(String currency) { this.currency = currency; return this; } /** * <p>The activity information.</p> */ public Builder depreciateInfo(DepreciateInfo depreciateInfo) { this.depreciateInfo = depreciateInfo; return this; } /** * <p>The discount amount of the order.</p> * * <strong>example:</strong> * <p>0.21</p> */ public Builder discountAmount(String discountAmount) { this.discountAmount = discountAmount; return this; } /** * <p>The service fees of the order.</p> * * <strong>example:</strong> * <p>0.1</p> */ public Builder handlingFeeAmount(String handlingFeeAmount) { this.handlingFeeAmount = handlingFeeAmount; return this; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder isContractActivity(Boolean isContractActivity) { this.isContractActivity = isContractActivity; return this; } /** * <p>The information about the order.</p> * * <strong>example:</strong> * <p>&quot;&quot;</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The original price of the order.</p> * * <strong>example:</strong> * <p>0.21</p> */ public Builder originalAmount(String originalAmount) { this.originalAmount = originalAmount; return this; } /** * <p>The rule IDs.</p> */ public Builder ruleIds(RuleIds ruleIds) { this.ruleIds = ruleIds; return this; } /** * <p>Indicates whether the discount information is displayed.</p> */ public Builder showDiscountInfo(Boolean showDiscountInfo) { this.showDiscountInfo = showDiscountInfo; return this; } /** * <p>The discount.</p> * * <strong>example:</strong> * <hr> */ public Builder standDiscountPrice(Long standDiscountPrice) { this.standDiscountPrice = standDiscountPrice; return this; } /** * <p>The discounted price.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder standPrice(Long standPrice) { this.standPrice = standPrice; return this; } /** * <p>The transaction price of the order.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder tradeAmount(String tradeAmount) { this.tradeAmount = tradeAmount; return this; } public Order build() { return new Order(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Rule extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RuleDescId") private Long ruleDescId; @com.aliyun.core.annotation.NameInMap("Title") private String title; private Rule(Builder builder) { this.name = builder.name; this.ruleDescId = builder.ruleDescId; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static Rule create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return ruleDescId */ public Long getRuleDescId() { return this.ruleDescId; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String name; private Long ruleDescId; private String title; private Builder() { } private Builder(Rule model) { this.name = model.name; this.ruleDescId = model.ruleDescId; this.title = model.title; } /** * <p>The name of the rule.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>1111111111</p> */ public Builder ruleDescId(Long ruleDescId) { this.ruleDescId = ruleDescId; return this; } /** * <p>The title of the rule.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder title(String title) { this.title = title; return this; } public Rule build() { return new Rule(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Rules extends TeaModel { @com.aliyun.core.annotation.NameInMap("Rule") private java.util.List<Rule> rule; private Rules(Builder builder) { this.rule = builder.rule; } public static Builder builder() { return new Builder(); } public static Rules create() { return builder().build(); } /** * @return rule */ public java.util.List<Rule> getRule() { return this.rule; } public static final class Builder { private java.util.List<Rule> rule; private Builder() { } private Builder(Rules model) { this.rule = model.rule; } /** * Rule. */ public Builder rule(java.util.List<Rule> rule) { this.rule = rule; return this; } public Rules build() { return new Rules(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ContractActivityOptionIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("OptionId") private java.util.List<Long> optionId; private ContractActivityOptionIds(Builder builder) { this.optionId = builder.optionId; } public static Builder builder() { return new Builder(); } public static ContractActivityOptionIds create() { return builder().build(); } /** * @return optionId */ public java.util.List<Long> getOptionId() { return this.optionId; } public static final class Builder { private java.util.List<Long> optionId; private Builder() { } private Builder(ContractActivityOptionIds model) { this.optionId = model.optionId; } /** * OptionId. */ public Builder optionId(java.util.List<Long> optionId) { this.optionId = optionId; return this; } public ContractActivityOptionIds build() { return new ContractActivityOptionIds(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class DepreciateInfoContractActivity extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivityId") private Long activityId; @com.aliyun.core.annotation.NameInMap("ActivityName") private String activityName; @com.aliyun.core.annotation.NameInMap("FinalFee") private Double finalFee; @com.aliyun.core.annotation.NameInMap("FinalPromFee") private Double finalPromFee; @com.aliyun.core.annotation.NameInMap("OptionCode") private String optionCode; @com.aliyun.core.annotation.NameInMap("OptionIds") private ContractActivityOptionIds optionIds; @com.aliyun.core.annotation.NameInMap("ProdFee") private Double prodFee; private DepreciateInfoContractActivity(Builder builder) { this.activityId = builder.activityId; this.activityName = builder.activityName; this.finalFee = builder.finalFee; this.finalPromFee = builder.finalPromFee; this.optionCode = builder.optionCode; this.optionIds = builder.optionIds; this.prodFee = builder.prodFee; } public static Builder builder() { return new Builder(); } public static DepreciateInfoContractActivity create() { return builder().build(); } /** * @return activityId */ public Long getActivityId() { return this.activityId; } /** * @return activityName */ public String getActivityName() { return this.activityName; } /** * @return finalFee */ public Double getFinalFee() { return this.finalFee; } /** * @return finalPromFee */ public Double getFinalPromFee() { return this.finalPromFee; } /** * @return optionCode */ public String getOptionCode() { return this.optionCode; } /** * @return optionIds */ public ContractActivityOptionIds getOptionIds() { return this.optionIds; } /** * @return prodFee */ public Double getProdFee() { return this.prodFee; } public static final class Builder { private Long activityId; private String activityName; private Double finalFee; private Double finalPromFee; private String optionCode; private ContractActivityOptionIds optionIds; private Double prodFee; private Builder() { } private Builder(DepreciateInfoContractActivity model) { this.activityId = model.activityId; this.activityName = model.activityName; this.finalFee = model.finalFee; this.finalPromFee = model.finalPromFee; this.optionCode = model.optionCode; this.optionIds = model.optionIds; this.prodFee = model.prodFee; } /** * <p>The activity ID.</p> * * <strong>example:</strong> * <p>1412025702634847</p> */ public Builder activityId(Long activityId) { this.activityId = activityId; return this; } /** * <p>The activity name.</p> * * <strong>example:</strong> * <hr> */ public Builder activityName(String activityName) { this.activityName = activityName; return this; } /** * <p>The preferential price.</p> * * <strong>example:</strong> * <hr> */ public Builder finalFee(Double finalFee) { this.finalFee = finalFee; return this; } /** * <p>The total discount amount.</p> * * <strong>example:</strong> * <hr> */ public Builder finalPromFee(Double finalPromFee) { this.finalPromFee = finalPromFee; return this; } /** * <p>The promotion ID.</p> * * <strong>example:</strong> * <hr> */ public Builder optionCode(String optionCode) { this.optionCode = optionCode; return this; } /** * <p>The promotion IDs.</p> */ public Builder optionIds(ContractActivityOptionIds optionIds) { this.optionIds = optionIds; return this; } /** * <p>The original price.</p> * * <strong>example:</strong> * <hr> */ public Builder prodFee(Double prodFee) { this.prodFee = prodFee; return this; } public DepreciateInfoContractActivity build() { return new DepreciateInfoContractActivity(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class SubOrderDepreciateInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheapRate") private Long cheapRate; @com.aliyun.core.annotation.NameInMap("CheapStandAmount") private Long cheapStandAmount; @com.aliyun.core.annotation.NameInMap("ContractActivity") private DepreciateInfoContractActivity contractActivity; @com.aliyun.core.annotation.NameInMap("Differential") private Long differential; @com.aliyun.core.annotation.NameInMap("DifferentialName") private String differentialName; @com.aliyun.core.annotation.NameInMap("IsContractActivity") private Boolean isContractActivity; @com.aliyun.core.annotation.NameInMap("ListPrice") private Long listPrice; @com.aliyun.core.annotation.NameInMap("MonthPrice") private Long monthPrice; @com.aliyun.core.annotation.NameInMap("OriginalStandAmount") private Long originalStandAmount; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private SubOrderDepreciateInfo(Builder builder) { this.cheapRate = builder.cheapRate; this.cheapStandAmount = builder.cheapStandAmount; this.contractActivity = builder.contractActivity; this.differential = builder.differential; this.differentialName = builder.differentialName; this.isContractActivity = builder.isContractActivity; this.listPrice = builder.listPrice; this.monthPrice = builder.monthPrice; this.originalStandAmount = builder.originalStandAmount; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static SubOrderDepreciateInfo create() { return builder().build(); } /** * @return cheapRate */ public Long getCheapRate() { return this.cheapRate; } /** * @return cheapStandAmount */ public Long getCheapStandAmount() { return this.cheapStandAmount; } /** * @return contractActivity */ public DepreciateInfoContractActivity getContractActivity() { return this.contractActivity; } /** * @return differential */ public Long getDifferential() { return this.differential; } /** * @return differentialName */ public String getDifferentialName() { return this.differentialName; } /** * @return isContractActivity */ public Boolean getIsContractActivity() { return this.isContractActivity; } /** * @return listPrice */ public Long getListPrice() { return this.listPrice; } /** * @return monthPrice */ public Long getMonthPrice() { return this.monthPrice; } /** * @return originalStandAmount */ public Long getOriginalStandAmount() { return this.originalStandAmount; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private Long cheapRate; private Long cheapStandAmount; private DepreciateInfoContractActivity contractActivity; private Long differential; private String differentialName; private Boolean isContractActivity; private Long listPrice; private Long monthPrice; private Long originalStandAmount; private String startTime; private Builder() { } private Builder(SubOrderDepreciateInfo model) { this.cheapRate = model.cheapRate; this.cheapStandAmount = model.cheapStandAmount; this.contractActivity = model.contractActivity; this.differential = model.differential; this.differentialName = model.differentialName; this.isContractActivity = model.isContractActivity; this.listPrice = model.listPrice; this.monthPrice = model.monthPrice; this.originalStandAmount = model.originalStandAmount; this.startTime = model.startTime; } /** * <p>The price reduction rate.</p> * * <strong>example:</strong> * <hr> */ public Builder cheapRate(Long cheapRate) { this.cheapRate = cheapRate; return this; } /** * <p>The new total price displayed on the official website.</p> * * <strong>example:</strong> * <hr> */ public Builder cheapStandAmount(Long cheapStandAmount) { this.cheapStandAmount = cheapStandAmount; return this; } /** * <p>The contract promotion.</p> */ public Builder contractActivity(DepreciateInfoContractActivity contractActivity) { this.contractActivity = contractActivity; return this; } /** * <p>The promotional offer (displayed in the total order amount).</p> * * <strong>example:</strong> * <hr> */ public Builder differential(Long differential) { this.differential = differential; return this; } /** * <p>The name of the promotional offer.</p> * * <strong>example:</strong> * <hr> */ public Builder differentialName(String differentialName) { this.differentialName = differentialName; return this; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder isContractActivity(Boolean isContractActivity) { this.isContractActivity = isContractActivity; return this; } /** * <p>The list price.</p> * * <strong>example:</strong> * <hr> */ public Builder listPrice(Long listPrice) { this.listPrice = listPrice; return this; } /** * <p>The monthly price.</p> * * <strong>example:</strong> * <hr> */ public Builder monthPrice(Long monthPrice) { this.monthPrice = monthPrice; return this; } /** * <p>The original total price displayed on the official website.</p> * * <strong>example:</strong> * <hr> */ public Builder originalStandAmount(Long originalStandAmount) { this.originalStandAmount = originalStandAmount; return this; } /** * <p>The start time of the activity.</p> * * <strong>example:</strong> * <p>2024-11-18T00:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public SubOrderDepreciateInfo build() { return new SubOrderDepreciateInfo(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ModuleInstanceDepreciateInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheapRate") private Double cheapRate; @com.aliyun.core.annotation.NameInMap("CheapStandAmount") private Double cheapStandAmount; @com.aliyun.core.annotation.NameInMap("Differential") private Double differential; @com.aliyun.core.annotation.NameInMap("DifferentialName") private String differentialName; @com.aliyun.core.annotation.NameInMap("IsContractActivity") private Boolean isContractActivity; @com.aliyun.core.annotation.NameInMap("IsShow") private Boolean isShow; @com.aliyun.core.annotation.NameInMap("ListPrice") private Double listPrice; @com.aliyun.core.annotation.NameInMap("MonthPrice") private Double monthPrice; @com.aliyun.core.annotation.NameInMap("OriginalStandAmount") private Double originalStandAmount; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private ModuleInstanceDepreciateInfo(Builder builder) { this.cheapRate = builder.cheapRate; this.cheapStandAmount = builder.cheapStandAmount; this.differential = builder.differential; this.differentialName = builder.differentialName; this.isContractActivity = builder.isContractActivity; this.isShow = builder.isShow; this.listPrice = builder.listPrice; this.monthPrice = builder.monthPrice; this.originalStandAmount = builder.originalStandAmount; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static ModuleInstanceDepreciateInfo create() { return builder().build(); } /** * @return cheapRate */ public Double getCheapRate() { return this.cheapRate; } /** * @return cheapStandAmount */ public Double getCheapStandAmount() { return this.cheapStandAmount; } /** * @return differential */ public Double getDifferential() { return this.differential; } /** * @return differentialName */ public String getDifferentialName() { return this.differentialName; } /** * @return isContractActivity */ public Boolean getIsContractActivity() { return this.isContractActivity; } /** * @return isShow */ public Boolean getIsShow() { return this.isShow; } /** * @return listPrice */ public Double getListPrice() { return this.listPrice; } /** * @return monthPrice */ public Double getMonthPrice() { return this.monthPrice; } /** * @return originalStandAmount */ public Double getOriginalStandAmount() { return this.originalStandAmount; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private Double cheapRate; private Double cheapStandAmount; private Double differential; private String differentialName; private Boolean isContractActivity; private Boolean isShow; private Double listPrice; private Double monthPrice; private Double originalStandAmount; private String startTime; private Builder() { } private Builder(ModuleInstanceDepreciateInfo model) { this.cheapRate = model.cheapRate; this.cheapStandAmount = model.cheapStandAmount; this.differential = model.differential; this.differentialName = model.differentialName; this.isContractActivity = model.isContractActivity; this.isShow = model.isShow; this.listPrice = model.listPrice; this.monthPrice = model.monthPrice; this.originalStandAmount = model.originalStandAmount; this.startTime = model.startTime; } /** * <p>The price reduction rate.</p> * * <strong>example:</strong> * <hr> */ public Builder cheapRate(Double cheapRate) { this.cheapRate = cheapRate; return this; } /** * <p>The new total price displayed on the official website.</p> * * <strong>example:</strong> * <hr> */ public Builder cheapStandAmount(Double cheapStandAmount) { this.cheapStandAmount = cheapStandAmount; return this; } /** * <p>The promotional offer (displayed in the total order amount).</p> * * <strong>example:</strong> * <hr> */ public Builder differential(Double differential) { this.differential = differential; return this; } /** * <p>The name of the promotional offer.</p> * * <strong>example:</strong> * <hr> */ public Builder differentialName(String differentialName) { this.differentialName = differentialName; return this; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <hr> */ public Builder isContractActivity(Boolean isContractActivity) { this.isContractActivity = isContractActivity; return this; } /** * <p>Indicates whether the price reduction rate is displayed.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isShow(Boolean isShow) { this.isShow = isShow; return this; } /** * <p>The list price.</p> * * <strong>example:</strong> * <hr> */ public Builder listPrice(Double listPrice) { this.listPrice = listPrice; return this; } /** * <p>The monthly price.</p> * * <strong>example:</strong> * <hr> */ public Builder monthPrice(Double monthPrice) { this.monthPrice = monthPrice; return this; } /** * <p>The original total price displayed on the official website.</p> * * <strong>example:</strong> * <hr> */ public Builder originalStandAmount(Double originalStandAmount) { this.originalStandAmount = originalStandAmount; return this; } /** * <p>The start time of the activity.</p> * * <strong>example:</strong> * <p>2024-09-23T14:00:01Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public ModuleInstanceDepreciateInfo build() { return new ModuleInstanceDepreciateInfo(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ModuleAttr extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private Long type; @com.aliyun.core.annotation.NameInMap("Value") private String value; private ModuleAttr(Builder builder) { this.code = builder.code; this.name = builder.name; this.type = builder.type; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static ModuleAttr create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public Long getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String code; private String name; private Long type; private String value; private Builder() { } private Builder(ModuleAttr model) { this.code = model.code; this.name = model.name; this.type = model.type; this.value = model.value; } /** * <p>The attribute code.</p> * * <strong>example:</strong> * <hr> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The attribute name.</p> * * <strong>example:</strong> * <hr> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The attribute type.</p> * * <strong>example:</strong> * <hr> */ public Builder type(Long type) { this.type = type; return this; } /** * <p>The attribute value.</p> * * <strong>example:</strong> * <hr> */ public Builder value(String value) { this.value = value; return this; } public ModuleAttr build() { return new ModuleAttr(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ModuleAttrs extends TeaModel { @com.aliyun.core.annotation.NameInMap("moduleAttr") private java.util.List<ModuleAttr> moduleAttr; private ModuleAttrs(Builder builder) { this.moduleAttr = builder.moduleAttr; } public static Builder builder() { return new Builder(); } public static ModuleAttrs create() { return builder().build(); } /** * @return moduleAttr */ public java.util.List<ModuleAttr> getModuleAttr() { return this.moduleAttr; } public static final class Builder { private java.util.List<ModuleAttr> moduleAttr; private Builder() { } private Builder(ModuleAttrs model) { this.moduleAttr = model.moduleAttr; } /** * moduleAttr. */ public Builder moduleAttr(java.util.List<ModuleAttr> moduleAttr) { this.moduleAttr = moduleAttr; return this; } public ModuleAttrs build() { return new ModuleAttrs(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ModuleInstance extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContractActivity") private Boolean contractActivity; @com.aliyun.core.annotation.NameInMap("DepreciateInfo") private ModuleInstanceDepreciateInfo depreciateInfo; @com.aliyun.core.annotation.NameInMap("DiscountFee") private Double discountFee; @com.aliyun.core.annotation.NameInMap("ModuleAttrs") private ModuleAttrs moduleAttrs; @com.aliyun.core.annotation.NameInMap("ModuleCode") private String moduleCode; @com.aliyun.core.annotation.NameInMap("ModuleId") private String moduleId; @com.aliyun.core.annotation.NameInMap("ModuleName") private String moduleName; @com.aliyun.core.annotation.NameInMap("NeedOrderPay") private Boolean needOrderPay; @com.aliyun.core.annotation.NameInMap("PayFee") private Double payFee; @com.aliyun.core.annotation.NameInMap("PricingModule") private Boolean pricingModule; @com.aliyun.core.annotation.NameInMap("StandPrice") private Double standPrice; @com.aliyun.core.annotation.NameInMap("TotalProductFee") private Double totalProductFee; private ModuleInstance(Builder builder) { this.contractActivity = builder.contractActivity; this.depreciateInfo = builder.depreciateInfo; this.discountFee = builder.discountFee; this.moduleAttrs = builder.moduleAttrs; this.moduleCode = builder.moduleCode; this.moduleId = builder.moduleId; this.moduleName = builder.moduleName; this.needOrderPay = builder.needOrderPay; this.payFee = builder.payFee; this.pricingModule = builder.pricingModule; this.standPrice = builder.standPrice; this.totalProductFee = builder.totalProductFee; } public static Builder builder() { return new Builder(); } public static ModuleInstance create() { return builder().build(); } /** * @return contractActivity */ public Boolean getContractActivity() { return this.contractActivity; } /** * @return depreciateInfo */ public ModuleInstanceDepreciateInfo getDepreciateInfo() { return this.depreciateInfo; } /** * @return discountFee */ public Double getDiscountFee() { return this.discountFee; } /** * @return moduleAttrs */ public ModuleAttrs getModuleAttrs() { return this.moduleAttrs; } /** * @return moduleCode */ public String getModuleCode() { return this.moduleCode; } /** * @return moduleId */ public String getModuleId() { return this.moduleId; } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } /** * @return needOrderPay */ public Boolean getNeedOrderPay() { return this.needOrderPay; } /** * @return payFee */ public Double getPayFee() { return this.payFee; } /** * @return pricingModule */ public Boolean getPricingModule() { return this.pricingModule; } /** * @return standPrice */ public Double getStandPrice() { return this.standPrice; } /** * @return totalProductFee */ public Double getTotalProductFee() { return this.totalProductFee; } public static final class Builder { private Boolean contractActivity; private ModuleInstanceDepreciateInfo depreciateInfo; private Double discountFee; private ModuleAttrs moduleAttrs; private String moduleCode; private String moduleId; private String moduleName; private Boolean needOrderPay; private Double payFee; private Boolean pricingModule; private Double standPrice; private Double totalProductFee; private Builder() { } private Builder(ModuleInstance model) { this.contractActivity = model.contractActivity; this.depreciateInfo = model.depreciateInfo; this.discountFee = model.discountFee; this.moduleAttrs = model.moduleAttrs; this.moduleCode = model.moduleCode; this.moduleId = model.moduleId; this.moduleName = model.moduleName; this.needOrderPay = model.needOrderPay; this.payFee = model.payFee; this.pricingModule = model.pricingModule; this.standPrice = model.standPrice; this.totalProductFee = model.totalProductFee; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <hr> */ public Builder contractActivity(Boolean contractActivity) { this.contractActivity = contractActivity; return this; } /** * <p>The price reduction information.</p> */ public Builder depreciateInfo(ModuleInstanceDepreciateInfo depreciateInfo) { this.depreciateInfo = depreciateInfo; return this; } /** * <p>The discount.</p> * * <strong>example:</strong> * <hr> */ public Builder discountFee(Double discountFee) { this.discountFee = discountFee; return this; } /** * <p>The module attributes.</p> */ public Builder moduleAttrs(ModuleAttrs moduleAttrs) { this.moduleAttrs = moduleAttrs; return this; } /** * <p>The module code.</p> * * <strong>example:</strong> * <hr> */ public Builder moduleCode(String moduleCode) { this.moduleCode = moduleCode; return this; } /** * <p>The module ID.</p> * * <strong>example:</strong> * <hr> */ public Builder moduleId(String moduleId) { this.moduleId = moduleId; return this; } /** * <p>The module name.</p> * * <strong>example:</strong> * <hr> */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } /** * <p>Indicates whether the order is paid.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder needOrderPay(Boolean needOrderPay) { this.needOrderPay = needOrderPay; return this; } /** * <p>The actual amount paid.</p> * * <strong>example:</strong> * <p>0.0</p> */ public Builder payFee(Double payFee) { this.payFee = payFee; return this; } /** * <p>Indicates whether the item is billed.</p> * * <strong>example:</strong> * <hr> */ public Builder pricingModule(Boolean pricingModule) { this.pricingModule = pricingModule; return this; } /** * <p>The discounted price.</p> * * <strong>example:</strong> * <hr> */ public Builder standPrice(Double standPrice) { this.standPrice = standPrice; return this; } /** * <p>The original price of the instance.</p> * * <strong>example:</strong> * <p>0.0</p> */ public Builder totalProductFee(Double totalProductFee) { this.totalProductFee = totalProductFee; return this; } public ModuleInstance build() { return new ModuleInstance(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class SubOrderModuleInstance extends TeaModel { @com.aliyun.core.annotation.NameInMap("ModuleInstance") private java.util.List<ModuleInstance> moduleInstance; private SubOrderModuleInstance(Builder builder) { this.moduleInstance = builder.moduleInstance; } public static Builder builder() { return new Builder(); } public static SubOrderModuleInstance create() { return builder().build(); } /** * @return moduleInstance */ public java.util.List<ModuleInstance> getModuleInstance() { return this.moduleInstance; } public static final class Builder { private java.util.List<ModuleInstance> moduleInstance; private Builder() { } private Builder(SubOrderModuleInstance model) { this.moduleInstance = model.moduleInstance; } /** * ModuleInstance. */ public Builder moduleInstance(java.util.List<ModuleInstance> moduleInstance) { this.moduleInstance = moduleInstance; return this; } public SubOrderModuleInstance build() { return new SubOrderModuleInstance(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class OptionalPromotion extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivityExtInfo") private java.util.Map<String, ?> activityExtInfo; @com.aliyun.core.annotation.NameInMap("CanPromFee") private String canPromFee; @com.aliyun.core.annotation.NameInMap("CouponNo") private String couponNo; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("OptionCode") private String optionCode; @com.aliyun.core.annotation.NameInMap("PromotionName") private String promotionName; @com.aliyun.core.annotation.NameInMap("PromotionOptionNo") private String promotionOptionNo; @com.aliyun.core.annotation.NameInMap("Selected") private Boolean selected; @com.aliyun.core.annotation.NameInMap("Show") private Boolean show; private OptionalPromotion(Builder builder) { this.activityExtInfo = builder.activityExtInfo; this.canPromFee = builder.canPromFee; this.couponNo = builder.couponNo; this.description = builder.description; this.name = builder.name; this.optionCode = builder.optionCode; this.promotionName = builder.promotionName; this.promotionOptionNo = builder.promotionOptionNo; this.selected = builder.selected; this.show = builder.show; } public static Builder builder() { return new Builder(); } public static OptionalPromotion create() { return builder().build(); } /** * @return activityExtInfo */ public java.util.Map<String, ?> getActivityExtInfo() { return this.activityExtInfo; } /** * @return canPromFee */ public String getCanPromFee() { return this.canPromFee; } /** * @return couponNo */ public String getCouponNo() { return this.couponNo; } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return optionCode */ public String getOptionCode() { return this.optionCode; } /** * @return promotionName */ public String getPromotionName() { return this.promotionName; } /** * @return promotionOptionNo */ public String getPromotionOptionNo() { return this.promotionOptionNo; } /** * @return selected */ public Boolean getSelected() { return this.selected; } /** * @return show */ public Boolean getShow() { return this.show; } public static final class Builder { private java.util.Map<String, ?> activityExtInfo; private String canPromFee; private String couponNo; private String description; private String name; private String optionCode; private String promotionName; private String promotionOptionNo; private Boolean selected; private Boolean show; private Builder() { } private Builder(OptionalPromotion model) { this.activityExtInfo = model.activityExtInfo; this.canPromFee = model.canPromFee; this.couponNo = model.couponNo; this.description = model.description; this.name = model.name; this.optionCode = model.optionCode; this.promotionName = model.promotionName; this.promotionOptionNo = model.promotionOptionNo; this.selected = model.selected; this.show = model.show; } /** * <p>The additional activity information.</p> * * <strong>example:</strong> * <hr> */ public Builder activityExtInfo(java.util.Map<String, ?> activityExtInfo) { this.activityExtInfo = activityExtInfo; return this; } /** * <p>The amount that can be deducted by using the coupon.</p> * * <strong>example:</strong> * <hr> */ public Builder canPromFee(String canPromFee) { this.canPromFee = canPromFee; return this; } /** * <p>Indicates whether coupons are used. Valid values:</p> * <ul> * <li>default or null (default): Coupons are used.</li> * <li>youhuiquan_promotion_option_id_for_blank: Coupons are not used.</li> * </ul> * * <strong>example:</strong> * <p>default</p> */ public Builder couponNo(String couponNo) { this.couponNo = couponNo; return this; } /** * <p>The description of the coupon.</p> * * <strong>example:</strong> * <hr> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The coupon name.</p> * * <strong>example:</strong> * <hr> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The promotion code.</p> * * <strong>example:</strong> * <hr> */ public Builder optionCode(String optionCode) { this.optionCode = optionCode; return this; } /** * <p>The promotion name.</p> * * <strong>example:</strong> * <hr> */ public Builder promotionName(String promotionName) { this.promotionName = promotionName; return this; } /** * <p>The promotion ID.</p> * * <strong>example:</strong> * <p>youhuiquan_promotion_option_id_for_blank</p> */ public Builder promotionOptionNo(String promotionOptionNo) { this.promotionOptionNo = promotionOptionNo; return this; } /** * <p>Indicates whether the promotion option is selected.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder selected(Boolean selected) { this.selected = selected; return this; } /** * <p>Indicates whether the discount is displayed.</p> * * <strong>example:</strong> * <p>False</p> */ public Builder show(Boolean show) { this.show = show; return this; } public OptionalPromotion build() { return new OptionalPromotion(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class OptionalPromotions extends TeaModel { @com.aliyun.core.annotation.NameInMap("OptionalPromotion") private java.util.List<OptionalPromotion> optionalPromotion; private OptionalPromotions(Builder builder) { this.optionalPromotion = builder.optionalPromotion; } public static Builder builder() { return new Builder(); } public static OptionalPromotions create() { return builder().build(); } /** * @return optionalPromotion */ public java.util.List<OptionalPromotion> getOptionalPromotion() { return this.optionalPromotion; } public static final class Builder { private java.util.List<OptionalPromotion> optionalPromotion; private Builder() { } private Builder(OptionalPromotions model) { this.optionalPromotion = model.optionalPromotion; } /** * OptionalPromotion. */ public Builder optionalPromotion(java.util.List<OptionalPromotion> optionalPromotion) { this.optionalPromotion = optionalPromotion; return this; } public OptionalPromotions build() { return new OptionalPromotions(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class PromDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivityExtInfo") private java.util.Map<String, ?> activityExtInfo; @com.aliyun.core.annotation.NameInMap("DerivedPromType") private String derivedPromType; @com.aliyun.core.annotation.NameInMap("FinalPromFee") private Double finalPromFee; @com.aliyun.core.annotation.NameInMap("OptionCode") private String optionCode; @com.aliyun.core.annotation.NameInMap("PromType") private String promType; @com.aliyun.core.annotation.NameInMap("PromotionCode") private String promotionCode; @com.aliyun.core.annotation.NameInMap("PromotionId") private Long promotionId; @com.aliyun.core.annotation.NameInMap("PromotionName") private String promotionName; private PromDetail(Builder builder) { this.activityExtInfo = builder.activityExtInfo; this.derivedPromType = builder.derivedPromType; this.finalPromFee = builder.finalPromFee; this.optionCode = builder.optionCode; this.promType = builder.promType; this.promotionCode = builder.promotionCode; this.promotionId = builder.promotionId; this.promotionName = builder.promotionName; } public static Builder builder() { return new Builder(); } public static PromDetail create() { return builder().build(); } /** * @return activityExtInfo */ public java.util.Map<String, ?> getActivityExtInfo() { return this.activityExtInfo; } /** * @return derivedPromType */ public String getDerivedPromType() { return this.derivedPromType; } /** * @return finalPromFee */ public Double getFinalPromFee() { return this.finalPromFee; } /** * @return optionCode */ public String getOptionCode() { return this.optionCode; } /** * @return promType */ public String getPromType() { return this.promType; } /** * @return promotionCode */ public String getPromotionCode() { return this.promotionCode; } /** * @return promotionId */ public Long getPromotionId() { return this.promotionId; } /** * @return promotionName */ public String getPromotionName() { return this.promotionName; } public static final class Builder { private java.util.Map<String, ?> activityExtInfo; private String derivedPromType; private Double finalPromFee; private String optionCode; private String promType; private String promotionCode; private Long promotionId; private String promotionName; private Builder() { } private Builder(PromDetail model) { this.activityExtInfo = model.activityExtInfo; this.derivedPromType = model.derivedPromType; this.finalPromFee = model.finalPromFee; this.optionCode = model.optionCode; this.promType = model.promType; this.promotionCode = model.promotionCode; this.promotionId = model.promotionId; this.promotionName = model.promotionName; } /** * <p>The additional activity information.</p> * * <strong>example:</strong> * <hr> */ public Builder activityExtInfo(java.util.Map<String, ?> activityExtInfo) { this.activityExtInfo = activityExtInfo; return this; } /** * <p>The derived promotion type.</p> * * <strong>example:</strong> * <hr> */ public Builder derivedPromType(String derivedPromType) { this.derivedPromType = derivedPromType; return this; } /** * <p>The discount amount.</p> * * <strong>example:</strong> * <hr> */ public Builder finalPromFee(Double finalPromFee) { this.finalPromFee = finalPromFee; return this; } /** * <p>The coupon code.</p> * * <strong>example:</strong> * <hr> */ public Builder optionCode(String optionCode) { this.optionCode = optionCode; return this; } /** * <p>The promotion type.</p> * * <strong>example:</strong> * <hr> */ public Builder promType(String promType) { this.promType = promType; return this; } /** * <p>The promotion code.</p> * * <strong>example:</strong> * <hr> */ public Builder promotionCode(String promotionCode) { this.promotionCode = promotionCode; return this; } /** * <p>The promotion ID.</p> * * <strong>example:</strong> * <hr> */ public Builder promotionId(Long promotionId) { this.promotionId = promotionId; return this; } /** * <p>The promotion name.</p> * * <strong>example:</strong> * <hr> */ public Builder promotionName(String promotionName) { this.promotionName = promotionName; return this; } public PromDetail build() { return new PromDetail(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class PromDetailList extends TeaModel { @com.aliyun.core.annotation.NameInMap("PromDetail") private java.util.List<PromDetail> promDetail; private PromDetailList(Builder builder) { this.promDetail = builder.promDetail; } public static Builder builder() { return new Builder(); } public static PromDetailList create() { return builder().build(); } /** * @return promDetail */ public java.util.List<PromDetail> getPromDetail() { return this.promDetail; } public static final class Builder { private java.util.List<PromDetail> promDetail; private Builder() { } private Builder(PromDetailList model) { this.promDetail = model.promDetail; } /** * PromDetail. */ public Builder promDetail(java.util.List<PromDetail> promDetail) { this.promDetail = promDetail; return this; } public PromDetailList build() { return new PromDetailList(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class SubOrderRuleIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuleId") private java.util.List<String> ruleId; private SubOrderRuleIds(Builder builder) { this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static SubOrderRuleIds create() { return builder().build(); } /** * @return ruleId */ public java.util.List<String> getRuleId() { return this.ruleId; } public static final class Builder { private java.util.List<String> ruleId; private Builder() { } private Builder(SubOrderRuleIds model) { this.ruleId = model.ruleId; } /** * RuleId. */ public Builder ruleId(java.util.List<String> ruleId) { this.ruleId = ruleId; return this; } public SubOrderRuleIds build() { return new SubOrderRuleIds(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class SubOrder extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContractActivity") private Boolean contractActivity; @com.aliyun.core.annotation.NameInMap("DepreciateInfo") private SubOrderDepreciateInfo depreciateInfo; @com.aliyun.core.annotation.NameInMap("DiscountAmount") private String discountAmount; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("IsContractActivity") private Boolean isContractActivity; @com.aliyun.core.annotation.NameInMap("ModuleInstance") private SubOrderModuleInstance moduleInstance; @com.aliyun.core.annotation.NameInMap("OptionalPromotions") private OptionalPromotions optionalPromotions; @com.aliyun.core.annotation.NameInMap("OriginalAmount") private String originalAmount; @com.aliyun.core.annotation.NameInMap("PromDetailList") private PromDetailList promDetailList; @com.aliyun.core.annotation.NameInMap("RuleIds") private SubOrderRuleIds ruleIds; @com.aliyun.core.annotation.NameInMap("StandDiscountPrice") private Long standDiscountPrice; @com.aliyun.core.annotation.NameInMap("StandPrice") private Long standPrice; @com.aliyun.core.annotation.NameInMap("TradeAmount") private String tradeAmount; private SubOrder(Builder builder) { this.contractActivity = builder.contractActivity; this.depreciateInfo = builder.depreciateInfo; this.discountAmount = builder.discountAmount; this.instanceId = builder.instanceId; this.isContractActivity = builder.isContractActivity; this.moduleInstance = builder.moduleInstance; this.optionalPromotions = builder.optionalPromotions; this.originalAmount = builder.originalAmount; this.promDetailList = builder.promDetailList; this.ruleIds = builder.ruleIds; this.standDiscountPrice = builder.standDiscountPrice; this.standPrice = builder.standPrice; this.tradeAmount = builder.tradeAmount; } public static Builder builder() { return new Builder(); } public static SubOrder create() { return builder().build(); } /** * @return contractActivity */ public Boolean getContractActivity() { return this.contractActivity; } /** * @return depreciateInfo */ public SubOrderDepreciateInfo getDepreciateInfo() { return this.depreciateInfo; } /** * @return discountAmount */ public String getDiscountAmount() { return this.discountAmount; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return isContractActivity */ public Boolean getIsContractActivity() { return this.isContractActivity; } /** * @return moduleInstance */ public SubOrderModuleInstance getModuleInstance() { return this.moduleInstance; } /** * @return optionalPromotions */ public OptionalPromotions getOptionalPromotions() { return this.optionalPromotions; } /** * @return originalAmount */ public String getOriginalAmount() { return this.originalAmount; } /** * @return promDetailList */ public PromDetailList getPromDetailList() { return this.promDetailList; } /** * @return ruleIds */ public SubOrderRuleIds getRuleIds() { return this.ruleIds; } /** * @return standDiscountPrice */ public Long getStandDiscountPrice() { return this.standDiscountPrice; } /** * @return standPrice */ public Long getStandPrice() { return this.standPrice; } /** * @return tradeAmount */ public String getTradeAmount() { return this.tradeAmount; } public static final class Builder { private Boolean contractActivity; private SubOrderDepreciateInfo depreciateInfo; private String discountAmount; private String instanceId; private Boolean isContractActivity; private SubOrderModuleInstance moduleInstance; private OptionalPromotions optionalPromotions; private String originalAmount; private PromDetailList promDetailList; private SubOrderRuleIds ruleIds; private Long standDiscountPrice; private Long standPrice; private String tradeAmount; private Builder() { } private Builder(SubOrder model) { this.contractActivity = model.contractActivity; this.depreciateInfo = model.depreciateInfo; this.discountAmount = model.discountAmount; this.instanceId = model.instanceId; this.isContractActivity = model.isContractActivity; this.moduleInstance = model.moduleInstance; this.optionalPromotions = model.optionalPromotions; this.originalAmount = model.originalAmount; this.promDetailList = model.promDetailList; this.ruleIds = model.ruleIds; this.standDiscountPrice = model.standDiscountPrice; this.standPrice = model.standPrice; this.tradeAmount = model.tradeAmount; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <hr> */ public Builder contractActivity(Boolean contractActivity) { this.contractActivity = contractActivity; return this; } /** * <p>The price reduction information.</p> */ public Builder depreciateInfo(SubOrderDepreciateInfo depreciateInfo) { this.depreciateInfo = depreciateInfo; return this; } /** * <p>The discount amount of the order.</p> * * <strong>example:</strong> * <p>0.21</p> */ public Builder discountAmount(String discountAmount) { this.discountAmount = discountAmount; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>r-bp1xxxxxxxxxxxxx</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>Indicates whether eligibility for the contracted discount is met.</p> * * <strong>example:</strong> * <hr> */ public Builder isContractActivity(Boolean isContractActivity) { this.isContractActivity = isContractActivity; return this; } /** * <p>The configuration details for each instance of an order line item.</p> */ public Builder moduleInstance(SubOrderModuleInstance moduleInstance) { this.moduleInstance = moduleInstance; return this; } /** * <p>The optional promotions.</p> */ public Builder optionalPromotions(OptionalPromotions optionalPromotions) { this.optionalPromotions = optionalPromotions; return this; } /** * <p>The original price of the order.</p> * * <strong>example:</strong> * <p>0.21</p> */ public Builder originalAmount(String originalAmount) { this.originalAmount = originalAmount; return this; } /** * <p>Details about promotions.</p> */ public Builder promDetailList(PromDetailList promDetailList) { this.promDetailList = promDetailList; return this; } /** * <p>The hit rule IDs.</p> */ public Builder ruleIds(SubOrderRuleIds ruleIds) { this.ruleIds = ruleIds; return this; } /** * <p>The discounted price.</p> * * <strong>example:</strong> * <hr> */ public Builder standDiscountPrice(Long standDiscountPrice) { this.standDiscountPrice = standDiscountPrice; return this; } /** * <p>The discounted price.</p> * * <strong>example:</strong> * <hr> */ public Builder standPrice(Long standPrice) { this.standPrice = standPrice; return this; } /** * <p>The transaction price of the order.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder tradeAmount(String tradeAmount) { this.tradeAmount = tradeAmount; return this; } public SubOrder build() { return new SubOrder(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class SubOrders extends TeaModel { @com.aliyun.core.annotation.NameInMap("SubOrder") private java.util.List<SubOrder> subOrder; private SubOrders(Builder builder) { this.subOrder = builder.subOrder; } public static Builder builder() { return new Builder(); } public static SubOrders create() { return builder().build(); } /** * @return subOrder */ public java.util.List<SubOrder> getSubOrder() { return this.subOrder; } public static final class Builder { private java.util.List<SubOrder> subOrder; private Builder() { } private Builder(SubOrders model) { this.subOrder = model.subOrder; } /** * SubOrder. */ public Builder subOrder(java.util.List<SubOrder> subOrder) { this.subOrder = subOrder; return this; } public SubOrders build() { return new SubOrders(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/DescribeRegionsRequest.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 DescribeRegionsRequest} extends {@link RequestModel} * * <p>DescribeRegionsRequest</p> */ public class DescribeRegionsRequest 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("AcceptLanguage") private String acceptLanguage; @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 DescribeRegionsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.acceptLanguage = builder.acceptLanguage; 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 DescribeRegionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return acceptLanguage */ public String getAcceptLanguage() { return this.acceptLanguage; } /** * @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<DescribeRegionsRequest, Builder> { private String regionId; private String acceptLanguage; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeRegionsRequest request) { super(request); this.regionId = request.regionId; this.acceptLanguage = request.acceptLanguage; 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 display language of the <strong>LocalName</strong> parameter value. Valid values:</p> * <ul> * <li><strong>zh-CN</strong>: Chinese</li> * <li><strong>en-US</strong>: English</li> * </ul> * <blockquote> * <p>The default value is <strong>zh-CN</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>zh-CN</p> */ public Builder acceptLanguage(String acceptLanguage) { this.putQueryParameter("AcceptLanguage", acceptLanguage); this.acceptLanguage = acceptLanguage; 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 DescribeRegionsRequest build() { return new DescribeRegionsRequest(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/DescribeRegionsResponse.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 DescribeRegionsResponse} extends {@link TeaModel} * * <p>DescribeRegionsResponse</p> */ public class DescribeRegionsResponse 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 DescribeRegionsResponseBody body; private DescribeRegionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRegionsResponse 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 DescribeRegionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRegionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRegionsResponseBody body); @Override DescribeRegionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRegionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRegionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRegionsResponse 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(DescribeRegionsResponseBody body) { this.body = body; return this; } @Override public DescribeRegionsResponse build() { return new DescribeRegionsResponse(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/DescribeRegionsResponseBody.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 DescribeRegionsResponseBody} extends {@link TeaModel} * * <p>DescribeRegionsResponseBody</p> */ public class DescribeRegionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RegionIds") private RegionIds regionIds; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRegionsResponseBody(Builder builder) { this.regionIds = builder.regionIds; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRegionsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return regionIds */ public RegionIds getRegionIds() { return this.regionIds; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private RegionIds regionIds; private String requestId; private Builder() { } private Builder(DescribeRegionsResponseBody model) { this.regionIds = model.regionIds; this.requestId = model.requestId; } /** * <p>The <strong>region IDs</strong>.</p> */ public Builder regionIds(RegionIds regionIds) { this.regionIds = regionIds; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>AD425AD3-CC7B-4EE2-A5CB-2F61BA73****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRegionsResponseBody build() { return new DescribeRegionsResponseBody(this); } } /** * * {@link DescribeRegionsResponseBody} extends {@link TeaModel} * * <p>DescribeRegionsResponseBody</p> */ public static class ZoneIdList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ZoneId") private java.util.List<String> zoneId; private ZoneIdList(Builder builder) { this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static ZoneIdList create() { return builder().build(); } /** * @return zoneId */ public java.util.List<String> getZoneId() { return this.zoneId; } public static final class Builder { private java.util.List<String> zoneId; private Builder() { } private Builder(ZoneIdList model) { this.zoneId = model.zoneId; } /** * ZoneId. */ public Builder zoneId(java.util.List<String> zoneId) { this.zoneId = zoneId; return this; } public ZoneIdList build() { return new ZoneIdList(this); } } } /** * * {@link DescribeRegionsResponseBody} extends {@link TeaModel} * * <p>DescribeRegionsResponseBody</p> */ public static class KVStoreRegion extends TeaModel { @com.aliyun.core.annotation.NameInMap("LocalName") private String localName; @com.aliyun.core.annotation.NameInMap("RegionEndpoint") private String regionEndpoint; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ZoneIdList") private ZoneIdList zoneIdList; @com.aliyun.core.annotation.NameInMap("ZoneIds") private String zoneIds; private KVStoreRegion(Builder builder) { this.localName = builder.localName; this.regionEndpoint = builder.regionEndpoint; this.regionId = builder.regionId; this.zoneIdList = builder.zoneIdList; this.zoneIds = builder.zoneIds; } public static Builder builder() { return new Builder(); } public static KVStoreRegion create() { return builder().build(); } /** * @return localName */ public String getLocalName() { return this.localName; } /** * @return regionEndpoint */ public String getRegionEndpoint() { return this.regionEndpoint; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return zoneIdList */ public ZoneIdList getZoneIdList() { return this.zoneIdList; } /** * @return zoneIds */ public String getZoneIds() { return this.zoneIds; } public static final class Builder { private String localName; private String regionEndpoint; private String regionId; private ZoneIdList zoneIdList; private String zoneIds; private Builder() { } private Builder(KVStoreRegion model) { this.localName = model.localName; this.regionEndpoint = model.regionEndpoint; this.regionId = model.regionId; this.zoneIdList = model.zoneIdList; this.zoneIds = model.zoneIds; } /** * <p>The name of the region.</p> * * <strong>example:</strong> * <p>China (Hangzhou)</p> */ public Builder localName(String localName) { this.localName = localName; return this; } /** * <p>The endpoint of the region.</p> * * <strong>example:</strong> * <p>r-kvstore.aliyuncs.com</p> */ public Builder regionEndpoint(String regionEndpoint) { this.regionEndpoint = regionEndpoint; 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 zone IDs.</p> */ public Builder zoneIdList(ZoneIdList zoneIdList) { this.zoneIdList = zoneIdList; return this; } /** * <p>The IDs of the zones in the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder zoneIds(String zoneIds) { this.zoneIds = zoneIds; return this; } public KVStoreRegion build() { return new KVStoreRegion(this); } } } /** * * {@link DescribeRegionsResponseBody} extends {@link TeaModel} * * <p>DescribeRegionsResponseBody</p> */ public static class RegionIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("KVStoreRegion") private java.util.List<KVStoreRegion> KVStoreRegion; private RegionIds(Builder builder) { this.KVStoreRegion = builder.KVStoreRegion; } public static Builder builder() { return new Builder(); } public static RegionIds create() { return builder().build(); } /** * @return KVStoreRegion */ public java.util.List<KVStoreRegion> getKVStoreRegion() { return this.KVStoreRegion; } public static final class Builder { private java.util.List<KVStoreRegion> KVStoreRegion; private Builder() { } private Builder(RegionIds model) { this.KVStoreRegion = model.KVStoreRegion; } /** * KVStoreRegion. */ public Builder KVStoreRegion(java.util.List<KVStoreRegion> KVStoreRegion) { this.KVStoreRegion = KVStoreRegion; return this; } public RegionIds build() { return new RegionIds(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/DescribeRoleZoneInfoRequest.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 DescribeRoleZoneInfoRequest} extends {@link RequestModel} * * <p>DescribeRoleZoneInfoRequest</p> */ public class DescribeRoleZoneInfoRequest 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") 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("QueryType") private Integer queryType; @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 DescribeRoleZoneInfoRequest(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.queryType = builder.queryType; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeRoleZoneInfoRequest 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 queryType */ public Integer getQueryType() { return this.queryType; } /** * @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<DescribeRoleZoneInfoRequest, Builder> { private String regionId; private String instanceId; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private Integer queryType; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeRoleZoneInfoRequest 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.queryType = request.queryType; 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 instance IDs.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>r-t4nlenc2p04uvb****</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. The value must be an integer that is greater than <strong>0</strong> and less than or equal to the maximum value supported by the integer data type. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values: <strong>10</strong>, <strong>20</strong>, and <strong>50</strong>. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The type of the node to query. Default value: 1. Valid values:</p> * <ul> * <li><p><strong>0</strong>: proxy node</p> * <p>**</p> * <p><strong>Note</strong> This parameter is supported only for cluster instances and read/write splitting instances.</p> * </li> * <li><p><strong>1</strong>: data node</p> * </li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder queryType(Integer queryType) { this.putQueryParameter("QueryType", queryType); this.queryType = queryType; 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 DescribeRoleZoneInfoRequest build() { return new DescribeRoleZoneInfoRequest(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/DescribeRoleZoneInfoResponse.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 DescribeRoleZoneInfoResponse} extends {@link TeaModel} * * <p>DescribeRoleZoneInfoResponse</p> */ public class DescribeRoleZoneInfoResponse 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 DescribeRoleZoneInfoResponseBody body; private DescribeRoleZoneInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRoleZoneInfoResponse 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 DescribeRoleZoneInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRoleZoneInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRoleZoneInfoResponseBody body); @Override DescribeRoleZoneInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRoleZoneInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRoleZoneInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRoleZoneInfoResponse 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(DescribeRoleZoneInfoResponseBody body) { this.body = body; return this; } @Override public DescribeRoleZoneInfoResponse build() { return new DescribeRoleZoneInfoResponse(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/DescribeRoleZoneInfoResponseBody.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 DescribeRoleZoneInfoResponseBody} extends {@link TeaModel} * * <p>DescribeRoleZoneInfoResponseBody</p> */ public class DescribeRoleZoneInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Node") private Node node; @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 DescribeRoleZoneInfoResponseBody(Builder builder) { this.node = builder.node; 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 DescribeRoleZoneInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return node */ public Node getNode() { return this.node; } /** * @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 Node node; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRoleZoneInfoResponseBody model) { this.node = model.node; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>Details about each node in the instance.</p> */ public Builder node(Node node) { this.node = node; return this; } /** * <p>The number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>224B97FB-A275-4EAC-86E9-8922FEA2****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRoleZoneInfoResponseBody build() { return new DescribeRoleZoneInfoResponseBody(this); } } /** * * {@link DescribeRoleZoneInfoResponseBody} extends {@link TeaModel} * * <p>DescribeRoleZoneInfoResponseBody</p> */ public static class NodeInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentBandWidth") private Long currentBandWidth; @com.aliyun.core.annotation.NameInMap("CurrentMinorVersion") private String currentMinorVersion; @com.aliyun.core.annotation.NameInMap("CustinsId") private String custinsId; @com.aliyun.core.annotation.NameInMap("DefaultBandWidth") private Long defaultBandWidth; @com.aliyun.core.annotation.NameInMap("InsName") private String insName; @com.aliyun.core.annotation.NameInMap("InsType") private Integer insType; @com.aliyun.core.annotation.NameInMap("IsLatestVersion") private Integer isLatestVersion; @com.aliyun.core.annotation.NameInMap("IsOpenBandWidthService") private Boolean isOpenBandWidthService; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("Role") private String role; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private NodeInfo(Builder builder) { this.currentBandWidth = builder.currentBandWidth; this.currentMinorVersion = builder.currentMinorVersion; this.custinsId = builder.custinsId; this.defaultBandWidth = builder.defaultBandWidth; this.insName = builder.insName; this.insType = builder.insType; this.isLatestVersion = builder.isLatestVersion; this.isOpenBandWidthService = builder.isOpenBandWidthService; this.nodeId = builder.nodeId; this.nodeType = builder.nodeType; this.role = builder.role; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static NodeInfo create() { return builder().build(); } /** * @return currentBandWidth */ public Long getCurrentBandWidth() { return this.currentBandWidth; } /** * @return currentMinorVersion */ public String getCurrentMinorVersion() { return this.currentMinorVersion; } /** * @return custinsId */ public String getCustinsId() { return this.custinsId; } /** * @return defaultBandWidth */ public Long getDefaultBandWidth() { return this.defaultBandWidth; } /** * @return insName */ public String getInsName() { return this.insName; } /** * @return insType */ public Integer getInsType() { return this.insType; } /** * @return isLatestVersion */ public Integer getIsLatestVersion() { return this.isLatestVersion; } /** * @return isOpenBandWidthService */ public Boolean getIsOpenBandWidthService() { return this.isOpenBandWidthService; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return role */ public String getRole() { return this.role; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Long currentBandWidth; private String currentMinorVersion; private String custinsId; private Long defaultBandWidth; private String insName; private Integer insType; private Integer isLatestVersion; private Boolean isOpenBandWidthService; private String nodeId; private String nodeType; private String role; private String zoneId; private Builder() { } private Builder(NodeInfo model) { this.currentBandWidth = model.currentBandWidth; this.currentMinorVersion = model.currentMinorVersion; this.custinsId = model.custinsId; this.defaultBandWidth = model.defaultBandWidth; this.insName = model.insName; this.insType = model.insType; this.isLatestVersion = model.isLatestVersion; this.isOpenBandWidthService = model.isOpenBandWidthService; this.nodeId = model.nodeId; this.nodeType = model.nodeType; this.role = model.role; this.zoneId = model.zoneId; } /** * <p>The current bandwidth of the node, which consists of the default bandwidth and the increased bandwidth. Unit: MB/s.</p> * <blockquote> * <ul> * <li>You can call the <a href="https://help.aliyun.com/document_detail/473771.html">EnableAdditionalBandwidth</a> operation to specify the increased bandwidth.</li> * <li>You can also use this parameter to calculate the increased bandwidth. For example, if the default bandwidth of the node is 96 MB/s and the returned value of this parameter is 100, the increased bandwidth is 4 MB/s.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>100</p> */ public Builder currentBandWidth(Long currentBandWidth) { this.currentBandWidth = currentBandWidth; return this; } /** * <p>The minor version of the node.</p> * * <strong>example:</strong> * <p>redis-5.0_0.3.10</p> */ public Builder currentMinorVersion(String currentMinorVersion) { this.currentMinorVersion = currentMinorVersion; return this; } /** * <p>The ID of the data shard.</p> * * <strong>example:</strong> * <p>30381****</p> */ public Builder custinsId(String custinsId) { this.custinsId = custinsId; return this; } /** * <p>The default bandwidth of the node. Unit: MB/s.</p> * * <strong>example:</strong> * <p>96</p> */ public Builder defaultBandWidth(Long defaultBandWidth) { this.defaultBandWidth = defaultBandWidth; return this; } /** * <p>The ID of the node.</p> * * <strong>example:</strong> * <p>r-t4nlenc2p04uvb****</p> */ public Builder insName(String insName) { this.insName = insName; return this; } /** * <p>Indicates whether the node is a read replica. If the node is a read replica, <strong>3</strong> is returned.</p> * <blockquote> * <p> If the node is not a read replica, no value is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>3</p> */ public Builder insType(Integer insType) { this.insType = insType; return this; } /** * <p>Indicates whether the minor version is the latest version. Valid values:</p> * <ul> * <li><strong>0</strong>: The minor version is not the latest version.</li> * <li><strong>1</strong>: The minor version is the latest version.</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>1</p> */ public Builder isLatestVersion(Integer isLatestVersion) { this.isLatestVersion = isLatestVersion; return this; } /** * <p>Indicates whether the bandwidth of the node is increased. Valid values:</p> * <ul> * <li><strong>true</strong>: The bandwidth of the node is not increased.</li> * <li><strong>false</strong>: The bandwidth of the node is increased.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isOpenBandWidthService(Boolean isOpenBandWidthService) { this.isOpenBandWidthService = isOpenBandWidthService; return this; } /** * <p>This parameter is used only for internal maintenance of instances.</p> * * <strong>example:</strong> * <p>10065****</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; 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 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 ID of the zone.</p> * * <strong>example:</strong> * <p>cn-hangzhou-b</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public NodeInfo build() { return new NodeInfo(this); } } } /** * * {@link DescribeRoleZoneInfoResponseBody} extends {@link TeaModel} * * <p>DescribeRoleZoneInfoResponseBody</p> */ public static class Node extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeInfo") private java.util.List<NodeInfo> nodeInfo; private Node(Builder builder) { this.nodeInfo = builder.nodeInfo; } public static Builder builder() { return new Builder(); } public static Node create() { return builder().build(); } /** * @return nodeInfo */ public java.util.List<NodeInfo> getNodeInfo() { return this.nodeInfo; } public static final class Builder { private java.util.List<NodeInfo> nodeInfo; private Builder() { } private Builder(Node model) { this.nodeInfo = model.nodeInfo; } /** * NodeInfo. */ public Builder nodeInfo(java.util.List<NodeInfo> nodeInfo) { this.nodeInfo = nodeInfo; return this; } public Node build() { return new Node(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/DescribeRunningLogRecordsRequest.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 DescribeRunningLogRecordsRequest} extends {@link RequestModel} * * <p>DescribeRunningLogRecordsRequest</p> */ public class DescribeRunningLogRecordsRequest 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("CharacterType") private String characterType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBName") private String DBName; @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("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("PageNumber") @com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("QueryKeyword") private String queryKeyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("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("RoleType") private String roleType; @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 DescribeRunningLogRecordsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.characterType = builder.characterType; this.DBName = builder.DBName; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.orderType = builder.orderType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.queryKeyword = builder.queryKeyword; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.roleType = builder.roleType; this.securityToken = builder.securityToken; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeRunningLogRecordsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return characterType */ public String getCharacterType() { return this.characterType; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return queryKeyword */ public String getQueryKeyword() { return this.queryKeyword; } /** * @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 roleType */ public String getRoleType() { return this.roleType; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeRunningLogRecordsRequest, Builder> { private String regionId; private String characterType; private String DBName; private String endTime; private String instanceId; private String nodeId; private String orderType; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String queryKeyword; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String roleType; private String securityToken; private String startTime; private Builder() { super(); } private Builder(DescribeRunningLogRecordsRequest request) { super(request); this.regionId = request.regionId; this.characterType = request.characterType; this.DBName = request.DBName; this.endTime = request.endTime; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.orderType = request.orderType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.queryKeyword = request.queryKeyword; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.roleType = request.roleType; 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 shard type of the cluster instance. Valid values:</p> * <ul> * <li><strong>proxy</strong>: proxy node</li> * <li><strong>db</strong>: data node</li> * <li><strong>cs</strong>: config server node</li> * </ul> * <blockquote> * <p> If you set this parameter, you must also set the <strong>NodeId</strong> parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>proxy</p> */ public Builder characterType(String characterType) { this.putQueryParameter("CharacterType", characterType); this.characterType = characterType; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder DBName(String DBName) { this.putQueryParameter("DBName", DBName); this.DBName = DBName; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time 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-03T08:01Z</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>The ID of the node in the instance. You can set this parameter to query the operational logs 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>If you set this parameter, you must also set the <strong>CharacterType</strong> parameter.</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; } /** * <p>The method that is used to sort the returned log entries. Valid values:</p> * <ul> * <li><strong>asc</strong>: ascending order</li> * <li><strong>desc</strong>: descending order</li> * </ul> * * <strong>example:</strong> * <p>asc</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 number of the page to return. The value must be an integer that is greater than <strong>0</strong> and less than or equal to the maximum value supported by the integer data type. 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 keyword that is used to query operational logs.</p> * * <strong>example:</strong> * <p>aof</p> */ public Builder queryKeyword(String queryKeyword) { this.putQueryParameter("QueryKeyword", queryKeyword); this.queryKeyword = queryKeyword; 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; } /** * <p>The role of the data shard. Default value: master. 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 roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; 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</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 DescribeRunningLogRecordsRequest build() { return new DescribeRunningLogRecordsRequest(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/DescribeRunningLogRecordsResponse.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 DescribeRunningLogRecordsResponse} extends {@link TeaModel} * * <p>DescribeRunningLogRecordsResponse</p> */ public class DescribeRunningLogRecordsResponse 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 DescribeRunningLogRecordsResponseBody body; private DescribeRunningLogRecordsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRunningLogRecordsResponse 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 DescribeRunningLogRecordsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRunningLogRecordsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRunningLogRecordsResponseBody body); @Override DescribeRunningLogRecordsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRunningLogRecordsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRunningLogRecordsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRunningLogRecordsResponse 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(DescribeRunningLogRecordsResponseBody body) { this.body = body; return this; } @Override public DescribeRunningLogRecordsResponse build() { return new DescribeRunningLogRecordsResponse(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/DescribeRunningLogRecordsResponseBody.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 DescribeRunningLogRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeRunningLogRecordsResponseBody</p> */ public class DescribeRunningLogRecordsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @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("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 DescribeRunningLogRecordsResponseBody(Builder builder) { this.engine = builder.engine; this.instanceId = builder.instanceId; this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; 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 DescribeRunningLogRecordsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 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 engine; private String instanceId; private Items items; private Integer pageNumber; private Integer pageRecordCount; private Integer pageSize; private String requestId; private String startTime; private Integer totalRecordCount; private Builder() { } private Builder(DescribeRunningLogRecordsResponseBody model) { this.engine = model.engine; this.instanceId = model.instanceId; this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.pageSize = model.pageSize; this.requestId = model.requestId; this.startTime = model.startTime; this.totalRecordCount = model.totalRecordCount; } /** * <p>The type of the database engine.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>Details about the 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 number of log entries returned on the current page.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The maximum 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>093B8579-9264-43A0-ABA9-AA86****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range to query.</p> * * <strong>example:</strong> * <p>2018-12-03T07:01Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeRunningLogRecordsResponseBody build() { return new DescribeRunningLogRecordsResponseBody(this); } } /** * * {@link DescribeRunningLogRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeRunningLogRecordsResponseBody</p> */ public static class LogRecords extends TeaModel { @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; private LogRecords(Builder builder) { this.content = builder.content; this.createTime = builder.createTime; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; } public static Builder builder() { return new Builder(); } public static LogRecords create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } public static final class Builder { private String content; private String createTime; private String instanceId; private String nodeId; private Builder() { } private Builder(LogRecords model) { this.content = model.content; this.createTime = model.createTime; this.instanceId = model.instanceId; this.nodeId = model.nodeId; } /** * <p>The content of the log.</p> * * <strong>example:</strong> * <p>CONFIG REWRITE executed with success.</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>The time when the log was generated. The time is 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-12-03T07:07:30Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The ID of the node.</p> * <blockquote> * <p> If a standard instance is queried, <code>(null)</code> is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } public LogRecords build() { return new LogRecords(this); } } } /** * * {@link DescribeRunningLogRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeRunningLogRecordsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogRecords") private java.util.List<LogRecords> logRecords; private Items(Builder builder) { this.logRecords = builder.logRecords; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return logRecords */ public java.util.List<LogRecords> getLogRecords() { return this.logRecords; } public static final class Builder { private java.util.List<LogRecords> logRecords; private Builder() { } private Builder(Items model) { this.logRecords = model.logRecords; } /** * LogRecords. */ public Builder logRecords(java.util.List<LogRecords> logRecords) { this.logRecords = logRecords; 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/DescribeSecurityGroupConfigurationRequest.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 DescribeSecurityGroupConfigurationRequest} extends {@link RequestModel} * * <p>DescribeSecurityGroupConfigurationRequest</p> */ public class DescribeSecurityGroupConfigurationRequest 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 DescribeSecurityGroupConfigurationRequest(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 DescribeSecurityGroupConfigurationRequest 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<DescribeSecurityGroupConfigurationRequest, 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(DescribeSecurityGroupConfigurationRequest 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 DescribeSecurityGroupConfigurationRequest build() { return new DescribeSecurityGroupConfigurationRequest(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/DescribeSecurityGroupConfigurationResponse.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 DescribeSecurityGroupConfigurationResponse} extends {@link TeaModel} * * <p>DescribeSecurityGroupConfigurationResponse</p> */ public class DescribeSecurityGroupConfigurationResponse 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 DescribeSecurityGroupConfigurationResponseBody body; private DescribeSecurityGroupConfigurationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSecurityGroupConfigurationResponse 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 DescribeSecurityGroupConfigurationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSecurityGroupConfigurationResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSecurityGroupConfigurationResponseBody body); @Override DescribeSecurityGroupConfigurationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSecurityGroupConfigurationResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSecurityGroupConfigurationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSecurityGroupConfigurationResponse 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(DescribeSecurityGroupConfigurationResponseBody body) { this.body = body; return this; } @Override public DescribeSecurityGroupConfigurationResponse build() { return new DescribeSecurityGroupConfigurationResponse(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/DescribeSecurityGroupConfigurationResponseBody.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 DescribeSecurityGroupConfigurationResponseBody} extends {@link TeaModel} * * <p>DescribeSecurityGroupConfigurationResponseBody</p> */ public class DescribeSecurityGroupConfigurationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeSecurityGroupConfigurationResponseBody(Builder builder) { this.items = builder.items; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeSecurityGroupConfigurationResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public Items getItems() { return this.items; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Items items; private String requestId; private Builder() { } private Builder(DescribeSecurityGroupConfigurationResponseBody model) { this.items = model.items; this.requestId = model.requestId; } /** * <p>The list of security groups.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>981C0D6A-D9DD-466C-92DA-F29DF755****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeSecurityGroupConfigurationResponseBody build() { return new DescribeSecurityGroupConfigurationResponseBody(this); } } /** * * {@link DescribeSecurityGroupConfigurationResponseBody} extends {@link TeaModel} * * <p>DescribeSecurityGroupConfigurationResponseBody</p> */ public static class EcsSecurityGroupRelation extends TeaModel { @com.aliyun.core.annotation.NameInMap("NetType") private String netType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; private EcsSecurityGroupRelation(Builder builder) { this.netType = builder.netType; this.regionId = builder.regionId; this.securityGroupId = builder.securityGroupId; } public static Builder builder() { return new Builder(); } public static EcsSecurityGroupRelation create() { return builder().build(); } /** * @return netType */ public String getNetType() { return this.netType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } public static final class Builder { private String netType; private String regionId; private String securityGroupId; private Builder() { } private Builder(EcsSecurityGroupRelation model) { this.netType = model.netType; this.regionId = model.regionId; this.securityGroupId = model.securityGroupId; } /** * <p>The network type of the security group. Valid values:</p> * <ul> * <li><strong>classic</strong>: the classic network.</li> * <li><strong>vpc</strong>: the virtual private cloud (VPC).</li> * </ul> * * <strong>example:</strong> * <p>vpc</p> */ public Builder netType(String netType) { this.netType = netType; return this; } /** * <p>The ID of the region where the instance is deployed.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The ID of the security group.</p> * * <strong>example:</strong> * <p>sg-bp14p9y07ns3gwq****</p> */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } public EcsSecurityGroupRelation build() { return new EcsSecurityGroupRelation(this); } } } /** * * {@link DescribeSecurityGroupConfigurationResponseBody} extends {@link TeaModel} * * <p>DescribeSecurityGroupConfigurationResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("EcsSecurityGroupRelation") private java.util.List<EcsSecurityGroupRelation> ecsSecurityGroupRelation; private Items(Builder builder) { this.ecsSecurityGroupRelation = builder.ecsSecurityGroupRelation; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return ecsSecurityGroupRelation */ public java.util.List<EcsSecurityGroupRelation> getEcsSecurityGroupRelation() { return this.ecsSecurityGroupRelation; } public static final class Builder { private java.util.List<EcsSecurityGroupRelation> ecsSecurityGroupRelation; private Builder() { } private Builder(Items model) { this.ecsSecurityGroupRelation = model.ecsSecurityGroupRelation; } /** * EcsSecurityGroupRelation. */ public Builder ecsSecurityGroupRelation(java.util.List<EcsSecurityGroupRelation> ecsSecurityGroupRelation) { this.ecsSecurityGroupRelation = ecsSecurityGroupRelation; 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/DescribeSecurityIpsRequest.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 DescribeSecurityIpsRequest} extends {@link RequestModel} * * <p>DescribeSecurityIpsRequest</p> */ public class DescribeSecurityIpsRequest 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 DescribeSecurityIpsRequest(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 DescribeSecurityIpsRequest 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<DescribeSecurityIpsRequest, 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(DescribeSecurityIpsRequest 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 DescribeSecurityIpsRequest build() { return new DescribeSecurityIpsRequest(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/DescribeSecurityIpsResponse.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 DescribeSecurityIpsResponse} extends {@link TeaModel} * * <p>DescribeSecurityIpsResponse</p> */ public class DescribeSecurityIpsResponse 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 DescribeSecurityIpsResponseBody body; private DescribeSecurityIpsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSecurityIpsResponse 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 DescribeSecurityIpsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSecurityIpsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSecurityIpsResponseBody body); @Override DescribeSecurityIpsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSecurityIpsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSecurityIpsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSecurityIpsResponse 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(DescribeSecurityIpsResponseBody body) { this.body = body; return this; } @Override public DescribeSecurityIpsResponse build() { return new DescribeSecurityIpsResponse(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/DescribeSecurityIpsResponseBody.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 DescribeSecurityIpsResponseBody} extends {@link TeaModel} * * <p>DescribeSecurityIpsResponseBody</p> */ public class DescribeSecurityIpsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SecurityIpGroups") private SecurityIpGroups securityIpGroups; private DescribeSecurityIpsResponseBody(Builder builder) { this.requestId = builder.requestId; this.securityIpGroups = builder.securityIpGroups; } public static Builder builder() { return new Builder(); } public static DescribeSecurityIpsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return securityIpGroups */ public SecurityIpGroups getSecurityIpGroups() { return this.securityIpGroups; } public static final class Builder { private String requestId; private SecurityIpGroups securityIpGroups; private Builder() { } private Builder(DescribeSecurityIpsResponseBody model) { this.requestId = model.requestId; this.securityIpGroups = model.securityIpGroups; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>EFC9161F-15E3-4A6E-8A99-C09916D1****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The whitelists of the instance.</p> */ public Builder securityIpGroups(SecurityIpGroups securityIpGroups) { this.securityIpGroups = securityIpGroups; return this; } public DescribeSecurityIpsResponseBody build() { return new DescribeSecurityIpsResponseBody(this); } } /** * * {@link DescribeSecurityIpsResponseBody} extends {@link TeaModel} * * <p>DescribeSecurityIpsResponseBody</p> */ public static class SecurityIpGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("SecurityIpGroupAttribute") private String securityIpGroupAttribute; @com.aliyun.core.annotation.NameInMap("SecurityIpGroupName") private String securityIpGroupName; @com.aliyun.core.annotation.NameInMap("SecurityIpList") private String securityIpList; private SecurityIpGroup(Builder builder) { this.securityIpGroupAttribute = builder.securityIpGroupAttribute; this.securityIpGroupName = builder.securityIpGroupName; this.securityIpList = builder.securityIpList; } public static Builder builder() { return new Builder(); } public static SecurityIpGroup create() { return builder().build(); } /** * @return securityIpGroupAttribute */ public String getSecurityIpGroupAttribute() { return this.securityIpGroupAttribute; } /** * @return securityIpGroupName */ public String getSecurityIpGroupName() { return this.securityIpGroupName; } /** * @return securityIpList */ public String getSecurityIpList() { return this.securityIpList; } public static final class Builder { private String securityIpGroupAttribute; private String securityIpGroupName; private String securityIpList; private Builder() { } private Builder(SecurityIpGroup model) { this.securityIpGroupAttribute = model.securityIpGroupAttribute; this.securityIpGroupName = model.securityIpGroupName; this.securityIpList = model.securityIpList; } /** * <p>The attribute of the whitelist. This parameter is empty by default.</p> * <blockquote> * <p> If the instance is authorized to use a service such as Database Autonomy Service (DAS), Data Management (DMS), or Data Transmission Service (DTS), this service automatically generates a <strong>hidden</strong> whitelist for the instance. This type of whitelists cannot be modified or deleted.</p> * </blockquote> * * <strong>example:</strong> * <p>hidden</p> */ public Builder securityIpGroupAttribute(String securityIpGroupAttribute) { this.securityIpGroupAttribute = securityIpGroupAttribute; return this; } /** * <p>The name of the whitelist.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder securityIpGroupName(String securityIpGroupName) { this.securityIpGroupName = securityIpGroupName; return this; } /** * <p>The IP addresses in the whitelist. A maximum of 1,000 IP addresses can be specified in a whitelist.</p> */ public Builder securityIpList(String securityIpList) { this.securityIpList = securityIpList; return this; } public SecurityIpGroup build() { return new SecurityIpGroup(this); } } } /** * * {@link DescribeSecurityIpsResponseBody} extends {@link TeaModel} * * <p>DescribeSecurityIpsResponseBody</p> */ public static class SecurityIpGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("SecurityIpGroup") private java.util.List<SecurityIpGroup> securityIpGroup; private SecurityIpGroups(Builder builder) { this.securityIpGroup = builder.securityIpGroup; } public static Builder builder() { return new Builder(); } public static SecurityIpGroups create() { return builder().build(); } /** * @return securityIpGroup */ public java.util.List<SecurityIpGroup> getSecurityIpGroup() { return this.securityIpGroup; } public static final class Builder { private java.util.List<SecurityIpGroup> securityIpGroup; private Builder() { } private Builder(SecurityIpGroups model) { this.securityIpGroup = model.securityIpGroup; } /** * SecurityIpGroup. */ public Builder securityIpGroup(java.util.List<SecurityIpGroup> securityIpGroup) { this.securityIpGroup = securityIpGroup; return this; } public SecurityIpGroups build() { return new SecurityIpGroups(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/DescribeSlowLogRecordsRequest.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 DescribeSlowLogRecordsRequest} extends {@link RequestModel} * * <p>DescribeSlowLogRecordsRequest</p> */ public class DescribeSlowLogRecordsRequest 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("DBName") private String DBName; @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("NodeId") private String nodeId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderBy") private String orderBy; @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("PageNumber") @com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("QueryKeyword") private String queryKeyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("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("SlowLogRecordType") private String slowLogRecordType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeSlowLogRecordsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.DBName = builder.DBName; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.orderBy = builder.orderBy; this.orderType = builder.orderType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.queryKeyword = builder.queryKeyword; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.slowLogRecordType = builder.slowLogRecordType; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeSlowLogRecordsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return orderBy */ public String getOrderBy() { return this.orderBy; } /** * @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 pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return queryKeyword */ public String getQueryKeyword() { return this.queryKeyword; } /** * @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 slowLogRecordType */ public String getSlowLogRecordType() { return this.slowLogRecordType; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeSlowLogRecordsRequest, Builder> { private String regionId; private String DBName; private String endTime; private String instanceId; private String nodeId; private String orderBy; private String orderType; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String queryKeyword; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String slowLogRecordType; private String startTime; private Builder() { super(); } private Builder(DescribeSlowLogRecordsRequest request) { super(request); this.regionId = request.regionId; this.DBName = request.DBName; this.endTime = request.endTime; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.orderBy = request.orderBy; this.orderType = request.orderType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.queryKeyword = request.queryKeyword; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.slowLogRecordType = request.slowLogRecordType; this.startTime = request.startTime; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder DBName(String DBName) { this.putQueryParameter("DBName", DBName); this.DBName = DBName; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time 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-22T14:11Z</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>The ID of the node in the instance. You can set this parameter to query the slow query logs of a specified node.</p> * <blockquote> * <p> This parameter is available only for read/write splitting and cluster instances.</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 dimension by which to sort the results. Default value: execution_time. Valid values:</p> * <ul> * <li><strong>execution_time</strong>: sorts the results by query start time.</li> * <li><strong>latency</strong>: sorts the results by query latency.</li> * </ul> * * <strong>example:</strong> * <p>execution_time</p> */ public Builder orderBy(String orderBy) { this.putQueryParameter("OrderBy", orderBy); this.orderBy = orderBy; return this; } /** * <p>The sorting order of the results to return. Default value: DESC. Valid values:</p> * <ul> * <li><strong>ASC</strong>: ascending order</li> * <li><strong>DESC</strong>: descending order</li> * </ul> * * <strong>example:</strong> * <p>ASC</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 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 keyword based on which slow logs are queried. You can set this parameter to a value of the string type.</p> * * <strong>example:</strong> * <p>keyword1</p> */ public Builder queryKeyword(String queryKeyword) { this.putQueryParameter("QueryKeyword", queryKeyword); this.queryKeyword = queryKeyword; 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 slow logs. Default value: db. Valid values:</p> * <ul> * <li><strong>proxy</strong>: slow logs of proxy nodes</li> * <li><strong>db</strong>: slow logs of data nodes</li> * </ul> * * <strong>example:</strong> * <p>proxy</p> */ public Builder slowLogRecordType(String slowLogRecordType) { this.putQueryParameter("SlowLogRecordType", slowLogRecordType); this.slowLogRecordType = slowLogRecordType; 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-10T14:11Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeSlowLogRecordsRequest build() { return new DescribeSlowLogRecordsRequest(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/DescribeSlowLogRecordsResponse.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 DescribeSlowLogRecordsResponse} extends {@link TeaModel} * * <p>DescribeSlowLogRecordsResponse</p> */ public class DescribeSlowLogRecordsResponse 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 DescribeSlowLogRecordsResponseBody body; private DescribeSlowLogRecordsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSlowLogRecordsResponse 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 DescribeSlowLogRecordsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSlowLogRecordsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSlowLogRecordsResponseBody body); @Override DescribeSlowLogRecordsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSlowLogRecordsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSlowLogRecordsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSlowLogRecordsResponse 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(DescribeSlowLogRecordsResponseBody body) { this.body = body; return this; } @Override public DescribeSlowLogRecordsResponse build() { return new DescribeSlowLogRecordsResponse(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/DescribeSlowLogRecordsResponseBody.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 DescribeSlowLogRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeSlowLogRecordsResponseBody</p> */ public class DescribeSlowLogRecordsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @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("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 DescribeSlowLogRecordsResponseBody(Builder builder) { this.engine = builder.engine; this.instanceId = builder.instanceId; this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; 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 DescribeSlowLogRecordsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 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 engine; private String instanceId; private Items items; private Integer pageNumber; private Integer pageRecordCount; private Integer pageSize; private String requestId; private String startTime; private Integer totalRecordCount; private Builder() { } private Builder(DescribeSlowLogRecordsResponseBody model) { this.engine = model.engine; this.instanceId = model.instanceId; this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.pageSize = model.pageSize; this.requestId = model.requestId; this.startTime = model.startTime; this.totalRecordCount = model.totalRecordCount; } /** * <p>The database engine that the instance runs.</p> * * <strong>example:</strong> * <p>Redis</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp10n********</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The slow query 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 number of log entries returned on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The maximum number of log 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>686BB8A6-BBA5-47E5-8A75-D2ADE433****</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-10T13:11Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The total number of returned log entries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeSlowLogRecordsResponseBody build() { return new DescribeSlowLogRecordsResponseBody(this); } } /** * * {@link DescribeSlowLogRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeSlowLogRecordsResponseBody</p> */ public static class LogRecords extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private String account; @com.aliyun.core.annotation.NameInMap("AccountName") private String accountName; @com.aliyun.core.annotation.NameInMap("Command") private String command; @com.aliyun.core.annotation.NameInMap("DBName") private String DBName; @com.aliyun.core.annotation.NameInMap("DataBaseName") private String dataBaseName; @com.aliyun.core.annotation.NameInMap("ElapsedTime") private Long elapsedTime; @com.aliyun.core.annotation.NameInMap("ExecuteTime") private String executeTime; @com.aliyun.core.annotation.NameInMap("IPAddress") private String IPAddress; @com.aliyun.core.annotation.NameInMap("NodeId") private String nodeId; private LogRecords(Builder builder) { this.account = builder.account; this.accountName = builder.accountName; this.command = builder.command; this.DBName = builder.DBName; this.dataBaseName = builder.dataBaseName; this.elapsedTime = builder.elapsedTime; this.executeTime = builder.executeTime; this.IPAddress = builder.IPAddress; this.nodeId = builder.nodeId; } public static Builder builder() { return new Builder(); } public static LogRecords create() { return builder().build(); } /** * @return account */ public String getAccount() { return this.account; } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return command */ public String getCommand() { return this.command; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return dataBaseName */ public String getDataBaseName() { return this.dataBaseName; } /** * @return elapsedTime */ public Long getElapsedTime() { return this.elapsedTime; } /** * @return executeTime */ public String getExecuteTime() { return this.executeTime; } /** * @return IPAddress */ public String getIPAddress() { return this.IPAddress; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } public static final class Builder { private String account; private String accountName; private String command; private String DBName; private String dataBaseName; private Long elapsedTime; private String executeTime; private String IPAddress; private String nodeId; private Builder() { } private Builder(LogRecords model) { this.account = model.account; this.accountName = model.accountName; this.command = model.command; this.DBName = model.DBName; this.dataBaseName = model.dataBaseName; this.elapsedTime = model.elapsedTime; this.executeTime = model.executeTime; this.IPAddress = model.IPAddress; this.nodeId = model.nodeId; } /** * <p>The ID of the account.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder account(String account) { this.account = account; return this; } /** * <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 slow query statement.</p> * * <strong>example:</strong> * <p>KEYS *</p> */ public Builder command(String command) { this.command = command; return this; } /** * <p>The database name.</p> * * <strong>example:</strong> * <p>-1</p> */ public Builder DBName(String DBName) { this.DBName = DBName; return this; } /** * <p>The database name. This parameter serves the same purpose as the <strong>DBName</strong> parameter. We recommend that you use the <strong>DBName</strong> parameter.</p> * * <strong>example:</strong> * <p>-1</p> */ public Builder dataBaseName(String dataBaseName) { this.dataBaseName = dataBaseName; return this; } /** * <p>The amount of time consumed to execute the slow query statement. Unit: microseconds.</p> * * <strong>example:</strong> * <p>248</p> */ public Builder elapsedTime(Long elapsedTime) { this.elapsedTime = elapsedTime; return this; } /** * <p>The start time when the slow query statement was executed. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format.</p> * * <strong>example:</strong> * <p>2019-03-20T09:18:41Z</p> */ public Builder executeTime(String executeTime) { this.executeTime = executeTime; return this; } /** * <p>The IP address of the client.</p> * * <strong>example:</strong> * <p>172.16.88.***</p> */ public Builder IPAddress(String IPAddress) { this.IPAddress = IPAddress; return this; } /** * <p>The node ID.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****-db-0</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } public LogRecords build() { return new LogRecords(this); } } } /** * * {@link DescribeSlowLogRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeSlowLogRecordsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogRecords") private java.util.List<LogRecords> logRecords; private Items(Builder builder) { this.logRecords = builder.logRecords; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return logRecords */ public java.util.List<LogRecords> getLogRecords() { return this.logRecords; } public static final class Builder { private java.util.List<LogRecords> logRecords; private Builder() { } private Builder(Items model) { this.logRecords = model.logRecords; } /** * LogRecords. */ public Builder logRecords(java.util.List<LogRecords> logRecords) { this.logRecords = logRecords; 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/DescribeTairKVCacheCustomInstanceAttributeRequest.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 DescribeTairKVCacheCustomInstanceAttributeRequest} extends {@link RequestModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeRequest</p> */ public class DescribeTairKVCacheCustomInstanceAttributeRequest 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 DescribeTairKVCacheCustomInstanceAttributeRequest(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 DescribeTairKVCacheCustomInstanceAttributeRequest 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<DescribeTairKVCacheCustomInstanceAttributeRequest, 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(DescribeTairKVCacheCustomInstanceAttributeRequest 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>This parameter is required.</p> * * <strong>example:</strong> * <p>tc-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 DescribeTairKVCacheCustomInstanceAttributeRequest build() { return new DescribeTairKVCacheCustomInstanceAttributeRequest(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/DescribeTairKVCacheCustomInstanceAttributeResponse.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 DescribeTairKVCacheCustomInstanceAttributeResponse} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeResponse</p> */ public class DescribeTairKVCacheCustomInstanceAttributeResponse 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 DescribeTairKVCacheCustomInstanceAttributeResponseBody body; private DescribeTairKVCacheCustomInstanceAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeTairKVCacheCustomInstanceAttributeResponse 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 DescribeTairKVCacheCustomInstanceAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeTairKVCacheCustomInstanceAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeTairKVCacheCustomInstanceAttributeResponseBody body); @Override DescribeTairKVCacheCustomInstanceAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeTairKVCacheCustomInstanceAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeTairKVCacheCustomInstanceAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeTairKVCacheCustomInstanceAttributeResponse 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(DescribeTairKVCacheCustomInstanceAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeTairKVCacheCustomInstanceAttributeResponse build() { return new DescribeTairKVCacheCustomInstanceAttributeResponse(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/DescribeTairKVCacheCustomInstanceAttributeResponseBody.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 DescribeTairKVCacheCustomInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeResponseBody</p> */ public class DescribeTairKVCacheCustomInstanceAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("Cpu") private Long cpu; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Disks") private Disks disks; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @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("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("Memory") private Long memory; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("Storage") private Long storage; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("UseEni") private Boolean useEni; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @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 DescribeTairKVCacheCustomInstanceAttributeResponseBody(Builder builder) { this.architectureType = builder.architectureType; this.chargeType = builder.chargeType; this.cpu = builder.cpu; this.createTime = builder.createTime; this.disks = builder.disks; this.endTime = builder.endTime; this.imageId = builder.imageId; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.isOrderCompleted = builder.isOrderCompleted; this.memory = builder.memory; this.networkType = builder.networkType; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.requestId = builder.requestId; this.resourceGroupId = builder.resourceGroupId; this.securityGroupId = builder.securityGroupId; this.storage = builder.storage; this.storageType = builder.storageType; this.tags = builder.tags; this.useEni = builder.useEni; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; this.zoneType = builder.zoneType; } public static Builder builder() { return new Builder(); } public static DescribeTairKVCacheCustomInstanceAttributeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return architectureType */ public String getArchitectureType() { return this.architectureType; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return cpu */ public Long getCpu() { return this.cpu; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return disks */ public Disks getDisks() { return this.disks; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @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 instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return isOrderCompleted */ public Boolean getIsOrderCompleted() { return this.isOrderCompleted; } /** * @return memory */ public Long getMemory() { return this.memory; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return storage */ public Long getStorage() { return this.storage; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return useEni */ public Boolean getUseEni() { return this.useEni; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @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 chargeType; private Long cpu; private String createTime; private Disks disks; private String endTime; private String imageId; private String instanceClass; private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private Boolean isOrderCompleted; private Long memory; private String networkType; private String privateIp; private String regionId; private String requestId; private String resourceGroupId; private String securityGroupId; private Long storage; private String storageType; private Tags tags; private Boolean useEni; private String vSwitchId; private String vpcId; private String zoneId; private String zoneType; private Builder() { } private Builder(DescribeTairKVCacheCustomInstanceAttributeResponseBody model) { this.architectureType = model.architectureType; this.chargeType = model.chargeType; this.cpu = model.cpu; this.createTime = model.createTime; this.disks = model.disks; this.endTime = model.endTime; this.imageId = model.imageId; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.isOrderCompleted = model.isOrderCompleted; this.memory = model.memory; this.networkType = model.networkType; this.privateIp = model.privateIp; this.regionId = model.regionId; this.requestId = model.requestId; this.resourceGroupId = model.resourceGroupId; this.securityGroupId = model.securityGroupId; this.storage = model.storage; this.storageType = model.storageType; this.tags = model.tags; this.useEni = model.useEni; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; this.zoneType = model.zoneType; } /** * ArchitectureType. */ public Builder architectureType(String architectureType) { this.architectureType = architectureType; return this; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * Cpu. */ public Builder cpu(Long cpu) { this.cpu = cpu; return this; } /** * CreateTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * Disks. */ public Builder disks(Disks disks) { this.disks = disks; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * ImageId. */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * InstanceClass. */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InstanceName. */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * InstanceStatus. */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * IsOrderCompleted. */ public Builder isOrderCompleted(Boolean isOrderCompleted) { this.isOrderCompleted = isOrderCompleted; return this; } /** * Memory. */ public Builder memory(Long memory) { this.memory = memory; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** * PrivateIp. */ public Builder privateIp(String privateIp) { this.privateIp = privateIp; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * SecurityGroupId. */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * Storage. */ public Builder storage(Long storage) { this.storage = storage; return this; } /** * StorageType. */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * UseEni. */ public Builder useEni(Boolean useEni) { this.useEni = useEni; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } /** * ZoneType. */ public Builder zoneType(String zoneType) { this.zoneType = zoneType; return this; } public DescribeTairKVCacheCustomInstanceAttributeResponseBody build() { return new DescribeTairKVCacheCustomInstanceAttributeResponseBody(this); } } /** * * {@link DescribeTairKVCacheCustomInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeResponseBody</p> */ public static class Disk extends TeaModel { @com.aliyun.core.annotation.NameInMap("DiskId") private String diskId; @com.aliyun.core.annotation.NameInMap("Size") private String size; @com.aliyun.core.annotation.NameInMap("Type") private String type; private Disk(Builder builder) { this.diskId = builder.diskId; this.size = builder.size; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Disk create() { return builder().build(); } /** * @return diskId */ public String getDiskId() { return this.diskId; } /** * @return size */ public String getSize() { return this.size; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String diskId; private String size; private String type; private Builder() { } private Builder(Disk model) { this.diskId = model.diskId; this.size = model.size; this.type = model.type; } /** * DiskId. */ public Builder diskId(String diskId) { this.diskId = diskId; return this; } /** * Size. */ public Builder size(String size) { this.size = size; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public Disk build() { return new Disk(this); } } } /** * * {@link DescribeTairKVCacheCustomInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeResponseBody</p> */ public static class Disks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Disk") private java.util.List<Disk> disk; private Disks(Builder builder) { this.disk = builder.disk; } public static Builder builder() { return new Builder(); } public static Disks create() { return builder().build(); } /** * @return disk */ public java.util.List<Disk> getDisk() { return this.disk; } public static final class Builder { private java.util.List<Disk> disk; private Builder() { } private Builder(Disks model) { this.disk = model.disk; } /** * Disk. */ public Builder disk(java.util.List<Disk> disk) { this.disk = disk; return this; } public Disks build() { return new Disks(this); } } } /** * * {@link DescribeTairKVCacheCustomInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeResponseBody</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; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeTairKVCacheCustomInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceAttributeResponseBody</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); } } } }
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/DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest.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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest} extends {@link RequestModel} * * <p>DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest</p> */ public class DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest 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("Express") private String express; @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("Length") private String length; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MetricName") private String metricName; @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("Period") private String period; @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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.endTime = builder.endTime; this.express = builder.express; this.instanceId = builder.instanceId; this.length = builder.length; this.metricName = builder.metricName; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.period = builder.period; 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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest 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 express */ public String getExpress() { return this.express; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return length */ public String getLength() { return this.length; } /** * @return metricName */ public String getMetricName() { return this.metricName; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return period */ public String getPeriod() { return this.period; } /** * @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<DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest, Builder> { private String regionId; private String endTime; private String express; private String instanceId; private String length; private String metricName; private String ownerAccount; private Long ownerId; private String period; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String startTime; private Builder() { super(); } private Builder(DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest request) { super(request); this.regionId = request.regionId; this.endTime = request.endTime; this.express = request.express; this.instanceId = request.instanceId; this.length = request.length; this.metricName = request.metricName; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.period = request.period; 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>This parameter is required.</p> * * <strong>example:</strong> * <p>2024-09-20T00:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * Express. */ public Builder express(String express) { this.putQueryParameter("Express", express); this.express = express; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>tc-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * Length. */ public Builder length(String length) { this.putQueryParameter("Length", length); this.length = length; return this; } /** * MetricName. */ public Builder metricName(String metricName) { this.putQueryParameter("MetricName", metricName); this.metricName = metricName; 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; } /** * Period. */ public Builder period(String period) { this.putQueryParameter("Period", period); this.period = period; 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 required.</p> * * <strong>example:</strong> * <p>2024-09-05T08:49:27Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest build() { return new DescribeTairKVCacheCustomInstanceHistoryMonitorValuesRequest(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/DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse.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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse</p> */ public class DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse 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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody body; private DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse 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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody body); @Override DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse 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(DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody body) { this.body = body; return this; } @Override public DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse build() { return new DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponse(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/DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody.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 DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody</p> */ public class DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Datapoints") private String datapoints; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody(Builder builder) { this.datapoints = builder.datapoints; this.nextToken = builder.nextToken; this.period = builder.period; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return datapoints */ public String getDatapoints() { return this.datapoints; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String datapoints; private String nextToken; private String period; private String requestId; private Builder() { } private Builder(DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody model) { this.datapoints = model.datapoints; this.nextToken = model.nextToken; this.period = model.period; this.requestId = model.requestId; } /** * Datapoints. */ public Builder datapoints(String datapoints) { this.datapoints = datapoints; return this; } /** * NextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * Period. */ public Builder period(String period) { this.period = period; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody build() { return new DescribeTairKVCacheCustomInstanceHistoryMonitorValuesResponseBody(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/DescribeTairKVCacheCustomInstancesRequest.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 DescribeTairKVCacheCustomInstancesRequest} extends {@link RequestModel} * * <p>DescribeTairKVCacheCustomInstancesRequest</p> */ public class DescribeTairKVCacheCustomInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Expired") private String expired; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") private String instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @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") @com.aliyun.core.annotation.Validation(maximum = 1000) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchKey") private String searchKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeTairKVCacheCustomInstancesRequest(Builder builder) { super(builder); this.chargeType = builder.chargeType; this.expired = builder.expired; this.instanceClass = builder.instanceClass; this.instanceIds = builder.instanceIds; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.networkType = builder.networkType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.searchKey = builder.searchKey; this.securityToken = builder.securityToken; this.tag = builder.tag; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeTairKVCacheCustomInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return expired */ public String getExpired() { return this.expired; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceIds */ public String getInstanceIds() { return this.instanceIds; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @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 privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @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 searchKey */ public String getSearchKey() { return this.searchKey; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeTairKVCacheCustomInstancesRequest, Builder> { private String chargeType; private String expired; private String instanceClass; private String instanceIds; private String instanceStatus; private String instanceType; private String networkType; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String privateIp; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String searchKey; private String securityToken; private java.util.List<Tag> tag; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { super(); } private Builder(DescribeTairKVCacheCustomInstancesRequest request) { super(request); this.chargeType = request.chargeType; this.expired = request.expired; this.instanceClass = request.instanceClass; this.instanceIds = request.instanceIds; this.instanceStatus = request.instanceStatus; this.instanceType = request.instanceType; this.networkType = request.networkType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.privateIp = request.privateIp; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.searchKey = request.searchKey; this.securityToken = request.securityToken; this.tag = request.tag; this.vSwitchId = request.vSwitchId; this.vpcId = request.vpcId; this.zoneId = request.zoneId; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.putQueryParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * Expired. */ public Builder expired(String expired) { this.putQueryParameter("Expired", expired); this.expired = expired; return this; } /** * InstanceClass. */ public Builder instanceClass(String instanceClass) { this.putQueryParameter("InstanceClass", instanceClass); this.instanceClass = instanceClass; return this; } /** * InstanceIds. */ public Builder instanceIds(String instanceIds) { this.putQueryParameter("InstanceIds", instanceIds); this.instanceIds = instanceIds; return this; } /** * InstanceStatus. */ public Builder instanceStatus(String instanceStatus) { this.putQueryParameter("InstanceStatus", instanceStatus); this.instanceStatus = instanceStatus; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.putQueryParameter("NetworkType", networkType); this.networkType = networkType; 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; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * PrivateIp. */ public Builder privateIp(String privateIp) { this.putQueryParameter("PrivateIp", privateIp); this.privateIp = privateIp; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceGroupId. */ 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; } /** * SearchKey. */ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); this.searchKey = searchKey; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.putQueryParameter("VSwitchId", vSwitchId); this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribeTairKVCacheCustomInstancesRequest build() { return new DescribeTairKVCacheCustomInstancesRequest(this); } } /** * * {@link DescribeTairKVCacheCustomInstancesRequest} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesRequest</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; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(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/DescribeTairKVCacheCustomInstancesResponse.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 DescribeTairKVCacheCustomInstancesResponse} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesResponse</p> */ public class DescribeTairKVCacheCustomInstancesResponse 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 DescribeTairKVCacheCustomInstancesResponseBody body; private DescribeTairKVCacheCustomInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeTairKVCacheCustomInstancesResponse 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 DescribeTairKVCacheCustomInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeTairKVCacheCustomInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeTairKVCacheCustomInstancesResponseBody body); @Override DescribeTairKVCacheCustomInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeTairKVCacheCustomInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeTairKVCacheCustomInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeTairKVCacheCustomInstancesResponse 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(DescribeTairKVCacheCustomInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeTairKVCacheCustomInstancesResponse build() { return new DescribeTairKVCacheCustomInstancesResponse(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/DescribeTairKVCacheCustomInstancesResponseBody.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 DescribeTairKVCacheCustomInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesResponseBody</p> */ public class DescribeTairKVCacheCustomInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private 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 DescribeTairKVCacheCustomInstancesResponseBody(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 DescribeTairKVCacheCustomInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public 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 Instances instances; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeTairKVCacheCustomInstancesResponseBody model) { this.instances = model.instances; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * Instances. */ public Builder instances(Instances instances) { this.instances = instances; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeTairKVCacheCustomInstancesResponseBody build() { return new DescribeTairKVCacheCustomInstancesResponseBody(this); } } /** * * {@link DescribeTairKVCacheCustomInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesResponseBody</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; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeTairKVCacheCustomInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesResponseBody</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 DescribeTairKVCacheCustomInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesResponseBody</p> */ public static class KVStoreInstance extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DestroyTime") private String destroyTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @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("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("Storage") private Long storage; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("UseEni") private Boolean useEni; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private KVStoreInstance(Builder builder) { this.chargeType = builder.chargeType; this.createTime = builder.createTime; this.destroyTime = builder.destroyTime; this.endTime = builder.endTime; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.networkType = builder.networkType; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.storage = builder.storage; this.storageType = builder.storageType; this.tags = builder.tags; this.useEni = builder.useEni; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static KVStoreInstance create() { return builder().build(); } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return destroyTime */ public String getDestroyTime() { return this.destroyTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @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 instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return storage */ public Long getStorage() { return this.storage; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return useEni */ public Boolean getUseEni() { return this.useEni; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String chargeType; private String createTime; private String destroyTime; private String endTime; private String instanceClass; private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private String networkType; private String privateIp; private String regionId; private String resourceGroupId; private Long storage; private String storageType; private Tags tags; private Boolean useEni; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { } private Builder(KVStoreInstance model) { this.chargeType = model.chargeType; this.createTime = model.createTime; this.destroyTime = model.destroyTime; this.endTime = model.endTime; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.networkType = model.networkType; this.privateIp = model.privateIp; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.storage = model.storage; this.storageType = model.storageType; this.tags = model.tags; this.useEni = model.useEni; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * CreateTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * DestroyTime. */ public Builder destroyTime(String destroyTime) { this.destroyTime = destroyTime; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * InstanceClass. */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InstanceName. */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * InstanceStatus. */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** * PrivateIp. */ public Builder privateIp(String privateIp) { this.privateIp = privateIp; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * Storage. */ public Builder storage(Long storage) { this.storage = storage; return this; } /** * StorageType. */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * UseEni. */ public Builder useEni(Boolean useEni) { this.useEni = useEni; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public KVStoreInstance build() { return new KVStoreInstance(this); } } } /** * * {@link DescribeTairKVCacheCustomInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheCustomInstancesResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("KVStoreInstance") private java.util.List<KVStoreInstance> KVStoreInstance; private Instances(Builder builder) { this.KVStoreInstance = builder.KVStoreInstance; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return KVStoreInstance */ public java.util.List<KVStoreInstance> getKVStoreInstance() { return this.KVStoreInstance; } public static final class Builder { private java.util.List<KVStoreInstance> KVStoreInstance; private Builder() { } private Builder(Instances model) { this.KVStoreInstance = model.KVStoreInstance; } /** * KVStoreInstance. */ public Builder KVStoreInstance(java.util.List<KVStoreInstance> KVStoreInstance) { this.KVStoreInstance = KVStoreInstance; 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/DescribeTairKVCacheInferInstanceAttributeRequest.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 DescribeTairKVCacheInferInstanceAttributeRequest} extends {@link RequestModel} * * <p>DescribeTairKVCacheInferInstanceAttributeRequest</p> */ public class DescribeTairKVCacheInferInstanceAttributeRequest 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 DescribeTairKVCacheInferInstanceAttributeRequest(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 DescribeTairKVCacheInferInstanceAttributeRequest 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<DescribeTairKVCacheInferInstanceAttributeRequest, 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(DescribeTairKVCacheInferInstanceAttributeRequest 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>This parameter is required.</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 DescribeTairKVCacheInferInstanceAttributeRequest build() { return new DescribeTairKVCacheInferInstanceAttributeRequest(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/DescribeTairKVCacheInferInstanceAttributeResponse.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 DescribeTairKVCacheInferInstanceAttributeResponse} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstanceAttributeResponse</p> */ public class DescribeTairKVCacheInferInstanceAttributeResponse 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 DescribeTairKVCacheInferInstanceAttributeResponseBody body; private DescribeTairKVCacheInferInstanceAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeTairKVCacheInferInstanceAttributeResponse 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 DescribeTairKVCacheInferInstanceAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeTairKVCacheInferInstanceAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeTairKVCacheInferInstanceAttributeResponseBody body); @Override DescribeTairKVCacheInferInstanceAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeTairKVCacheInferInstanceAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeTairKVCacheInferInstanceAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeTairKVCacheInferInstanceAttributeResponse 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(DescribeTairKVCacheInferInstanceAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeTairKVCacheInferInstanceAttributeResponse build() { return new DescribeTairKVCacheInferInstanceAttributeResponse(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/DescribeTairKVCacheInferInstanceAttributeResponseBody.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 DescribeTairKVCacheInferInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstanceAttributeResponseBody</p> */ public class DescribeTairKVCacheInferInstanceAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private Instances instances; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeTairKVCacheInferInstanceAttributeResponseBody(Builder builder) { this.instances = builder.instances; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeTairKVCacheInferInstanceAttributeResponseBody 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(DescribeTairKVCacheInferInstanceAttributeResponseBody model) { this.instances = model.instances; this.requestId = model.requestId; } /** * Instances. */ public Builder instances(Instances instances) { this.instances = instances; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeTairKVCacheInferInstanceAttributeResponseBody build() { return new DescribeTairKVCacheInferInstanceAttributeResponseBody(this); } } /** * * {@link DescribeTairKVCacheInferInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstanceAttributeResponseBody</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; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeTairKVCacheInferInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstanceAttributeResponseBody</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 DescribeTairKVCacheInferInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstanceAttributeResponseBody</p> */ public static class DBInstanceAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("ArchitectureType") private String architectureType; @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("ComputeUnitNum") private Integer computeUnitNum; @com.aliyun.core.annotation.NameInMap("ConnectionString") private String connectionString; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @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("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("IsDelete") private Integer isDelete; @com.aliyun.core.annotation.NameInMap("IsOrderCompleted") private String isOrderCompleted; @com.aliyun.core.annotation.NameInMap("Model") private String model; @com.aliyun.core.annotation.NameInMap("ModelServiceNum") private Integer modelServiceNum; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("Storage") private Long storage; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @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.chargeType = builder.chargeType; this.computeUnitNum = builder.computeUnitNum; this.connectionString = builder.connectionString; this.createTime = builder.createTime; this.endTime = builder.endTime; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.isDelete = builder.isDelete; this.isOrderCompleted = builder.isOrderCompleted; this.model = builder.model; this.modelServiceNum = builder.modelServiceNum; this.networkType = builder.networkType; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.storage = builder.storage; this.tags = builder.tags; this.vSwitchId = builder.vSwitchId; 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 chargeType */ public String getChargeType() { return this.chargeType; } /** * @return computeUnitNum */ public Integer getComputeUnitNum() { return this.computeUnitNum; } /** * @return connectionString */ public String getConnectionString() { return this.connectionString; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @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 instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return isDelete */ public Integer getIsDelete() { return this.isDelete; } /** * @return isOrderCompleted */ public String getIsOrderCompleted() { return this.isOrderCompleted; } /** * @return model */ public String getModel() { return this.model; } /** * @return modelServiceNum */ public Integer getModelServiceNum() { return this.modelServiceNum; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return storage */ public Long getStorage() { return this.storage; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @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 chargeType; private Integer computeUnitNum; private String connectionString; private String createTime; private String endTime; private String instanceClass; private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private Integer isDelete; private String isOrderCompleted; private String model; private Integer modelServiceNum; private String networkType; private String privateIp; private String regionId; private String resourceGroupId; private Long storage; private Tags tags; private String vSwitchId; private String vpcId; private String zoneId; private String zoneType; private Builder() { } private Builder(DBInstanceAttribute model) { this.architectureType = model.architectureType; this.chargeType = model.chargeType; this.computeUnitNum = model.computeUnitNum; this.connectionString = model.connectionString; this.createTime = model.createTime; this.endTime = model.endTime; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.isDelete = model.isDelete; this.isOrderCompleted = model.isOrderCompleted; this.model = model.model; this.modelServiceNum = model.modelServiceNum; this.networkType = model.networkType; this.privateIp = model.privateIp; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.storage = model.storage; this.tags = model.tags; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; this.zoneType = model.zoneType; } /** * ArchitectureType. */ public Builder architectureType(String architectureType) { this.architectureType = architectureType; return this; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * ComputeUnitNum. */ public Builder computeUnitNum(Integer computeUnitNum) { this.computeUnitNum = computeUnitNum; return this; } /** * ConnectionString. */ public Builder connectionString(String connectionString) { this.connectionString = connectionString; return this; } /** * CreateTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * InstanceClass. */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InstanceName. */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * InstanceStatus. */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * IsDelete. */ public Builder isDelete(Integer isDelete) { this.isDelete = isDelete; return this; } /** * IsOrderCompleted. */ public Builder isOrderCompleted(String isOrderCompleted) { this.isOrderCompleted = isOrderCompleted; return this; } /** * Model. */ public Builder model(String model) { this.model = model; return this; } /** * ModelServiceNum. */ public Builder modelServiceNum(Integer modelServiceNum) { this.modelServiceNum = modelServiceNum; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** * PrivateIp. */ public Builder privateIp(String privateIp) { this.privateIp = privateIp; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * Storage. */ public Builder storage(Long storage) { this.storage = storage; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } /** * ZoneType. */ public Builder zoneType(String zoneType) { this.zoneType = zoneType; return this; } public DBInstanceAttribute build() { return new DBInstanceAttribute(this); } } } /** * * {@link DescribeTairKVCacheInferInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstanceAttributeResponseBody</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/DescribeTairKVCacheInferInstancesRequest.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 DescribeTairKVCacheInferInstancesRequest} extends {@link RequestModel} * * <p>DescribeTairKVCacheInferInstancesRequest</p> */ public class DescribeTairKVCacheInferInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Expired") private String expired; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceClass") private String instanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") private String instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @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") @com.aliyun.core.annotation.Validation(maximum = 1000) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @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("SearchKey") private String searchKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeTairKVCacheInferInstancesRequest(Builder builder) { super(builder); this.chargeType = builder.chargeType; this.expired = builder.expired; this.instanceClass = builder.instanceClass; this.instanceIds = builder.instanceIds; this.instanceStatus = builder.instanceStatus; this.networkType = builder.networkType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.searchKey = builder.searchKey; this.securityToken = builder.securityToken; this.tag = builder.tag; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeTairKVCacheInferInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return expired */ public String getExpired() { return this.expired; } /** * @return instanceClass */ public String getInstanceClass() { return this.instanceClass; } /** * @return instanceIds */ public String getInstanceIds() { return this.instanceIds; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @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 privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @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 searchKey */ public String getSearchKey() { return this.searchKey; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeTairKVCacheInferInstancesRequest, Builder> { private String chargeType; private String expired; private String instanceClass; private String instanceIds; private String instanceStatus; private String networkType; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String privateIp; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String searchKey; private String securityToken; private java.util.List<Tag> tag; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { super(); } private Builder(DescribeTairKVCacheInferInstancesRequest request) { super(request); this.chargeType = request.chargeType; this.expired = request.expired; this.instanceClass = request.instanceClass; this.instanceIds = request.instanceIds; this.instanceStatus = request.instanceStatus; this.networkType = request.networkType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.privateIp = request.privateIp; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.searchKey = request.searchKey; this.securityToken = request.securityToken; this.tag = request.tag; this.vSwitchId = request.vSwitchId; this.vpcId = request.vpcId; this.zoneId = request.zoneId; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.putQueryParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * Expired. */ public Builder expired(String expired) { this.putQueryParameter("Expired", expired); this.expired = expired; return this; } /** * InstanceClass. */ public Builder instanceClass(String instanceClass) { this.putQueryParameter("InstanceClass", instanceClass); this.instanceClass = instanceClass; return this; } /** * InstanceIds. */ public Builder instanceIds(String instanceIds) { this.putQueryParameter("InstanceIds", instanceIds); this.instanceIds = instanceIds; return this; } /** * InstanceStatus. */ public Builder instanceStatus(String instanceStatus) { this.putQueryParameter("InstanceStatus", instanceStatus); this.instanceStatus = instanceStatus; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.putQueryParameter("NetworkType", networkType); this.networkType = networkType; 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; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * PrivateIp. */ public Builder privateIp(String privateIp) { this.putQueryParameter("PrivateIp", privateIp); this.privateIp = privateIp; return this; } /** * <p>This parameter is required.</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceGroupId. */ 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; } /** * SearchKey. */ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); this.searchKey = searchKey; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.putQueryParameter("VSwitchId", vSwitchId); this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribeTairKVCacheInferInstancesRequest build() { return new DescribeTairKVCacheInferInstancesRequest(this); } } /** * * {@link DescribeTairKVCacheInferInstancesRequest} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesRequest</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; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(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/DescribeTairKVCacheInferInstancesResponse.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 DescribeTairKVCacheInferInstancesResponse} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesResponse</p> */ public class DescribeTairKVCacheInferInstancesResponse 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 DescribeTairKVCacheInferInstancesResponseBody body; private DescribeTairKVCacheInferInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeTairKVCacheInferInstancesResponse 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 DescribeTairKVCacheInferInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeTairKVCacheInferInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeTairKVCacheInferInstancesResponseBody body); @Override DescribeTairKVCacheInferInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeTairKVCacheInferInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeTairKVCacheInferInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeTairKVCacheInferInstancesResponse 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(DescribeTairKVCacheInferInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeTairKVCacheInferInstancesResponse build() { return new DescribeTairKVCacheInferInstancesResponse(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/DescribeTairKVCacheInferInstancesResponseBody.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 DescribeTairKVCacheInferInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesResponseBody</p> */ public class DescribeTairKVCacheInferInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private 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 DescribeTairKVCacheInferInstancesResponseBody(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 DescribeTairKVCacheInferInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public 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 Instances instances; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeTairKVCacheInferInstancesResponseBody model) { this.instances = model.instances; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * Instances. */ public Builder instances(Instances instances) { this.instances = instances; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeTairKVCacheInferInstancesResponseBody build() { return new DescribeTairKVCacheInferInstancesResponseBody(this); } } /** * * {@link DescribeTairKVCacheInferInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesResponseBody</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; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeTairKVCacheInferInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesResponseBody</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 DescribeTairKVCacheInferInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesResponseBody</p> */ public static class TairInferInstanceDTO extends TeaModel { @com.aliyun.core.annotation.NameInMap("AckId") private String ackId; @com.aliyun.core.annotation.NameInMap("Capacity") private Long capacity; @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("ComputeUnitNum") private Integer computeUnitNum; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DestroyTime") private String destroyTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @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("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Model") private String model; @com.aliyun.core.annotation.NameInMap("ModelServiceNum") private Integer modelServiceNum; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("PrivateIp") private String privateIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("VNodeCount") private Integer vNodeCount; @com.aliyun.core.annotation.NameInMap("VNodeName") private String vNodeName; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private TairInferInstanceDTO(Builder builder) { this.ackId = builder.ackId; this.capacity = builder.capacity; this.chargeType = builder.chargeType; this.computeUnitNum = builder.computeUnitNum; this.createTime = builder.createTime; this.destroyTime = builder.destroyTime; this.endTime = builder.endTime; this.instanceClass = builder.instanceClass; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.model = builder.model; this.modelServiceNum = builder.modelServiceNum; this.networkType = builder.networkType; this.privateIp = builder.privateIp; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.tags = builder.tags; this.vNodeCount = builder.vNodeCount; this.vNodeName = builder.vNodeName; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static TairInferInstanceDTO create() { return builder().build(); } /** * @return ackId */ public String getAckId() { return this.ackId; } /** * @return capacity */ public Long getCapacity() { return this.capacity; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return computeUnitNum */ public Integer getComputeUnitNum() { return this.computeUnitNum; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return destroyTime */ public String getDestroyTime() { return this.destroyTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @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 instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return model */ public String getModel() { return this.model; } /** * @return modelServiceNum */ public Integer getModelServiceNum() { return this.modelServiceNum; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return privateIp */ public String getPrivateIp() { return this.privateIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return vNodeCount */ public Integer getVNodeCount() { return this.vNodeCount; } /** * @return vNodeName */ public String getVNodeName() { return this.vNodeName; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String ackId; private Long capacity; private String chargeType; private Integer computeUnitNum; private String createTime; private String destroyTime; private String endTime; private String instanceClass; private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private String model; private Integer modelServiceNum; private String networkType; private String privateIp; private String regionId; private String resourceGroupId; private Tags tags; private Integer vNodeCount; private String vNodeName; private String vSwitchId; private String vpcId; private String zoneId; private Builder() { } private Builder(TairInferInstanceDTO model) { this.ackId = model.ackId; this.capacity = model.capacity; this.chargeType = model.chargeType; this.computeUnitNum = model.computeUnitNum; this.createTime = model.createTime; this.destroyTime = model.destroyTime; this.endTime = model.endTime; this.instanceClass = model.instanceClass; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.model = model.model; this.modelServiceNum = model.modelServiceNum; this.networkType = model.networkType; this.privateIp = model.privateIp; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.tags = model.tags; this.vNodeCount = model.vNodeCount; this.vNodeName = model.vNodeName; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.zoneId = model.zoneId; } /** * AckId. */ public Builder ackId(String ackId) { this.ackId = ackId; return this; } /** * Capacity. */ public Builder capacity(Long capacity) { this.capacity = capacity; return this; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * ComputeUnitNum. */ public Builder computeUnitNum(Integer computeUnitNum) { this.computeUnitNum = computeUnitNum; return this; } /** * CreateTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * DestroyTime. */ public Builder destroyTime(String destroyTime) { this.destroyTime = destroyTime; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * InstanceClass. */ public Builder instanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InstanceName. */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * InstanceStatus. */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * Model. */ public Builder model(String model) { this.model = model; return this; } /** * ModelServiceNum. */ public Builder modelServiceNum(Integer modelServiceNum) { this.modelServiceNum = modelServiceNum; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** * PrivateIp. */ public Builder privateIp(String privateIp) { this.privateIp = privateIp; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * VNodeCount. */ public Builder vNodeCount(Integer vNodeCount) { this.vNodeCount = vNodeCount; return this; } /** * VNodeName. */ public Builder vNodeName(String vNodeName) { this.vNodeName = vNodeName; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public TairInferInstanceDTO build() { return new TairInferInstanceDTO(this); } } } /** * * {@link DescribeTairKVCacheInferInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeTairKVCacheInferInstancesResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("TairInferInstanceDTO") private java.util.List<TairInferInstanceDTO> tairInferInstanceDTO; private Instances(Builder builder) { this.tairInferInstanceDTO = builder.tairInferInstanceDTO; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return tairInferInstanceDTO */ public java.util.List<TairInferInstanceDTO> getTairInferInstanceDTO() { return this.tairInferInstanceDTO; } public static final class Builder { private java.util.List<TairInferInstanceDTO> tairInferInstanceDTO; private Builder() { } private Builder(Instances model) { this.tairInferInstanceDTO = model.tairInferInstanceDTO; } /** * TairInferInstanceDTO. */ public Builder tairInferInstanceDTO(java.util.List<TairInferInstanceDTO> tairInferInstanceDTO) { this.tairInferInstanceDTO = tairInferInstanceDTO; 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/DescribeZonesRequest.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 DescribeZonesRequest} extends {@link RequestModel} * * <p>DescribeZonesRequest</p> */ public class DescribeZonesRequest 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("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") 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 DescribeZonesRequest(Builder builder) { super(builder); this.acceptLanguage = builder.acceptLanguage; 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 DescribeZonesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return acceptLanguage */ public String getAcceptLanguage() { return this.acceptLanguage; } /** * @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<DescribeZonesRequest, Builder> { private String acceptLanguage; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeZonesRequest request) { super(request); this.acceptLanguage = request.acceptLanguage; 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 display language of the zone names to return. Valid values:</p> * <ul> * <li><strong>zh-CN</strong> (default): Chinese</li> * <li><strong>en-US</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>en-US</p> */ public Builder acceptLanguage(String acceptLanguage) { this.putQueryParameter("AcceptLanguage", acceptLanguage); this.acceptLanguage = acceptLanguage; 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> * * <strong>example:</strong> * <p>cn-huhehaote</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 DescribeZonesRequest build() { return new DescribeZonesRequest(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/DescribeZonesResponse.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 DescribeZonesResponse} extends {@link TeaModel} * * <p>DescribeZonesResponse</p> */ public class DescribeZonesResponse 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 DescribeZonesResponseBody body; private DescribeZonesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeZonesResponse 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 DescribeZonesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeZonesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeZonesResponseBody body); @Override DescribeZonesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeZonesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeZonesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeZonesResponse 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(DescribeZonesResponseBody body) { this.body = body; return this; } @Override public DescribeZonesResponse build() { return new DescribeZonesResponse(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/DescribeZonesResponseBody.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 DescribeZonesResponseBody} extends {@link TeaModel} * * <p>DescribeZonesResponseBody</p> */ public class DescribeZonesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Zones") private Zones zones; private DescribeZonesResponseBody(Builder builder) { this.requestId = builder.requestId; this.zones = builder.zones; } public static Builder builder() { return new Builder(); } public static DescribeZonesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return zones */ public Zones getZones() { return this.zones; } public static final class Builder { private String requestId; private Zones zones; private Builder() { } private Builder(DescribeZonesResponseBody model) { this.requestId = model.requestId; this.zones = model.zones; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>1D42F072-72FE-4DC4-BB8E-64B1D298****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The queried zones.</p> */ public Builder zones(Zones zones) { this.zones = zones; return this; } public DescribeZonesResponseBody build() { return new DescribeZonesResponseBody(this); } } /** * * {@link DescribeZonesResponseBody} extends {@link TeaModel} * * <p>DescribeZonesResponseBody</p> */ public static class KVStoreZone extends TeaModel { @com.aliyun.core.annotation.NameInMap("Disabled") private Boolean disabled; @com.aliyun.core.annotation.NameInMap("IsRds") private Boolean isRds; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("SwitchNetwork") private Boolean switchNetwork; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; @com.aliyun.core.annotation.NameInMap("ZoneName") private String zoneName; private KVStoreZone(Builder builder) { this.disabled = builder.disabled; this.isRds = builder.isRds; this.regionId = builder.regionId; this.switchNetwork = builder.switchNetwork; this.zoneId = builder.zoneId; this.zoneName = builder.zoneName; } public static Builder builder() { return new Builder(); } public static KVStoreZone create() { return builder().build(); } /** * @return disabled */ public Boolean getDisabled() { return this.disabled; } /** * @return isRds */ public Boolean getIsRds() { return this.isRds; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return switchNetwork */ public Boolean getSwitchNetwork() { return this.switchNetwork; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } /** * @return zoneName */ public String getZoneName() { return this.zoneName; } public static final class Builder { private Boolean disabled; private Boolean isRds; private String regionId; private Boolean switchNetwork; private String zoneId; private String zoneName; private Builder() { } private Builder(KVStoreZone model) { this.disabled = model.disabled; this.isRds = model.isRds; this.regionId = model.regionId; this.switchNetwork = model.switchNetwork; this.zoneId = model.zoneId; this.zoneName = model.zoneName; } /** * <p>Indicates whether Tair (Redis OSS-compatible) instances can be created in the current zone. Valid values:</p> * <ul> * <li><strong>true</strong>: Tair (Redis OSS-compatible) instances cannot be created in the current zone.</li> * <li><strong>false</strong>: Tair (Redis OSS-compatible) instances can be created in the current zone.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder disabled(Boolean disabled) { this.disabled = disabled; return this; } /** * <p>Indicates whether the zone is managed by ApsaraDB RDS. The return value of this parameter is <strong>true</strong> in Tair (Redis OSS-compatible).</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isRds(Boolean isRds) { this.isRds = isRds; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-huhehaote</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>Indicates whether the network type of the instance can be changed from the classic network to Virtual Private Cloud (VPC). Valid values:</p> * <ul> * <li><strong>true</strong>: The network type of the instance can be changed from the classic network to VPC.</li> * <li><strong>false</strong>: The network type of the instance cannot be changed from the classic network to VPC.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder switchNetwork(Boolean switchNetwork) { this.switchNetwork = switchNetwork; return this; } /** * <p>The ID of the zone within the specified region.</p> * * <strong>example:</strong> * <p>cn-huhehaote-b</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } /** * <p>The name of the zone within the specified region.</p> * * <strong>example:</strong> * <p>Hohhot Zone B</p> */ public Builder zoneName(String zoneName) { this.zoneName = zoneName; return this; } public KVStoreZone build() { return new KVStoreZone(this); } } } /** * * {@link DescribeZonesResponseBody} extends {@link TeaModel} * * <p>DescribeZonesResponseBody</p> */ public static class Zones extends TeaModel { @com.aliyun.core.annotation.NameInMap("KVStoreZone") private java.util.List<KVStoreZone> KVStoreZone; private Zones(Builder builder) { this.KVStoreZone = builder.KVStoreZone; } public static Builder builder() { return new Builder(); } public static Zones create() { return builder().build(); } /** * @return KVStoreZone */ public java.util.List<KVStoreZone> getKVStoreZone() { return this.KVStoreZone; } public static final class Builder { private java.util.List<KVStoreZone> KVStoreZone; private Builder() { } private Builder(Zones model) { this.KVStoreZone = model.KVStoreZone; } /** * KVStoreZone. */ public Builder KVStoreZone(java.util.List<KVStoreZone> KVStoreZone) { this.KVStoreZone = KVStoreZone; return this; } public Zones build() { return new Zones(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/EnableAdditionalBandwidthRequest.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 EnableAdditionalBandwidthRequest} extends {@link RequestModel} * * <p>EnableAdditionalBandwidthRequest</p> */ public class EnableAdditionalBandwidthRequest 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("AutoPay") private Boolean autoPay; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AutoRenew") private Boolean autoRenew; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AutoRenewPeriod") private Integer autoRenewPeriod; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bandwidth") private String bandwidth; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CouponNo") private String couponNo; @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("OrderTimeLength") private String orderTimeLength; @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 EnableAdditionalBandwidthRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.autoPay = builder.autoPay; this.autoRenew = builder.autoRenew; this.autoRenewPeriod = builder.autoRenewPeriod; this.bandwidth = builder.bandwidth; this.chargeType = builder.chargeType; this.couponNo = builder.couponNo; this.instanceId = builder.instanceId; this.nodeId = builder.nodeId; this.orderTimeLength = builder.orderTimeLength; 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 EnableAdditionalBandwidthRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return autoPay */ public Boolean getAutoPay() { return this.autoPay; } /** * @return autoRenew */ public Boolean getAutoRenew() { return this.autoRenew; } /** * @return autoRenewPeriod */ public Integer getAutoRenewPeriod() { return this.autoRenewPeriod; } /** * @return bandwidth */ public String getBandwidth() { return this.bandwidth; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return couponNo */ public String getCouponNo() { return this.couponNo; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return orderTimeLength */ public String getOrderTimeLength() { return this.orderTimeLength; } /** * @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<EnableAdditionalBandwidthRequest, Builder> { private String regionId; private Boolean autoPay; private Boolean autoRenew; private Integer autoRenewPeriod; private String bandwidth; private String chargeType; private String couponNo; private String instanceId; private String nodeId; private String orderTimeLength; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String sourceBiz; private Builder() { super(); } private Builder(EnableAdditionalBandwidthRequest request) { super(request); this.regionId = request.regionId; this.autoPay = request.autoPay; this.autoRenew = request.autoRenew; this.autoRenewPeriod = request.autoRenewPeriod; this.bandwidth = request.bandwidth; this.chargeType = request.chargeType; this.couponNo = request.couponNo; this.instanceId = request.instanceId; this.nodeId = request.nodeId; this.orderTimeLength = request.orderTimeLength; 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>Specifies whether to enable automatic payment. Default value: true. Valid values:</p> * <ul> * <li><strong>true</strong>: enables automatic payment. Make sure that you have sufficient balance within your account.</li> * <li><strong>false</strong>: disables automatic payment. If automatic payment is disabled, you must perform the following steps to complete the payment in the Tair (Redis OSS-compatible) console: In the top navigation bar, choose <strong>Expenses</strong> &gt; <strong>Renewal Management</strong>. In the left-side navigation pane, click <strong>Orders</strong>. On the <strong>Orders</strong> page, find the order and complete the payment.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder autoPay(Boolean autoPay) { this.putQueryParameter("AutoPay", autoPay); this.autoPay = autoPay; return this; } /** * <p>Specifies whether to enable auto-renewal. Valid values:</p> * <ul> * <li><strong>true</strong>: enables auto-renewal.</li> * <li><strong>false</strong>: disables auto-renewal. This is the default value.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder autoRenew(Boolean autoRenew) { this.putQueryParameter("AutoRenew", autoRenew); this.autoRenew = autoRenew; return this; } /** * <p>The auto-renewal cycle based on which Tair (Redis OSS-compatible) automatically renews the purchased bandwidth. Unit: months. Valid values: <strong>1</strong>, <strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>, <strong>6</strong>, <strong>7</strong>, <strong>8</strong>, <strong>9</strong>, <strong>12</strong>, <strong>24</strong>, <strong>36</strong>, and <strong>60</strong>.</p> * <blockquote> * <ul> * <li>This parameter takes effect and must be specified only when you set the <strong>AutoRenew</strong> parameter to <strong>true</strong>.</li> * <li>You cannot query the auto-renewal cycle by calling an API operation. To obtain the auto-renewal cycle, you can perform the following procedure: In the top navigation bar of the Tair (Redis OSS-compatible) console, choose <strong>Expenses</strong> &gt; <strong>Renewal Management</strong>. On the page that appears, enter the ID of the instance and the <code>-bw</code> suffix in the <strong>Instance ID</strong> field. Example: r-bp1zxszhcgatnx****-bw.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder autoRenewPeriod(Integer autoRenewPeriod) { this.putQueryParameter("AutoRenewPeriod", autoRenewPeriod); this.autoRenewPeriod = autoRenewPeriod; return this; } /** * <p>The amount of extra bandwidth that you want to purchase. Unit: Mbit/s. The value must be an integer greater than or equal to <strong>0</strong>. The maximum value can be up to six times the default bandwidth of the instance or a single shard, but cannot exceed 192 Mbit/s. For example, if the default bandwidth of an instance is 10 Mbit/s, the value range of this parameter is <strong>0</strong> to <strong>60</strong>.</p> * <blockquote> * <ul> * <li>You can call the <a href="https://help.aliyun.com/document_detail/473782.html">DescribeRoleZoneInfo</a> operation to obtain the default maximum bandwidth returned by the <strong>DefaultBandWidth</strong> response parameter. For more information about instance types, see <a href="https://help.aliyun.com/document_detail/26350.html">Overview</a>.</li> * </ul> * <ul> * <li>If you specify multiple data shard IDs in the <strong>NodeId</strong> parameter, you must specify the amount of bandwidth that you want to purchase for each specified data shard in the Bandwidth parameter. The bandwidth values that you specify in the Bandwidth parameter must be in the same sequence as the data shard IDs that you specify in the NodeId parameter. In addition, you must separate the bandwidth values with commas (,).</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder bandwidth(String bandwidth) { this.putQueryParameter("Bandwidth", bandwidth); this.bandwidth = bandwidth; return this; } /** * <p>The billing method of the bandwidth instance. Default value: PostPaid. Valid values:</p> * <ul> * <li>PrePaid: subscription</li> * <li>PostPaid: pay-as-you-go</li> * </ul> * * <strong>example:</strong> * <p>PostPaid</p> */ public Builder chargeType(String chargeType) { this.putQueryParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * <p>The coupon ID.</p> * * <strong>example:</strong> * <p>youhuiquan_promotion_option_id_for_blank</p> */ public Builder couponNo(String couponNo) { this.putQueryParameter("CouponNo", couponNo); this.couponNo = couponNo; 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 IDs of instances.</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 for which you want to purchase a specific amount of bandwidth. You can call the <a href="https://help.aliyun.com/document_detail/473786.html">DescribeLogicInstanceTopology</a> operation to query the IDs of the data shards in an instance. If you specify multiple data shard IDs, separate the data shard IDs with commas (,). You can also set this parameter to <strong>All</strong>, which specifies all the data shards of the instance.</p> * <blockquote> * <p> This parameter is valid and required only if the instance is a <a href="https://help.aliyun.com/document_detail/52228.html">cluster</a> instance or <a href="https://help.aliyun.com/document_detail/62870.html">read/write splitting</a> instance.</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 validity period of the bandwidth that you purchase. Unit: day. Valid values: <strong>1</strong>, <strong>2</strong>, <strong>3</strong>, <strong>7</strong>, <strong>14</strong>, <strong>30</strong>, <strong>60</strong>, <strong>90</strong>, <strong>180</strong>, <strong>365</strong>, <strong>730</strong>, <strong>1095</strong>, and <strong>1825</strong>.</p> * <blockquote> * <p>If you want to continue using the purchased bandwidth after the specified period of time elapses, you must call the <a href="https://help.aliyun.com/document_detail/473804.html">RenewAdditionalBandwidth</a> operation to submit a renewal order.</p> * </blockquote> * * <strong>example:</strong> * <p>30</p> */ public Builder orderTimeLength(String orderTimeLength) { this.putQueryParameter("OrderTimeLength", orderTimeLength); this.orderTimeLength = orderTimeLength; 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 source of the operation. 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 EnableAdditionalBandwidthRequest build() { return new EnableAdditionalBandwidthRequest(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/EnableAdditionalBandwidthResponse.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 EnableAdditionalBandwidthResponse} extends {@link TeaModel} * * <p>EnableAdditionalBandwidthResponse</p> */ public class EnableAdditionalBandwidthResponse 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 EnableAdditionalBandwidthResponseBody body; private EnableAdditionalBandwidthResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static EnableAdditionalBandwidthResponse 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 EnableAdditionalBandwidthResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<EnableAdditionalBandwidthResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(EnableAdditionalBandwidthResponseBody body); @Override EnableAdditionalBandwidthResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<EnableAdditionalBandwidthResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private EnableAdditionalBandwidthResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(EnableAdditionalBandwidthResponse 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(EnableAdditionalBandwidthResponseBody body) { this.body = body; return this; } @Override public EnableAdditionalBandwidthResponse build() { return new EnableAdditionalBandwidthResponse(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/EnableAdditionalBandwidthResponseBody.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 EnableAdditionalBandwidthResponseBody} extends {@link TeaModel} * * <p>EnableAdditionalBandwidthResponseBody</p> */ public class EnableAdditionalBandwidthResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("OrderId") private String orderId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private EnableAdditionalBandwidthResponseBody(Builder builder) { this.orderId = builder.orderId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static EnableAdditionalBandwidthResponseBody 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(EnableAdditionalBandwidthResponseBody model) { this.orderId = model.orderId; this.requestId = model.requestId; } /** * <p>The ID of the order.</p> * * <strong>example:</strong> * <p>2084452111111</p> */ public Builder orderId(String orderId) { this.orderId = orderId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>D622714-AEDD-4609-9167-F5DDD3D1****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public EnableAdditionalBandwidthResponseBody build() { return new EnableAdditionalBandwidthResponseBody(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/FlushExpireKeysRequest.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 FlushExpireKeysRequest} extends {@link RequestModel} * * <p>FlushExpireKeysRequest</p> */ public class FlushExpireKeysRequest 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("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 FlushExpireKeysRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.effectiveTime = builder.effectiveTime; 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 FlushExpireKeysRequest 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 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<FlushExpireKeysRequest, Builder> { private String regionId; private String effectiveTime; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(FlushExpireKeysRequest request) { super(request); this.regionId = request.regionId; this.effectiveTime = request.effectiveTime; 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 time when you want to delete the expired keys. Default value: Immediately. Valid values:</p> * <ul> * <li><strong>Immediately</strong>: deletes the keys immediately.</li> * <li><strong>MaintainTime</strong>: deletes the keys 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>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 FlushExpireKeysRequest build() { return new FlushExpireKeysRequest(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/FlushExpireKeysResponse.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 FlushExpireKeysResponse} extends {@link TeaModel} * * <p>FlushExpireKeysResponse</p> */ public class FlushExpireKeysResponse 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 FlushExpireKeysResponseBody body; private FlushExpireKeysResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static FlushExpireKeysResponse 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 FlushExpireKeysResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<FlushExpireKeysResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(FlushExpireKeysResponseBody body); @Override FlushExpireKeysResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<FlushExpireKeysResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private FlushExpireKeysResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(FlushExpireKeysResponse 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(FlushExpireKeysResponseBody body) { this.body = body; return this; } @Override public FlushExpireKeysResponse build() { return new FlushExpireKeysResponse(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/FlushExpireKeysResponseBody.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 FlushExpireKeysResponseBody} extends {@link TeaModel} * * <p>FlushExpireKeysResponseBody</p> */ public class FlushExpireKeysResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private FlushExpireKeysResponseBody(Builder builder) { this.instanceId = builder.instanceId; this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static FlushExpireKeysResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String instanceId; private String requestId; private String taskId; private Builder() { } private Builder(FlushExpireKeysResponseBody model) { this.instanceId = model.instanceId; this.requestId = model.requestId; this.taskId = model.taskId; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>82E30AB7-E3A4-46AC-88A0-3E4DCDC5****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>21986****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public FlushExpireKeysResponseBody build() { return new FlushExpireKeysResponseBody(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/FlushInstanceForDBRequest.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 FlushInstanceForDBRequest} extends {@link RequestModel} * * <p>FlushInstanceForDBRequest</p> */ public class FlushInstanceForDBRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DbIndex") @com.aliyun.core.annotation.Validation(required = true) private Integer dbIndex; @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 FlushInstanceForDBRequest(Builder builder) { super(builder); this.dbIndex = builder.dbIndex; 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 FlushInstanceForDBRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dbIndex */ public Integer getDbIndex() { return this.dbIndex; } /** * @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<FlushInstanceForDBRequest, Builder> { private Integer dbIndex; private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(FlushInstanceForDBRequest request) { super(request); this.dbIndex = request.dbIndex; this.instanceId = request.instanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The index number of the database. Valid values: 0 to 255.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder dbIndex(Integer dbIndex) { this.putQueryParameter("DbIndex", dbIndex); this.dbIndex = dbIndex; 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; } @Override public FlushInstanceForDBRequest build() { return new FlushInstanceForDBRequest(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/FlushInstanceForDBResponse.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 FlushInstanceForDBResponse} extends {@link TeaModel} * * <p>FlushInstanceForDBResponse</p> */ public class FlushInstanceForDBResponse 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 FlushInstanceForDBResponseBody body; private FlushInstanceForDBResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static FlushInstanceForDBResponse 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 FlushInstanceForDBResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<FlushInstanceForDBResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(FlushInstanceForDBResponseBody body); @Override FlushInstanceForDBResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<FlushInstanceForDBResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private FlushInstanceForDBResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(FlushInstanceForDBResponse 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(FlushInstanceForDBResponseBody body) { this.body = body; return this; } @Override public FlushInstanceForDBResponse build() { return new FlushInstanceForDBResponse(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/FlushInstanceForDBResponseBody.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 FlushInstanceForDBResponseBody} extends {@link TeaModel} * * <p>FlushInstanceForDBResponseBody</p> */ public class FlushInstanceForDBResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private FlushInstanceForDBResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static FlushInstanceForDBResponseBody 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(FlushInstanceForDBResponseBody model) { this.requestId = model.requestId; } /** * <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; } public FlushInstanceForDBResponseBody build() { return new FlushInstanceForDBResponseBody(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/FlushInstanceRequest.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 FlushInstanceRequest} extends {@link RequestModel} * * <p>FlushInstanceRequest</p> */ public class FlushInstanceRequest 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("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 FlushInstanceRequest(Builder builder) { super(builder); 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 FlushInstanceRequest 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 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<FlushInstanceRequest, Builder> { private String instanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(FlushInstanceRequest request) { super(request); 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 request.</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 FlushInstanceRequest build() { return new FlushInstanceRequest(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/FlushInstanceResponse.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 FlushInstanceResponse} extends {@link TeaModel} * * <p>FlushInstanceResponse</p> */ public class FlushInstanceResponse 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 FlushInstanceResponseBody body; private FlushInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static FlushInstanceResponse 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 FlushInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<FlushInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(FlushInstanceResponseBody body); @Override FlushInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<FlushInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private FlushInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(FlushInstanceResponse 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(FlushInstanceResponseBody body) { this.body = body; return this; } @Override public FlushInstanceResponse build() { return new FlushInstanceResponse(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/FlushInstanceResponseBody.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 FlushInstanceResponseBody} extends {@link TeaModel} * * <p>FlushInstanceResponseBody</p> */ public class FlushInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private FlushInstanceResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static FlushInstanceResponseBody 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(FlushInstanceResponseBody model) { this.requestId = model.requestId; } /** * <p>The operation that you want to perform. Set the value to <strong>FlushInstance</strong>.</p> * * <strong>example:</strong> * <p>8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public FlushInstanceResponseBody build() { return new FlushInstanceResponseBody(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/GrantAccountPrivilegeRequest.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 GrantAccountPrivilegeRequest} extends {@link RequestModel} * * <p>GrantAccountPrivilegeRequest</p> */ public class GrantAccountPrivilegeRequest 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("AccountPrivilege") @com.aliyun.core.annotation.Validation(required = true) private String accountPrivilege; @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 GrantAccountPrivilegeRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.accountName = builder.accountName; this.accountPrivilege = builder.accountPrivilege; 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 GrantAccountPrivilegeRequest 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 accountPrivilege */ public String getAccountPrivilege() { return this.accountPrivilege; } /** * @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<GrantAccountPrivilegeRequest, Builder> { private String regionId; private String accountName; private String accountPrivilege; 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(GrantAccountPrivilegeRequest request) { super(request); this.regionId = request.regionId; this.accountName = request.accountName; this.accountPrivilege = request.accountPrivilege; 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 name of the account. You can call the <a href="~~DescribeAccounts~~">DescribeAccounts</a> operation to obtain the name 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 permissions of the account. Default value: RoleReadWrite. Valid values:</p> * <ul> * <li>RoleReadOnly: The account has the read-only permissions.</li> * <li>RoleReadWrite: The account has the read and write permissions.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>RoleReadWrite</p> */ public Builder accountPrivilege(String accountPrivilege) { this.putQueryParameter("AccountPrivilege", accountPrivilege); this.accountPrivilege = accountPrivilege; return this; } /** * <p>The ID of the instance to which the account belongs.</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 GrantAccountPrivilegeRequest build() { return new GrantAccountPrivilegeRequest(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/GrantAccountPrivilegeResponse.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 GrantAccountPrivilegeResponse} extends {@link TeaModel} * * <p>GrantAccountPrivilegeResponse</p> */ public class GrantAccountPrivilegeResponse 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 GrantAccountPrivilegeResponseBody body; private GrantAccountPrivilegeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GrantAccountPrivilegeResponse 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 GrantAccountPrivilegeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GrantAccountPrivilegeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GrantAccountPrivilegeResponseBody body); @Override GrantAccountPrivilegeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GrantAccountPrivilegeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GrantAccountPrivilegeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GrantAccountPrivilegeResponse 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(GrantAccountPrivilegeResponseBody body) { this.body = body; return this; } @Override public GrantAccountPrivilegeResponse build() { return new GrantAccountPrivilegeResponse(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/GrantAccountPrivilegeResponseBody.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 GrantAccountPrivilegeResponseBody} extends {@link TeaModel} * * <p>GrantAccountPrivilegeResponseBody</p> */ public class GrantAccountPrivilegeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GrantAccountPrivilegeResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GrantAccountPrivilegeResponseBody 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(GrantAccountPrivilegeResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>3845BDF5-15A6-4444-B770-78501819****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GrantAccountPrivilegeResponseBody build() { return new GrantAccountPrivilegeResponseBody(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/InitializeKvstorePermissionRequest.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 InitializeKvstorePermissionRequest} extends {@link RequestModel} * * <p>InitializeKvstorePermissionRequest</p> */ public class InitializeKvstorePermissionRequest extends Request { @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") 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 InitializeKvstorePermissionRequest(Builder builder) { super(builder); 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 InitializeKvstorePermissionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @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<InitializeKvstorePermissionRequest, Builder> { private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(InitializeKvstorePermissionRequest request) { super(request); this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * 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 region.</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; } @Override public InitializeKvstorePermissionRequest build() { return new InitializeKvstorePermissionRequest(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/InitializeKvstorePermissionResponse.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 InitializeKvstorePermissionResponse} extends {@link TeaModel} * * <p>InitializeKvstorePermissionResponse</p> */ public class InitializeKvstorePermissionResponse 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 InitializeKvstorePermissionResponseBody body; private InitializeKvstorePermissionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InitializeKvstorePermissionResponse 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 InitializeKvstorePermissionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InitializeKvstorePermissionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InitializeKvstorePermissionResponseBody body); @Override InitializeKvstorePermissionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InitializeKvstorePermissionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InitializeKvstorePermissionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InitializeKvstorePermissionResponse 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(InitializeKvstorePermissionResponseBody body) { this.body = body; return this; } @Override public InitializeKvstorePermissionResponse build() { return new InitializeKvstorePermissionResponse(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/InitializeKvstorePermissionResponseBody.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 InitializeKvstorePermissionResponseBody} extends {@link TeaModel} * * <p>InitializeKvstorePermissionResponseBody</p> */ public class InitializeKvstorePermissionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private InitializeKvstorePermissionResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InitializeKvstorePermissionResponseBody 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(InitializeKvstorePermissionResponseBody model) { this.requestId = model.requestId; } /** * <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; } public InitializeKvstorePermissionResponseBody build() { return new InitializeKvstorePermissionResponseBody(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/ListTagResourcesRequest.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 ListTagResourcesRequest} extends {@link RequestModel} * * <p>ListTagResourcesRequest</p> */ public class ListTagResourcesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @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("ResourceId") private java.util.List<String> resourceId; @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("ResourceType") @com.aliyun.core.annotation.Validation(required = true) private String resourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private ListTagResourcesRequest(Builder builder) { super(builder); this.nextToken = builder.nextToken; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceId = builder.resourceId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.resourceType = builder.resourceType; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ListTagResourcesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @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 resourceId */ public java.util.List<String> getResourceId() { return this.resourceId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<ListTagResourcesRequest, Builder> { private String nextToken; private String ownerAccount; private Long ownerId; private String regionId; private java.util.List<String> resourceId; private String resourceOwnerAccount; private Long resourceOwnerId; private String resourceType; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(ListTagResourcesRequest request) { super(request); this.nextToken = request.nextToken; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceId = request.resourceId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.resourceType = request.resourceType; this.tag = request.tag; } /** * <p>The token used to start the next query to retrieve more results.</p> * <blockquote> * <p>This parameter is not required in the first query. If not all results are returned in one query, you can specify the <strong>NextToken</strong> value returned for the query to perform the next query.</p> * </blockquote> * * <strong>example:</strong> * <p>212db86sca4384811e0b5e8707ec2****</p> */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; 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.</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 IDs of the instances.</p> * <blockquote> * <ul> * <li>You must specify this parameter or the <strong>Tag</strong> parameter.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>r-bp1zxszhcgatnx****</p> */ public Builder resourceId(java.util.List<String> resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The resource type. Set the value to <strong>INSTANCE</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>INSTANCE</p> */ public Builder resourceType(String resourceType) { this.putQueryParameter("ResourceType", resourceType); this.resourceType = resourceType; return this; } /** * <p>The tags of the instance. You must specify this parameter or the <strong>ResourceId</strong> parameter.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ListTagResourcesRequest build() { return new ListTagResourcesRequest(this); } } /** * * {@link ListTagResourcesRequest} extends {@link TeaModel} * * <p>ListTagResourcesRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The keys of the tags associated with the instances you want to query.</p> * * <strong>example:</strong> * <p>demokey</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The values of the tags associated with the instances you want to query.</p> * * <strong>example:</strong> * <p>demovalue</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }