index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateConsumerGroupResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateConsumerGroupResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreateConsumerGroupResponseBody body;
public static CreateConsumerGroupResponse build(java.util.Map<String, ?> map) throws Exception {
CreateConsumerGroupResponse self = new CreateConsumerGroupResponse();
return TeaModel.build(map, self);
}
public CreateConsumerGroupResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreateConsumerGroupResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreateConsumerGroupResponse setBody(CreateConsumerGroupResponseBody body) {
this.body = body;
return this;
}
public CreateConsumerGroupResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateConsumerGroupResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateConsumerGroupResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E57A8862-DF68-4055-8E55-B80CB4****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreateConsumerGroupResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreateConsumerGroupResponseBody self = new CreateConsumerGroupResponseBody();
return TeaModel.build(map, self);
}
public CreateConsumerGroupResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreateConsumerGroupResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateConsumerGroupResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateConsumerGroupResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayInstanceRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayInstanceRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <strong>example:</strong>
* <p>1500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ServerlessConfig")
public CreatePostPayInstanceRequestServerlessConfig serverlessConfig;
/**
* <strong>example:</strong>
* <p>professional</p>
*/
@NameInMap("SpecType")
public String specType;
@NameInMap("Tag")
public java.util.List<CreatePostPayInstanceRequestTag> tag;
public static CreatePostPayInstanceRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceRequest self = new CreatePostPayInstanceRequest();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePostPayInstanceRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePostPayInstanceRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePostPayInstanceRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePostPayInstanceRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePostPayInstanceRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePostPayInstanceRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePostPayInstanceRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePostPayInstanceRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePostPayInstanceRequest setServerlessConfig(CreatePostPayInstanceRequestServerlessConfig serverlessConfig) {
this.serverlessConfig = serverlessConfig;
return this;
}
public CreatePostPayInstanceRequestServerlessConfig getServerlessConfig() {
return this.serverlessConfig;
}
public CreatePostPayInstanceRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePostPayInstanceRequest setTag(java.util.List<CreatePostPayInstanceRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePostPayInstanceRequestTag> getTag() {
return this.tag;
}
public static class CreatePostPayInstanceRequestServerlessConfig extends TeaModel {
/**
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("ReservedPublishCapacity")
public Long reservedPublishCapacity;
/**
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("ReservedSubscribeCapacity")
public Long reservedSubscribeCapacity;
public static CreatePostPayInstanceRequestServerlessConfig build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceRequestServerlessConfig self = new CreatePostPayInstanceRequestServerlessConfig();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceRequestServerlessConfig setReservedPublishCapacity(Long reservedPublishCapacity) {
this.reservedPublishCapacity = reservedPublishCapacity;
return this;
}
public Long getReservedPublishCapacity() {
return this.reservedPublishCapacity;
}
public CreatePostPayInstanceRequestServerlessConfig setReservedSubscribeCapacity(Long reservedSubscribeCapacity) {
this.reservedSubscribeCapacity = reservedSubscribeCapacity;
return this;
}
public Long getReservedSubscribeCapacity() {
return this.reservedSubscribeCapacity;
}
}
public static class CreatePostPayInstanceRequestTag extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static CreatePostPayInstanceRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceRequestTag self = new CreatePostPayInstanceRequestTag();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePostPayInstanceRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayInstanceResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayInstanceResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePostPayInstanceResponseBody body;
public static CreatePostPayInstanceResponse build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceResponse self = new CreatePostPayInstanceResponse();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePostPayInstanceResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePostPayInstanceResponse setBody(CreatePostPayInstanceResponseBody body) {
this.body = body;
return this;
}
public CreatePostPayInstanceResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayInstanceResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayInstanceResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Data")
public CreatePostPayInstanceResponseBodyData data;
/**
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>ABA4A7FD-E10F-45C7-9774-A5236015A***</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreatePostPayInstanceResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceResponseBody self = new CreatePostPayInstanceResponseBody();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreatePostPayInstanceResponseBody setData(CreatePostPayInstanceResponseBodyData data) {
this.data = data;
return this;
}
public CreatePostPayInstanceResponseBodyData getData() {
return this.data;
}
public CreatePostPayInstanceResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePostPayInstanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreatePostPayInstanceResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreatePostPayInstanceResponseBodyData extends TeaModel {
/**
* <strong>example:</strong>
* <p>alikafka_pre-cn-pe333xxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <strong>example:</strong>
* <p>236972661580636</p>
*/
@NameInMap("OrderId")
public Long orderId;
public static CreatePostPayInstanceResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceResponseBodyData self = new CreatePostPayInstanceResponseBodyData();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceResponseBodyData setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreatePostPayInstanceResponseBodyData setOrderId(Long orderId) {
this.orderId = orderId;
return this;
}
public Long getOrderId() {
return this.orderId;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayInstanceShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayInstanceShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <strong>example:</strong>
* <p>1500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ServerlessConfig")
public String serverlessConfigShrink;
/**
* <strong>example:</strong>
* <p>professional</p>
*/
@NameInMap("SpecType")
public String specType;
@NameInMap("Tag")
public java.util.List<CreatePostPayInstanceShrinkRequestTag> tag;
public static CreatePostPayInstanceShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceShrinkRequest self = new CreatePostPayInstanceShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceShrinkRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePostPayInstanceShrinkRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePostPayInstanceShrinkRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePostPayInstanceShrinkRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePostPayInstanceShrinkRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePostPayInstanceShrinkRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePostPayInstanceShrinkRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePostPayInstanceShrinkRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePostPayInstanceShrinkRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePostPayInstanceShrinkRequest setServerlessConfigShrink(String serverlessConfigShrink) {
this.serverlessConfigShrink = serverlessConfigShrink;
return this;
}
public String getServerlessConfigShrink() {
return this.serverlessConfigShrink;
}
public CreatePostPayInstanceShrinkRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePostPayInstanceShrinkRequest setTag(java.util.List<CreatePostPayInstanceShrinkRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePostPayInstanceShrinkRequestTag> getTag() {
return this.tag;
}
public static class CreatePostPayInstanceShrinkRequestTag extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static CreatePostPayInstanceShrinkRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayInstanceShrinkRequestTag self = new CreatePostPayInstanceShrinkRequestTag();
return TeaModel.build(map, self);
}
public CreatePostPayInstanceShrinkRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePostPayInstanceShrinkRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayOrderRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayOrderRequest extends TeaModel {
/**
* <p>The deployment mode of the instance. Valid values:</p>
* <ul>
* <li><strong>4</strong>: deploys the instance that allows access from the Internet and a VPC.</li>
* <li><strong>5</strong>: deploys the instance that allows access only from a VPC.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <p>The disk size.</p>
* <p>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <p>The disk type of the instance. Valid values:</p>
* <ul>
* <li><strong>0</strong>: ultra disk</li>
* <li><strong>1</strong>: standard SSD</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <p>The Internet traffic.</p>
* <ul>
* <li>If you set <strong>DeployType</strong> to <strong>4</strong>, you must configure this parameter.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <p>The maximum traffic in the instance. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must configure at least one of IoMax and IoMaxSpec. If you configure both parameters, the value of IoMaxSpec takes effect. We recommend that you configure only IoMaxSpec.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("IoMax")
public Integer ioMax;
/**
* <p>The traffic specification of the instance. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure at least one of IoMax and IoMaxSpec. If you configure both parameters, the value of IoMaxSpec takes effect. We recommend that you configure only IoMaxSpec.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <p>The billing method of the instance. Valid values:</p>
* <ul>
* <li>1: pay-as-you-go (reserved capacity).</li>
* <li>3: pay-as-you-go (reserved capacity) + pay-as-you-go (on-demand capacity)</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <p>The number of partitions. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only ParittionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The ID of the resource group.</p>
* <p>If this parameter is left empty, the default resource group is used. You can view the resource group ID on the Resource Group page in the Resource Management console.</p>
*
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <p>The parameters configured for the serverless ApsaraMQ for Kafka instance. These parameters are required only when you create a serverless instance.</p>
*/
@NameInMap("ServerlessConfig")
public CreatePostPayOrderRequestServerlessConfig serverlessConfig;
/**
* <p>The instance edition.</p>
* <p>Valid values if you set PaidType to 1:</p>
* <ul>
* <li>normal: Standard Edition (High Write)</li>
* <li>professional: Professional Edition (High Write)</li>
* <li>professionalForHighRead: Professional Edition (High Read)</li>
* </ul>
* <p>Valid values if you set PaidType to 3:</p>
* <ul>
* <li>normal: Serverless Standard Edition</li>
* </ul>
* <p>For more information about the instance editions, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
*
* <strong>example:</strong>
* <p>normal</p>
*/
@NameInMap("SpecType")
public String specType;
/**
* <p>The tags.</p>
*/
@NameInMap("Tag")
public java.util.List<CreatePostPayOrderRequestTag> tag;
/**
* <p>The number of topics. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only ParittionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>The default value of TopicQuota varies based on the value of IoMaxSpec. If the number of topics that you consume exceeds the default value, you are charged additional fees.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("TopicQuota")
public Integer topicQuota;
public static CreatePostPayOrderRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderRequest self = new CreatePostPayOrderRequest();
return TeaModel.build(map, self);
}
public CreatePostPayOrderRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePostPayOrderRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePostPayOrderRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePostPayOrderRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePostPayOrderRequest setIoMax(Integer ioMax) {
this.ioMax = ioMax;
return this;
}
public Integer getIoMax() {
return this.ioMax;
}
public CreatePostPayOrderRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePostPayOrderRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePostPayOrderRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePostPayOrderRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePostPayOrderRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePostPayOrderRequest setServerlessConfig(CreatePostPayOrderRequestServerlessConfig serverlessConfig) {
this.serverlessConfig = serverlessConfig;
return this;
}
public CreatePostPayOrderRequestServerlessConfig getServerlessConfig() {
return this.serverlessConfig;
}
public CreatePostPayOrderRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePostPayOrderRequest setTag(java.util.List<CreatePostPayOrderRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePostPayOrderRequestTag> getTag() {
return this.tag;
}
public CreatePostPayOrderRequest setTopicQuota(Integer topicQuota) {
this.topicQuota = topicQuota;
return this;
}
public Integer getTopicQuota() {
return this.topicQuota;
}
public static class CreatePostPayOrderRequestServerlessConfig extends TeaModel {
/**
* <p>The reserved capacity for publishing messages. You can specify only an integer for this parameter. Minimum value: 60.</p>
* <blockquote>
* <p> The actual maximum reserved capacity for publishing messages varies based on available resources in the region. The actual range displayed on the buy page shall prevail.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("ReservedPublishCapacity")
public Long reservedPublishCapacity;
/**
* <p>The reserved capacity for subscribing to messages. You can specify only an integer for this parameter. Minimum value: 20.</p>
* <blockquote>
* <p> The actual maximum reserved capacity for subscribing to messages varies based on available resources in the region. The actual range displayed on the buy page shall prevail.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("ReservedSubscribeCapacity")
public Long reservedSubscribeCapacity;
public static CreatePostPayOrderRequestServerlessConfig build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderRequestServerlessConfig self = new CreatePostPayOrderRequestServerlessConfig();
return TeaModel.build(map, self);
}
public CreatePostPayOrderRequestServerlessConfig setReservedPublishCapacity(Long reservedPublishCapacity) {
this.reservedPublishCapacity = reservedPublishCapacity;
return this;
}
public Long getReservedPublishCapacity() {
return this.reservedPublishCapacity;
}
public CreatePostPayOrderRequestServerlessConfig setReservedSubscribeCapacity(Long reservedSubscribeCapacity) {
this.reservedSubscribeCapacity = reservedSubscribeCapacity;
return this;
}
public Long getReservedSubscribeCapacity() {
return this.reservedSubscribeCapacity;
}
}
public static class CreatePostPayOrderRequestTag extends TeaModel {
/**
* <p>The key of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>If this parameter is left empty, the keys of all tags are matched.</li>
* <li>The tag key must be up to 128 characters in length. It cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The value of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>If you do not specify a tag key, you cannot specify a tag value. If this parameter is not configured, all tag values are matched.</li>
* <li>The tag value must be 1 to 128 characters in length. It cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
*
* <strong>example:</strong>
* <p>FinanceJoshua</p>
*/
@NameInMap("Value")
public String value;
public static CreatePostPayOrderRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderRequestTag self = new CreatePostPayOrderRequestTag();
return TeaModel.build(map, self);
}
public CreatePostPayOrderRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePostPayOrderRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayOrderResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayOrderResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePostPayOrderResponseBody body;
public static CreatePostPayOrderResponse build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderResponse self = new CreatePostPayOrderResponse();
return TeaModel.build(map, self);
}
public CreatePostPayOrderResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePostPayOrderResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePostPayOrderResponse setBody(CreatePostPayOrderResponseBody body) {
this.body = body;
return this;
}
public CreatePostPayOrderResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayOrderResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayOrderResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the order.</p>
*
* <strong>example:</strong>
* <p>20497346575****</p>
*/
@NameInMap("OrderId")
public String orderId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>06084011-E093-46F3-A51F-4B19A8AD****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreatePostPayOrderResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderResponseBody self = new CreatePostPayOrderResponseBody();
return TeaModel.build(map, self);
}
public CreatePostPayOrderResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreatePostPayOrderResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePostPayOrderResponseBody setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public CreatePostPayOrderResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreatePostPayOrderResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePostPayOrderShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePostPayOrderShrinkRequest extends TeaModel {
/**
* <p>The deployment mode of the instance. Valid values:</p>
* <ul>
* <li><strong>4</strong>: deploys the instance that allows access from the Internet and a VPC.</li>
* <li><strong>5</strong>: deploys the instance that allows access only from a VPC.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <p>The disk size.</p>
* <p>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <p>The disk type of the instance. Valid values:</p>
* <ul>
* <li><strong>0</strong>: ultra disk</li>
* <li><strong>1</strong>: standard SSD</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <p>The Internet traffic.</p>
* <ul>
* <li>If you set <strong>DeployType</strong> to <strong>4</strong>, you must configure this parameter.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <p>The maximum traffic in the instance. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must configure at least one of IoMax and IoMaxSpec. If you configure both parameters, the value of IoMaxSpec takes effect. We recommend that you configure only IoMaxSpec.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("IoMax")
public Integer ioMax;
/**
* <p>The traffic specification of the instance. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure at least one of IoMax and IoMaxSpec. If you configure both parameters, the value of IoMaxSpec takes effect. We recommend that you configure only IoMaxSpec.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <p>The billing method of the instance. Valid values:</p>
* <ul>
* <li>1: pay-as-you-go (reserved capacity).</li>
* <li>3: pay-as-you-go (reserved capacity) + pay-as-you-go (on-demand capacity)</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <p>The number of partitions. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only ParittionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The ID of the resource group.</p>
* <p>If this parameter is left empty, the default resource group is used. You can view the resource group ID on the Resource Group page in the Resource Management console.</p>
*
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <p>The parameters configured for the serverless ApsaraMQ for Kafka instance. These parameters are required only when you create a serverless instance.</p>
*/
@NameInMap("ServerlessConfig")
public String serverlessConfigShrink;
/**
* <p>The instance edition.</p>
* <p>Valid values if you set PaidType to 1:</p>
* <ul>
* <li>normal: Standard Edition (High Write)</li>
* <li>professional: Professional Edition (High Write)</li>
* <li>professionalForHighRead: Professional Edition (High Read)</li>
* </ul>
* <p>Valid values if you set PaidType to 3:</p>
* <ul>
* <li>normal: Serverless Standard Edition</li>
* </ul>
* <p>For more information about the instance editions, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
*
* <strong>example:</strong>
* <p>normal</p>
*/
@NameInMap("SpecType")
public String specType;
/**
* <p>The tags.</p>
*/
@NameInMap("Tag")
public java.util.List<CreatePostPayOrderShrinkRequestTag> tag;
/**
* <p>The number of topics. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only ParittionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>The default value of TopicQuota varies based on the value of IoMaxSpec. If the number of topics that you consume exceeds the default value, you are charged additional fees.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create a serverless ApsaraMQ for Kafka instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("TopicQuota")
public Integer topicQuota;
public static CreatePostPayOrderShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderShrinkRequest self = new CreatePostPayOrderShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePostPayOrderShrinkRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePostPayOrderShrinkRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePostPayOrderShrinkRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePostPayOrderShrinkRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePostPayOrderShrinkRequest setIoMax(Integer ioMax) {
this.ioMax = ioMax;
return this;
}
public Integer getIoMax() {
return this.ioMax;
}
public CreatePostPayOrderShrinkRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePostPayOrderShrinkRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePostPayOrderShrinkRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePostPayOrderShrinkRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePostPayOrderShrinkRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePostPayOrderShrinkRequest setServerlessConfigShrink(String serverlessConfigShrink) {
this.serverlessConfigShrink = serverlessConfigShrink;
return this;
}
public String getServerlessConfigShrink() {
return this.serverlessConfigShrink;
}
public CreatePostPayOrderShrinkRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePostPayOrderShrinkRequest setTag(java.util.List<CreatePostPayOrderShrinkRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePostPayOrderShrinkRequestTag> getTag() {
return this.tag;
}
public CreatePostPayOrderShrinkRequest setTopicQuota(Integer topicQuota) {
this.topicQuota = topicQuota;
return this;
}
public Integer getTopicQuota() {
return this.topicQuota;
}
public static class CreatePostPayOrderShrinkRequestTag extends TeaModel {
/**
* <p>The key of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>If this parameter is left empty, the keys of all tags are matched.</li>
* <li>The tag key must be up to 128 characters in length. It cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The value of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>If you do not specify a tag key, you cannot specify a tag value. If this parameter is not configured, all tag values are matched.</li>
* <li>The tag value must be 1 to 128 characters in length. It cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
*
* <strong>example:</strong>
* <p>FinanceJoshua</p>
*/
@NameInMap("Value")
public String value;
public static CreatePostPayOrderShrinkRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePostPayOrderShrinkRequestTag self = new CreatePostPayOrderShrinkRequestTag();
return TeaModel.build(map, self);
}
public CreatePostPayOrderShrinkRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePostPayOrderShrinkRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayInstanceRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayInstanceRequest extends TeaModel {
@NameInMap("ConfluentConfig")
public CreatePrePayInstanceRequestConfluentConfig confluentConfig;
/**
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <strong>example:</strong>
* <p>500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Duration")
public Integer duration;
/**
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <strong>example:</strong>
* <p>1000</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <strong>example:</strong>
* <p>professional</p>
*/
@NameInMap("SpecType")
public String specType;
@NameInMap("Tag")
public java.util.List<CreatePrePayInstanceRequestTag> tag;
public static CreatePrePayInstanceRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceRequest self = new CreatePrePayInstanceRequest();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceRequest setConfluentConfig(CreatePrePayInstanceRequestConfluentConfig confluentConfig) {
this.confluentConfig = confluentConfig;
return this;
}
public CreatePrePayInstanceRequestConfluentConfig getConfluentConfig() {
return this.confluentConfig;
}
public CreatePrePayInstanceRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePrePayInstanceRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePrePayInstanceRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePrePayInstanceRequest setDuration(Integer duration) {
this.duration = duration;
return this;
}
public Integer getDuration() {
return this.duration;
}
public CreatePrePayInstanceRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePrePayInstanceRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePrePayInstanceRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePrePayInstanceRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePrePayInstanceRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePrePayInstanceRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePrePayInstanceRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePrePayInstanceRequest setTag(java.util.List<CreatePrePayInstanceRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePrePayInstanceRequestTag> getTag() {
return this.tag;
}
public static class CreatePrePayInstanceRequestConfluentConfig extends TeaModel {
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("ConnectCU")
public Integer connectCU;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ConnectReplica")
public Integer connectReplica;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("ControlCenterCU")
public Integer controlCenterCU;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("ControlCenterReplica")
public Integer controlCenterReplica;
/**
* <strong>example:</strong>
* <p>300</p>
*/
@NameInMap("ControlCenterStorage")
public Integer controlCenterStorage;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KafkaCU")
public Integer kafkaCU;
/**
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("KafkaReplica")
public Integer kafkaReplica;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KafkaRestProxyCU")
public Integer kafkaRestProxyCU;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KafkaRestProxyReplica")
public Integer kafkaRestProxyReplica;
/**
* <strong>example:</strong>
* <p>800</p>
*/
@NameInMap("KafkaStorage")
public Integer kafkaStorage;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KsqlCU")
public Integer ksqlCU;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KsqlReplica")
public Integer ksqlReplica;
/**
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("KsqlStorage")
public Integer ksqlStorage;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("SchemaRegistryCU")
public Integer schemaRegistryCU;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("SchemaRegistryReplica")
public Integer schemaRegistryReplica;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ZooKeeperCU")
public Integer zooKeeperCU;
/**
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("ZooKeeperReplica")
public Integer zooKeeperReplica;
/**
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("ZooKeeperStorage")
public Integer zooKeeperStorage;
public static CreatePrePayInstanceRequestConfluentConfig build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceRequestConfluentConfig self = new CreatePrePayInstanceRequestConfluentConfig();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceRequestConfluentConfig setConnectCU(Integer connectCU) {
this.connectCU = connectCU;
return this;
}
public Integer getConnectCU() {
return this.connectCU;
}
public CreatePrePayInstanceRequestConfluentConfig setConnectReplica(Integer connectReplica) {
this.connectReplica = connectReplica;
return this;
}
public Integer getConnectReplica() {
return this.connectReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setControlCenterCU(Integer controlCenterCU) {
this.controlCenterCU = controlCenterCU;
return this;
}
public Integer getControlCenterCU() {
return this.controlCenterCU;
}
public CreatePrePayInstanceRequestConfluentConfig setControlCenterReplica(Integer controlCenterReplica) {
this.controlCenterReplica = controlCenterReplica;
return this;
}
public Integer getControlCenterReplica() {
return this.controlCenterReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setControlCenterStorage(Integer controlCenterStorage) {
this.controlCenterStorage = controlCenterStorage;
return this;
}
public Integer getControlCenterStorage() {
return this.controlCenterStorage;
}
public CreatePrePayInstanceRequestConfluentConfig setKafkaCU(Integer kafkaCU) {
this.kafkaCU = kafkaCU;
return this;
}
public Integer getKafkaCU() {
return this.kafkaCU;
}
public CreatePrePayInstanceRequestConfluentConfig setKafkaReplica(Integer kafkaReplica) {
this.kafkaReplica = kafkaReplica;
return this;
}
public Integer getKafkaReplica() {
return this.kafkaReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setKafkaRestProxyCU(Integer kafkaRestProxyCU) {
this.kafkaRestProxyCU = kafkaRestProxyCU;
return this;
}
public Integer getKafkaRestProxyCU() {
return this.kafkaRestProxyCU;
}
public CreatePrePayInstanceRequestConfluentConfig setKafkaRestProxyReplica(Integer kafkaRestProxyReplica) {
this.kafkaRestProxyReplica = kafkaRestProxyReplica;
return this;
}
public Integer getKafkaRestProxyReplica() {
return this.kafkaRestProxyReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setKafkaStorage(Integer kafkaStorage) {
this.kafkaStorage = kafkaStorage;
return this;
}
public Integer getKafkaStorage() {
return this.kafkaStorage;
}
public CreatePrePayInstanceRequestConfluentConfig setKsqlCU(Integer ksqlCU) {
this.ksqlCU = ksqlCU;
return this;
}
public Integer getKsqlCU() {
return this.ksqlCU;
}
public CreatePrePayInstanceRequestConfluentConfig setKsqlReplica(Integer ksqlReplica) {
this.ksqlReplica = ksqlReplica;
return this;
}
public Integer getKsqlReplica() {
return this.ksqlReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setKsqlStorage(Integer ksqlStorage) {
this.ksqlStorage = ksqlStorage;
return this;
}
public Integer getKsqlStorage() {
return this.ksqlStorage;
}
public CreatePrePayInstanceRequestConfluentConfig setSchemaRegistryCU(Integer schemaRegistryCU) {
this.schemaRegistryCU = schemaRegistryCU;
return this;
}
public Integer getSchemaRegistryCU() {
return this.schemaRegistryCU;
}
public CreatePrePayInstanceRequestConfluentConfig setSchemaRegistryReplica(Integer schemaRegistryReplica) {
this.schemaRegistryReplica = schemaRegistryReplica;
return this;
}
public Integer getSchemaRegistryReplica() {
return this.schemaRegistryReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setZooKeeperCU(Integer zooKeeperCU) {
this.zooKeeperCU = zooKeeperCU;
return this;
}
public Integer getZooKeeperCU() {
return this.zooKeeperCU;
}
public CreatePrePayInstanceRequestConfluentConfig setZooKeeperReplica(Integer zooKeeperReplica) {
this.zooKeeperReplica = zooKeeperReplica;
return this;
}
public Integer getZooKeeperReplica() {
return this.zooKeeperReplica;
}
public CreatePrePayInstanceRequestConfluentConfig setZooKeeperStorage(Integer zooKeeperStorage) {
this.zooKeeperStorage = zooKeeperStorage;
return this;
}
public Integer getZooKeeperStorage() {
return this.zooKeeperStorage;
}
}
public static class CreatePrePayInstanceRequestTag extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static CreatePrePayInstanceRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceRequestTag self = new CreatePrePayInstanceRequestTag();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePrePayInstanceRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayInstanceResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayInstanceResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePrePayInstanceResponseBody body;
public static CreatePrePayInstanceResponse build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceResponse self = new CreatePrePayInstanceResponse();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePrePayInstanceResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePrePayInstanceResponse setBody(CreatePrePayInstanceResponseBody body) {
this.body = body;
return this;
}
public CreatePrePayInstanceResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayInstanceResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayInstanceResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Data")
public CreatePrePayInstanceResponseBodyData data;
/**
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>E57A8862-DF68-4055-8E55-B80CB4****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreatePrePayInstanceResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceResponseBody self = new CreatePrePayInstanceResponseBody();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreatePrePayInstanceResponseBody setData(CreatePrePayInstanceResponseBodyData data) {
this.data = data;
return this;
}
public CreatePrePayInstanceResponseBodyData getData() {
return this.data;
}
public CreatePrePayInstanceResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePrePayInstanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreatePrePayInstanceResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreatePrePayInstanceResponseBodyData extends TeaModel {
/**
* <strong>example:</strong>
* <p>alikafka_post-cn-xxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <strong>example:</strong>
* <p>236972661xxxx</p>
*/
@NameInMap("OrderId")
public Long orderId;
public static CreatePrePayInstanceResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceResponseBodyData self = new CreatePrePayInstanceResponseBodyData();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceResponseBodyData setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreatePrePayInstanceResponseBodyData setOrderId(Long orderId) {
this.orderId = orderId;
return this;
}
public Long getOrderId() {
return this.orderId;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayInstanceShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayInstanceShrinkRequest extends TeaModel {
@NameInMap("ConfluentConfig")
public String confluentConfigShrink;
/**
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <strong>example:</strong>
* <p>500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Duration")
public Integer duration;
/**
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <strong>example:</strong>
* <p>1000</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <strong>example:</strong>
* <p>professional</p>
*/
@NameInMap("SpecType")
public String specType;
@NameInMap("Tag")
public java.util.List<CreatePrePayInstanceShrinkRequestTag> tag;
public static CreatePrePayInstanceShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceShrinkRequest self = new CreatePrePayInstanceShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceShrinkRequest setConfluentConfigShrink(String confluentConfigShrink) {
this.confluentConfigShrink = confluentConfigShrink;
return this;
}
public String getConfluentConfigShrink() {
return this.confluentConfigShrink;
}
public CreatePrePayInstanceShrinkRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePrePayInstanceShrinkRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePrePayInstanceShrinkRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePrePayInstanceShrinkRequest setDuration(Integer duration) {
this.duration = duration;
return this;
}
public Integer getDuration() {
return this.duration;
}
public CreatePrePayInstanceShrinkRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePrePayInstanceShrinkRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePrePayInstanceShrinkRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePrePayInstanceShrinkRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePrePayInstanceShrinkRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePrePayInstanceShrinkRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePrePayInstanceShrinkRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePrePayInstanceShrinkRequest setTag(java.util.List<CreatePrePayInstanceShrinkRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePrePayInstanceShrinkRequestTag> getTag() {
return this.tag;
}
public static class CreatePrePayInstanceShrinkRequestTag extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static CreatePrePayInstanceShrinkRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayInstanceShrinkRequestTag self = new CreatePrePayInstanceShrinkRequestTag();
return TeaModel.build(map, self);
}
public CreatePrePayInstanceShrinkRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePrePayInstanceShrinkRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayOrderRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayOrderRequest extends TeaModel {
/**
* <p>The configurations of Confluent.</p>
* <blockquote>
* <p> When you create an ApsaraMQ for Confluent instance, you must configure this parameter.</p>
* </blockquote>
*/
@NameInMap("ConfluentConfig")
public CreatePrePayOrderRequestConfluentConfig confluentConfig;
/**
* <p>The type of the network in which the instance is deployed. Valid values:</p>
* <ul>
* <li><strong>4</strong>: Internet and virtual private cloud (VPC)</li>
* <li><strong>5</strong>: VPC</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, set the value to 5. After the instance is created, you can specify whether to enable each component.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <p>The disk size. Unit: GB</p>
* <p>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <p>The disk type. Valid values:</p>
* <ul>
* <li><strong>0</strong>: ultra disk</li>
* <li><strong>1</strong>: standard SSD</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <p>The subscription duration. Unit: months. Default value: 1. Valid values:</p>
* <ul>
* <li><strong>1 to 12</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Duration")
public Integer duration;
/**
* <p>The maximum Internet traffic in the instance.</p>
* <ul>
* <li>If you set <strong>DeployType</strong> to <strong>4</strong>, you must configure this parameter.</li>
* <li>For information about the valid values, see <a href="https://help.aliyun.com/document_detail/72142.html">Pay-as-you-go</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <p>The maximum traffic in the instance. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must set one of <strong>IoMax</strong> and <strong>IoMaxSpec</strong>. If both parameters are configured, the value of <strong>IoMaxSpec</strong> is used. We recommend that you configure only <strong>IoMaxSpec</strong>.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("IoMax")
public Integer ioMax;
/**
* <p>The traffic specification of the instance. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure one of <strong>IoMax</strong> and <strong>IoMaxSpec</strong>. If both parameters are configured, the value of <strong>IoMaxSpec</strong> is used. We recommend that you configure only <strong>IoMaxSpec</strong>.</li>
* <li>For more information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <p>The billing method of the instance. Valid values:</p>
* <ul>
* <li><strong>0</strong>: the subscription billing method</li>
* <li><strong>4</strong>: the subscription billing method for ApsaraMQ for Confluent instances</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <p>The number of partitions. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only PartitionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The ID of the resource group.</p>
* <p>If this parameter is left empty, the default resource group is used. You can view the resource group ID on the Resource Group page in the Resource Management console.</p>
*
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <p>The instance edition. Valid values:</p>
* <ul>
* <li><strong>normal</strong>: Standard Edition (High Write)</li>
* <li><strong>professional</strong>: Professional Edition (High Write)</li>
* <li><strong>professionalForHighRead</strong>: Professional Edition (High Read)</li>
* </ul>
* <p>For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>normal</p>
*/
@NameInMap("SpecType")
public String specType;
/**
* <p>The tags.</p>
*/
@NameInMap("Tag")
public java.util.List<CreatePrePayOrderRequestTag> tag;
/**
* <p>The number of topics. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only PartitionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>The default value of TopicQuota varies based on the value of IoMaxSpec. If the number of topics that you use exceeds the default value, you are charged additional fees.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("TopicQuota")
public Integer topicQuota;
public static CreatePrePayOrderRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderRequest self = new CreatePrePayOrderRequest();
return TeaModel.build(map, self);
}
public CreatePrePayOrderRequest setConfluentConfig(CreatePrePayOrderRequestConfluentConfig confluentConfig) {
this.confluentConfig = confluentConfig;
return this;
}
public CreatePrePayOrderRequestConfluentConfig getConfluentConfig() {
return this.confluentConfig;
}
public CreatePrePayOrderRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePrePayOrderRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePrePayOrderRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePrePayOrderRequest setDuration(Integer duration) {
this.duration = duration;
return this;
}
public Integer getDuration() {
return this.duration;
}
public CreatePrePayOrderRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePrePayOrderRequest setIoMax(Integer ioMax) {
this.ioMax = ioMax;
return this;
}
public Integer getIoMax() {
return this.ioMax;
}
public CreatePrePayOrderRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePrePayOrderRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePrePayOrderRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePrePayOrderRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePrePayOrderRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePrePayOrderRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePrePayOrderRequest setTag(java.util.List<CreatePrePayOrderRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePrePayOrderRequestTag> getTag() {
return this.tag;
}
public CreatePrePayOrderRequest setTopicQuota(Integer topicQuota) {
this.topicQuota = topicQuota;
return this;
}
public Integer getTopicQuota() {
return this.topicQuota;
}
public static class CreatePrePayOrderRequestConfluentConfig extends TeaModel {
/**
* <p>The number of CPU cores of Connect.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("ConnectCU")
public Integer connectCU;
/**
* <p>The number of replicas of Connect.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ConnectReplica")
public Integer connectReplica;
/**
* <p>The number of CPU cores of Control Center.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("ControlCenterCU")
public Integer controlCenterCU;
/**
* <p>The number of replicas of Control Center.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("ControlCenterReplica")
public Integer controlCenterReplica;
/**
* <p>The disk capacity of Control Center. Unit: GB</p>
*
* <strong>example:</strong>
* <p>300</p>
*/
@NameInMap("ControlCenterStorage")
public Integer controlCenterStorage;
/**
* <p>The number of CPU cores of the Kafka broker.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KafkaCU")
public Integer kafkaCU;
/**
* <p>The number of replicas of the Kafka broker.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("KafkaReplica")
public Integer kafkaReplica;
/**
* <p>The number of CPU cores of Kafka Rest Proxy.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KafkaRestProxyCU")
public Integer kafkaRestProxyCU;
/**
* <p>The number of replicas of Kafka Rest Proxy.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KafkaRestProxyReplica")
public Integer kafkaRestProxyReplica;
/**
* <p>The disk capacity of the Kafka broker. Unit: GB</p>
*
* <strong>example:</strong>
* <p>800</p>
*/
@NameInMap("KafkaStorage")
public Integer kafkaStorage;
/**
* <p>The number of CPU cores of ksqIDB.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KsqlCU")
public Integer ksqlCU;
/**
* <p>The number of replicas of ksqlDB.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KsqlReplica")
public Integer ksqlReplica;
/**
* <p>The disk capacity of ksqlDB. Unit: GB</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("KsqlStorage")
public Integer ksqlStorage;
/**
* <p>The number of CPU cores of Schema Registry.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("SchemaRegistryCU")
public Integer schemaRegistryCU;
/**
* <p>The number of replicas of Schema Registry.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("SchemaRegistryReplica")
public Integer schemaRegistryReplica;
/**
* <p>The number of CPU cores of ZooKeeper.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ZooKeeperCU")
public Integer zooKeeperCU;
/**
* <p>The number of replicas of ZooKeeper.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("ZooKeeperReplica")
public Integer zooKeeperReplica;
/**
* <p>The disk capacity of ZooKeeper. Unit: GB</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("ZooKeeperStorage")
public Integer zooKeeperStorage;
public static CreatePrePayOrderRequestConfluentConfig build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderRequestConfluentConfig self = new CreatePrePayOrderRequestConfluentConfig();
return TeaModel.build(map, self);
}
public CreatePrePayOrderRequestConfluentConfig setConnectCU(Integer connectCU) {
this.connectCU = connectCU;
return this;
}
public Integer getConnectCU() {
return this.connectCU;
}
public CreatePrePayOrderRequestConfluentConfig setConnectReplica(Integer connectReplica) {
this.connectReplica = connectReplica;
return this;
}
public Integer getConnectReplica() {
return this.connectReplica;
}
public CreatePrePayOrderRequestConfluentConfig setControlCenterCU(Integer controlCenterCU) {
this.controlCenterCU = controlCenterCU;
return this;
}
public Integer getControlCenterCU() {
return this.controlCenterCU;
}
public CreatePrePayOrderRequestConfluentConfig setControlCenterReplica(Integer controlCenterReplica) {
this.controlCenterReplica = controlCenterReplica;
return this;
}
public Integer getControlCenterReplica() {
return this.controlCenterReplica;
}
public CreatePrePayOrderRequestConfluentConfig setControlCenterStorage(Integer controlCenterStorage) {
this.controlCenterStorage = controlCenterStorage;
return this;
}
public Integer getControlCenterStorage() {
return this.controlCenterStorage;
}
public CreatePrePayOrderRequestConfluentConfig setKafkaCU(Integer kafkaCU) {
this.kafkaCU = kafkaCU;
return this;
}
public Integer getKafkaCU() {
return this.kafkaCU;
}
public CreatePrePayOrderRequestConfluentConfig setKafkaReplica(Integer kafkaReplica) {
this.kafkaReplica = kafkaReplica;
return this;
}
public Integer getKafkaReplica() {
return this.kafkaReplica;
}
public CreatePrePayOrderRequestConfluentConfig setKafkaRestProxyCU(Integer kafkaRestProxyCU) {
this.kafkaRestProxyCU = kafkaRestProxyCU;
return this;
}
public Integer getKafkaRestProxyCU() {
return this.kafkaRestProxyCU;
}
public CreatePrePayOrderRequestConfluentConfig setKafkaRestProxyReplica(Integer kafkaRestProxyReplica) {
this.kafkaRestProxyReplica = kafkaRestProxyReplica;
return this;
}
public Integer getKafkaRestProxyReplica() {
return this.kafkaRestProxyReplica;
}
public CreatePrePayOrderRequestConfluentConfig setKafkaStorage(Integer kafkaStorage) {
this.kafkaStorage = kafkaStorage;
return this;
}
public Integer getKafkaStorage() {
return this.kafkaStorage;
}
public CreatePrePayOrderRequestConfluentConfig setKsqlCU(Integer ksqlCU) {
this.ksqlCU = ksqlCU;
return this;
}
public Integer getKsqlCU() {
return this.ksqlCU;
}
public CreatePrePayOrderRequestConfluentConfig setKsqlReplica(Integer ksqlReplica) {
this.ksqlReplica = ksqlReplica;
return this;
}
public Integer getKsqlReplica() {
return this.ksqlReplica;
}
public CreatePrePayOrderRequestConfluentConfig setKsqlStorage(Integer ksqlStorage) {
this.ksqlStorage = ksqlStorage;
return this;
}
public Integer getKsqlStorage() {
return this.ksqlStorage;
}
public CreatePrePayOrderRequestConfluentConfig setSchemaRegistryCU(Integer schemaRegistryCU) {
this.schemaRegistryCU = schemaRegistryCU;
return this;
}
public Integer getSchemaRegistryCU() {
return this.schemaRegistryCU;
}
public CreatePrePayOrderRequestConfluentConfig setSchemaRegistryReplica(Integer schemaRegistryReplica) {
this.schemaRegistryReplica = schemaRegistryReplica;
return this;
}
public Integer getSchemaRegistryReplica() {
return this.schemaRegistryReplica;
}
public CreatePrePayOrderRequestConfluentConfig setZooKeeperCU(Integer zooKeeperCU) {
this.zooKeeperCU = zooKeeperCU;
return this;
}
public Integer getZooKeeperCU() {
return this.zooKeeperCU;
}
public CreatePrePayOrderRequestConfluentConfig setZooKeeperReplica(Integer zooKeeperReplica) {
this.zooKeeperReplica = zooKeeperReplica;
return this;
}
public Integer getZooKeeperReplica() {
return this.zooKeeperReplica;
}
public CreatePrePayOrderRequestConfluentConfig setZooKeeperStorage(Integer zooKeeperStorage) {
this.zooKeeperStorage = zooKeeperStorage;
return this;
}
public Integer getZooKeeperStorage() {
return this.zooKeeperStorage;
}
}
public static class CreatePrePayOrderRequestTag extends TeaModel {
/**
* <p>The key of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>If this parameter is left empty, the keys of all tags are matched.</li>
* <li>The tag key can be up to 128 characters in length and cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The value of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>This parameter can be left empty.</li>
* <li>The tag value can be 1 to 128 characters in length and cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
*
* <strong>example:</strong>
* <p>FinanceJoshua</p>
*/
@NameInMap("Value")
public String value;
public static CreatePrePayOrderRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderRequestTag self = new CreatePrePayOrderRequestTag();
return TeaModel.build(map, self);
}
public CreatePrePayOrderRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePrePayOrderRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayOrderResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayOrderResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePrePayOrderResponseBody body;
public static CreatePrePayOrderResponse build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderResponse self = new CreatePrePayOrderResponse();
return TeaModel.build(map, self);
}
public CreatePrePayOrderResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePrePayOrderResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePrePayOrderResponse setBody(CreatePrePayOrderResponseBody body) {
this.body = body;
return this;
}
public CreatePrePayOrderResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayOrderResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayOrderResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the order.</p>
*
* <strong>example:</strong>
* <p>20497346575****</p>
*/
@NameInMap("OrderId")
public String orderId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>06084011-E093-46F3-A51F-4B19A8AD****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreatePrePayOrderResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderResponseBody self = new CreatePrePayOrderResponseBody();
return TeaModel.build(map, self);
}
public CreatePrePayOrderResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreatePrePayOrderResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePrePayOrderResponseBody setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public CreatePrePayOrderResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreatePrePayOrderResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreatePrePayOrderShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreatePrePayOrderShrinkRequest extends TeaModel {
/**
* <p>The configurations of Confluent.</p>
* <blockquote>
* <p> When you create an ApsaraMQ for Confluent instance, you must configure this parameter.</p>
* </blockquote>
*/
@NameInMap("ConfluentConfig")
public String confluentConfigShrink;
/**
* <p>The type of the network in which the instance is deployed. Valid values:</p>
* <ul>
* <li><strong>4</strong>: Internet and virtual private cloud (VPC)</li>
* <li><strong>5</strong>: VPC</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, set the value to 5. After the instance is created, you can specify whether to enable each component.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <p>The disk size. Unit: GB</p>
* <p>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>500</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <p>The disk type. Valid values:</p>
* <ul>
* <li><strong>0</strong>: ultra disk</li>
* <li><strong>1</strong>: standard SSD</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("DiskType")
public String diskType;
/**
* <p>The subscription duration. Unit: months. Default value: 1. Valid values:</p>
* <ul>
* <li><strong>1 to 12</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Duration")
public Integer duration;
/**
* <p>The maximum Internet traffic in the instance.</p>
* <ul>
* <li>If you set <strong>DeployType</strong> to <strong>4</strong>, you must configure this parameter.</li>
* <li>For information about the valid values, see <a href="https://help.aliyun.com/document_detail/72142.html">Pay-as-you-go</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <p>The maximum traffic in the instance. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must set one of <strong>IoMax</strong> and <strong>IoMaxSpec</strong>. If both parameters are configured, the value of <strong>IoMaxSpec</strong> is used. We recommend that you configure only <strong>IoMaxSpec</strong>.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("IoMax")
public Integer ioMax;
/**
* <p>The traffic specification of the instance. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure one of <strong>IoMax</strong> and <strong>IoMaxSpec</strong>. If both parameters are configured, the value of <strong>IoMaxSpec</strong> is used. We recommend that you configure only <strong>IoMaxSpec</strong>.</li>
* <li>For more information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <p>The billing method of the instance. Valid values:</p>
* <ul>
* <li><strong>0</strong>: the subscription billing method</li>
* <li><strong>4</strong>: the subscription billing method for ApsaraMQ for Confluent instances</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
/**
* <p>The number of partitions. We recommend that you configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only PartitionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The ID of the resource group.</p>
* <p>If this parameter is left empty, the default resource group is used. You can view the resource group ID on the Resource Group page in the Resource Management console.</p>
*
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <p>The instance edition. Valid values:</p>
* <ul>
* <li><strong>normal</strong>: Standard Edition (High Write)</li>
* <li><strong>professional</strong>: Professional Edition (High Write)</li>
* <li><strong>professionalForHighRead</strong>: Professional Edition (High Read)</li>
* </ul>
* <p>For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>normal</p>
*/
@NameInMap("SpecType")
public String specType;
/**
* <p>The tags.</p>
*/
@NameInMap("Tag")
public java.util.List<CreatePrePayOrderShrinkRequestTag> tag;
/**
* <p>The number of topics. We recommend that you do not configure this parameter.</p>
* <ul>
* <li>You must configure one of PartitionNum and TopicQuota. We recommend that you configure only PartitionNum.</li>
* <li>If you configure PartitionNum and TopicQuota at the same time, the system verifies whether the price of the partitions equals the price of the topics based on the previous topic-based selling mode. If the price of the partitions does not equal the price of the topics, an error is returned. If the price of the partitions equals the price of the topics, the instance is purchased based on the partition number.</li>
* <li>The default value of TopicQuota varies based on the value of IoMaxSpec. If the number of topics that you use exceeds the default value, you are charged additional fees.</li>
* <li>For information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</li>
* </ul>
* <blockquote>
* <p> If you create an ApsaraMQ for Confluent instance, you do not need to configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("TopicQuota")
public Integer topicQuota;
public static CreatePrePayOrderShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderShrinkRequest self = new CreatePrePayOrderShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePrePayOrderShrinkRequest setConfluentConfigShrink(String confluentConfigShrink) {
this.confluentConfigShrink = confluentConfigShrink;
return this;
}
public String getConfluentConfigShrink() {
return this.confluentConfigShrink;
}
public CreatePrePayOrderShrinkRequest setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public CreatePrePayOrderShrinkRequest setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public CreatePrePayOrderShrinkRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public CreatePrePayOrderShrinkRequest setDuration(Integer duration) {
this.duration = duration;
return this;
}
public Integer getDuration() {
return this.duration;
}
public CreatePrePayOrderShrinkRequest setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public CreatePrePayOrderShrinkRequest setIoMax(Integer ioMax) {
this.ioMax = ioMax;
return this;
}
public Integer getIoMax() {
return this.ioMax;
}
public CreatePrePayOrderShrinkRequest setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public CreatePrePayOrderShrinkRequest setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public CreatePrePayOrderShrinkRequest setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public CreatePrePayOrderShrinkRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreatePrePayOrderShrinkRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreatePrePayOrderShrinkRequest setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public CreatePrePayOrderShrinkRequest setTag(java.util.List<CreatePrePayOrderShrinkRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreatePrePayOrderShrinkRequestTag> getTag() {
return this.tag;
}
public CreatePrePayOrderShrinkRequest setTopicQuota(Integer topicQuota) {
this.topicQuota = topicQuota;
return this;
}
public Integer getTopicQuota() {
return this.topicQuota;
}
public static class CreatePrePayOrderShrinkRequestTag extends TeaModel {
/**
* <p>The key of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>If this parameter is left empty, the keys of all tags are matched.</li>
* <li>The tag key can be up to 128 characters in length and cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The value of tag N.</p>
* <ul>
* <li>Valid values of N: 1 to 20.</li>
* <li>This parameter can be left empty.</li>
* <li>The tag value can be 1 to 128 characters in length and cannot start with acs: or aliyun or contain <a href="http://https://%E3%80%82">http:// or https://.</a></li>
* </ul>
*
* <strong>example:</strong>
* <p>FinanceJoshua</p>
*/
@NameInMap("Value")
public String value;
public static CreatePrePayOrderShrinkRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreatePrePayOrderShrinkRequestTag self = new CreatePrePayOrderShrinkRequestTag();
return TeaModel.build(map, self);
}
public CreatePrePayOrderShrinkRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreatePrePayOrderShrinkRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateSaslUserRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateSaslUserRequest extends TeaModel {
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h1cng0****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The encryption method. Valid values:</p>
* <ul>
* <li>SCRAM-SHA-512 (default)</li>
* <li>SCRAM-SHA-256</li>
* </ul>
* <blockquote>
* <p> This parameter is available only for ApsaraMQ for Kafka serverless instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>SCRAM-SHA-256</p>
*/
@NameInMap("Mechanism")
public String mechanism;
/**
* <p>The password of the SASL user.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12***</p>
*/
@NameInMap("Password")
public String password;
/**
* <p>The region ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The type of the Simple Authentication and Security Layer (SASL) user. Valid values:</p>
* <ul>
* <li><strong>plain</strong>: a simple mechanism that uses usernames and passwords to verify user identities. ApsaraMQ for Kafka provides an improved PLAIN mechanism that allows you to dynamically add SASL users without the need to restart an instance.</li>
* <li><strong>SCRAM</strong>: a mechanism that uses usernames and passwords to verify user identities. Compared with the PLAIN mechanism, this mechanism provides better security protection. ApsaraMQ for Kafka uses the SCRAM-SHA-256 algorithm.</li>
* <li><strong>LDAP</strong>: This value is available only for the SASL users of ApsaraMQ for Confluent instances.</li>
* </ul>
* <p>Default value: <strong>plain</strong>.</p>
*
* <strong>example:</strong>
* <p>plain</p>
*/
@NameInMap("Type")
public String type;
/**
* <p>The name of the SASL user.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test***</p>
*/
@NameInMap("Username")
public String username;
public static CreateSaslUserRequest build(java.util.Map<String, ?> map) throws Exception {
CreateSaslUserRequest self = new CreateSaslUserRequest();
return TeaModel.build(map, self);
}
public CreateSaslUserRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreateSaslUserRequest setMechanism(String mechanism) {
this.mechanism = mechanism;
return this;
}
public String getMechanism() {
return this.mechanism;
}
public CreateSaslUserRequest setPassword(String password) {
this.password = password;
return this;
}
public String getPassword() {
return this.password;
}
public CreateSaslUserRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreateSaslUserRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public CreateSaslUserRequest setUsername(String username) {
this.username = username;
return this;
}
public String getUsername() {
return this.username;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateSaslUserResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateSaslUserResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreateSaslUserResponseBody body;
public static CreateSaslUserResponse build(java.util.Map<String, ?> map) throws Exception {
CreateSaslUserResponse self = new CreateSaslUserResponse();
return TeaModel.build(map, self);
}
public CreateSaslUserResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreateSaslUserResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreateSaslUserResponse setBody(CreateSaslUserResponseBody body) {
this.body = body;
return this;
}
public CreateSaslUserResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateSaslUserResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateSaslUserResponseBody extends TeaModel {
/**
* <p>The HTTP status code. The HTTP status code 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>C5CA600C-7D5A-45B5-B6DB-44FAC2C****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreateSaslUserResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreateSaslUserResponseBody self = new CreateSaslUserResponseBody();
return TeaModel.build(map, self);
}
public CreateSaslUserResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreateSaslUserResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateSaslUserResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateSaslUserResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateScheduledScalingRuleRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateScheduledScalingRuleRequest extends TeaModel {
/**
* <p>The duration of each scheduled scaling task. Unit: minutes.</p>
* <blockquote>
* <p> The value of this parameter must be greater than or equal to 15.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("DurationMinutes")
public Integer durationMinutes;
/**
* <p>Specifies whether to enable the scheduled scaling rule. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Enable")
public Boolean enable;
/**
* <p>The time when the scheduled scaling task is executed.</p>
* <p>If you set ScheduleType to at, make sure that the value of this parameter is at least 30 minutes later than the current point in time.</p>
* <blockquote>
* <p>Notice: To prevent the broker from repeatedly executing instance upgrade and downgrade tasks, make sure that the interval between two consecutive scheduled scaling tasks is at least 60 minutes.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1714467540000</p>
*/
@NameInMap("FirstScheduledTime")
public Long firstScheduledTime;
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_serverless-cn-vxxxxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region where the instance resides.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The frequency to execute the scheduled scaling task. This parameter is required only if you set ScheduleType to repeat. Valid values:</p>
* <ul>
* <li><p>Daily: The scheduled scaling task is executed every day.</p>
* </li>
* <li><p>Weekly: The scheduled scaling task is executed every week.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>Weekly</p>
*/
@NameInMap("RepeatType")
public String repeatType;
/**
* <p>The reserved production capacity for scheduled scaling. Unit: MB/s.</p>
* <blockquote>
* <p> You must specify a higher value than the instance specification for at least one of ReservedPubFlow and ReservedSubFlow.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>120</p>
*/
@NameInMap("ReservedPubFlow")
public Integer reservedPubFlow;
/**
* <p>The reserved consumption capacity for scheduled scaling. Unit: MB/s.</p>
* <blockquote>
* <p> You must specify a higher value than the instance specification for at least one of ReservedPubFlow and ReservedSubFlow.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>120</p>
*/
@NameInMap("ReservedSubFlow")
public Integer reservedSubFlow;
/**
* <p>The name of the scheduled scaling rule.</p>
* <blockquote>
* <p> The name of the scheduled scaling rule cannot be the same as the names of other rules for the instance.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("RuleName")
public String ruleName;
/**
* <p>The type of the scheduled scaling task. Valid values:</p>
* <ul>
* <li>at: The scheduled scaling task is executed only once.</li>
* <li>repeat: The scheduled scaling task is repeatedly executed.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>at</p>
*/
@NameInMap("ScheduleType")
public String scheduleType;
/**
* <p>The time zone in Coordinated Universal Time (UTC).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>GMT+8</p>
*/
@NameInMap("TimeZone")
public String timeZone;
/**
* <p>The day on which the scheduled scaling task is executed every week. You can specify multiple days.</p>
*/
@NameInMap("WeeklyTypes")
public java.util.List<String> weeklyTypes;
public static CreateScheduledScalingRuleRequest build(java.util.Map<String, ?> map) throws Exception {
CreateScheduledScalingRuleRequest self = new CreateScheduledScalingRuleRequest();
return TeaModel.build(map, self);
}
public CreateScheduledScalingRuleRequest setDurationMinutes(Integer durationMinutes) {
this.durationMinutes = durationMinutes;
return this;
}
public Integer getDurationMinutes() {
return this.durationMinutes;
}
public CreateScheduledScalingRuleRequest setEnable(Boolean enable) {
this.enable = enable;
return this;
}
public Boolean getEnable() {
return this.enable;
}
public CreateScheduledScalingRuleRequest setFirstScheduledTime(Long firstScheduledTime) {
this.firstScheduledTime = firstScheduledTime;
return this;
}
public Long getFirstScheduledTime() {
return this.firstScheduledTime;
}
public CreateScheduledScalingRuleRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreateScheduledScalingRuleRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreateScheduledScalingRuleRequest setRepeatType(String repeatType) {
this.repeatType = repeatType;
return this;
}
public String getRepeatType() {
return this.repeatType;
}
public CreateScheduledScalingRuleRequest setReservedPubFlow(Integer reservedPubFlow) {
this.reservedPubFlow = reservedPubFlow;
return this;
}
public Integer getReservedPubFlow() {
return this.reservedPubFlow;
}
public CreateScheduledScalingRuleRequest setReservedSubFlow(Integer reservedSubFlow) {
this.reservedSubFlow = reservedSubFlow;
return this;
}
public Integer getReservedSubFlow() {
return this.reservedSubFlow;
}
public CreateScheduledScalingRuleRequest setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public CreateScheduledScalingRuleRequest setScheduleType(String scheduleType) {
this.scheduleType = scheduleType;
return this;
}
public String getScheduleType() {
return this.scheduleType;
}
public CreateScheduledScalingRuleRequest setTimeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
public String getTimeZone() {
return this.timeZone;
}
public CreateScheduledScalingRuleRequest setWeeklyTypes(java.util.List<String> weeklyTypes) {
this.weeklyTypes = weeklyTypes;
return this;
}
public java.util.List<String> getWeeklyTypes() {
return this.weeklyTypes;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateScheduledScalingRuleResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateScheduledScalingRuleResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreateScheduledScalingRuleResponseBody body;
public static CreateScheduledScalingRuleResponse build(java.util.Map<String, ?> map) throws Exception {
CreateScheduledScalingRuleResponse self = new CreateScheduledScalingRuleResponse();
return TeaModel.build(map, self);
}
public CreateScheduledScalingRuleResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreateScheduledScalingRuleResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreateScheduledScalingRuleResponse setBody(CreateScheduledScalingRuleResponseBody body) {
this.body = body;
return this;
}
public CreateScheduledScalingRuleResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateScheduledScalingRuleResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateScheduledScalingRuleResponseBody extends TeaModel {
/**
* <p>The response code. The value 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Long code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>DB6F1BEA-903B-4FD8-8809-46E7E9CE***</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request was successful. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>True</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreateScheduledScalingRuleResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreateScheduledScalingRuleResponseBody self = new CreateScheduledScalingRuleResponseBody();
return TeaModel.build(map, self);
}
public CreateScheduledScalingRuleResponseBody setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public CreateScheduledScalingRuleResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateScheduledScalingRuleResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateScheduledScalingRuleResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateScheduledScalingRuleShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateScheduledScalingRuleShrinkRequest extends TeaModel {
/**
* <p>The duration of each scheduled scaling task. Unit: minutes.</p>
* <blockquote>
* <p> The value of this parameter must be greater than or equal to 15.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("DurationMinutes")
public Integer durationMinutes;
/**
* <p>Specifies whether to enable the scheduled scaling rule. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Enable")
public Boolean enable;
/**
* <p>The time when the scheduled scaling task is executed.</p>
* <p>If you set ScheduleType to at, make sure that the value of this parameter is at least 30 minutes later than the current point in time.</p>
* <blockquote>
* <p>Notice: To prevent the broker from repeatedly executing instance upgrade and downgrade tasks, make sure that the interval between two consecutive scheduled scaling tasks is at least 60 minutes.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1714467540000</p>
*/
@NameInMap("FirstScheduledTime")
public Long firstScheduledTime;
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_serverless-cn-vxxxxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region where the instance resides.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The frequency to execute the scheduled scaling task. This parameter is required only if you set ScheduleType to repeat. Valid values:</p>
* <ul>
* <li><p>Daily: The scheduled scaling task is executed every day.</p>
* </li>
* <li><p>Weekly: The scheduled scaling task is executed every week.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>Weekly</p>
*/
@NameInMap("RepeatType")
public String repeatType;
/**
* <p>The reserved production capacity for scheduled scaling. Unit: MB/s.</p>
* <blockquote>
* <p> You must specify a higher value than the instance specification for at least one of ReservedPubFlow and ReservedSubFlow.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>120</p>
*/
@NameInMap("ReservedPubFlow")
public Integer reservedPubFlow;
/**
* <p>The reserved consumption capacity for scheduled scaling. Unit: MB/s.</p>
* <blockquote>
* <p> You must specify a higher value than the instance specification for at least one of ReservedPubFlow and ReservedSubFlow.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>120</p>
*/
@NameInMap("ReservedSubFlow")
public Integer reservedSubFlow;
/**
* <p>The name of the scheduled scaling rule.</p>
* <blockquote>
* <p> The name of the scheduled scaling rule cannot be the same as the names of other rules for the instance.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("RuleName")
public String ruleName;
/**
* <p>The type of the scheduled scaling task. Valid values:</p>
* <ul>
* <li>at: The scheduled scaling task is executed only once.</li>
* <li>repeat: The scheduled scaling task is repeatedly executed.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>at</p>
*/
@NameInMap("ScheduleType")
public String scheduleType;
/**
* <p>The time zone in Coordinated Universal Time (UTC).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>GMT+8</p>
*/
@NameInMap("TimeZone")
public String timeZone;
/**
* <p>The day on which the scheduled scaling task is executed every week. You can specify multiple days.</p>
*/
@NameInMap("WeeklyTypes")
public String weeklyTypesShrink;
public static CreateScheduledScalingRuleShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreateScheduledScalingRuleShrinkRequest self = new CreateScheduledScalingRuleShrinkRequest();
return TeaModel.build(map, self);
}
public CreateScheduledScalingRuleShrinkRequest setDurationMinutes(Integer durationMinutes) {
this.durationMinutes = durationMinutes;
return this;
}
public Integer getDurationMinutes() {
return this.durationMinutes;
}
public CreateScheduledScalingRuleShrinkRequest setEnable(Boolean enable) {
this.enable = enable;
return this;
}
public Boolean getEnable() {
return this.enable;
}
public CreateScheduledScalingRuleShrinkRequest setFirstScheduledTime(Long firstScheduledTime) {
this.firstScheduledTime = firstScheduledTime;
return this;
}
public Long getFirstScheduledTime() {
return this.firstScheduledTime;
}
public CreateScheduledScalingRuleShrinkRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreateScheduledScalingRuleShrinkRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreateScheduledScalingRuleShrinkRequest setRepeatType(String repeatType) {
this.repeatType = repeatType;
return this;
}
public String getRepeatType() {
return this.repeatType;
}
public CreateScheduledScalingRuleShrinkRequest setReservedPubFlow(Integer reservedPubFlow) {
this.reservedPubFlow = reservedPubFlow;
return this;
}
public Integer getReservedPubFlow() {
return this.reservedPubFlow;
}
public CreateScheduledScalingRuleShrinkRequest setReservedSubFlow(Integer reservedSubFlow) {
this.reservedSubFlow = reservedSubFlow;
return this;
}
public Integer getReservedSubFlow() {
return this.reservedSubFlow;
}
public CreateScheduledScalingRuleShrinkRequest setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public CreateScheduledScalingRuleShrinkRequest setScheduleType(String scheduleType) {
this.scheduleType = scheduleType;
return this;
}
public String getScheduleType() {
return this.scheduleType;
}
public CreateScheduledScalingRuleShrinkRequest setTimeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
public String getTimeZone() {
return this.timeZone;
}
public CreateScheduledScalingRuleShrinkRequest setWeeklyTypesShrink(String weeklyTypesShrink) {
this.weeklyTypesShrink = weeklyTypesShrink;
return this;
}
public String getWeeklyTypesShrink() {
return this.weeklyTypesShrink;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateTopicRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateTopicRequest extends TeaModel {
/**
* <p>The log cleanup policy that is used for the topic. This parameter is available only when LocalTopic is set to true. Valid values:</p>
* <ul>
* <li>false: The topic uses the default log cleanup policy.</li>
* <li>true: The topic uses the log compaction policy.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("CompactTopic")
public Boolean compactTopic;
/**
* <p>The additional configuration.</p>
* <ul>
* <li>The value must be in JSON format.</li>
* <li>Set Key to <strong>replications</strong>. This value specifies the number of replicas of the topic. The value must be an integer that ranges from 1 to 3.</li>
* <li>You can configure this parameter only if you set <strong>LocalTopic</strong> to <strong>true</strong> or specify <strong>Open Source Edition (Local Disk)</strong> as the instance edition.****</li>
* </ul>
* <blockquote>
* <p> If you specify replications in this parameter, <strong>ReplicationFactor</strong> does not take effect.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>{"replications": 3}</p>
*
* <strong>if can be null:</strong>
* <p>true</p>
*/
@NameInMap("Config")
public String config;
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-mp919o4v****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The type of storage that the topic uses. Valid values:</p>
* <ul>
* <li>false: The topic uses cloud storage.</li>
* <li>true: The topic uses local storage.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("LocalTopic")
public Boolean localTopic;
/**
* <p>The minimum number of in-sync replicas (ISRs).</p>
* <ul>
* <li>This parameter is available only when <strong>LocalTopic</strong> is set to <strong>true</strong>, or the instance is of the <strong>Open Source Edition (Local Disk)</strong>.****</li>
* <li>The value of this parameter must be smaller than the value of ReplicationFactor.</li>
* <li>Valid values: 1 to 3.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*
* <strong>if can be null:</strong>
* <p>true</p>
*/
@NameInMap("MinInsyncReplicas")
public Long minInsyncReplicas;
/**
* <p>The number of partitions in the topic.</p>
* <ul>
* <li>Valid values: 1 to 360.</li>
* <li>In the ApsaraMQ for Kafka console, you can view the number of partitions that the system recommends based on the specifications of the instance. We recommend that you specify the number that is recommended by the system as the value of this parameter to reduce the risk of data skew.</li>
* </ul>
* <p>Default values:</p>
* <ul>
* <li>ApsaraMQ for Kafka V2 instance: 12</li>
* <li>ApsaraMQ for Kafka V3 instance: 3</li>
* </ul>
*
* <strong>example:</strong>
* <p>12</p>
*/
@NameInMap("PartitionNum")
public String partitionNum;
/**
* <p>The region ID of the instance in which you want to create a topic.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The description of the topic.</p>
* <ul>
* <li>The description can contain only letters, digits, hyphens (-), and underscores (_).</li>
* <li>The description must be 3 to 64 characters in length.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_topic_test</p>
*/
@NameInMap("Remark")
public String remark;
/**
* <p>The number of replicas for the topic.</p>
* <ul>
* <li>This parameter is available only when <strong>LocalTopic</strong> is set to <strong>true</strong>, or the instance is of the <strong>Open Source Edition (Local Disk)</strong>.****</li>
* <li>Valid values: 1 to 3.</li>
* </ul>
* <blockquote>
* <p>If you set this parameter to <strong>1</strong>, data loss may occur. Exercise caution when you configure this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>3</p>
*
* <strong>if can be null:</strong>
* <p>true</p>
*/
@NameInMap("ReplicationFactor")
public Long replicationFactor;
/**
* <p>The tags that you want to add to the topic.</p>
*/
@NameInMap("Tag")
public java.util.List<CreateTopicRequestTag> tag;
/**
* <p>The topic name.</p>
* <ul>
* <li>The name can contain only letters, digits, hyphens (-), and underscores (_).</li>
* <li>The name must be 3 to 64 characters in length. If the name that you specify contains more than 64 characters, the system automatically truncates the name.</li>
* <li>After a topic is created, you cannot change the name of the topic.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_topic_test</p>
*/
@NameInMap("Topic")
public String topic;
public static CreateTopicRequest build(java.util.Map<String, ?> map) throws Exception {
CreateTopicRequest self = new CreateTopicRequest();
return TeaModel.build(map, self);
}
public CreateTopicRequest setCompactTopic(Boolean compactTopic) {
this.compactTopic = compactTopic;
return this;
}
public Boolean getCompactTopic() {
return this.compactTopic;
}
public CreateTopicRequest setConfig(String config) {
this.config = config;
return this;
}
public String getConfig() {
return this.config;
}
public CreateTopicRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreateTopicRequest setLocalTopic(Boolean localTopic) {
this.localTopic = localTopic;
return this;
}
public Boolean getLocalTopic() {
return this.localTopic;
}
public CreateTopicRequest setMinInsyncReplicas(Long minInsyncReplicas) {
this.minInsyncReplicas = minInsyncReplicas;
return this;
}
public Long getMinInsyncReplicas() {
return this.minInsyncReplicas;
}
public CreateTopicRequest setPartitionNum(String partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public String getPartitionNum() {
return this.partitionNum;
}
public CreateTopicRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public CreateTopicRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public CreateTopicRequest setReplicationFactor(Long replicationFactor) {
this.replicationFactor = replicationFactor;
return this;
}
public Long getReplicationFactor() {
return this.replicationFactor;
}
public CreateTopicRequest setTag(java.util.List<CreateTopicRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<CreateTopicRequestTag> getTag() {
return this.tag;
}
public CreateTopicRequest setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
public static class CreateTopicRequestTag extends TeaModel {
/**
* <p>The tag key.</p>
* <ul>
* <li>If you do not specify this parameter, the keys of all tags are matched.</li>
* <li>The tag key must be 1 to 128 characters in length and cannot contain <code>http://</code> or <code>https://</code>. The tag key cannot start with <code>aliyun</code> or <code>acs:</code>.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>FinanceDept</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The tag value.</p>
* <ul>
* <li>You can leave this parameter empty.</li>
* <li>The tag value must be 1 to 128 characters in length and cannot contain http:// or https://. The tag value cannot start with aliyun or acs:.</li>
* </ul>
*
* <strong>example:</strong>
* <p>FinanceJoshua</p>
*/
@NameInMap("Value")
public String value;
public static CreateTopicRequestTag build(java.util.Map<String, ?> map) throws Exception {
CreateTopicRequestTag self = new CreateTopicRequestTag();
return TeaModel.build(map, self);
}
public CreateTopicRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreateTopicRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateTopicResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateTopicResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreateTopicResponseBody body;
public static CreateTopicResponse build(java.util.Map<String, ?> map) throws Exception {
CreateTopicResponse self = new CreateTopicResponse();
return TeaModel.build(map, self);
}
public CreateTopicResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreateTopicResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreateTopicResponse setBody(CreateTopicResponseBody body) {
this.body = body;
return this;
}
public CreateTopicResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateTopicResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class CreateTopicResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the call is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9C0F207C-77A6-43E5-991C-9D98510A****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the call was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static CreateTopicResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreateTopicResponseBody self = new CreateTopicResponseBody();
return TeaModel.build(map, self);
}
public CreateTopicResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreateTopicResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateTopicResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateTopicResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteAclRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteAclRequest extends TeaModel {
/**
* <p>The type of the operation allowed by the access control list (ACL). Valid values:</p>
* <ul>
* <li><strong>Write</strong>: data writes.</li>
* <li><strong>Read</strong>: data reads.</li>
* <li><strong>Describe</strong>: reads of transaction IDs.</li>
* <li><strong>IdempotentWrite</strong>: idempotent data writes to clusters.</li>
* <li><strong>IDEMPOTENT_WRITE</strong>: idempotent data writes to clusters. This value is available only for serverless ApsaraMQ for Kafka instances.</li>
* <li><strong>DESCRIBE_CONFIGS</strong>: configuration query. This value is available only for serverless ApsaraMQ for Kafka instances.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Write</p>
*/
@NameInMap("AclOperationType")
public String aclOperationType;
/**
* <p>The types of operations allowed by the ACL. Separate multiple operations with commas (,).</p>
* <p>Valid values:</p>
* <ul>
* <li><strong>Write</strong>: data writes.</li>
* <li><strong>Read</strong>: data reads.</li>
* <li><strong>Describe</strong>: reads of transaction IDs.</li>
* <li><strong>IdempotentWrite</strong>: idempotent data writes to clusters.</li>
* <li><strong>IDEMPOTENT_WRITE</strong>: idempotent data writes to clusters. This value is available only for serverless ApsaraMQ for Kafka instances.</li>
* <li><strong>DESCRIBE_CONFIGS</strong>: configuration query. This value is available only for serverless ApsaraMQ for Kafka instances.</li>
* </ul>
* <blockquote>
* <p> This parameter is available only for serverless ApsaraMQ for Kafka instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Write,Read</p>
*/
@NameInMap("AclOperationTypes")
public String aclOperationTypes;
/**
* <p>The authorization method. Valid values:</p>
* <ul>
* <li>Deny</li>
* <li>ALLOW</li>
* </ul>
* <blockquote>
* <p> This parameter is available only for serverless ApsaraMQ for Kafka instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>DENY</p>
*/
@NameInMap("AclPermissionType")
public String aclPermissionType;
/**
* <p>The name of the resource.</p>
* <ul>
* <li>The value can be the name of a topic or consumer group.</li>
* <li>You can use an asterisk (\*) to indicate the names of all topics or consumer groups.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>demo</p>
*/
@NameInMap("AclResourceName")
public String aclResourceName;
/**
* <p>The mode that is used to match resources. Valid values:</p>
* <ul>
* <li><strong>LITERAL:</strong> full match</li>
* <li><strong>PREFIXED</strong>: prefix match</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>LITERAL</p>
*/
@NameInMap("AclResourcePatternType")
public String aclResourcePatternType;
/**
* <p>The resource type. Valid values:</p>
* <ul>
* <li><strong>Topic</strong>: topic</li>
* <li><strong>Group</strong>: consumer group</li>
* <li><strong>Cluster</strong>: cluster</li>
* <li><strong>TransactionalId</strong>: transactional ID</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Topic</p>
*/
@NameInMap("AclResourceType")
public String aclResourceType;
/**
* <p>The IP address of the source.</p>
* <blockquote>
* </blockquote>
* <ul>
* <li><p>You can specify only a specific IP address or use the asterisk (\*) wildcard character to specify all IP addresses. CIDR blocks are not supported.</p>
* </li>
* <li><p>This parameter is available only for serverless ApsaraMQ for Kafka instances.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <ul>
* <li></li>
* </ul>
*/
@NameInMap("Host")
public String host;
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h1cng0****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The name of the user.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test12****</p>
*/
@NameInMap("Username")
public String username;
public static DeleteAclRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteAclRequest self = new DeleteAclRequest();
return TeaModel.build(map, self);
}
public DeleteAclRequest setAclOperationType(String aclOperationType) {
this.aclOperationType = aclOperationType;
return this;
}
public String getAclOperationType() {
return this.aclOperationType;
}
public DeleteAclRequest setAclOperationTypes(String aclOperationTypes) {
this.aclOperationTypes = aclOperationTypes;
return this;
}
public String getAclOperationTypes() {
return this.aclOperationTypes;
}
public DeleteAclRequest setAclPermissionType(String aclPermissionType) {
this.aclPermissionType = aclPermissionType;
return this;
}
public String getAclPermissionType() {
return this.aclPermissionType;
}
public DeleteAclRequest setAclResourceName(String aclResourceName) {
this.aclResourceName = aclResourceName;
return this;
}
public String getAclResourceName() {
return this.aclResourceName;
}
public DeleteAclRequest setAclResourcePatternType(String aclResourcePatternType) {
this.aclResourcePatternType = aclResourcePatternType;
return this;
}
public String getAclResourcePatternType() {
return this.aclResourcePatternType;
}
public DeleteAclRequest setAclResourceType(String aclResourceType) {
this.aclResourceType = aclResourceType;
return this;
}
public String getAclResourceType() {
return this.aclResourceType;
}
public DeleteAclRequest setHost(String host) {
this.host = host;
return this;
}
public String getHost() {
return this.host;
}
public DeleteAclRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteAclRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DeleteAclRequest setUsername(String username) {
this.username = username;
return this;
}
public String getUsername() {
return this.username;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteAclResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteAclResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteAclResponseBody body;
public static DeleteAclResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteAclResponse self = new DeleteAclResponse();
return TeaModel.build(map, self);
}
public DeleteAclResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteAclResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteAclResponse setBody(DeleteAclResponseBody body) {
this.body = body;
return this;
}
public DeleteAclResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteAclResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteAclResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>B0740227-AA9A-4E14-8E9F-36ED665****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DeleteAclResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteAclResponseBody self = new DeleteAclResponseBody();
return TeaModel.build(map, self);
}
public DeleteAclResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteAclResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteAclResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteAclResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteConsumerGroupRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteConsumerGroupRequest extends TeaModel {
/**
* <p>The name of the consumer group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>CID-test</p>
*/
@NameInMap("ConsumerId")
public String consumerId;
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-v0h1fgs2****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static DeleteConsumerGroupRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteConsumerGroupRequest self = new DeleteConsumerGroupRequest();
return TeaModel.build(map, self);
}
public DeleteConsumerGroupRequest setConsumerId(String consumerId) {
this.consumerId = consumerId;
return this;
}
public String getConsumerId() {
return this.consumerId;
}
public DeleteConsumerGroupRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteConsumerGroupRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteConsumerGroupResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteConsumerGroupResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteConsumerGroupResponseBody body;
public static DeleteConsumerGroupResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteConsumerGroupResponse self = new DeleteConsumerGroupResponse();
return TeaModel.build(map, self);
}
public DeleteConsumerGroupResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteConsumerGroupResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteConsumerGroupResponse setBody(DeleteConsumerGroupResponseBody body) {
this.body = body;
return this;
}
public DeleteConsumerGroupResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteConsumerGroupResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteConsumerGroupResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>06084011-E093-46F3-A51F-4B19A8AD****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DeleteConsumerGroupResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteConsumerGroupResponseBody self = new DeleteConsumerGroupResponseBody();
return TeaModel.build(map, self);
}
public DeleteConsumerGroupResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteConsumerGroupResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteConsumerGroupResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteConsumerGroupResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteInstanceRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteInstanceRequest extends TeaModel {
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-mp919o4v****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static DeleteInstanceRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteInstanceRequest self = new DeleteInstanceRequest();
return TeaModel.build(map, self);
}
public DeleteInstanceRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteInstanceRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteInstanceResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteInstanceResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteInstanceResponseBody body;
public static DeleteInstanceResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteInstanceResponse self = new DeleteInstanceResponse();
return TeaModel.build(map, self);
}
public DeleteInstanceResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteInstanceResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteInstanceResponse setBody(DeleteInstanceResponseBody body) {
this.body = body;
return this;
}
public DeleteInstanceResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteInstanceResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteInstanceResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>ABA4A7FD-E10F-45C7-9774-A5236015****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DeleteInstanceResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteInstanceResponseBody self = new DeleteInstanceResponseBody();
return TeaModel.build(map, self);
}
public DeleteInstanceResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteInstanceResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteInstanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteInstanceResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteSaslUserRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteSaslUserRequest extends TeaModel {
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h1cng0****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The encryption method. Valid values:</p>
* <ul>
* <li>SCRAM-SHA-512. This is the default value.</li>
* <li>SCRAM-SHA-256</li>
* </ul>
* <blockquote>
* <p> This parameter is available only for serverless ApsaraMQ for Kafka instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>SCRAM-SHA-256</p>
*/
@NameInMap("Mechanism")
public String mechanism;
/**
* <p>The ID of the region.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The type of the Simple Authentication and Security Layer (SASL) user. Valid values:</p>
* <ul>
* <li><strong>plain</strong>: a simple mechanism that uses usernames and passwords to verify user identities. ApsaraMQ for Kafka provides an improved PLAIN mechanism that allows you to dynamically add SASL users without the need to restart an instance.</li>
* <li><strong>SCRAM</strong>: a mechanism that uses usernames and passwords to verify user identities. Compared with the PLAIN mechanism, this mechanism provides better security protection. ApsaraMQ for Kafka uses the SCRAM-SHA-256 algorithm.</li>
* <li><strong>LDAP</strong>: This value is available only for the SASL users of ApsaraMQ for Confluent instances.</li>
* </ul>
* <p>Default value: <strong>plain</strong>.</p>
*
* <strong>example:</strong>
* <p>scram</p>
*/
@NameInMap("Type")
public String type;
/**
* <p>The name of the user.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test***</p>
*/
@NameInMap("Username")
public String username;
public static DeleteSaslUserRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteSaslUserRequest self = new DeleteSaslUserRequest();
return TeaModel.build(map, self);
}
public DeleteSaslUserRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteSaslUserRequest setMechanism(String mechanism) {
this.mechanism = mechanism;
return this;
}
public String getMechanism() {
return this.mechanism;
}
public DeleteSaslUserRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DeleteSaslUserRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public DeleteSaslUserRequest setUsername(String username) {
this.username = username;
return this;
}
public String getUsername() {
return this.username;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteSaslUserResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteSaslUserResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteSaslUserResponseBody body;
public static DeleteSaslUserResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteSaslUserResponse self = new DeleteSaslUserResponse();
return TeaModel.build(map, self);
}
public DeleteSaslUserResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteSaslUserResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteSaslUserResponse setBody(DeleteSaslUserResponseBody body) {
this.body = body;
return this;
}
public DeleteSaslUserResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteSaslUserResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteSaslUserResponseBody extends TeaModel {
/**
* <p>The HTTP status code. If the request is successful, 200 is returned.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>3CB89F5C-CD97-4C1D-BC7C-FEDEC2F4****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DeleteSaslUserResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteSaslUserResponseBody self = new DeleteSaslUserResponseBody();
return TeaModel.build(map, self);
}
public DeleteSaslUserResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteSaslUserResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteSaslUserResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteSaslUserResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteScheduledScalingRuleRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteScheduledScalingRuleRequest extends TeaModel {
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_serverless-cn-vxxxxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region where the instance resides.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The name of the scheduled scaling rule.</p>
* <blockquote>
* <p> You can delete only rules that are disabled and rules that are scheduled only once and have been executed.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rule-name-test</p>
*/
@NameInMap("RuleName")
public String ruleName;
public static DeleteScheduledScalingRuleRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduledScalingRuleRequest self = new DeleteScheduledScalingRuleRequest();
return TeaModel.build(map, self);
}
public DeleteScheduledScalingRuleRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteScheduledScalingRuleRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DeleteScheduledScalingRuleRequest setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteScheduledScalingRuleResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteScheduledScalingRuleResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteScheduledScalingRuleResponseBody body;
public static DeleteScheduledScalingRuleResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduledScalingRuleResponse self = new DeleteScheduledScalingRuleResponse();
return TeaModel.build(map, self);
}
public DeleteScheduledScalingRuleResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteScheduledScalingRuleResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteScheduledScalingRuleResponse setBody(DeleteScheduledScalingRuleResponseBody body) {
this.body = body;
return this;
}
public DeleteScheduledScalingRuleResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteScheduledScalingRuleResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteScheduledScalingRuleResponseBody extends TeaModel {
/**
* <p>The responses code. The value 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Long code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>ABA4A7FD-E10F-45C7-9774-A5236015****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
@NameInMap("Success")
public Boolean success;
public static DeleteScheduledScalingRuleResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduledScalingRuleResponseBody self = new DeleteScheduledScalingRuleResponseBody();
return TeaModel.build(map, self);
}
public DeleteScheduledScalingRuleResponseBody setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public DeleteScheduledScalingRuleResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteScheduledScalingRuleResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteScheduledScalingRuleResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteTopicRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteTopicRequest extends TeaModel {
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-v0h1fgs2****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The name of the topic.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Topic")
public String topic;
public static DeleteTopicRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteTopicRequest self = new DeleteTopicRequest();
return TeaModel.build(map, self);
}
public DeleteTopicRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteTopicRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DeleteTopicRequest setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteTopicResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteTopicResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteTopicResponseBody body;
public static DeleteTopicResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteTopicResponse self = new DeleteTopicResponse();
return TeaModel.build(map, self);
}
public DeleteTopicResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteTopicResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteTopicResponse setBody(DeleteTopicResponseBody body) {
this.body = body;
return this;
}
public DeleteTopicResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DeleteTopicResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DeleteTopicResponseBody extends TeaModel {
/**
* <p>The HTTP status code. The status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>06084011-E093-46F3-A51F-4B19A8AD****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DeleteTopicResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteTopicResponseBody self = new DeleteTopicResponseBody();
return TeaModel.build(map, self);
}
public DeleteTopicResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteTopicResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteTopicResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteTopicResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeAclResourceNameRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeAclResourceNameRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>LITERAL</p>
*/
@NameInMap("AclResourcePatternType")
public String aclResourcePatternType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Topic</p>
*/
@NameInMap("AclResourceType")
public String aclResourceType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-mp919o4v****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static DescribeAclResourceNameRequest build(java.util.Map<String, ?> map) throws Exception {
DescribeAclResourceNameRequest self = new DescribeAclResourceNameRequest();
return TeaModel.build(map, self);
}
public DescribeAclResourceNameRequest setAclResourcePatternType(String aclResourcePatternType) {
this.aclResourcePatternType = aclResourcePatternType;
return this;
}
public String getAclResourcePatternType() {
return this.aclResourcePatternType;
}
public DescribeAclResourceNameRequest setAclResourceType(String aclResourceType) {
this.aclResourceType = aclResourceType;
return this;
}
public String getAclResourceType() {
return this.aclResourceType;
}
public DescribeAclResourceNameRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeAclResourceNameRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeAclResourceNameResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeAclResourceNameResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DescribeAclResourceNameResponseBody body;
public static DescribeAclResourceNameResponse build(java.util.Map<String, ?> map) throws Exception {
DescribeAclResourceNameResponse self = new DescribeAclResourceNameResponse();
return TeaModel.build(map, self);
}
public DescribeAclResourceNameResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DescribeAclResourceNameResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DescribeAclResourceNameResponse setBody(DescribeAclResourceNameResponseBody body) {
this.body = body;
return this;
}
public DescribeAclResourceNameResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeAclResourceNameResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeAclResourceNameResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Data")
public DescribeAclResourceNameResponseBodyData data;
/**
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>ABA4A7FD-E10F-45C7-9774-A5236015A***</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DescribeAclResourceNameResponseBody build(java.util.Map<String, ?> map) throws Exception {
DescribeAclResourceNameResponseBody self = new DescribeAclResourceNameResponseBody();
return TeaModel.build(map, self);
}
public DescribeAclResourceNameResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeAclResourceNameResponseBody setData(DescribeAclResourceNameResponseBodyData data) {
this.data = data;
return this;
}
public DescribeAclResourceNameResponseBodyData getData() {
return this.data;
}
public DescribeAclResourceNameResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeAclResourceNameResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeAclResourceNameResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DescribeAclResourceNameResponseBodyData extends TeaModel {
@NameInMap("data")
public java.util.List<String> data;
public static DescribeAclResourceNameResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
DescribeAclResourceNameResponseBodyData self = new DescribeAclResourceNameResponseBodyData();
return TeaModel.build(map, self);
}
public DescribeAclResourceNameResponseBodyData setData(java.util.List<String> data) {
this.data = data;
return this;
}
public java.util.List<String> getData() {
return this.data;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeAclsRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeAclsRequest extends TeaModel {
/**
* <p>The types of operations allowed by the ACL. Separate multiple operation types with commas (,).</p>
* <ul>
* <li>Valid values:</li>
* <li>Write</li>
* <li>Read</li>
* <li>Describe: reads of transactional IDs.</li>
* <li>IdempotentWrite: idempotent data writes to clusters.</li>
* <li>IDEMPOTENT_WRITE: idempotent data writes to clusters. This value is available only for ApsaraMQ for Kafka V3 instances.</li>
* <li>DESCRIBE_CONFIGS: queries of configurations. This value is available only for ApsaraMQ for Kafka V3 instances.<blockquote>
* <p>This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.</p>
* </blockquote>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>Write</p>
*/
@NameInMap("AclOperationType")
public String aclOperationType;
/**
* <p>The authorization method. Valid values:</p>
* <ul>
* <li>DENY</li>
* <li>ALLOW<blockquote>
* <p>This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.</p>
* </blockquote>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>DENY</p>
*/
@NameInMap("AclPermissionType")
public String aclPermissionType;
/**
* <p>The resource name.</p>
* <ul>
* <li>The value can be the name of a topic or consumer group.</li>
* <li>You can use an asterisk (\*) to specify the names of all topics or consumer groups.</li>
* </ul>
* <blockquote>
* <p>You can query the resources on which permissions are granted only after you grant the user the required permissions on all resources.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>demo</p>
*/
@NameInMap("AclResourceName")
public String aclResourceName;
/**
* <p>The match mode. Valid values:</p>
* <ul>
* <li>LITERAL: full-name match</li>
* <li>PREFIXED: prefix match</li>
* </ul>
*
* <strong>example:</strong>
* <p>LITERAL</p>
*/
@NameInMap("AclResourcePatternType")
public String aclResourcePatternType;
/**
* <p>The resource type. Valid values:</p>
* <ul>
* <li><strong>Topic</strong></li>
* <li><strong>Group</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Topic</p>
*/
@NameInMap("AclResourceType")
public String aclResourceType;
/**
* <p>The source IP address.</p>
* <blockquote>
* <ul>
* <li>You can specify only a specific IP address or use the asterisk (*) wildcard character to specify all IP addresses. CIDR blocks are not supported.</li>
* <li>This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.</li>
* </ul>
* </blockquote>
*
* <strong>example:</strong>
* <ul>
* <li></li>
* </ul>
*/
@NameInMap("Host")
public String host;
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h1cng****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The username.</p>
* <ul>
* <li>You can use an asterisk (\*) to specify all users.</li>
* </ul>
* <blockquote>
* <p>You can use an asterisk (\*) to query the authorized users only after you grant the required permissions to all users.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test12****</p>
*/
@NameInMap("Username")
public String username;
public static DescribeAclsRequest build(java.util.Map<String, ?> map) throws Exception {
DescribeAclsRequest self = new DescribeAclsRequest();
return TeaModel.build(map, self);
}
public DescribeAclsRequest setAclOperationType(String aclOperationType) {
this.aclOperationType = aclOperationType;
return this;
}
public String getAclOperationType() {
return this.aclOperationType;
}
public DescribeAclsRequest setAclPermissionType(String aclPermissionType) {
this.aclPermissionType = aclPermissionType;
return this;
}
public String getAclPermissionType() {
return this.aclPermissionType;
}
public DescribeAclsRequest setAclResourceName(String aclResourceName) {
this.aclResourceName = aclResourceName;
return this;
}
public String getAclResourceName() {
return this.aclResourceName;
}
public DescribeAclsRequest setAclResourcePatternType(String aclResourcePatternType) {
this.aclResourcePatternType = aclResourcePatternType;
return this;
}
public String getAclResourcePatternType() {
return this.aclResourcePatternType;
}
public DescribeAclsRequest setAclResourceType(String aclResourceType) {
this.aclResourceType = aclResourceType;
return this;
}
public String getAclResourceType() {
return this.aclResourceType;
}
public DescribeAclsRequest setHost(String host) {
this.host = host;
return this;
}
public String getHost() {
return this.host;
}
public DescribeAclsRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeAclsRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeAclsRequest setUsername(String username) {
this.username = username;
return this;
}
public String getUsername() {
return this.username;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeAclsResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeAclsResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DescribeAclsResponseBody body;
public static DescribeAclsResponse build(java.util.Map<String, ?> map) throws Exception {
DescribeAclsResponse self = new DescribeAclsResponse();
return TeaModel.build(map, self);
}
public DescribeAclsResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DescribeAclsResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DescribeAclsResponse setBody(DescribeAclsResponseBody body) {
this.body = body;
return this;
}
public DescribeAclsResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeAclsResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeAclsResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The access control lists (ACLs).</p>
*/
@NameInMap("KafkaAclList")
public DescribeAclsResponseBodyKafkaAclList kafkaAclList;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>46496E38-881E-4719-A2F3-F3DA6AE****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DescribeAclsResponseBody build(java.util.Map<String, ?> map) throws Exception {
DescribeAclsResponseBody self = new DescribeAclsResponseBody();
return TeaModel.build(map, self);
}
public DescribeAclsResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeAclsResponseBody setKafkaAclList(DescribeAclsResponseBodyKafkaAclList kafkaAclList) {
this.kafkaAclList = kafkaAclList;
return this;
}
public DescribeAclsResponseBodyKafkaAclList getKafkaAclList() {
return this.kafkaAclList;
}
public DescribeAclsResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeAclsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeAclsResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DescribeAclsResponseBodyKafkaAclListKafkaAclVO extends TeaModel {
/**
* <p>The types of operations allowed by the ACL. Separate multiple operation types with commas (,).</p>
* <ul>
* <li>Valid values:</li>
* <li>Write</li>
* <li>Read</li>
* <li>Describe: reads of transactional IDs.</li>
* <li>IdempotentWrite: idempotent data writes to clusters.</li>
* <li>IDEMPOTENT_WRITE: idempotent data writes to clusters. This value is available only for ApsaraMQ for Kafka V3 instances.</li>
* <li>DESCRIBE_CONFIGS: queries of configurations. This value is available only for ApsaraMQ for Kafka V3 instances.<blockquote>
* <p>This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.</p>
* </blockquote>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>Write</p>
*/
@NameInMap("AclOperationType")
public String aclOperationType;
/**
* <p>The authorization method. Valid values:</p>
* <ul>
* <li>DENY</li>
* <li>ALLOW<blockquote>
* <p>This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.</p>
* </blockquote>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>DENY</p>
*/
@NameInMap("AclPermissionType")
public String aclPermissionType;
/**
* <p>The resource name.</p>
* <ul>
* <li>The value can be the name of a topic or consumer group.</li>
* <li>You can use the asterisk (\*) wildcard character to specify the names of all topics or consumer groups.</li>
* </ul>
*
* <strong>example:</strong>
* <p>demo</p>
*/
@NameInMap("AclResourceName")
public String aclResourceName;
/**
* <p>The matching mode. Valid values:</p>
* <ul>
* <li><strong>LITERAL:</strong> full-name match</li>
* <li><strong>PREFIXED</strong>: prefix match</li>
* </ul>
*
* <strong>example:</strong>
* <p>LITERAL</p>
*/
@NameInMap("AclResourcePatternType")
public String aclResourcePatternType;
/**
* <p>The resource type. Valid values:</p>
* <ul>
* <li><strong>Topic</strong></li>
* <li><strong>Group</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Topic</p>
*/
@NameInMap("AclResourceType")
public String aclResourceType;
/**
* <p>The host.</p>
*
* <strong>example:</strong>
* <hr>
*/
@NameInMap("Host")
public String host;
/**
* <p>The username.</p>
*
* <strong>example:</strong>
* <p>test12***</p>
*/
@NameInMap("Username")
public String username;
public static DescribeAclsResponseBodyKafkaAclListKafkaAclVO build(java.util.Map<String, ?> map) throws Exception {
DescribeAclsResponseBodyKafkaAclListKafkaAclVO self = new DescribeAclsResponseBodyKafkaAclListKafkaAclVO();
return TeaModel.build(map, self);
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setAclOperationType(String aclOperationType) {
this.aclOperationType = aclOperationType;
return this;
}
public String getAclOperationType() {
return this.aclOperationType;
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setAclPermissionType(String aclPermissionType) {
this.aclPermissionType = aclPermissionType;
return this;
}
public String getAclPermissionType() {
return this.aclPermissionType;
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setAclResourceName(String aclResourceName) {
this.aclResourceName = aclResourceName;
return this;
}
public String getAclResourceName() {
return this.aclResourceName;
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setAclResourcePatternType(String aclResourcePatternType) {
this.aclResourcePatternType = aclResourcePatternType;
return this;
}
public String getAclResourcePatternType() {
return this.aclResourcePatternType;
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setAclResourceType(String aclResourceType) {
this.aclResourceType = aclResourceType;
return this;
}
public String getAclResourceType() {
return this.aclResourceType;
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setHost(String host) {
this.host = host;
return this;
}
public String getHost() {
return this.host;
}
public DescribeAclsResponseBodyKafkaAclListKafkaAclVO setUsername(String username) {
this.username = username;
return this;
}
public String getUsername() {
return this.username;
}
}
public static class DescribeAclsResponseBodyKafkaAclList extends TeaModel {
@NameInMap("KafkaAclVO")
public java.util.List<DescribeAclsResponseBodyKafkaAclListKafkaAclVO> kafkaAclVO;
public static DescribeAclsResponseBodyKafkaAclList build(java.util.Map<String, ?> map) throws Exception {
DescribeAclsResponseBodyKafkaAclList self = new DescribeAclsResponseBodyKafkaAclList();
return TeaModel.build(map, self);
}
public DescribeAclsResponseBodyKafkaAclList setKafkaAclVO(java.util.List<DescribeAclsResponseBodyKafkaAclListKafkaAclVO> kafkaAclVO) {
this.kafkaAclVO = kafkaAclVO;
return this;
}
public java.util.List<DescribeAclsResponseBodyKafkaAclListKafkaAclVO> getKafkaAclVO() {
return this.kafkaAclVO;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeSaslUsersRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeSaslUsersRequest extends TeaModel {
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h1cng0****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static DescribeSaslUsersRequest build(java.util.Map<String, ?> map) throws Exception {
DescribeSaslUsersRequest self = new DescribeSaslUsersRequest();
return TeaModel.build(map, self);
}
public DescribeSaslUsersRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeSaslUsersRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeSaslUsersResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeSaslUsersResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DescribeSaslUsersResponseBody body;
public static DescribeSaslUsersResponse build(java.util.Map<String, ?> map) throws Exception {
DescribeSaslUsersResponse self = new DescribeSaslUsersResponse();
return TeaModel.build(map, self);
}
public DescribeSaslUsersResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DescribeSaslUsersResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DescribeSaslUsersResponse setBody(DescribeSaslUsersResponseBody body) {
this.body = body;
return this;
}
public DescribeSaslUsersResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/DescribeSaslUsersResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class DescribeSaslUsersResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9E3B3592-5994-4F65-A61E-E62A77A****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>The Simple Authentication and Security Layer (SASL) users.</p>
*/
@NameInMap("SaslUserList")
public DescribeSaslUsersResponseBodySaslUserList saslUserList;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static DescribeSaslUsersResponseBody build(java.util.Map<String, ?> map) throws Exception {
DescribeSaslUsersResponseBody self = new DescribeSaslUsersResponseBody();
return TeaModel.build(map, self);
}
public DescribeSaslUsersResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeSaslUsersResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeSaslUsersResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeSaslUsersResponseBody setSaslUserList(DescribeSaslUsersResponseBodySaslUserList saslUserList) {
this.saslUserList = saslUserList;
return this;
}
public DescribeSaslUsersResponseBodySaslUserList getSaslUserList() {
return this.saslUserList;
}
public DescribeSaslUsersResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DescribeSaslUsersResponseBodySaslUserListSaslUserVO extends TeaModel {
/**
* <p>The encryption method.</p>
* <blockquote>
* <p> This parameter is available only for serverless ApsaraMQ for Kafka instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>SCRAM-SHA-256</p>
*/
@NameInMap("Mechanism")
public String mechanism;
/**
* <p>The password.</p>
*
* <strong>example:</strong>
* <hr>
*/
@NameInMap("Password")
public String password;
/**
* <p>The type of the SASL user. Valid values:</p>
* <ul>
* <li><strong>plain</strong>: a simple mechanism that uses usernames and passwords to verify user identities. ApsaraMQ for Kafka provides an improved PLAIN mechanism that allows you to dynamically add SASL users without the need to restart an instance.</li>
* <li><strong>SCRAM</strong>: a mechanism that uses usernames and passwords to verify user identities. Compared with the PLAIN mechanism, this mechanism provides better security protection. ApsaraMQ for Kafka uses the SCRAM-SHA-256 algorithm.</li>
* <li><strong>LDAP</strong>: This value is available only for the SASL users of ApsaraMQ for Confluent instances.</li>
* </ul>
* <p>Default value: <strong>plain</strong>.</p>
*
* <strong>example:</strong>
* <p>scram</p>
*/
@NameInMap("Type")
public String type;
/**
* <p>The username.</p>
*
* <strong>example:</strong>
* <p>test12***</p>
*/
@NameInMap("Username")
public String username;
public static DescribeSaslUsersResponseBodySaslUserListSaslUserVO build(java.util.Map<String, ?> map) throws Exception {
DescribeSaslUsersResponseBodySaslUserListSaslUserVO self = new DescribeSaslUsersResponseBodySaslUserListSaslUserVO();
return TeaModel.build(map, self);
}
public DescribeSaslUsersResponseBodySaslUserListSaslUserVO setMechanism(String mechanism) {
this.mechanism = mechanism;
return this;
}
public String getMechanism() {
return this.mechanism;
}
public DescribeSaslUsersResponseBodySaslUserListSaslUserVO setPassword(String password) {
this.password = password;
return this;
}
public String getPassword() {
return this.password;
}
public DescribeSaslUsersResponseBodySaslUserListSaslUserVO setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public DescribeSaslUsersResponseBodySaslUserListSaslUserVO setUsername(String username) {
this.username = username;
return this;
}
public String getUsername() {
return this.username;
}
}
public static class DescribeSaslUsersResponseBodySaslUserList extends TeaModel {
@NameInMap("SaslUserVO")
public java.util.List<DescribeSaslUsersResponseBodySaslUserListSaslUserVO> saslUserVO;
public static DescribeSaslUsersResponseBodySaslUserList build(java.util.Map<String, ?> map) throws Exception {
DescribeSaslUsersResponseBodySaslUserList self = new DescribeSaslUsersResponseBodySaslUserList();
return TeaModel.build(map, self);
}
public DescribeSaslUsersResponseBodySaslUserList setSaslUserVO(java.util.List<DescribeSaslUsersResponseBodySaslUserListSaslUserVO> saslUserVO) {
this.saslUserVO = saslUserVO;
return this;
}
public java.util.List<DescribeSaslUsersResponseBodySaslUserListSaslUserVO> getSaslUserVO() {
return this.saslUserVO;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/EnableAutoGroupCreationRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class EnableAutoGroupCreationRequest extends TeaModel {
/**
* <p>Specify whether to enable the flexible group creation feature. Valid values:</p>
* <ul>
* <li><strong>true</strong>: enables the flexible group creation feature.</li>
* <li><strong>false</strong>: disabled the flexible group creation feature.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Enable")
public Boolean enable;
/**
* <p>The instance ID.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/437663.html">GetInstanceList</a> operation to query instances.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-mp919o4v****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static EnableAutoGroupCreationRequest build(java.util.Map<String, ?> map) throws Exception {
EnableAutoGroupCreationRequest self = new EnableAutoGroupCreationRequest();
return TeaModel.build(map, self);
}
public EnableAutoGroupCreationRequest setEnable(Boolean enable) {
this.enable = enable;
return this;
}
public Boolean getEnable() {
return this.enable;
}
public EnableAutoGroupCreationRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public EnableAutoGroupCreationRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/EnableAutoGroupCreationResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class EnableAutoGroupCreationResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public EnableAutoGroupCreationResponseBody body;
public static EnableAutoGroupCreationResponse build(java.util.Map<String, ?> map) throws Exception {
EnableAutoGroupCreationResponse self = new EnableAutoGroupCreationResponse();
return TeaModel.build(map, self);
}
public EnableAutoGroupCreationResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public EnableAutoGroupCreationResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public EnableAutoGroupCreationResponse setBody(EnableAutoGroupCreationResponseBody body) {
this.body = body;
return this;
}
public EnableAutoGroupCreationResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/EnableAutoGroupCreationResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class EnableAutoGroupCreationResponseBody extends TeaModel {
/**
* <p>The returned HTTP status code.</p>
* <p>If the value <strong>200</strong> is returned, the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>A421CCD7-5BC5-4B32-8DD8-64668A8FCB56</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static EnableAutoGroupCreationResponseBody build(java.util.Map<String, ?> map) throws Exception {
EnableAutoGroupCreationResponseBody self = new EnableAutoGroupCreationResponseBody();
return TeaModel.build(map, self);
}
public EnableAutoGroupCreationResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public EnableAutoGroupCreationResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public EnableAutoGroupCreationResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public EnableAutoGroupCreationResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/EnableAutoTopicCreationRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class EnableAutoTopicCreationRequest extends TeaModel {
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-v0h1fgs2****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The operation that you want to perform. Valid values:</p>
* <ul>
* <li>enable: enables the automatic topic creation feature.</li>
* <li>disable: disables the automatic topic creation feature.</li>
* <li>updatePartition: changes the number of partitions in topics that are automatically created.</li>
* </ul>
*
* <strong>example:</strong>
* <p>enable</p>
*/
@NameInMap("Operate")
public String operate;
/**
* <p>The changed number of partitions in topics that are automatically created.</p>
* <p>This parameter takes effect only if you set Operate to updatePartition.</p>
*
* <strong>example:</strong>
* <p>12</p>
*/
@NameInMap("PartitionNum")
public Long partitionNum;
/**
* <p>The region ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("UpdatePartition")
public Boolean updatePartition;
public static EnableAutoTopicCreationRequest build(java.util.Map<String, ?> map) throws Exception {
EnableAutoTopicCreationRequest self = new EnableAutoTopicCreationRequest();
return TeaModel.build(map, self);
}
public EnableAutoTopicCreationRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public EnableAutoTopicCreationRequest setOperate(String operate) {
this.operate = operate;
return this;
}
public String getOperate() {
return this.operate;
}
public EnableAutoTopicCreationRequest setPartitionNum(Long partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Long getPartitionNum() {
return this.partitionNum;
}
public EnableAutoTopicCreationRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public EnableAutoTopicCreationRequest setUpdatePartition(Boolean updatePartition) {
this.updatePartition = updatePartition;
return this;
}
public Boolean getUpdatePartition() {
return this.updatePartition;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/EnableAutoTopicCreationResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class EnableAutoTopicCreationResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public EnableAutoTopicCreationResponseBody body;
public static EnableAutoTopicCreationResponse build(java.util.Map<String, ?> map) throws Exception {
EnableAutoTopicCreationResponse self = new EnableAutoTopicCreationResponse();
return TeaModel.build(map, self);
}
public EnableAutoTopicCreationResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public EnableAutoTopicCreationResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public EnableAutoTopicCreationResponse setBody(EnableAutoTopicCreationResponseBody body) {
this.body = body;
return this;
}
public EnableAutoTopicCreationResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/EnableAutoTopicCreationResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class EnableAutoTopicCreationResponseBody extends TeaModel {
/**
* <p>The returned status code. If the request is successful, 200 is returned.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9E3B3592-5994-4F65-A61E-E62A77A7***</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static EnableAutoTopicCreationResponseBody build(java.util.Map<String, ?> map) throws Exception {
EnableAutoTopicCreationResponseBody self = new EnableAutoTopicCreationResponseBody();
return TeaModel.build(map, self);
}
public EnableAutoTopicCreationResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public EnableAutoTopicCreationResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public EnableAutoTopicCreationResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public EnableAutoTopicCreationResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/FailoverTestRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class FailoverTestRequest extends TeaModel {
@NameInMap("Configs")
public String configs;
@NameInMap("Description")
public String description;
@NameInMap("Duration")
public Long duration;
@NameInMap("ExecuteTime")
public Long executeTime;
@NameInMap("InstanceId")
public String instanceId;
@NameInMap("Name")
public String name;
@NameInMap("RegionId")
public String regionId;
@NameInMap("Type")
public String type;
public static FailoverTestRequest build(java.util.Map<String, ?> map) throws Exception {
FailoverTestRequest self = new FailoverTestRequest();
return TeaModel.build(map, self);
}
public FailoverTestRequest setConfigs(String configs) {
this.configs = configs;
return this;
}
public String getConfigs() {
return this.configs;
}
public FailoverTestRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public FailoverTestRequest setDuration(Long duration) {
this.duration = duration;
return this;
}
public Long getDuration() {
return this.duration;
}
public FailoverTestRequest setExecuteTime(Long executeTime) {
this.executeTime = executeTime;
return this;
}
public Long getExecuteTime() {
return this.executeTime;
}
public FailoverTestRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public FailoverTestRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public FailoverTestRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public FailoverTestRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/FailoverTestResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class FailoverTestResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public FailoverTestResponseBody body;
public static FailoverTestResponse build(java.util.Map<String, ?> map) throws Exception {
FailoverTestResponse self = new FailoverTestResponse();
return TeaModel.build(map, self);
}
public FailoverTestResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public FailoverTestResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public FailoverTestResponse setBody(FailoverTestResponseBody body) {
this.body = body;
return this;
}
public FailoverTestResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/FailoverTestResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class FailoverTestResponseBody extends TeaModel {
@NameInMap("Code")
public Integer code;
@NameInMap("Message")
public String message;
@NameInMap("RequestId")
public String requestId;
@NameInMap("Success")
public Boolean success;
public static FailoverTestResponseBody build(java.util.Map<String, ?> map) throws Exception {
FailoverTestResponseBody self = new FailoverTestResponseBody();
return TeaModel.build(map, self);
}
public FailoverTestResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public FailoverTestResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public FailoverTestResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public FailoverTestResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAllInstanceIdListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAllInstanceIdListRequest extends TeaModel {
/**
* <p>The region ID of the instance. This parameter is reserved.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static GetAllInstanceIdListRequest build(java.util.Map<String, ?> map) throws Exception {
GetAllInstanceIdListRequest self = new GetAllInstanceIdListRequest();
return TeaModel.build(map, self);
}
public GetAllInstanceIdListRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAllInstanceIdListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAllInstanceIdListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetAllInstanceIdListResponseBody body;
public static GetAllInstanceIdListResponse build(java.util.Map<String, ?> map) throws Exception {
GetAllInstanceIdListResponse self = new GetAllInstanceIdListResponse();
return TeaModel.build(map, self);
}
public GetAllInstanceIdListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetAllInstanceIdListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetAllInstanceIdListResponse setBody(GetAllInstanceIdListResponseBody body) {
this.body = body;
return this;
}
public GetAllInstanceIdListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAllInstanceIdListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAllInstanceIdListResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The IDs of instances that are managed by the Alibaba Cloud account in all the regions.</p>
*
* <strong>example:</strong>
* <p>[{"cn-shenzhen": ["alikafka_post-cn-7pp2btvo****"],"us-west-1": ["alikafka_pre-cn-i7m2lxid****"],"cn-hangzhou": ["alikafka_pre-cn-i7m2hflj****","alikafka_pre-cn-zvp2hsje****","alikafka_pre-cn-zvp2kvc9****"]}]</p>
*/
@NameInMap("InstanceIds")
public java.util.Map<String, ?> instanceIds;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>ABA4A7FD-E10F-45C7-9774-A5236015****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetAllInstanceIdListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetAllInstanceIdListResponseBody self = new GetAllInstanceIdListResponseBody();
return TeaModel.build(map, self);
}
public GetAllInstanceIdListResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetAllInstanceIdListResponseBody setInstanceIds(java.util.Map<String, ?> instanceIds) {
this.instanceIds = instanceIds;
return this;
}
public java.util.Map<String, ?> getInstanceIds() {
return this.instanceIds;
}
public GetAllInstanceIdListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetAllInstanceIdListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetAllInstanceIdListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAllowedIpListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAllowedIpListRequest extends TeaModel {
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-mp91inkw****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static GetAllowedIpListRequest build(java.util.Map<String, ?> map) throws Exception {
GetAllowedIpListRequest self = new GetAllowedIpListRequest();
return TeaModel.build(map, self);
}
public GetAllowedIpListRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetAllowedIpListRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAllowedIpListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAllowedIpListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetAllowedIpListResponseBody body;
public static GetAllowedIpListResponse build(java.util.Map<String, ?> map) throws Exception {
GetAllowedIpListResponse self = new GetAllowedIpListResponse();
return TeaModel.build(map, self);
}
public GetAllowedIpListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetAllowedIpListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetAllowedIpListResponse setBody(GetAllowedIpListResponseBody body) {
this.body = body;
return this;
}
public GetAllowedIpListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAllowedIpListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAllowedIpListResponseBody extends TeaModel {
/**
* <p>The IP address whitelist.</p>
*/
@NameInMap("AllowedList")
public GetAllowedIpListResponseBodyAllowedList allowedList;
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>A421CCD7-5BC5-4B32-8DD8-64668A8FCB56</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetAllowedIpListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetAllowedIpListResponseBody self = new GetAllowedIpListResponseBody();
return TeaModel.build(map, self);
}
public GetAllowedIpListResponseBody setAllowedList(GetAllowedIpListResponseBodyAllowedList allowedList) {
this.allowedList = allowedList;
return this;
}
public GetAllowedIpListResponseBodyAllowedList getAllowedList() {
return this.allowedList;
}
public GetAllowedIpListResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetAllowedIpListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetAllowedIpListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetAllowedIpListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetAllowedIpListResponseBodyAllowedListInternetList extends TeaModel {
/**
* <p>The group to which the IP address whitelist belongs.</p>
*/
@NameInMap("AllowedIpGroup")
public java.util.Map<String, String> allowedIpGroup;
/**
* <p>The information about the IP address whitelist.</p>
*/
@NameInMap("AllowedIpList")
public java.util.List<String> allowedIpList;
@NameInMap("BlackIPList")
public java.util.List<String> blackIPList;
@NameInMap("BlackIPMap")
public java.util.Map<String, String> blackIPMap;
/**
* <p>The port range. Valid value:</p>
* <p><strong>9093/9093</strong>.</p>
*
* <strong>example:</strong>
* <p>9093/9093</p>
*/
@NameInMap("PortRange")
public String portRange;
@NameInMap("SecurityGroupId")
public String securityGroupId;
@NameInMap("UserDefinedSharedSecurityGroup")
public Boolean userDefinedSharedSecurityGroup;
public static GetAllowedIpListResponseBodyAllowedListInternetList build(java.util.Map<String, ?> map) throws Exception {
GetAllowedIpListResponseBodyAllowedListInternetList self = new GetAllowedIpListResponseBodyAllowedListInternetList();
return TeaModel.build(map, self);
}
public GetAllowedIpListResponseBodyAllowedListInternetList setAllowedIpGroup(java.util.Map<String, String> allowedIpGroup) {
this.allowedIpGroup = allowedIpGroup;
return this;
}
public java.util.Map<String, String> getAllowedIpGroup() {
return this.allowedIpGroup;
}
public GetAllowedIpListResponseBodyAllowedListInternetList setAllowedIpList(java.util.List<String> allowedIpList) {
this.allowedIpList = allowedIpList;
return this;
}
public java.util.List<String> getAllowedIpList() {
return this.allowedIpList;
}
public GetAllowedIpListResponseBodyAllowedListInternetList setBlackIPList(java.util.List<String> blackIPList) {
this.blackIPList = blackIPList;
return this;
}
public java.util.List<String> getBlackIPList() {
return this.blackIPList;
}
public GetAllowedIpListResponseBodyAllowedListInternetList setBlackIPMap(java.util.Map<String, String> blackIPMap) {
this.blackIPMap = blackIPMap;
return this;
}
public java.util.Map<String, String> getBlackIPMap() {
return this.blackIPMap;
}
public GetAllowedIpListResponseBodyAllowedListInternetList setPortRange(String portRange) {
this.portRange = portRange;
return this;
}
public String getPortRange() {
return this.portRange;
}
public GetAllowedIpListResponseBodyAllowedListInternetList setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public GetAllowedIpListResponseBodyAllowedListInternetList setUserDefinedSharedSecurityGroup(Boolean userDefinedSharedSecurityGroup) {
this.userDefinedSharedSecurityGroup = userDefinedSharedSecurityGroup;
return this;
}
public Boolean getUserDefinedSharedSecurityGroup() {
return this.userDefinedSharedSecurityGroup;
}
}
public static class GetAllowedIpListResponseBodyAllowedListVpcList extends TeaModel {
/**
* <p>The group to which the IP address whitelist belongs.</p>
*/
@NameInMap("AllowedIpGroup")
public java.util.Map<String, String> allowedIpGroup;
/**
* <p>The information about the IP address whitelist.</p>
*/
@NameInMap("AllowedIpList")
public java.util.List<String> allowedIpList;
@NameInMap("BlackIPList")
public java.util.List<String> blackIPList;
@NameInMap("BlackIPMap")
public java.util.Map<String, String> blackIPMap;
/**
* <p>The port range. Valid value:</p>
* <p><strong>9092/9092</strong>.</p>
*
* <strong>example:</strong>
* <p>9092/9092</p>
*/
@NameInMap("PortRange")
public String portRange;
@NameInMap("SecurityGroupId")
public String securityGroupId;
@NameInMap("UserDefinedSharedSecurityGroup")
public Boolean userDefinedSharedSecurityGroup;
public static GetAllowedIpListResponseBodyAllowedListVpcList build(java.util.Map<String, ?> map) throws Exception {
GetAllowedIpListResponseBodyAllowedListVpcList self = new GetAllowedIpListResponseBodyAllowedListVpcList();
return TeaModel.build(map, self);
}
public GetAllowedIpListResponseBodyAllowedListVpcList setAllowedIpGroup(java.util.Map<String, String> allowedIpGroup) {
this.allowedIpGroup = allowedIpGroup;
return this;
}
public java.util.Map<String, String> getAllowedIpGroup() {
return this.allowedIpGroup;
}
public GetAllowedIpListResponseBodyAllowedListVpcList setAllowedIpList(java.util.List<String> allowedIpList) {
this.allowedIpList = allowedIpList;
return this;
}
public java.util.List<String> getAllowedIpList() {
return this.allowedIpList;
}
public GetAllowedIpListResponseBodyAllowedListVpcList setBlackIPList(java.util.List<String> blackIPList) {
this.blackIPList = blackIPList;
return this;
}
public java.util.List<String> getBlackIPList() {
return this.blackIPList;
}
public GetAllowedIpListResponseBodyAllowedListVpcList setBlackIPMap(java.util.Map<String, String> blackIPMap) {
this.blackIPMap = blackIPMap;
return this;
}
public java.util.Map<String, String> getBlackIPMap() {
return this.blackIPMap;
}
public GetAllowedIpListResponseBodyAllowedListVpcList setPortRange(String portRange) {
this.portRange = portRange;
return this;
}
public String getPortRange() {
return this.portRange;
}
public GetAllowedIpListResponseBodyAllowedListVpcList setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public GetAllowedIpListResponseBodyAllowedListVpcList setUserDefinedSharedSecurityGroup(Boolean userDefinedSharedSecurityGroup) {
this.userDefinedSharedSecurityGroup = userDefinedSharedSecurityGroup;
return this;
}
public Boolean getUserDefinedSharedSecurityGroup() {
return this.userDefinedSharedSecurityGroup;
}
}
public static class GetAllowedIpListResponseBodyAllowedList extends TeaModel {
/**
* <p>The deployment mode of the instance. Valid values:</p>
* <ul>
* <li><strong>4</strong>: allows access from the Internet and a virtual private cloud (VPC).</li>
* <li><strong>5</strong>: allows access from a VPC.</li>
* </ul>
* <blockquote>
* <p> Only integrators need to concern themselves with the value of this parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <p>The whitelist for access from the Internet.</p>
*/
@NameInMap("InternetList")
public java.util.List<GetAllowedIpListResponseBodyAllowedListInternetList> internetList;
/**
* <p>The whitelist for access from a virtual private cloud (VPC).</p>
*/
@NameInMap("VpcList")
public java.util.List<GetAllowedIpListResponseBodyAllowedListVpcList> vpcList;
public static GetAllowedIpListResponseBodyAllowedList build(java.util.Map<String, ?> map) throws Exception {
GetAllowedIpListResponseBodyAllowedList self = new GetAllowedIpListResponseBodyAllowedList();
return TeaModel.build(map, self);
}
public GetAllowedIpListResponseBodyAllowedList setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public GetAllowedIpListResponseBodyAllowedList setInternetList(java.util.List<GetAllowedIpListResponseBodyAllowedListInternetList> internetList) {
this.internetList = internetList;
return this;
}
public java.util.List<GetAllowedIpListResponseBodyAllowedListInternetList> getInternetList() {
return this.internetList;
}
public GetAllowedIpListResponseBodyAllowedList setVpcList(java.util.List<GetAllowedIpListResponseBodyAllowedListVpcList> vpcList) {
this.vpcList = vpcList;
return this;
}
public java.util.List<GetAllowedIpListResponseBodyAllowedListVpcList> getVpcList() {
return this.vpcList;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAutoScalingConfigurationRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAutoScalingConfigurationRequest extends TeaModel {
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_serverless-cn-vxxxxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region where the instance resides.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static GetAutoScalingConfigurationRequest build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationRequest self = new GetAutoScalingConfigurationRequest();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetAutoScalingConfigurationRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAutoScalingConfigurationResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAutoScalingConfigurationResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetAutoScalingConfigurationResponseBody body;
public static GetAutoScalingConfigurationResponse build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationResponse self = new GetAutoScalingConfigurationResponse();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetAutoScalingConfigurationResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetAutoScalingConfigurationResponse setBody(GetAutoScalingConfigurationResponseBody body) {
this.body = body;
return this;
}
public GetAutoScalingConfigurationResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetAutoScalingConfigurationResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetAutoScalingConfigurationResponseBody extends TeaModel {
/**
* <p>The response code. The value 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Long code;
/**
* <p>The returned data.</p>
*/
@NameInMap("Data")
public GetAutoScalingConfigurationResponseBodyData data;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>B7A39AE5-0B36-4442-A304-E0885265***</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetAutoScalingConfigurationResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationResponseBody self = new GetAutoScalingConfigurationResponseBody();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationResponseBody setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public GetAutoScalingConfigurationResponseBody setData(GetAutoScalingConfigurationResponseBodyData data) {
this.data = data;
return this;
}
public GetAutoScalingConfigurationResponseBodyData getData() {
return this.data;
}
public GetAutoScalingConfigurationResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetAutoScalingConfigurationResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetAutoScalingConfigurationResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes extends TeaModel {
@NameInMap("WeeklyTypes")
public java.util.List<String> weeklyTypes;
public static GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes self = new GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes setWeeklyTypes(java.util.List<String> weeklyTypes) {
this.weeklyTypes = weeklyTypes;
return this;
}
public java.util.List<String> getWeeklyTypes() {
return this.weeklyTypes;
}
}
public static class GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules extends TeaModel {
/**
* <p>The duration of a scheduled scaling task. Unit: minutes.</p>
*
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("DurationMinutes")
public Long durationMinutes;
/**
* <p>Indicates whether the scheduled scaling rule is enabled. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Enable")
public Boolean enable;
/**
* <p>The estimated scale-in duration. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>780</p>
*/
@NameInMap("EstimatedElasticScalingDownTimeSecs")
public Long estimatedElasticScalingDownTimeSecs;
/**
* <p>The estimated scale-out duration. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>780</p>
*/
@NameInMap("EstimatedElasticScalingUpTimeSecs")
public Long estimatedElasticScalingUpTimeSecs;
/**
* <p>The timestamp that indicates the start time of the scheduled scaling task.</p>
*
* <strong>example:</strong>
* <p>1714467540000</p>
*/
@NameInMap("FirstScheduledTime")
public Long firstScheduledTime;
/**
* <p>The frequency at which the scheduled scaling task is executed. This parameter is returned only if ScheduleType is set to repeat. Valid values:</p>
* <ul>
* <li><p>Daily: The scheduled scaling task is executed every day.</p>
* </li>
* <li><p>Weekly: The scheduled scaling task is executed every week.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>Weekly</p>
*/
@NameInMap("RepeatType")
public String repeatType;
/**
* <p>The reserved production capacity for scheduled scaling. Unit: MB/s.</p>
*
* <strong>example:</strong>
* <p>120</p>
*/
@NameInMap("ReservedPubFlow")
public Long reservedPubFlow;
/**
* <p>The reserved consumption capacity for scheduled scaling. Unit: MB/s.</p>
*
* <strong>example:</strong>
* <p>120</p>
*/
@NameInMap("ReservedSubFlow")
public Long reservedSubFlow;
/**
* <p>The ID of the scheduled scaling rule.</p>
*
* <strong>example:</strong>
* <p>64</p>
*/
@NameInMap("RuleId")
public Long ruleId;
/**
* <p>The name of the scheduled scaling rule.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("RuleName")
public String ruleName;
/**
* <p>The type of the scheduled scaling task. Valid values:</p>
* <ul>
* <li>at: The scheduled scaling task is executed only once.</li>
* <li>repeat: The scheduled scaling task is repeatedly executed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>at</p>
*/
@NameInMap("ScheduleType")
public String scheduleType;
/**
* <p>The time zone in Coordinated Universal Time (UTC).</p>
*
* <strong>example:</strong>
* <p>GMT+8</p>
*/
@NameInMap("TimeZone")
public String timeZone;
/**
* <p>The day on which the scheduled scaling task is repeatedly executed. You can specify multiple days for this parameter.</p>
*/
@NameInMap("WeeklyTypes")
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes weeklyTypes;
public static GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules self = new GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setDurationMinutes(Long durationMinutes) {
this.durationMinutes = durationMinutes;
return this;
}
public Long getDurationMinutes() {
return this.durationMinutes;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setEnable(Boolean enable) {
this.enable = enable;
return this;
}
public Boolean getEnable() {
return this.enable;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setEstimatedElasticScalingDownTimeSecs(Long estimatedElasticScalingDownTimeSecs) {
this.estimatedElasticScalingDownTimeSecs = estimatedElasticScalingDownTimeSecs;
return this;
}
public Long getEstimatedElasticScalingDownTimeSecs() {
return this.estimatedElasticScalingDownTimeSecs;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setEstimatedElasticScalingUpTimeSecs(Long estimatedElasticScalingUpTimeSecs) {
this.estimatedElasticScalingUpTimeSecs = estimatedElasticScalingUpTimeSecs;
return this;
}
public Long getEstimatedElasticScalingUpTimeSecs() {
return this.estimatedElasticScalingUpTimeSecs;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setFirstScheduledTime(Long firstScheduledTime) {
this.firstScheduledTime = firstScheduledTime;
return this;
}
public Long getFirstScheduledTime() {
return this.firstScheduledTime;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setRepeatType(String repeatType) {
this.repeatType = repeatType;
return this;
}
public String getRepeatType() {
return this.repeatType;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setReservedPubFlow(Long reservedPubFlow) {
this.reservedPubFlow = reservedPubFlow;
return this;
}
public Long getReservedPubFlow() {
return this.reservedPubFlow;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setReservedSubFlow(Long reservedSubFlow) {
this.reservedSubFlow = reservedSubFlow;
return this;
}
public Long getReservedSubFlow() {
return this.reservedSubFlow;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setRuleId(Long ruleId) {
this.ruleId = ruleId;
return this;
}
public Long getRuleId() {
return this.ruleId;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setScheduleType(String scheduleType) {
this.scheduleType = scheduleType;
return this;
}
public String getScheduleType() {
return this.scheduleType;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setTimeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
public String getTimeZone() {
return this.timeZone;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules setWeeklyTypes(GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes weeklyTypes) {
this.weeklyTypes = weeklyTypes;
return this;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRulesWeeklyTypes getWeeklyTypes() {
return this.weeklyTypes;
}
}
public static class GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules extends TeaModel {
@NameInMap("ScheduledScalingRules")
public java.util.List<GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules> scheduledScalingRules;
public static GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules self = new GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules setScheduledScalingRules(java.util.List<GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules> scheduledScalingRules) {
this.scheduledScalingRules = scheduledScalingRules;
return this;
}
public java.util.List<GetAutoScalingConfigurationResponseBodyDataScheduledScalingRulesScheduledScalingRules> getScheduledScalingRules() {
return this.scheduledScalingRules;
}
}
public static class GetAutoScalingConfigurationResponseBodyData extends TeaModel {
/**
* <p>The scheduled scaling rules.</p>
*/
@NameInMap("ScheduledScalingRules")
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules scheduledScalingRules;
public static GetAutoScalingConfigurationResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
GetAutoScalingConfigurationResponseBodyData self = new GetAutoScalingConfigurationResponseBodyData();
return TeaModel.build(map, self);
}
public GetAutoScalingConfigurationResponseBodyData setScheduledScalingRules(GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules scheduledScalingRules) {
this.scheduledScalingRules = scheduledScalingRules;
return this;
}
public GetAutoScalingConfigurationResponseBodyDataScheduledScalingRules getScheduledScalingRules() {
return this.scheduledScalingRules;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetConsumerListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetConsumerListRequest extends TeaModel {
/**
* <p>The name of the consumer group. If you do not configure this parameter, all consumer groups are queried.</p>
*
* <strong>example:</strong>
* <p>kafka-test</p>
*/
@NameInMap("ConsumerId")
public String consumerId;
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* <p>The ID of the instance to which the consumer group belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-v0h18sav****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The number of entries to be returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* <p>The region ID of the instance to which the consumer group belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static GetConsumerListRequest build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListRequest self = new GetConsumerListRequest();
return TeaModel.build(map, self);
}
public GetConsumerListRequest setConsumerId(String consumerId) {
this.consumerId = consumerId;
return this;
}
public String getConsumerId() {
return this.consumerId;
}
public GetConsumerListRequest setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public GetConsumerListRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetConsumerListRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public GetConsumerListRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetConsumerListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetConsumerListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetConsumerListResponseBody body;
public static GetConsumerListResponse build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListResponse self = new GetConsumerListResponse();
return TeaModel.build(map, self);
}
public GetConsumerListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetConsumerListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetConsumerListResponse setBody(GetConsumerListResponseBody body) {
this.body = body;
return this;
}
public GetConsumerListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetConsumerListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetConsumerListResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The consumer groups.</p>
*/
@NameInMap("ConsumerList")
public GetConsumerListResponseBodyConsumerList consumerList;
/**
* <p>The number of the page to return. Pages start from page 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>808F042B-CB9A-4FBC-9009-00E7DDB6****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>12</p>
*/
@NameInMap("Total")
public Long total;
public static GetConsumerListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListResponseBody self = new GetConsumerListResponseBody();
return TeaModel.build(map, self);
}
public GetConsumerListResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetConsumerListResponseBody setConsumerList(GetConsumerListResponseBodyConsumerList consumerList) {
this.consumerList = consumerList;
return this;
}
public GetConsumerListResponseBodyConsumerList getConsumerList() {
return this.consumerList;
}
public GetConsumerListResponseBody setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public GetConsumerListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetConsumerListResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public GetConsumerListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetConsumerListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public GetConsumerListResponseBody setTotal(Long total) {
this.total = total;
return this;
}
public Long getTotal() {
return this.total;
}
public static class GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO extends TeaModel {
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO self = new GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO();
return TeaModel.build(map, self);
}
public GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class GetConsumerListResponseBodyConsumerListConsumerVOTags extends TeaModel {
@NameInMap("TagVO")
public java.util.List<GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO> tagVO;
public static GetConsumerListResponseBodyConsumerListConsumerVOTags build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListResponseBodyConsumerListConsumerVOTags self = new GetConsumerListResponseBodyConsumerListConsumerVOTags();
return TeaModel.build(map, self);
}
public GetConsumerListResponseBodyConsumerListConsumerVOTags setTagVO(java.util.List<GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO> tagVO) {
this.tagVO = tagVO;
return this;
}
public java.util.List<GetConsumerListResponseBodyConsumerListConsumerVOTagsTagVO> getTagVO() {
return this.tagVO;
}
}
public static class GetConsumerListResponseBodyConsumerListConsumerVO extends TeaModel {
/**
* <p>Indicates that the consumer group was automatically created by the system.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("AutomaticallyCreatedGroup")
public Boolean automaticallyCreatedGroup;
/**
* <p>The consumer group ID.</p>
*
* <strong>example:</strong>
* <p>kafka-test</p>
*/
@NameInMap("ConsumerId")
public String consumerId;
/**
* <p>The timestamp that indicates when the consumer group was created. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1729736584002</p>
*/
@NameInMap("CreateTime")
public Long createTime;
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-v0h18sav****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region where the instance resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The instance description.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Remark")
public String remark;
/**
* <p>The tags.</p>
*/
@NameInMap("Tags")
public GetConsumerListResponseBodyConsumerListConsumerVOTags tags;
public static GetConsumerListResponseBodyConsumerListConsumerVO build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListResponseBodyConsumerListConsumerVO self = new GetConsumerListResponseBodyConsumerListConsumerVO();
return TeaModel.build(map, self);
}
public GetConsumerListResponseBodyConsumerListConsumerVO setAutomaticallyCreatedGroup(Boolean automaticallyCreatedGroup) {
this.automaticallyCreatedGroup = automaticallyCreatedGroup;
return this;
}
public Boolean getAutomaticallyCreatedGroup() {
return this.automaticallyCreatedGroup;
}
public GetConsumerListResponseBodyConsumerListConsumerVO setConsumerId(String consumerId) {
this.consumerId = consumerId;
return this;
}
public String getConsumerId() {
return this.consumerId;
}
public GetConsumerListResponseBodyConsumerListConsumerVO setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public GetConsumerListResponseBodyConsumerListConsumerVO setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetConsumerListResponseBodyConsumerListConsumerVO setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetConsumerListResponseBodyConsumerListConsumerVO setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public GetConsumerListResponseBodyConsumerListConsumerVO setTags(GetConsumerListResponseBodyConsumerListConsumerVOTags tags) {
this.tags = tags;
return this;
}
public GetConsumerListResponseBodyConsumerListConsumerVOTags getTags() {
return this.tags;
}
}
public static class GetConsumerListResponseBodyConsumerList extends TeaModel {
@NameInMap("ConsumerVO")
public java.util.List<GetConsumerListResponseBodyConsumerListConsumerVO> consumerVO;
public static GetConsumerListResponseBodyConsumerList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerListResponseBodyConsumerList self = new GetConsumerListResponseBodyConsumerList();
return TeaModel.build(map, self);
}
public GetConsumerListResponseBodyConsumerList setConsumerVO(java.util.List<GetConsumerListResponseBodyConsumerListConsumerVO> consumerVO) {
this.consumerVO = consumerVO;
return this;
}
public java.util.List<GetConsumerListResponseBodyConsumerListConsumerVO> getConsumerVO() {
return this.consumerVO;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetConsumerProgressRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetConsumerProgressRequest extends TeaModel {
/**
* <p>The name of the consumer group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>kafka-test</p>
*/
@NameInMap("ConsumerId")
public String consumerId;
/**
* <p>Specifies whether to hide LastTimestamp. Default value: false. We recommend that you set this parameter to true.</p>
* <blockquote>
* </blockquote>
* <ul>
* <li><p>If you set this parameter to true, -1 is returned for LastTimestamp. If you set this parameter to false, a specific value is returned for LastTimestamp. This parameter is supported only by topics that use cloud storage on reserved instances.</p>
* </li>
* <li><p>A large amount of data is processed by this operation, which causes performance loss. We recommend that you set this parameter to true to accelerate processing.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("HideLastTimestamp")
public Boolean hideLastTimestamp;
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-mp919o4v****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static GetConsumerProgressRequest build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressRequest self = new GetConsumerProgressRequest();
return TeaModel.build(map, self);
}
public GetConsumerProgressRequest setConsumerId(String consumerId) {
this.consumerId = consumerId;
return this;
}
public String getConsumerId() {
return this.consumerId;
}
public GetConsumerProgressRequest setHideLastTimestamp(Boolean hideLastTimestamp) {
this.hideLastTimestamp = hideLastTimestamp;
return this;
}
public Boolean getHideLastTimestamp() {
return this.hideLastTimestamp;
}
public GetConsumerProgressRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetConsumerProgressRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetConsumerProgressResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetConsumerProgressResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetConsumerProgressResponseBody body;
public static GetConsumerProgressResponse build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponse self = new GetConsumerProgressResponse();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetConsumerProgressResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetConsumerProgressResponse setBody(GetConsumerProgressResponseBody body) {
this.body = body;
return this;
}
public GetConsumerProgressResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetConsumerProgressResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetConsumerProgressResponseBody extends TeaModel {
/**
* <p>The returned HTTP status code. If the request is successful, 200 is returned.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The consumer progress of the consumer group.</p>
*/
@NameInMap("ConsumerProgress")
public GetConsumerProgressResponseBodyConsumerProgress consumerProgress;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>252820E1-A2E6-45F2-B4C9-1056B8CE****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetConsumerProgressResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBody self = new GetConsumerProgressResponseBody();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetConsumerProgressResponseBody setConsumerProgress(GetConsumerProgressResponseBodyConsumerProgress consumerProgress) {
this.consumerProgress = consumerProgress;
return this;
}
public GetConsumerProgressResponseBodyConsumerProgress getConsumerProgress() {
return this.consumerProgress;
}
public GetConsumerProgressResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetConsumerProgressResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetConsumerProgressResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList extends TeaModel {
/**
* <p>The number of rebalances.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("Generation")
public Long generation;
/**
* <p>The group ID of the subscriber.</p>
*
* <strong>example:</strong>
* <p>falcon-uat</p>
*/
@NameInMap("GroupId")
public String groupId;
/**
* <p>The time when the last rebalance occurred. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1709199270</p>
*/
@NameInMap("LastRebalanceTimestamp")
public Long lastRebalanceTimestamp;
/**
* <p>The cause of the rebalance.</p>
*
* <strong>example:</strong>
* <p>removing member consumer-1-cd14eb9c-379b-4b8e-9bbd-76f147f8536f on LeaveGroup</p>
*/
@NameInMap("Reason")
public String reason;
/**
* <p>Indicates whether new members are added to the consumer group in the rebalance.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("RebalanceSuccess")
public Boolean rebalanceSuccess;
/**
* <p>The duration of the rebalance. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("RebalanceTimeConsuming")
public Long rebalanceTimeConsuming;
public static GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList self = new GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList setGeneration(Long generation) {
this.generation = generation;
return this;
}
public Long getGeneration() {
return this.generation;
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
public String getGroupId() {
return this.groupId;
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList setLastRebalanceTimestamp(Long lastRebalanceTimestamp) {
this.lastRebalanceTimestamp = lastRebalanceTimestamp;
return this;
}
public Long getLastRebalanceTimestamp() {
return this.lastRebalanceTimestamp;
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList setReason(String reason) {
this.reason = reason;
return this;
}
public String getReason() {
return this.reason;
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList setRebalanceSuccess(Boolean rebalanceSuccess) {
this.rebalanceSuccess = rebalanceSuccess;
return this;
}
public Boolean getRebalanceSuccess() {
return this.rebalanceSuccess;
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList setRebalanceTimeConsuming(Long rebalanceTimeConsuming) {
this.rebalanceTimeConsuming = rebalanceTimeConsuming;
return this;
}
public Long getRebalanceTimeConsuming() {
return this.rebalanceTimeConsuming;
}
}
public static class GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList extends TeaModel {
@NameInMap("RebalanceInfoList")
public java.util.List<GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList> rebalanceInfoList;
public static GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList self = new GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList setRebalanceInfoList(java.util.List<GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList> rebalanceInfoList) {
this.rebalanceInfoList = rebalanceInfoList;
return this;
}
public java.util.List<GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoListRebalanceInfoList> getRebalanceInfoList() {
return this.rebalanceInfoList;
}
}
public static class GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList extends TeaModel {
/**
* <p>The latest offset in the partition of the topic.</p>
*
* <strong>example:</strong>
* <p>9</p>
*/
@NameInMap("BrokerOffset")
public Long brokerOffset;
/**
* <p>Client ID of the application.</p>
*
* <strong>example:</strong>
* <p>client-id-KafkaConsumerDemo</p>
*/
@NameInMap("ClientId")
public String clientId;
/**
* <p>The IP address of the client.</p>
*
* <strong>example:</strong>
* <p>172.16.11.3</p>
*/
@NameInMap("ClientIp")
public String clientIp;
/**
* <p>The consumer offset in the partition of the topic.</p>
*
* <strong>example:</strong>
* <p>9</p>
*/
@NameInMap("ConsumerOffset")
public Long consumerOffset;
/**
* <p>The time when the last consumed message in the partition was generated.</p>
*
* <strong>example:</strong>
* <p>1566874931649</p>
*/
@NameInMap("LastTimestamp")
public Long lastTimestamp;
/**
* <p>Member ID.</p>
*
* <strong>example:</strong>
* <p>client-id-KafkaConsumerDemo-70b64883-a911-4882-8084-598b958848b4</p>
*/
@NameInMap("MemberId")
public String memberId;
/**
* <p>The partition ID.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Partition")
public Integer partition;
public static GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList self = new GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setBrokerOffset(Long brokerOffset) {
this.brokerOffset = brokerOffset;
return this;
}
public Long getBrokerOffset() {
return this.brokerOffset;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setClientId(String clientId) {
this.clientId = clientId;
return this;
}
public String getClientId() {
return this.clientId;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setClientIp(String clientIp) {
this.clientIp = clientIp;
return this;
}
public String getClientIp() {
return this.clientIp;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setConsumerOffset(Long consumerOffset) {
this.consumerOffset = consumerOffset;
return this;
}
public Long getConsumerOffset() {
return this.consumerOffset;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setLastTimestamp(Long lastTimestamp) {
this.lastTimestamp = lastTimestamp;
return this;
}
public Long getLastTimestamp() {
return this.lastTimestamp;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setPartition(Integer partition) {
this.partition = partition;
return this;
}
public Integer getPartition() {
return this.partition;
}
}
public static class GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList extends TeaModel {
@NameInMap("OffsetList")
public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList> offsetList;
public static GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList self = new GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList setOffsetList(java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList> offsetList) {
this.offsetList = offsetList;
return this;
}
public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList> getOffsetList() {
return this.offsetList;
}
}
public static class GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList extends TeaModel {
/**
* <p>The time when the last consumed message in the topic was generated.</p>
*
* <strong>example:</strong>
* <p>1566874931649</p>
*/
@NameInMap("LastTimestamp")
public Long lastTimestamp;
/**
* <p>The consumer offsets.</p>
*/
@NameInMap("OffsetList")
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList offsetList;
/**
* <p>The topic name.</p>
*
* <strong>example:</strong>
* <p>kafka-test</p>
*/
@NameInMap("Topic")
public String topic;
/**
* <p>The number of unconsumed messages in the topic to which the consumer group subscribes.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("TotalDiff")
public Long totalDiff;
public static GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList self = new GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setLastTimestamp(Long lastTimestamp) {
this.lastTimestamp = lastTimestamp;
return this;
}
public Long getLastTimestamp() {
return this.lastTimestamp;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setOffsetList(GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList offsetList) {
this.offsetList = offsetList;
return this;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList getOffsetList() {
return this.offsetList;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setTotalDiff(Long totalDiff) {
this.totalDiff = totalDiff;
return this;
}
public Long getTotalDiff() {
return this.totalDiff;
}
}
public static class GetConsumerProgressResponseBodyConsumerProgressTopicList extends TeaModel {
@NameInMap("TopicList")
public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList> topicList;
public static GetConsumerProgressResponseBodyConsumerProgressTopicList build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgressTopicList self = new GetConsumerProgressResponseBodyConsumerProgressTopicList();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgressTopicList setTopicList(java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList> topicList) {
this.topicList = topicList;
return this;
}
public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList> getTopicList() {
return this.topicList;
}
}
public static class GetConsumerProgressResponseBodyConsumerProgress extends TeaModel {
/**
* <p>The time when the last message consumed by the consumer group was generated.</p>
*
* <strong>example:</strong>
* <p>1566874931671</p>
*/
@NameInMap("LastTimestamp")
public Long lastTimestamp;
/**
* <p>The details of rebalances in the consumer group.</p>
*/
@NameInMap("RebalanceInfoList")
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList rebalanceInfoList;
/**
* <p>The consumer progress of each topic to which the consumer group subscribes.</p>
*/
@NameInMap("TopicList")
public GetConsumerProgressResponseBodyConsumerProgressTopicList topicList;
/**
* <p>The total number of unconsumed messages in all topics to which the consumer group subscribes.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("TotalDiff")
public Long totalDiff;
@NameInMap("state")
public String state;
public static GetConsumerProgressResponseBodyConsumerProgress build(java.util.Map<String, ?> map) throws Exception {
GetConsumerProgressResponseBodyConsumerProgress self = new GetConsumerProgressResponseBodyConsumerProgress();
return TeaModel.build(map, self);
}
public GetConsumerProgressResponseBodyConsumerProgress setLastTimestamp(Long lastTimestamp) {
this.lastTimestamp = lastTimestamp;
return this;
}
public Long getLastTimestamp() {
return this.lastTimestamp;
}
public GetConsumerProgressResponseBodyConsumerProgress setRebalanceInfoList(GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList rebalanceInfoList) {
this.rebalanceInfoList = rebalanceInfoList;
return this;
}
public GetConsumerProgressResponseBodyConsumerProgressRebalanceInfoList getRebalanceInfoList() {
return this.rebalanceInfoList;
}
public GetConsumerProgressResponseBodyConsumerProgress setTopicList(GetConsumerProgressResponseBodyConsumerProgressTopicList topicList) {
this.topicList = topicList;
return this;
}
public GetConsumerProgressResponseBodyConsumerProgressTopicList getTopicList() {
return this.topicList;
}
public GetConsumerProgressResponseBodyConsumerProgress setTotalDiff(Long totalDiff) {
this.totalDiff = totalDiff;
return this;
}
public Long getTotalDiff() {
return this.totalDiff;
}
public GetConsumerProgressResponseBodyConsumerProgress setState(String state) {
this.state = state;
return this;
}
public String getState() {
return this.state;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetInstanceListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetInstanceListRequest extends TeaModel {
/**
* <p>The IDs of instances.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-mp91gnw0p***</p>
*/
@NameInMap("InstanceId")
public java.util.List<String> instanceId;
/**
* <p>The ID of the order. You can obtain the order ID on the <a href="https://usercenter2-intl.aliyun.com/order/list?pageIndex=1%5C&pageSize=20%5C&spm=5176.12818093.top-nav.ditem-ord.36f016d0OQFmJa">Orders</a> page in Alibaba Cloud User Center.</p>
*
* <strong>example:</strong>
* <p>6072673****</p>
*/
@NameInMap("OrderId")
public String orderId;
/**
* <p>The ID of the region where the instance resides.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The ID of the resource group. You can obtain this ID on the Resource Group page in the Resource Management console.</p>
*
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <p>The instance version. You can use instance versions to filter different versions of instances. Valid values:</p>
* <ul>
* <li>v2</li>
* <li>v3</li>
* <li>confluent</li>
* </ul>
*
* <strong>example:</strong>
* <p>v3</p>
*/
@NameInMap("Series")
public String series;
/**
* <p>The tags.</p>
*/
@NameInMap("Tag")
public java.util.List<GetInstanceListRequestTag> tag;
public static GetInstanceListRequest build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListRequest self = new GetInstanceListRequest();
return TeaModel.build(map, self);
}
public GetInstanceListRequest setInstanceId(java.util.List<String> instanceId) {
this.instanceId = instanceId;
return this;
}
public java.util.List<String> getInstanceId() {
return this.instanceId;
}
public GetInstanceListRequest setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public GetInstanceListRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetInstanceListRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public GetInstanceListRequest setSeries(String series) {
this.series = series;
return this;
}
public String getSeries() {
return this.series;
}
public GetInstanceListRequest setTag(java.util.List<GetInstanceListRequestTag> tag) {
this.tag = tag;
return this;
}
public java.util.List<GetInstanceListRequestTag> getTag() {
return this.tag;
}
public static class GetInstanceListRequestTag extends TeaModel {
/**
* <p>The tag key.</p>
* <ul>
* <li>If you leave this parameter empty, the keys of all tags are matched.</li>
* <li>The tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain <code>http://</code> or <code>https://</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The tag value.</p>
* <ul>
* <li>If you leave Key empty, you must also leave this parameter empty. If you leave this parameter empty, the values of all tags are matched.</li>
* <li>The tag value can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain <code>http://</code> or <code>https://</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static GetInstanceListRequestTag build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListRequestTag self = new GetInstanceListRequestTag();
return TeaModel.build(map, self);
}
public GetInstanceListRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public GetInstanceListRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetInstanceListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetInstanceListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetInstanceListResponseBody body;
public static GetInstanceListResponse build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponse self = new GetInstanceListResponse();
return TeaModel.build(map, self);
}
public GetInstanceListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetInstanceListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetInstanceListResponse setBody(GetInstanceListResponseBody body) {
this.body = body;
return this;
}
public GetInstanceListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetInstanceListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetInstanceListResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the call is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The instances.</p>
*/
@NameInMap("InstanceList")
public GetInstanceListResponseBodyInstanceList instanceList;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the region.</p>
*
* <strong>example:</strong>
* <p>4B6D821D-7F67-4CAA-9E13-A5A997C3****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the call was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetInstanceListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBody self = new GetInstanceListResponseBody();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetInstanceListResponseBody setInstanceList(GetInstanceListResponseBodyInstanceList instanceList) {
this.instanceList = instanceList;
return this;
}
public GetInstanceListResponseBodyInstanceList getInstanceList() {
return this.instanceList;
}
public GetInstanceListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetInstanceListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetInstanceListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig extends TeaModel {
/**
* <p>The number of CPU cores of Connect.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("ConnectCU")
public Integer connectCU;
/**
* <p>The number of replicas of Connect.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ConnectReplica")
public Integer connectReplica;
/**
* <p>The number of CPU cores of Control Center.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("ControlCenterCU")
public Integer controlCenterCU;
/**
* <p>The number of replicas of Control Center.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("ControlCenterReplica")
public Integer controlCenterReplica;
/**
* <p>The disk capacity of Control Center. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>300</p>
*/
@NameInMap("ControlCenterStorage")
public Integer controlCenterStorage;
/**
* <p>The number of CPU cores of the Kafka broker.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KafkaCU")
public Integer kafkaCU;
/**
* <p>The number of replicas of the Kafka broker.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("KafkaReplica")
public Integer kafkaReplica;
/**
* <p>The number of CPU cores of Kafka Rest Proxy.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("KafkaRestProxyCU")
public Integer kafkaRestProxyCU;
/**
* <p>The number of replicas of Kafka Rest Proxy.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KafkaRestProxyReplica")
public Integer kafkaRestProxyReplica;
/**
* <p>The disk capacity of the Kafka broker. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>800</p>
*/
@NameInMap("KafkaStorage")
public Integer kafkaStorage;
/**
* <p>The number of CPU cores of ksqlDB.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KsqlCU")
public Integer ksqlCU;
/**
* <p>The number of replicas of ksqlDB.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("KsqlReplica")
public Integer ksqlReplica;
/**
* <p>The disk capacity of ksqlDB. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("KsqlStorage")
public Integer ksqlStorage;
/**
* <p>The number of CPU cores of Schema Registry.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("SchemaRegistryCU")
public Integer schemaRegistryCU;
/**
* <p>The number of replicas of Schema Registry.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("SchemaRegistryReplica")
public Integer schemaRegistryReplica;
/**
* <p>The number of CPU cores of ZooKeeper.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ZooKeeperCU")
public Integer zooKeeperCU;
/**
* <p>The number of replicas of ZooKeeper.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("ZooKeeperReplica")
public Integer zooKeeperReplica;
/**
* <p>The disk capacity of ZooKeeper. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("ZooKeeperStorage")
public Integer zooKeeperStorage;
public static GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig self = new GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setConnectCU(Integer connectCU) {
this.connectCU = connectCU;
return this;
}
public Integer getConnectCU() {
return this.connectCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setConnectReplica(Integer connectReplica) {
this.connectReplica = connectReplica;
return this;
}
public Integer getConnectReplica() {
return this.connectReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setControlCenterCU(Integer controlCenterCU) {
this.controlCenterCU = controlCenterCU;
return this;
}
public Integer getControlCenterCU() {
return this.controlCenterCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setControlCenterReplica(Integer controlCenterReplica) {
this.controlCenterReplica = controlCenterReplica;
return this;
}
public Integer getControlCenterReplica() {
return this.controlCenterReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setControlCenterStorage(Integer controlCenterStorage) {
this.controlCenterStorage = controlCenterStorage;
return this;
}
public Integer getControlCenterStorage() {
return this.controlCenterStorage;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKafkaCU(Integer kafkaCU) {
this.kafkaCU = kafkaCU;
return this;
}
public Integer getKafkaCU() {
return this.kafkaCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKafkaReplica(Integer kafkaReplica) {
this.kafkaReplica = kafkaReplica;
return this;
}
public Integer getKafkaReplica() {
return this.kafkaReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKafkaRestProxyCU(Integer kafkaRestProxyCU) {
this.kafkaRestProxyCU = kafkaRestProxyCU;
return this;
}
public Integer getKafkaRestProxyCU() {
return this.kafkaRestProxyCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKafkaRestProxyReplica(Integer kafkaRestProxyReplica) {
this.kafkaRestProxyReplica = kafkaRestProxyReplica;
return this;
}
public Integer getKafkaRestProxyReplica() {
return this.kafkaRestProxyReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKafkaStorage(Integer kafkaStorage) {
this.kafkaStorage = kafkaStorage;
return this;
}
public Integer getKafkaStorage() {
return this.kafkaStorage;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKsqlCU(Integer ksqlCU) {
this.ksqlCU = ksqlCU;
return this;
}
public Integer getKsqlCU() {
return this.ksqlCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKsqlReplica(Integer ksqlReplica) {
this.ksqlReplica = ksqlReplica;
return this;
}
public Integer getKsqlReplica() {
return this.ksqlReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setKsqlStorage(Integer ksqlStorage) {
this.ksqlStorage = ksqlStorage;
return this;
}
public Integer getKsqlStorage() {
return this.ksqlStorage;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setSchemaRegistryCU(Integer schemaRegistryCU) {
this.schemaRegistryCU = schemaRegistryCU;
return this;
}
public Integer getSchemaRegistryCU() {
return this.schemaRegistryCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setSchemaRegistryReplica(Integer schemaRegistryReplica) {
this.schemaRegistryReplica = schemaRegistryReplica;
return this;
}
public Integer getSchemaRegistryReplica() {
return this.schemaRegistryReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setZooKeeperCU(Integer zooKeeperCU) {
this.zooKeeperCU = zooKeeperCU;
return this;
}
public Integer getZooKeeperCU() {
return this.zooKeeperCU;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setZooKeeperReplica(Integer zooKeeperReplica) {
this.zooKeeperReplica = zooKeeperReplica;
return this;
}
public Integer getZooKeeperReplica() {
return this.zooKeeperReplica;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig setZooKeeperStorage(Integer zooKeeperStorage) {
this.zooKeeperStorage = zooKeeperStorage;
return this;
}
public Integer getZooKeeperStorage() {
return this.zooKeeperStorage;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO extends TeaModel {
@NameInMap("ComponentType")
public String componentType;
@NameInMap("DeployModule")
public String deployModule;
@NameInMap("PubEndpoint")
public String pubEndpoint;
@NameInMap("VpcEndpoint")
public String vpcEndpoint;
public static GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO self = new GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO setComponentType(String componentType) {
this.componentType = componentType;
return this;
}
public String getComponentType() {
return this.componentType;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO setDeployModule(String deployModule) {
this.deployModule = deployModule;
return this;
}
public String getDeployModule() {
return this.deployModule;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO setPubEndpoint(String pubEndpoint) {
this.pubEndpoint = pubEndpoint;
return this;
}
public String getPubEndpoint() {
return this.pubEndpoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO setVpcEndpoint(String vpcEndpoint) {
this.vpcEndpoint = vpcEndpoint;
return this;
}
public String getVpcEndpoint() {
return this.vpcEndpoint;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents extends TeaModel {
@NameInMap("ConfluentInstanceComponentVO")
public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO> confluentInstanceComponentVO;
public static GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents self = new GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents setConfluentInstanceComponentVO(java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO> confluentInstanceComponentVO) {
this.confluentInstanceComponentVO = confluentInstanceComponentVO;
return this;
}
public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponentsConfluentInstanceComponentVO> getConfluentInstanceComponentVO() {
return this.confluentInstanceComponentVO;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO extends TeaModel {
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Value")
public String value;
public static GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO self = new GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOTags extends TeaModel {
@NameInMap("TagVO")
public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO> tagVO;
public static GetInstanceListResponseBodyInstanceListInstanceVOTags build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOTags self = new GetInstanceListResponseBodyInstanceListInstanceVOTags();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOTags setTagVO(java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO> tagVO) {
this.tagVO = tagVO;
return this;
}
public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOTagsTagVO> getTagVO() {
return this.tagVO;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo extends TeaModel {
/**
* <p>The open source Apache Kafka version that corresponds to the instance.</p>
*
* <strong>example:</strong>
* <p>2.2.0</p>
*/
@NameInMap("Current2OpenSourceVersion")
public String current2OpenSourceVersion;
public static GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo self = new GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo setCurrent2OpenSourceVersion(String current2OpenSourceVersion) {
this.current2OpenSourceVersion = current2OpenSourceVersion;
return this;
}
public String getCurrent2OpenSourceVersion() {
return this.current2OpenSourceVersion;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds extends TeaModel {
@NameInMap("VSwitchIds")
public java.util.List<String> vSwitchIds;
public static GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds self = new GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds setVSwitchIds(java.util.List<String> vSwitchIds) {
this.vSwitchIds = vSwitchIds;
return this;
}
public java.util.List<String> getVSwitchIds() {
return this.vSwitchIds;
}
}
public static class GetInstanceListResponseBodyInstanceListInstanceVO extends TeaModel {
/**
* <p>The configurations of the deployed ApsaraMQ for Kafka instance.</p>
*
* <strong>example:</strong>
* <p>{\"enable.vpc_sasl_ssl\":\"false\",\"kafka.log.retention.hours\":\"66\",\"enable.acl\":\"false\",\"kafka.message.max.bytes\":\"6291456\"}</p>
*/
@NameInMap("AllConfig")
public String allConfig;
/**
* <p>Indicates whether the flexible group creation feature is enabled.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("AutoCreateGroupEnable")
public Boolean autoCreateGroupEnable;
/**
* <p>Indicates whether the automatic topic creation feature is enabled.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("AutoCreateTopicEnable")
public Boolean autoCreateTopicEnable;
/**
* <p>The ID of the secondary zone.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-a</p>
*/
@NameInMap("BackupZoneId")
public String backupZoneId;
/**
* <p>The parameters that are returned for the ApsaraMQ for Confluent instance.</p>
*/
@NameInMap("ConfluentConfig")
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig confluentConfig;
@NameInMap("ConfluentInstanceComponents")
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents confluentInstanceComponents;
/**
* <p>The time when the instance was created. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1577961819000</p>
*/
@NameInMap("CreateTime")
public Long createTime;
/**
* <p>The number of partitions in a topic that is automatically created.</p>
*
* <strong>example:</strong>
* <p>12</p>
*/
@NameInMap("DefaultPartitionNum")
public Integer defaultPartitionNum;
/**
* <p>The type of the network in which the instance is deployed. Valid values:</p>
* <ul>
* <li><strong>4</strong>: Internet and VPC</li>
* <li><strong>5</strong>: VPC</li>
* </ul>
*
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("DeployType")
public Integer deployType;
/**
* <p>The disk size. Unit: GB</p>
*
* <strong>example:</strong>
* <p>3600</p>
*/
@NameInMap("DiskSize")
public Integer diskSize;
/**
* <p>The disk type of the instance. Valid values:</p>
* <ul>
* <li><strong>0</strong>: ultra disk</li>
* <li><strong>1</strong>: standard SSD</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("DiskType")
public Integer diskType;
/**
* <p>The default endpoint of the instance in domain name mode. ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>alikafka-pre-cn-zv**********-1-vpc.alikafka.aliyuncs.com:9092,alikafka-pre-cn-zv**********-2-vpc.alikafka.aliyuncs.com:9092,alikafka-pre-cn-zv**********-3-vpc.alikafka.aliyuncs.com:9092</p>
*/
@NameInMap("DomainEndpoint")
public String domainEndpoint;
/**
* <p>The maximum Internet traffic in the instance.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("EipMax")
public Integer eipMax;
/**
* <p>The default endpoint of the instance in IP address mode. ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>192.168.XX.XX:9092,192.168.XX.XX:9092,192.168.XX.XX:9092</p>
*/
@NameInMap("EndPoint")
public String endPoint;
/**
* <p>The time when the instance expires. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1893581018000</p>
*/
@NameInMap("ExpiredTime")
public Long expiredTime;
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-mp919o4v****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The maximum traffic in the instance.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("IoMax")
public Integer ioMax;
/**
* <p>The maximum read traffic in the instance. Unit: Mbit/s.</p>
*
* <strong>example:</strong>
* <p>1000</p>
*/
@NameInMap("IoMaxRead")
public Integer ioMaxRead;
/**
* <p>The traffic specification.</p>
*
* <strong>example:</strong>
* <p>alikafka.hw.2xlarge</p>
*/
@NameInMap("IoMaxSpec")
public String ioMaxSpec;
/**
* <p>The maximum write traffic. Unit: Mbit/s.</p>
*
* <strong>example:</strong>
* <p>1000</p>
*/
@NameInMap("IoMaxWrite")
public Integer ioMaxWrite;
/**
* <p>The ID of the key that is used for disk encryption in the region where the instance is deployed.</p>
*
* <strong>example:</strong>
* <p>0d24xxxx-da7b-4786-b981-9a164dxxxxxx</p>
*/
@NameInMap("KmsKeyId")
public String kmsKeyId;
/**
* <p>The retention period of messages in the instance. Unit: hours.</p>
*
* <strong>example:</strong>
* <p>72</p>
*/
@NameInMap("MsgRetain")
public Integer msgRetain;
/**
* <p>The instance name.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-mp91gnw0****</p>
*/
@NameInMap("Name")
public String name;
/**
* <p>The billing method of the instance. Valid values:</p>
* <ul>
* <li><strong>0</strong>: the subscription billing method</li>
* <li><strong>1</strong>: the pay-as-you-go billing method</li>
* <li><strong>3</strong>: the pay-as-you-go billing method for serverless ApsaraMQ for Kafka V3 instances</li>
* <li><strong>4</strong>: the pay-as-you-go billing method for ApsaraMQ for Confluent instances</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("PaidType")
public Integer paidType;
@NameInMap("RecommendedPartitionCount")
public Integer recommendedPartitionCount;
/**
* <p>The ID of the region where the instance resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The traffic reserved for message publishing. Unit: MB/s.</p>
* <blockquote>
* <p> This parameter is returned only if the instance is a serverless ApsaraMQ for Kafka V3 instance.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("ReservedPublishCapacity")
public Integer reservedPublishCapacity;
/**
* <p>The traffic reserved for message subscription. Unit: MB/s.</p>
* <blockquote>
* <p> This parameter is returned only if the instance is a serverless ApsaraMQ for Kafka V3 instance.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("ReservedSubscribeCapacity")
public Integer reservedSubscribeCapacity;
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-ac***********7q</p>
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* <p>The Simple Authentication and Security Layer (SASL) endpoint of the instance in domain name mode. ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>alikafka-pre-cn-zv**********-1-vpc.alikafka.aliyuncs.com:9094,alikafka-pre-cn-zv**********-2-vpc.alikafka.aliyuncs.com:9094,alikafka-pre-cn-zv**********-3-vpc.alikafka.aliyuncs.com:9094</p>
*/
@NameInMap("SaslDomainEndpoint")
public String saslDomainEndpoint;
/**
* <p>The Simple Authentication and Security Layer (SASL) endpoint of the instance in IP address mode. ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>172.16.3.XX:9094,172.16.3.XX:9094,172.16.3.XX:9094</p>
*/
@NameInMap("SaslEndPoint")
public String saslEndPoint;
/**
* <p>The security group to which the instance belongs.</p>
* <ul>
* <li>If the instance is deployed in the ApsaraMQ for Kafka console or by calling the <a href="https://help.aliyun.com/document_detail/157786.html">StartInstance</a> operation without a security group configured, no value is returned.</li>
* <li>If the instance is deployed by calling the <a href="https://help.aliyun.com/document_detail/157786.html">StartInstance</a> operation with a security group configured, the returned value is the configured security group.</li>
* </ul>
*
* <strong>example:</strong>
* <p>sg-bp13wfx7kz9pkow****</p>
*/
@NameInMap("SecurityGroup")
public String securityGroup;
/**
* <p>The instance version. Valid values: v2, v3, and confluent.</p>
*
* <strong>example:</strong>
* <p>v3</p>
*/
@NameInMap("Series")
public String series;
/**
* <blockquote>
* <p> This parameter is out of date. We recommend that you refer to the ViewInstanceStatusCode parameter.</p>
* </blockquote>
* <p>The instance status. Valid values:</p>
* <ul>
* <li><strong>0</strong>: pending</li>
* <li><strong>1</strong>: preparing hardware resources</li>
* <li><strong>2</strong>: initializing</li>
* <li><strong>3</strong>: starting</li>
* <li><strong>5</strong>: running</li>
* <li><strong>6</strong>: migrating</li>
* <li><strong>7</strong>: ready for upgrade</li>
* <li><strong>8</strong>: upgrading</li>
* <li><strong>9</strong>: ready for change</li>
* <li><strong>10</strong>: released</li>
* <li><strong>11</strong>: changing</li>
* <li><strong>15</strong>: expired</li>
* <li><strong>30</strong>: scaling</li>
* </ul>
*
* <strong>example:</strong>
* <p>5</p>
*/
@NameInMap("ServiceStatus")
public Integer serviceStatus;
/**
* <p>The instance edition. Valid values:</p>
* <ul>
* <li><strong>professional</strong>: Professional Edition (High Write)</li>
* <li><strong>professionalForHighRead</strong>: Professional Edition (High Read)</li>
* <li><strong>normal</strong>: Standard Edition</li>
* </ul>
*
* <strong>example:</strong>
* <p>professional</p>
*/
@NameInMap("SpecType")
public String specType;
/**
* <p>The SSL endpoint of the instance in domain name mode. ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>alikafka-pre-cn-zv**********-1.alikafka.aliyuncs.com:9093,alikafka-pre-cn-zv**********-2.alikafka.aliyuncs.com:9093,alikafka-pre-cn-zv**********-3.alikafka.aliyuncs.com:9093</p>
*/
@NameInMap("SslDomainEndpoint")
public String sslDomainEndpoint;
/**
* <p>The Secure Sockets Layer (SSL) endpoint of the instance in IP address mode. ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>192.0.XX.XX:9093,198.51.XX.XX:9093,203.0.XX.XX:9093</p>
*/
@NameInMap("SslEndPoint")
public String sslEndPoint;
/**
* <p>The zone ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-k</p>
*/
@NameInMap("StandardZoneId")
public String standardZoneId;
/**
* <p>The tags.</p>
*/
@NameInMap("Tags")
public GetInstanceListResponseBodyInstanceListInstanceVOTags tags;
/**
* <p>The maximum number of topics on the instance.</p>
*
* <strong>example:</strong>
* <p>180</p>
*/
@NameInMap("TopicNumLimit")
public Integer topicNumLimit;
/**
* <p>The upgrade information about the instance.</p>
*/
@NameInMap("UpgradeServiceDetailInfo")
public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo upgradeServiceDetailInfo;
/**
* <p>The number of used groups.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("UsedGroupCount")
public Integer usedGroupCount;
/**
* <p>The number of used partitions.</p>
*
* <strong>example:</strong>
* <p>25</p>
*/
@NameInMap("UsedPartitionCount")
public Integer usedPartitionCount;
/**
* <p>The number of used topics.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("UsedTopicCount")
public Integer usedTopicCount;
/**
* <p>The ID of the vSwitch to which the instance belongs.</p>
*
* <strong>example:</strong>
* <p>vsw-bp1fvuw0ljd7vzmo3****</p>
*/
@NameInMap("VSwitchId")
public String vSwitchId;
/**
* <p>The vSwitch IDs.</p>
*/
@NameInMap("VSwitchIds")
public GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds vSwitchIds;
/**
* <p>The instance status. The valid values are consistent with the values displayed in the ApsaraMQ for Kafka console. This parameter is used in the new version of ApsaraMQ for Kafka.</p>
* <p>Valid values:</p>
* <ul>
* <li><strong>0</strong>: pending</li>
* <li><strong>1</strong>: deploying</li>
* <li><strong>2</strong>: running</li>
* <li><strong>3</strong>: stopped</li>
* <li><strong>4</strong>: expiring</li>
* <li><strong>5</strong>: expired</li>
* <li><strong>6</strong>: released</li>
* <li><strong>7</strong>: upgrading</li>
* <li><strong>8</strong>: migrating</li>
* <li><strong>21</strong>: stopping</li>
* <li><strong>22</strong>: starting</li>
* <li><strong>23</strong>: releasing</li>
* <li><strong>30</strong>: auto scaling</li>
* <li><strong>101</strong>: deployment failed</li>
* <li><strong>102</strong>: upgrade failed</li>
* <li><strong>103</strong>: migration failed</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("ViewInstanceStatusCode")
public Integer viewInstanceStatusCode;
/**
* <p>The virtual private cloud (VPC) ID.</p>
*
* <strong>example:</strong>
* <p>vpc-bp1ojac7bv448nifj****</p>
*/
@NameInMap("VpcId")
public String vpcId;
/**
* <p>The SSL endpoint of the instance in domain name mode. You can use the endpoint to access the instance only in virtual private clouds (VPCs). ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>alikafka-post-cn-<strong><strong><strong>-1-vpc.alikafka.aliyuncs.com:9095,alikafka-post-cn-</strong></strong></strong>-2-vpc.alikafka.aliyuncs.com:9095,alikafka-post-cn-******-3-vpc.alikafka.aliyuncs.com:9095</p>
*/
@NameInMap("VpcSaslDomainEndpoint")
public String vpcSaslDomainEndpoint;
/**
* <p>The Secure Sockets Layer (SSL) endpoint of the instance in IP address mode. You can use the endpoint to access the instance only in virtual private clouds (VPCs). ApsaraMQ for Kafka instances support endpoints in domain name mode and IP address mode.</p>
* <ul>
* <li>Endpoints in domain name mode: An endpoint in this mode consists of the domain name of the instance and a port number. The format of an endpoint in this mode is <code>{Instance domain name}:{Port number}</code>.</li>
* <li>Endpoints in IP address mode: An endpoint in this mode consists of the IP address of the broker and a port number. The format of an endpoint in this mode is <code>{Broker IP address}:{Port number}</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>172.16.3.XX:9095,172.16.3.XX:9095,172.16.3.XX:9095</p>
*/
@NameInMap("VpcSaslEndPoint")
public String vpcSaslEndPoint;
/**
* <p>The zone ID.</p>
*
* <strong>example:</strong>
* <p>zonei</p>
*/
@NameInMap("ZoneId")
public String zoneId;
public static GetInstanceListResponseBodyInstanceListInstanceVO build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceListInstanceVO self = new GetInstanceListResponseBodyInstanceListInstanceVO();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceListInstanceVO setAllConfig(String allConfig) {
this.allConfig = allConfig;
return this;
}
public String getAllConfig() {
return this.allConfig;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setAutoCreateGroupEnable(Boolean autoCreateGroupEnable) {
this.autoCreateGroupEnable = autoCreateGroupEnable;
return this;
}
public Boolean getAutoCreateGroupEnable() {
return this.autoCreateGroupEnable;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setAutoCreateTopicEnable(Boolean autoCreateTopicEnable) {
this.autoCreateTopicEnable = autoCreateTopicEnable;
return this;
}
public Boolean getAutoCreateTopicEnable() {
return this.autoCreateTopicEnable;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setBackupZoneId(String backupZoneId) {
this.backupZoneId = backupZoneId;
return this;
}
public String getBackupZoneId() {
return this.backupZoneId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setConfluentConfig(GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig confluentConfig) {
this.confluentConfig = confluentConfig;
return this;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentConfig getConfluentConfig() {
return this.confluentConfig;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setConfluentInstanceComponents(GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents confluentInstanceComponents) {
this.confluentInstanceComponents = confluentInstanceComponents;
return this;
}
public GetInstanceListResponseBodyInstanceListInstanceVOConfluentInstanceComponents getConfluentInstanceComponents() {
return this.confluentInstanceComponents;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setDefaultPartitionNum(Integer defaultPartitionNum) {
this.defaultPartitionNum = defaultPartitionNum;
return this;
}
public Integer getDefaultPartitionNum() {
return this.defaultPartitionNum;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setDeployType(Integer deployType) {
this.deployType = deployType;
return this;
}
public Integer getDeployType() {
return this.deployType;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
return this;
}
public Integer getDiskSize() {
return this.diskSize;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setDiskType(Integer diskType) {
this.diskType = diskType;
return this;
}
public Integer getDiskType() {
return this.diskType;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setDomainEndpoint(String domainEndpoint) {
this.domainEndpoint = domainEndpoint;
return this;
}
public String getDomainEndpoint() {
return this.domainEndpoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setEipMax(Integer eipMax) {
this.eipMax = eipMax;
return this;
}
public Integer getEipMax() {
return this.eipMax;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setEndPoint(String endPoint) {
this.endPoint = endPoint;
return this;
}
public String getEndPoint() {
return this.endPoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setExpiredTime(Long expiredTime) {
this.expiredTime = expiredTime;
return this;
}
public Long getExpiredTime() {
return this.expiredTime;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setIoMax(Integer ioMax) {
this.ioMax = ioMax;
return this;
}
public Integer getIoMax() {
return this.ioMax;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setIoMaxRead(Integer ioMaxRead) {
this.ioMaxRead = ioMaxRead;
return this;
}
public Integer getIoMaxRead() {
return this.ioMaxRead;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setIoMaxSpec(String ioMaxSpec) {
this.ioMaxSpec = ioMaxSpec;
return this;
}
public String getIoMaxSpec() {
return this.ioMaxSpec;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setIoMaxWrite(Integer ioMaxWrite) {
this.ioMaxWrite = ioMaxWrite;
return this;
}
public Integer getIoMaxWrite() {
return this.ioMaxWrite;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setKmsKeyId(String kmsKeyId) {
this.kmsKeyId = kmsKeyId;
return this;
}
public String getKmsKeyId() {
return this.kmsKeyId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setMsgRetain(Integer msgRetain) {
this.msgRetain = msgRetain;
return this;
}
public Integer getMsgRetain() {
return this.msgRetain;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setPaidType(Integer paidType) {
this.paidType = paidType;
return this;
}
public Integer getPaidType() {
return this.paidType;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setRecommendedPartitionCount(Integer recommendedPartitionCount) {
this.recommendedPartitionCount = recommendedPartitionCount;
return this;
}
public Integer getRecommendedPartitionCount() {
return this.recommendedPartitionCount;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setReservedPublishCapacity(Integer reservedPublishCapacity) {
this.reservedPublishCapacity = reservedPublishCapacity;
return this;
}
public Integer getReservedPublishCapacity() {
return this.reservedPublishCapacity;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setReservedSubscribeCapacity(Integer reservedSubscribeCapacity) {
this.reservedSubscribeCapacity = reservedSubscribeCapacity;
return this;
}
public Integer getReservedSubscribeCapacity() {
return this.reservedSubscribeCapacity;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSaslDomainEndpoint(String saslDomainEndpoint) {
this.saslDomainEndpoint = saslDomainEndpoint;
return this;
}
public String getSaslDomainEndpoint() {
return this.saslDomainEndpoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSaslEndPoint(String saslEndPoint) {
this.saslEndPoint = saslEndPoint;
return this;
}
public String getSaslEndPoint() {
return this.saslEndPoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSecurityGroup(String securityGroup) {
this.securityGroup = securityGroup;
return this;
}
public String getSecurityGroup() {
return this.securityGroup;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSeries(String series) {
this.series = series;
return this;
}
public String getSeries() {
return this.series;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setServiceStatus(Integer serviceStatus) {
this.serviceStatus = serviceStatus;
return this;
}
public Integer getServiceStatus() {
return this.serviceStatus;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSpecType(String specType) {
this.specType = specType;
return this;
}
public String getSpecType() {
return this.specType;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSslDomainEndpoint(String sslDomainEndpoint) {
this.sslDomainEndpoint = sslDomainEndpoint;
return this;
}
public String getSslDomainEndpoint() {
return this.sslDomainEndpoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setSslEndPoint(String sslEndPoint) {
this.sslEndPoint = sslEndPoint;
return this;
}
public String getSslEndPoint() {
return this.sslEndPoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setStandardZoneId(String standardZoneId) {
this.standardZoneId = standardZoneId;
return this;
}
public String getStandardZoneId() {
return this.standardZoneId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setTags(GetInstanceListResponseBodyInstanceListInstanceVOTags tags) {
this.tags = tags;
return this;
}
public GetInstanceListResponseBodyInstanceListInstanceVOTags getTags() {
return this.tags;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setTopicNumLimit(Integer topicNumLimit) {
this.topicNumLimit = topicNumLimit;
return this;
}
public Integer getTopicNumLimit() {
return this.topicNumLimit;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setUpgradeServiceDetailInfo(GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo upgradeServiceDetailInfo) {
this.upgradeServiceDetailInfo = upgradeServiceDetailInfo;
return this;
}
public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo getUpgradeServiceDetailInfo() {
return this.upgradeServiceDetailInfo;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setUsedGroupCount(Integer usedGroupCount) {
this.usedGroupCount = usedGroupCount;
return this;
}
public Integer getUsedGroupCount() {
return this.usedGroupCount;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setUsedPartitionCount(Integer usedPartitionCount) {
this.usedPartitionCount = usedPartitionCount;
return this;
}
public Integer getUsedPartitionCount() {
return this.usedPartitionCount;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setUsedTopicCount(Integer usedTopicCount) {
this.usedTopicCount = usedTopicCount;
return this;
}
public Integer getUsedTopicCount() {
return this.usedTopicCount;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
public String getVSwitchId() {
return this.vSwitchId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setVSwitchIds(GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds vSwitchIds) {
this.vSwitchIds = vSwitchIds;
return this;
}
public GetInstanceListResponseBodyInstanceListInstanceVOVSwitchIds getVSwitchIds() {
return this.vSwitchIds;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setViewInstanceStatusCode(Integer viewInstanceStatusCode) {
this.viewInstanceStatusCode = viewInstanceStatusCode;
return this;
}
public Integer getViewInstanceStatusCode() {
return this.viewInstanceStatusCode;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setVpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public String getVpcId() {
return this.vpcId;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setVpcSaslDomainEndpoint(String vpcSaslDomainEndpoint) {
this.vpcSaslDomainEndpoint = vpcSaslDomainEndpoint;
return this;
}
public String getVpcSaslDomainEndpoint() {
return this.vpcSaslDomainEndpoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setVpcSaslEndPoint(String vpcSaslEndPoint) {
this.vpcSaslEndPoint = vpcSaslEndPoint;
return this;
}
public String getVpcSaslEndPoint() {
return this.vpcSaslEndPoint;
}
public GetInstanceListResponseBodyInstanceListInstanceVO setZoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public String getZoneId() {
return this.zoneId;
}
}
public static class GetInstanceListResponseBodyInstanceList extends TeaModel {
@NameInMap("InstanceVO")
public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVO> instanceVO;
public static GetInstanceListResponseBodyInstanceList build(java.util.Map<String, ?> map) throws Exception {
GetInstanceListResponseBodyInstanceList self = new GetInstanceListResponseBodyInstanceList();
return TeaModel.build(map, self);
}
public GetInstanceListResponseBodyInstanceList setInstanceVO(java.util.List<GetInstanceListResponseBodyInstanceListInstanceVO> instanceVO) {
this.instanceVO = instanceVO;
return this;
}
public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVO> getInstanceVO() {
return this.instanceVO;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetKafkaClientIpRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetKafkaClientIpRequest extends TeaModel {
/**
* <p>The end of the time range to query.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1716343502000</p>
*/
@NameInMap("EndTime")
public Long endTime;
/**
* <p>The ID of the consumer group.</p>
* <blockquote>
* <p> This parameter is required only if you set Type to byGroup.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>group_name</p>
*/
@NameInMap("Group")
public String group;
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_post-cn-v0h1fgs2****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region where the instance is deployed.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The beginning of the time range to query.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1716343501000</p>
*/
@NameInMap("StartTime")
public Long startTime;
/**
* <p>The topic name.</p>
* <blockquote>
* </blockquote>
* <ul>
* <li>This parameter is required only if you set Type to byTopic.</li>
* </ul>
*
* <strong>example:</strong>
* <p>topic_name</p>
*/
@NameInMap("Topic")
public String topic;
/**
* <p>The query method that you want to use to query the client IP addresses. Valid values:</p>
* <ul>
* <li>byInstance: queries the IP addresses of the clients that are connected to the instance within a specific period of time.</li>
* <li>byTopic: queries the IP addresses of the clients that are connected to a specific topic on the instance within a specific period of time.</li>
* <li>byGroup: queries the IP addresses of the clients that are connected to a specific group on the instance within a specific period of time.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>byInstance</p>
*/
@NameInMap("Type")
public String type;
public static GetKafkaClientIpRequest build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpRequest self = new GetKafkaClientIpRequest();
return TeaModel.build(map, self);
}
public GetKafkaClientIpRequest setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public GetKafkaClientIpRequest setGroup(String group) {
this.group = group;
return this;
}
public String getGroup() {
return this.group;
}
public GetKafkaClientIpRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetKafkaClientIpRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetKafkaClientIpRequest setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public GetKafkaClientIpRequest setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
public GetKafkaClientIpRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetKafkaClientIpResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetKafkaClientIpResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetKafkaClientIpResponseBody body;
public static GetKafkaClientIpResponse build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponse self = new GetKafkaClientIpResponse();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetKafkaClientIpResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetKafkaClientIpResponse setBody(GetKafkaClientIpResponseBody body) {
this.body = body;
return this;
}
public GetKafkaClientIpResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetKafkaClientIpResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetKafkaClientIpResponseBody extends TeaModel {
/**
* <p>The returned status code. The status code 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Long code;
/**
* <p>The data returned.</p>
*/
@NameInMap("Data")
public GetKafkaClientIpResponseBodyData data;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E57A8862-DF68-4055-8E55-B80CB4****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetKafkaClientIpResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponseBody self = new GetKafkaClientIpResponseBody();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponseBody setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public GetKafkaClientIpResponseBody setData(GetKafkaClientIpResponseBodyData data) {
this.data = data;
return this;
}
public GetKafkaClientIpResponseBodyData getData() {
return this.data;
}
public GetKafkaClientIpResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetKafkaClientIpResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetKafkaClientIpResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetKafkaClientIpResponseBodyDataDataDataDataData extends TeaModel {
/**
* <p>The IP address of the client.</p>
*
* <strong>example:</strong>
* <p>58.210.117.154</p>
*/
@NameInMap("Ip")
public String ip;
/**
* <p>The statistics.</p>
* <blockquote>
* <p> The value of this parameter indicates the number of connections on different ports of the IP address within the specified period of time.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>3</p>
*/
@NameInMap("Num")
public Long num;
public static GetKafkaClientIpResponseBodyDataDataDataDataData build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponseBodyDataDataDataDataData self = new GetKafkaClientIpResponseBodyDataDataDataDataData();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponseBodyDataDataDataDataData setIp(String ip) {
this.ip = ip;
return this;
}
public String getIp() {
return this.ip;
}
public GetKafkaClientIpResponseBodyDataDataDataDataData setNum(Long num) {
this.num = num;
return this;
}
public Long getNum() {
return this.num;
}
}
public static class GetKafkaClientIpResponseBodyDataDataDataData extends TeaModel {
@NameInMap("Data")
public java.util.List<GetKafkaClientIpResponseBodyDataDataDataDataData> data;
public static GetKafkaClientIpResponseBodyDataDataDataData build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponseBodyDataDataDataData self = new GetKafkaClientIpResponseBodyDataDataDataData();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponseBodyDataDataDataData setData(java.util.List<GetKafkaClientIpResponseBodyDataDataDataDataData> data) {
this.data = data;
return this;
}
public java.util.List<GetKafkaClientIpResponseBodyDataDataDataDataData> getData() {
return this.data;
}
}
public static class GetKafkaClientIpResponseBodyDataDataData extends TeaModel {
/**
* <p>The response parameters.</p>
*/
@NameInMap("Data")
public GetKafkaClientIpResponseBodyDataDataDataData data;
/**
* <p>The request name.</p>
* <blockquote>
* <p> The value of this parameter indicates the type of request that the client sends to the broker within the specified period of time.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>OFFSET_COMMIT</p>
*/
@NameInMap("Name")
public String name;
public static GetKafkaClientIpResponseBodyDataDataData build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponseBodyDataDataData self = new GetKafkaClientIpResponseBodyDataDataData();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponseBodyDataDataData setData(GetKafkaClientIpResponseBodyDataDataDataData data) {
this.data = data;
return this;
}
public GetKafkaClientIpResponseBodyDataDataDataData getData() {
return this.data;
}
public GetKafkaClientIpResponseBodyDataDataData setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class GetKafkaClientIpResponseBodyDataData extends TeaModel {
@NameInMap("Data")
public java.util.List<GetKafkaClientIpResponseBodyDataDataData> data;
public static GetKafkaClientIpResponseBodyDataData build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponseBodyDataData self = new GetKafkaClientIpResponseBodyDataData();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponseBodyDataData setData(java.util.List<GetKafkaClientIpResponseBodyDataDataData> data) {
this.data = data;
return this;
}
public java.util.List<GetKafkaClientIpResponseBodyDataDataData> getData() {
return this.data;
}
}
public static class GetKafkaClientIpResponseBodyData extends TeaModel {
/**
* <p>The value true indicates that the broker is not of the latest minor version.</p>
* <blockquote>
* <p> If the broker is not of the latest minor version, the sampled logs may not be accurate. This may cause inaccurate IP information. Therefore, we recommend that you update your broker to the latest version at the earliest opportunity.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Alert")
public Boolean alert;
/**
* <p>The data returned.</p>
*/
@NameInMap("Data")
public GetKafkaClientIpResponseBodyDataData data;
/**
* <p>The end of the date range within which data is queried.</p>
*
* <strong>example:</strong>
* <p>1716343502000</p>
*/
@NameInMap("EndDate")
public Long endDate;
/**
* <p>The time range within which the client IP addresses are queried.</p>
* <blockquote>
* <p> The valid value is 1 hour. If the beginning of the time range to query and the end of the time range to query exceeds 1 hour, only data within 1 hour is returned.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("SearchTimeRange")
public Integer searchTimeRange;
/**
* <p>The beginning of the date range within which data is queried.</p>
*
* <strong>example:</strong>
* <p>1716343501000</p>
*/
@NameInMap("StartDate")
public Long startDate;
/**
* <p>The date range within which the client IP addresses are queried.</p>
* <blockquote>
* <p> The valid value is 7 days. If the beginning of the date range to query and the end of the date range to query exceeds 7 days, only data within 7 days is returned.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>7</p>
*/
@NameInMap("TimeLimitDay")
public Integer timeLimitDay;
public static GetKafkaClientIpResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
GetKafkaClientIpResponseBodyData self = new GetKafkaClientIpResponseBodyData();
return TeaModel.build(map, self);
}
public GetKafkaClientIpResponseBodyData setAlert(Boolean alert) {
this.alert = alert;
return this;
}
public Boolean getAlert() {
return this.alert;
}
public GetKafkaClientIpResponseBodyData setData(GetKafkaClientIpResponseBodyDataData data) {
this.data = data;
return this;
}
public GetKafkaClientIpResponseBodyDataData getData() {
return this.data;
}
public GetKafkaClientIpResponseBodyData setEndDate(Long endDate) {
this.endDate = endDate;
return this;
}
public Long getEndDate() {
return this.endDate;
}
public GetKafkaClientIpResponseBodyData setSearchTimeRange(Integer searchTimeRange) {
this.searchTimeRange = searchTimeRange;
return this;
}
public Integer getSearchTimeRange() {
return this.searchTimeRange;
}
public GetKafkaClientIpResponseBodyData setStartDate(Long startDate) {
this.startDate = startDate;
return this;
}
public Long getStartDate() {
return this.startDate;
}
public GetKafkaClientIpResponseBodyData setTimeLimitDay(Integer timeLimitDay) {
this.timeLimitDay = timeLimitDay;
return this;
}
public Integer getTimeLimitDay() {
return this.timeLimitDay;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetQuotaTipRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetQuotaTipRequest extends TeaModel {
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-i7m2wpm5****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The ID of the region in which the instance resides.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
public static GetQuotaTipRequest build(java.util.Map<String, ?> map) throws Exception {
GetQuotaTipRequest self = new GetQuotaTipRequest();
return TeaModel.build(map, self);
}
public GetQuotaTipRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetQuotaTipRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetQuotaTipResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetQuotaTipResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetQuotaTipResponseBody body;
public static GetQuotaTipResponse build(java.util.Map<String, ?> map) throws Exception {
GetQuotaTipResponse self = new GetQuotaTipResponse();
return TeaModel.build(map, self);
}
public GetQuotaTipResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetQuotaTipResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetQuotaTipResponse setBody(GetQuotaTipResponseBody body) {
this.body = body;
return this;
}
public GetQuotaTipResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetQuotaTipResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetQuotaTipResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The additional message. This message is typically used to describe API call failures for troubleshooting.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The quota.</p>
*/
@NameInMap("QuotaData")
public GetQuotaTipResponseBodyQuotaData quotaData;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>0178A3A7-E87B-5E50-A16F-3E62F534****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetQuotaTipResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetQuotaTipResponseBody self = new GetQuotaTipResponseBody();
return TeaModel.build(map, self);
}
public GetQuotaTipResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetQuotaTipResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetQuotaTipResponseBody setQuotaData(GetQuotaTipResponseBodyQuotaData quotaData) {
this.quotaData = quotaData;
return this;
}
public GetQuotaTipResponseBodyQuotaData getQuotaData() {
return this.quotaData;
}
public GetQuotaTipResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetQuotaTipResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetQuotaTipResponseBodyQuotaData extends TeaModel {
/**
* <p>The number of available groups.</p>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("GroupLeft")
public Integer groupLeft;
/**
* <p>The number of used groups.</p>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("GroupUsed")
public Integer groupUsed;
/**
* <p>The method that you use to purchase partitions. Valid values:</p>
* <ul>
* <li>0: indicates that the instance is purchased based on topics.</li>
* <li>1: indicates that the instance is purchased based on partitions.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("IsPartitionBuy")
public Integer isPartitionBuy;
/**
* <p>The number of available partitions.</p>
*
* <strong>example:</strong>
* <p>1050</p>
*/
@NameInMap("PartitionLeft")
public Integer partitionLeft;
/**
* <p>The number of purchased partitions.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
@NameInMap("PartitionNumOfBuy")
public Integer partitionNumOfBuy;
/**
* <p>The quota of partitions.</p>
*
* <strong>example:</strong>
* <p>1100</p>
*/
@NameInMap("PartitionQuota")
public Integer partitionQuota;
/**
* <p>The number of used partitions.</p>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("PartitionUsed")
public Integer partitionUsed;
/**
* <p>The number of available topics.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("TopicLeft")
public Integer topicLeft;
/**
* <p>The number of purchased topics.</p>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("TopicNumOfBuy")
public Integer topicNumOfBuy;
/**
* <p>The quota of topics.</p>
*
* <strong>example:</strong>
* <p>50</p>
*/
@NameInMap("TopicQuota")
public Integer topicQuota;
/**
* <p>The number of used topics.</p>
*
* <strong>example:</strong>
* <p>30</p>
*/
@NameInMap("TopicUsed")
public Integer topicUsed;
public static GetQuotaTipResponseBodyQuotaData build(java.util.Map<String, ?> map) throws Exception {
GetQuotaTipResponseBodyQuotaData self = new GetQuotaTipResponseBodyQuotaData();
return TeaModel.build(map, self);
}
public GetQuotaTipResponseBodyQuotaData setGroupLeft(Integer groupLeft) {
this.groupLeft = groupLeft;
return this;
}
public Integer getGroupLeft() {
return this.groupLeft;
}
public GetQuotaTipResponseBodyQuotaData setGroupUsed(Integer groupUsed) {
this.groupUsed = groupUsed;
return this;
}
public Integer getGroupUsed() {
return this.groupUsed;
}
public GetQuotaTipResponseBodyQuotaData setIsPartitionBuy(Integer isPartitionBuy) {
this.isPartitionBuy = isPartitionBuy;
return this;
}
public Integer getIsPartitionBuy() {
return this.isPartitionBuy;
}
public GetQuotaTipResponseBodyQuotaData setPartitionLeft(Integer partitionLeft) {
this.partitionLeft = partitionLeft;
return this;
}
public Integer getPartitionLeft() {
return this.partitionLeft;
}
public GetQuotaTipResponseBodyQuotaData setPartitionNumOfBuy(Integer partitionNumOfBuy) {
this.partitionNumOfBuy = partitionNumOfBuy;
return this;
}
public Integer getPartitionNumOfBuy() {
return this.partitionNumOfBuy;
}
public GetQuotaTipResponseBodyQuotaData setPartitionQuota(Integer partitionQuota) {
this.partitionQuota = partitionQuota;
return this;
}
public Integer getPartitionQuota() {
return this.partitionQuota;
}
public GetQuotaTipResponseBodyQuotaData setPartitionUsed(Integer partitionUsed) {
this.partitionUsed = partitionUsed;
return this;
}
public Integer getPartitionUsed() {
return this.partitionUsed;
}
public GetQuotaTipResponseBodyQuotaData setTopicLeft(Integer topicLeft) {
this.topicLeft = topicLeft;
return this;
}
public Integer getTopicLeft() {
return this.topicLeft;
}
public GetQuotaTipResponseBodyQuotaData setTopicNumOfBuy(Integer topicNumOfBuy) {
this.topicNumOfBuy = topicNumOfBuy;
return this;
}
public Integer getTopicNumOfBuy() {
return this.topicNumOfBuy;
}
public GetQuotaTipResponseBodyQuotaData setTopicQuota(Integer topicQuota) {
this.topicQuota = topicQuota;
return this;
}
public Integer getTopicQuota() {
return this.topicQuota;
}
public GetQuotaTipResponseBodyQuotaData setTopicUsed(Integer topicUsed) {
this.topicUsed = topicUsed;
return this;
}
public Integer getTopicUsed() {
return this.topicUsed;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetRiskListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetRiskListRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-pe335pgxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("PageSize")
public Long pageSize;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("StartIndex")
public Long startIndex;
public static GetRiskListRequest build(java.util.Map<String, ?> map) throws Exception {
GetRiskListRequest self = new GetRiskListRequest();
return TeaModel.build(map, self);
}
public GetRiskListRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetRiskListRequest setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public GetRiskListRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetRiskListRequest setStartIndex(Long startIndex) {
this.startIndex = startIndex;
return this;
}
public Long getStartIndex() {
return this.startIndex;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetRiskListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetRiskListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetRiskListResponseBody body;
public static GetRiskListResponse build(java.util.Map<String, ?> map) throws Exception {
GetRiskListResponse self = new GetRiskListResponse();
return TeaModel.build(map, self);
}
public GetRiskListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetRiskListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetRiskListResponse setBody(GetRiskListResponseBody body) {
this.body = body;
return this;
}
public GetRiskListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetRiskListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetRiskListResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Long code;
@NameInMap("Data")
public GetRiskListResponseBodyData data;
/**
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>06084011-E093-46F3-A51F-4B19A8AD****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static GetRiskListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetRiskListResponseBody self = new GetRiskListResponseBody();
return TeaModel.build(map, self);
}
public GetRiskListResponseBody setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public GetRiskListResponseBody setData(GetRiskListResponseBodyData data) {
this.data = data;
return this;
}
public GetRiskListResponseBodyData getData() {
return this.data;
}
public GetRiskListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetRiskListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetRiskListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetRiskListResponseBodyDataRiskList extends TeaModel {
/**
* <strong>example:</strong>
* <p>1702545932000</p>
*/
@NameInMap("CreateTime")
public Long createTime;
/**
* <strong>example:</strong>
* <p>A</p>
*/
@NameInMap("GradeType")
public String gradeType;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Health")
public Boolean health;
/**
* <strong>example:</strong>
* <p>alikafka_pre-cn-m7r1tzxxxxx</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <strong>example:</strong>
* <p>1683270264</p>
*/
@NameInMap("LastAlarmTime")
public Long lastAlarmTime;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("LevelType")
public Long levelType;
/**
* <strong>example:</strong>
* <p>1637719920000</p>
*/
@NameInMap("ModifiedTime")
public Long modifiedTime;
/**
* <strong>example:</strong>
* <p>inputIo</p>
*/
@NameInMap("Name")
public String name;
/**
* <strong>example:</strong>
* <p>0123123123xxx</p>
*/
@NameInMap("Owner")
public String owner;
@NameInMap("RelationList")
public java.util.List<String> relationList;
@NameInMap("ReportTips")
public String reportTips;
/**
* <strong>example:</strong>
* <p>doc</p>
*/
@NameInMap("ReportType")
public String reportType;
/**
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("ReportValue")
public String reportValue;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Status")
public Long status;
/**
* <strong>example:</strong>
* <p>inputIo</p>
*/
@NameInMap("Type")
public String type;
/**
* <strong>example:</strong>
* <p>44</p>
*/
@NameInMap("Value")
public String value;
public static GetRiskListResponseBodyDataRiskList build(java.util.Map<String, ?> map) throws Exception {
GetRiskListResponseBodyDataRiskList self = new GetRiskListResponseBodyDataRiskList();
return TeaModel.build(map, self);
}
public GetRiskListResponseBodyDataRiskList setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public GetRiskListResponseBodyDataRiskList setGradeType(String gradeType) {
this.gradeType = gradeType;
return this;
}
public String getGradeType() {
return this.gradeType;
}
public GetRiskListResponseBodyDataRiskList setHealth(Boolean health) {
this.health = health;
return this;
}
public Boolean getHealth() {
return this.health;
}
public GetRiskListResponseBodyDataRiskList setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetRiskListResponseBodyDataRiskList setLastAlarmTime(Long lastAlarmTime) {
this.lastAlarmTime = lastAlarmTime;
return this;
}
public Long getLastAlarmTime() {
return this.lastAlarmTime;
}
public GetRiskListResponseBodyDataRiskList setLevelType(Long levelType) {
this.levelType = levelType;
return this;
}
public Long getLevelType() {
return this.levelType;
}
public GetRiskListResponseBodyDataRiskList setModifiedTime(Long modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public Long getModifiedTime() {
return this.modifiedTime;
}
public GetRiskListResponseBodyDataRiskList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetRiskListResponseBodyDataRiskList setOwner(String owner) {
this.owner = owner;
return this;
}
public String getOwner() {
return this.owner;
}
public GetRiskListResponseBodyDataRiskList setRelationList(java.util.List<String> relationList) {
this.relationList = relationList;
return this;
}
public java.util.List<String> getRelationList() {
return this.relationList;
}
public GetRiskListResponseBodyDataRiskList setReportTips(String reportTips) {
this.reportTips = reportTips;
return this;
}
public String getReportTips() {
return this.reportTips;
}
public GetRiskListResponseBodyDataRiskList setReportType(String reportType) {
this.reportType = reportType;
return this;
}
public String getReportType() {
return this.reportType;
}
public GetRiskListResponseBodyDataRiskList setReportValue(String reportValue) {
this.reportValue = reportValue;
return this;
}
public String getReportValue() {
return this.reportValue;
}
public GetRiskListResponseBodyDataRiskList setStatus(Long status) {
this.status = status;
return this;
}
public Long getStatus() {
return this.status;
}
public GetRiskListResponseBodyDataRiskList setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetRiskListResponseBodyDataRiskList setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class GetRiskListResponseBodyData extends TeaModel {
@NameInMap("RiskList")
public java.util.List<GetRiskListResponseBodyDataRiskList> riskList;
/**
* <strong>example:</strong>
* <p>11</p>
*/
@NameInMap("Total")
public Long total;
public static GetRiskListResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
GetRiskListResponseBodyData self = new GetRiskListResponseBodyData();
return TeaModel.build(map, self);
}
public GetRiskListResponseBodyData setRiskList(java.util.List<GetRiskListResponseBodyDataRiskList> riskList) {
this.riskList = riskList;
return this;
}
public java.util.List<GetRiskListResponseBodyDataRiskList> getRiskList() {
return this.riskList;
}
public GetRiskListResponseBodyData setTotal(Long total) {
this.total = total;
return this;
}
public Long getTotal() {
return this.total;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicListRequest extends TeaModel {
/**
* <p>The page number. Default value: 1</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CurrentPage")
public String currentPage;
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-0pp1954n****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The number of entries to return on each page. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("PageSize")
public String pageSize;
/**
* <p>The region ID of the instance to which the topics that you want to query belong.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The name of the topic that you want to query.</p>
*
* <strong>example:</strong>
* <p>topic_name</p>
*/
@NameInMap("Topic")
public String topic;
public static GetTopicListRequest build(java.util.Map<String, ?> map) throws Exception {
GetTopicListRequest self = new GetTopicListRequest();
return TeaModel.build(map, self);
}
public GetTopicListRequest setCurrentPage(String currentPage) {
this.currentPage = currentPage;
return this;
}
public String getCurrentPage() {
return this.currentPage;
}
public GetTopicListRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetTopicListRequest setPageSize(String pageSize) {
this.pageSize = pageSize;
return this;
}
public String getPageSize() {
return this.pageSize;
}
public GetTopicListRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetTopicListRequest setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetTopicListResponseBody body;
public static GetTopicListResponse build(java.util.Map<String, ?> map) throws Exception {
GetTopicListResponse self = new GetTopicListResponse();
return TeaModel.build(map, self);
}
public GetTopicListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetTopicListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetTopicListResponse setBody(GetTopicListResponseBody body) {
this.body = body;
return this;
}
public GetTopicListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicListResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* <p>The message returned.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The number of entries returned on each page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C0D3DC5B-5C37-47AD-9F22-1F559880****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
/**
* <p>The topics.</p>
*/
@NameInMap("TopicList")
public GetTopicListResponseBodyTopicList topicList;
/**
* <p>The number of topics.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Total")
public Integer total;
public static GetTopicListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetTopicListResponseBody self = new GetTopicListResponseBody();
return TeaModel.build(map, self);
}
public GetTopicListResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetTopicListResponseBody setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public GetTopicListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetTopicListResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public GetTopicListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetTopicListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public GetTopicListResponseBody setTopicList(GetTopicListResponseBodyTopicList topicList) {
this.topicList = topicList;
return this;
}
public GetTopicListResponseBodyTopicList getTopicList() {
return this.topicList;
}
public GetTopicListResponseBody setTotal(Integer total) {
this.total = total;
return this;
}
public Integer getTotal() {
return this.total;
}
public static class GetTopicListResponseBodyTopicListTopicVOTagsTagVO extends TeaModel {
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>Test</p>
*/
@NameInMap("Key")
public String key;
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>Test</p>
*/
@NameInMap("Value")
public String value;
public static GetTopicListResponseBodyTopicListTopicVOTagsTagVO build(java.util.Map<String, ?> map) throws Exception {
GetTopicListResponseBodyTopicListTopicVOTagsTagVO self = new GetTopicListResponseBodyTopicListTopicVOTagsTagVO();
return TeaModel.build(map, self);
}
public GetTopicListResponseBodyTopicListTopicVOTagsTagVO setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public GetTopicListResponseBodyTopicListTopicVOTagsTagVO setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class GetTopicListResponseBodyTopicListTopicVOTags extends TeaModel {
@NameInMap("TagVO")
public java.util.List<GetTopicListResponseBodyTopicListTopicVOTagsTagVO> tagVO;
public static GetTopicListResponseBodyTopicListTopicVOTags build(java.util.Map<String, ?> map) throws Exception {
GetTopicListResponseBodyTopicListTopicVOTags self = new GetTopicListResponseBodyTopicListTopicVOTags();
return TeaModel.build(map, self);
}
public GetTopicListResponseBodyTopicListTopicVOTags setTagVO(java.util.List<GetTopicListResponseBodyTopicListTopicVOTagsTagVO> tagVO) {
this.tagVO = tagVO;
return this;
}
public java.util.List<GetTopicListResponseBodyTopicListTopicVOTagsTagVO> getTagVO() {
return this.tagVO;
}
}
public static class GetTopicListResponseBodyTopicListTopicVO extends TeaModel {
/**
* <p>Indicates whether the topic was automatically created.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("AutoCreate")
public Boolean autoCreate;
/**
* <p>The log cleanup policy for the topic. This parameter is returned only if <strong>LocalTopic</strong> is set to <strong>true</strong>. Valid values:</p>
* <ul>
* <li>false: the default log cleanup policy.</li>
* <li>true: the Apache Kafka log compaction policy.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("CompactTopic")
public Boolean compactTopic;
/**
* <p>The timestamp that indicates when the topic was created. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1576563109000</p>
*/
@NameInMap("CreateTime")
public Long createTime;
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-0pp1954n****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The storage type that is used for the topic. Valid values:</p>
* <ul>
* <li>false: cloud storage</li>
* <li>true: local storage</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("LocalTopic")
public Boolean localTopic;
/**
* <p>The number of partitions in the topic.</p>
*
* <strong>example:</strong>
* <p>6</p>
*/
@NameInMap("PartitionNum")
public Integer partitionNum;
/**
* <p>The ID of the region where the instance resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The topic description. Valid values:</p>
* <ul>
* <li>The description can contain only letters, digits, hyphens (-), and underscores (_).</li>
* <li>The description must be 3 to 64 characters in length.</li>
* </ul>
*
* <strong>example:</strong>
* <p>test</p>
*/
@NameInMap("Remark")
public String remark;
/**
* <p>The topic status. Valid value:</p>
* <p><strong>0</strong>: running.</p>
* <p>If the topic is deleted, this parameter is not returned.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Status")
public Integer status;
/**
* <p>The topic status. Valid value:</p>
* <p><strong>Running</strong>.</p>
* <p>If the topic is deleted, this parameter is not returned.</p>
*
* <strong>example:</strong>
* <p>Running</p>
*/
@NameInMap("StatusName")
public String statusName;
/**
* <p>The tags.</p>
*/
@NameInMap("Tags")
public GetTopicListResponseBodyTopicListTopicVOTags tags;
/**
* <p>The topic name. Valid values:</p>
* <ul>
* <li>The name can contain only letters, digits, hyphens (-), and underscores (_).</li>
* <li>The name must be 3 to 64 characters in length. If the name contains more than 64 characters, the system automatically truncates the name.</li>
* </ul>
*
* <strong>example:</strong>
* <p>topic_name</p>
*/
@NameInMap("Topic")
public String topic;
/**
* <p>The topic configuration.</p>
*
* <strong>example:</strong>
* <p>{"replication-factor":3}</p>
*/
@NameInMap("TopicConfig")
public String topicConfig;
public static GetTopicListResponseBodyTopicListTopicVO build(java.util.Map<String, ?> map) throws Exception {
GetTopicListResponseBodyTopicListTopicVO self = new GetTopicListResponseBodyTopicListTopicVO();
return TeaModel.build(map, self);
}
public GetTopicListResponseBodyTopicListTopicVO setAutoCreate(Boolean autoCreate) {
this.autoCreate = autoCreate;
return this;
}
public Boolean getAutoCreate() {
return this.autoCreate;
}
public GetTopicListResponseBodyTopicListTopicVO setCompactTopic(Boolean compactTopic) {
this.compactTopic = compactTopic;
return this;
}
public Boolean getCompactTopic() {
return this.compactTopic;
}
public GetTopicListResponseBodyTopicListTopicVO setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public GetTopicListResponseBodyTopicListTopicVO setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetTopicListResponseBodyTopicListTopicVO setLocalTopic(Boolean localTopic) {
this.localTopic = localTopic;
return this;
}
public Boolean getLocalTopic() {
return this.localTopic;
}
public GetTopicListResponseBodyTopicListTopicVO setPartitionNum(Integer partitionNum) {
this.partitionNum = partitionNum;
return this;
}
public Integer getPartitionNum() {
return this.partitionNum;
}
public GetTopicListResponseBodyTopicListTopicVO setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetTopicListResponseBodyTopicListTopicVO setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public GetTopicListResponseBodyTopicListTopicVO setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public GetTopicListResponseBodyTopicListTopicVO setStatusName(String statusName) {
this.statusName = statusName;
return this;
}
public String getStatusName() {
return this.statusName;
}
public GetTopicListResponseBodyTopicListTopicVO setTags(GetTopicListResponseBodyTopicListTopicVOTags tags) {
this.tags = tags;
return this;
}
public GetTopicListResponseBodyTopicListTopicVOTags getTags() {
return this.tags;
}
public GetTopicListResponseBodyTopicListTopicVO setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
public GetTopicListResponseBodyTopicListTopicVO setTopicConfig(String topicConfig) {
this.topicConfig = topicConfig;
return this;
}
public String getTopicConfig() {
return this.topicConfig;
}
}
public static class GetTopicListResponseBodyTopicList extends TeaModel {
@NameInMap("TopicVO")
public java.util.List<GetTopicListResponseBodyTopicListTopicVO> topicVO;
public static GetTopicListResponseBodyTopicList build(java.util.Map<String, ?> map) throws Exception {
GetTopicListResponseBodyTopicList self = new GetTopicListResponseBodyTopicList();
return TeaModel.build(map, self);
}
public GetTopicListResponseBodyTopicList setTopicVO(java.util.List<GetTopicListResponseBodyTopicListTopicVO> topicVO) {
this.topicVO = topicVO;
return this;
}
public java.util.List<GetTopicListResponseBodyTopicListTopicVO> getTopicVO() {
return this.topicVO;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicStatusRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicStatusRequest extends TeaModel {
/**
* <p>The ID of the instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h15tjm****</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID of the instance.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The name of the topic.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>normal_topic_9d034262835916103455551be06cc****</p>
*/
@NameInMap("Topic")
public String topic;
public static GetTopicStatusRequest build(java.util.Map<String, ?> map) throws Exception {
GetTopicStatusRequest self = new GetTopicStatusRequest();
return TeaModel.build(map, self);
}
public GetTopicStatusRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetTopicStatusRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetTopicStatusRequest setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicStatusResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicStatusResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetTopicStatusResponseBody body;
public static GetTopicStatusResponse build(java.util.Map<String, ?> map) throws Exception {
GetTopicStatusResponse self = new GetTopicStatusResponse();
return TeaModel.build(map, self);
}
public GetTopicStatusResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetTopicStatusResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetTopicStatusResponse setBody(GetTopicStatusResponseBody body) {
this.body = body;
return this;
}
public GetTopicStatusResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicStatusResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicStatusResponseBody extends TeaModel {
/**
* <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success.</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E475C7E2-8C35-46EF-BE7D-5D2A9F5D****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
/**
* <p>The status information about messages in the topic.</p>
*/
@NameInMap("TopicStatus")
public GetTopicStatusResponseBodyTopicStatus topicStatus;
public static GetTopicStatusResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetTopicStatusResponseBody self = new GetTopicStatusResponseBody();
return TeaModel.build(map, self);
}
public GetTopicStatusResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetTopicStatusResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetTopicStatusResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetTopicStatusResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public GetTopicStatusResponseBody setTopicStatus(GetTopicStatusResponseBodyTopicStatus topicStatus) {
this.topicStatus = topicStatus;
return this;
}
public GetTopicStatusResponseBodyTopicStatus getTopicStatus() {
return this.topicStatus;
}
public static class GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable extends TeaModel {
/**
* <p>The last time when the partition was modified.</p>
*
* <strong>example:</strong>
* <p>1566470063547</p>
*/
@NameInMap("LastUpdateTimestamp")
public Long lastUpdateTimestamp;
/**
* <p>The latest offset in the partition of the topic.</p>
*
* <strong>example:</strong>
* <p>76</p>
*/
@NameInMap("MaxOffset")
public Long maxOffset;
/**
* <p>The earliest offset in the partition of the topic.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("MinOffset")
public Long minOffset;
/**
* <p>The ID of the partition.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Partition")
public Integer partition;
/**
* <p>The name of the topic.</p>
*
* <strong>example:</strong>
* <p>testkafka</p>
*/
@NameInMap("Topic")
public String topic;
public static GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable build(java.util.Map<String, ?> map) throws Exception {
GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable self = new GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable();
return TeaModel.build(map, self);
}
public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setLastUpdateTimestamp(Long lastUpdateTimestamp) {
this.lastUpdateTimestamp = lastUpdateTimestamp;
return this;
}
public Long getLastUpdateTimestamp() {
return this.lastUpdateTimestamp;
}
public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setMaxOffset(Long maxOffset) {
this.maxOffset = maxOffset;
return this;
}
public Long getMaxOffset() {
return this.maxOffset;
}
public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setMinOffset(Long minOffset) {
this.minOffset = minOffset;
return this;
}
public Long getMinOffset() {
return this.minOffset;
}
public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setPartition(Integer partition) {
this.partition = partition;
return this;
}
public Integer getPartition() {
return this.partition;
}
public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
}
public static class GetTopicStatusResponseBodyTopicStatusOffsetTable extends TeaModel {
@NameInMap("OffsetTable")
public java.util.List<GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable> offsetTable;
public static GetTopicStatusResponseBodyTopicStatusOffsetTable build(java.util.Map<String, ?> map) throws Exception {
GetTopicStatusResponseBodyTopicStatusOffsetTable self = new GetTopicStatusResponseBodyTopicStatusOffsetTable();
return TeaModel.build(map, self);
}
public GetTopicStatusResponseBodyTopicStatusOffsetTable setOffsetTable(java.util.List<GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable> offsetTable) {
this.offsetTable = offsetTable;
return this;
}
public java.util.List<GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable> getOffsetTable() {
return this.offsetTable;
}
}
public static class GetTopicStatusResponseBodyTopicStatus extends TeaModel {
/**
* <p>The time when the last consumed message was generated.</p>
*
* <strong>example:</strong>
* <p>1566470063575</p>
*/
@NameInMap("LastTimeStamp")
public Long lastTimeStamp;
/**
* <p>The information about offsets in the topic.</p>
*/
@NameInMap("OffsetTable")
public GetTopicStatusResponseBodyTopicStatusOffsetTable offsetTable;
/**
* <p>The number of messages in the topic.</p>
*
* <strong>example:</strong>
* <p>423</p>
*/
@NameInMap("TotalCount")
public Long totalCount;
public static GetTopicStatusResponseBodyTopicStatus build(java.util.Map<String, ?> map) throws Exception {
GetTopicStatusResponseBodyTopicStatus self = new GetTopicStatusResponseBodyTopicStatus();
return TeaModel.build(map, self);
}
public GetTopicStatusResponseBodyTopicStatus setLastTimeStamp(Long lastTimeStamp) {
this.lastTimeStamp = lastTimeStamp;
return this;
}
public Long getLastTimeStamp() {
return this.lastTimeStamp;
}
public GetTopicStatusResponseBodyTopicStatus setOffsetTable(GetTopicStatusResponseBodyTopicStatusOffsetTable offsetTable) {
this.offsetTable = offsetTable;
return this;
}
public GetTopicStatusResponseBodyTopicStatusOffsetTable getOffsetTable() {
return this.offsetTable;
}
public GetTopicStatusResponseBodyTopicStatus setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicSubscribeStatusRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicSubscribeStatusRequest extends TeaModel {
/**
* <p>The instance ID.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/437663.html">GetInstanceList</a> operation to query the list of instances.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alikafka_pre-cn-v0h1cng0***</p>
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* <p>The region ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
@NameInMap("RegionId")
public String regionId;
/**
* <p>The topic name.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/437677.html">GetTopicList</a> operation to query the list of topics.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>topic_name</p>
*/
@NameInMap("Topic")
public String topic;
public static GetTopicSubscribeStatusRequest build(java.util.Map<String, ?> map) throws Exception {
GetTopicSubscribeStatusRequest self = new GetTopicSubscribeStatusRequest();
return TeaModel.build(map, self);
}
public GetTopicSubscribeStatusRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetTopicSubscribeStatusRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetTopicSubscribeStatusRequest setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicSubscribeStatusResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicSubscribeStatusResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetTopicSubscribeStatusResponseBody body;
public static GetTopicSubscribeStatusResponse build(java.util.Map<String, ?> map) throws Exception {
GetTopicSubscribeStatusResponse self = new GetTopicSubscribeStatusResponse();
return TeaModel.build(map, self);
}
public GetTopicSubscribeStatusResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetTopicSubscribeStatusResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetTopicSubscribeStatusResponse setBody(GetTopicSubscribeStatusResponseBody body) {
this.body = body;
return this;
}
public GetTopicSubscribeStatusResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
|
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/GetTopicSubscribeStatusResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.alikafka20190916.models;
import com.aliyun.tea.*;
public class GetTopicSubscribeStatusResponseBody extends TeaModel {
/**
* <p>The HTTP status code.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <p>The returned message.</p>
*
* <strong>example:</strong>
* <p>operation success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>06084011-E093-46F3-A51F-4B19A8AD****</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <p>Indicates whether the request is successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
/**
* <p>The subscription details.</p>
*/
@NameInMap("TopicSubscribeStatus")
public GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus topicSubscribeStatus;
public static GetTopicSubscribeStatusResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetTopicSubscribeStatusResponseBody self = new GetTopicSubscribeStatusResponseBody();
return TeaModel.build(map, self);
}
public GetTopicSubscribeStatusResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetTopicSubscribeStatusResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetTopicSubscribeStatusResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetTopicSubscribeStatusResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public GetTopicSubscribeStatusResponseBody setTopicSubscribeStatus(GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus topicSubscribeStatus) {
this.topicSubscribeStatus = topicSubscribeStatus;
return this;
}
public GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus getTopicSubscribeStatus() {
return this.topicSubscribeStatus;
}
public static class GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus extends TeaModel {
/**
* <p>The groups that subscribe to the topic.</p>
*/
@NameInMap("ConsumerGroups")
public java.util.List<String> consumerGroups;
/**
* <p>The topic name.</p>
*
* <strong>example:</strong>
* <p>topic_api_1681624879908</p>
*/
@NameInMap("Topic")
public String topic;
public static GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus build(java.util.Map<String, ?> map) throws Exception {
GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus self = new GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus();
return TeaModel.build(map, self);
}
public GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus setConsumerGroups(java.util.List<String> consumerGroups) {
this.consumerGroups = consumerGroups;
return this;
}
public java.util.List<String> getConsumerGroups() {
return this.consumerGroups;
}
public GetTopicSubscribeStatusResponseBodyTopicSubscribeStatus setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.