public static class UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
consumerGroup
The ID of the consumer group that subscribes to the topic.
|
String |
instanceId
The ID of the Message Queue for Apache Kafka instance.
|
Integer |
maximumTasks
The maximum number of consumers.
|
String |
network
The network.
|
String |
offsetReset
The consumer offset.
|
String |
regionId
The ID of the region where the Message Queue for Apache Kafka instance resides.
|
String |
securityGroupId
The ID of the security group to which the Message Queue for Apache Kafka instance belongs.
|
String |
topic
The name of the topic on the Message Queue for Apache Kafka instance.
|
String |
vpcId
The ID of the VPC in which the Message Queue for Apache Kafka instance resides.
|
String |
vSwitchIds
The ID of the vSwitch with which the Message Queue for Apache Kafka instance is associated.
|
| 构造器和说明 |
|---|
UpdateEventSourceRequestSourceKafkaParameters() |
@NameInMap(value="ConsumerGroup") public String consumerGroup
The ID of the consumer group that subscribes to the topic.
example:dsp_online_ml_request
@NameInMap(value="InstanceId") public String instanceId
The ID of the Message Queue for Apache Kafka instance.
example:cbwp-bp1o3m66wcjgbkssm3k5m
@NameInMap(value="MaximumTasks") public Integer maximumTasks
The maximum number of consumers.
example:1
@NameInMap(value="Network") public String network
The network. Valid values: Default and PublicNetwork. Default value: Default. The value PublicNetwork indicates a self-managed network.
example:Default
@NameInMap(value="OffsetReset") public String offsetReset
The consumer offset.
example:latest
@NameInMap(value="RegionId") public String regionId
The ID of the region where the Message Queue for Apache Kafka instance resides.
example:cn-shanghai
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group to which the Message Queue for Apache Kafka instance belongs. This parameter is required only if you set Network to PublicNetwork.
example:sg-5wz3mjgo9wpvdnwpwnhkjdjwn
@NameInMap(value="Topic") public String topic
The name of the topic on the Message Queue for Apache Kafka instance.
example:billing_notify
@NameInMap(value="VSwitchIds") public String vSwitchIds
The ID of the vSwitch with which the Message Queue for Apache Kafka instance is associated. This parameter is required only if you set Network to PublicNetwork.
example:vsw-bp1xyntcxiwplhqxjybuk
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC in which the Message Queue for Apache Kafka instance resides. This parameter is required only if you set Network to PublicNetwork.
example:vpc-2zefu4vfmx6siogujmo0b
public UpdateEventSourceRequestSourceKafkaParameters()
public static UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters build(Map<String,?> map) throws Exception
Exceptionpublic UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setConsumerGroup(String consumerGroup)
public String getConsumerGroup()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setInstanceId(String instanceId)
public String getInstanceId()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setMaximumTasks(Integer maximumTasks)
public Integer getMaximumTasks()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setNetwork(String network)
public String getNetwork()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setOffsetReset(String offsetReset)
public String getOffsetReset()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setRegionId(String regionId)
public String getRegionId()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setTopic(String topic)
public String getTopic()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setVSwitchIds(String vSwitchIds)
public String getVSwitchIds()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters setVpcId(String vpcId)
public String getVpcId()
Copyright © 2026. All rights reserved.