com.aliyun.eventbridge.models.SourceKafkaParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eventbridge-client Show documentation
Show all versions of eventbridge-client Show documentation
Alibaba Cloud eventbridge SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eventbridge.models;
import com.aliyun.tea.*;
/**
* The detail of SourceKafkaParameters
*/
public class SourceKafkaParameters extends TeaModel {
@NameInMap("RegionId")
public String regionId;
@NameInMap("InstanceId")
public String InstanceId;
@NameInMap("Topic")
public String topic;
@NameInMap("ConsumerGroup")
@Validation(required = true)
public String consumerGroup;
@NameInMap("OffsetReset")
public String offsetReset;
@NameInMap("ExtendConfig")
public java.util.Map extendConfig;
@NameInMap("Network")
public String network;
@NameInMap("VpcId")
public String vpcId;
@NameInMap("VSwitchIds")
public String vSwitchIds;
@NameInMap("SecurityGroupId")
public String securityGroupId;
public static SourceKafkaParameters build(java.util.Map map) {
SourceKafkaParameters self = new SourceKafkaParameters();
return TeaModel.build(map, self);
}
public SourceKafkaParameters setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public SourceKafkaParameters setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
return this;
}
public String getInstanceId() {
return this.InstanceId;
}
public SourceKafkaParameters setTopic(String topic) {
this.topic = topic;
return this;
}
public String getTopic() {
return this.topic;
}
public SourceKafkaParameters setConsumerGroup(String consumerGroup) {
this.consumerGroup = consumerGroup;
return this;
}
public String getConsumerGroup() {
return this.consumerGroup;
}
public SourceKafkaParameters setOffsetReset(String offsetReset) {
this.offsetReset = offsetReset;
return this;
}
public String getOffsetReset() {
return this.offsetReset;
}
public SourceKafkaParameters setExtendConfig(java.util.Map extendConfig) {
this.extendConfig = extendConfig;
return this;
}
public java.util.Map getExtendConfig() {
return this.extendConfig;
}
public SourceKafkaParameters setNetwork(String network) {
this.network = network;
return this;
}
public String getNetwork() {
return this.network;
}
public SourceKafkaParameters setVpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public String getVpcId() {
return this.vpcId;
}
public SourceKafkaParameters setVSwitchIds(String vSwitchIds) {
this.vSwitchIds = vSwitchIds;
return this;
}
public String getVSwitchIds() {
return this.vSwitchIds;
}
public SourceKafkaParameters setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
}