public static class CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
authType
The authentication type.
|
String |
groupID
The ID of the consumer group on the Message Queue for Apache RocketMQ instance.
|
String |
instanceEndpoint
The endpoint that is used to access the Message Queue for Apache RocketMQ instance.
|
String |
instanceId
The ID of the Message Queue for Apache RocketMQ instance.
|
String |
instanceNetwork
None.
|
String |
instancePassword
The password that is used to access the Message Queue for Apache RocketMQ instance.
|
String |
instanceSecurityGroupId
The ID of the security group to which the Message Queue for Apache RocketMQ instance belongs.
|
String |
instanceType
The type of the Message Queue for Apache RocketMQ instance.
|
String |
instanceUsername
The username that is used to access the Message Queue for Apache RocketMQ instance.
|
String |
instanceVpcId
The ID of the virtual private cloud (VPC) in which the Message Queue for Apache RocketMQ instance resides.
|
String |
instanceVSwitchIds
The ID of the vSwitch with which the Message Queue for Apache RocketMQ instance is associated.
|
String |
offset
The offset from which message consumption starts.
|
String |
regionId
The region where the Message Queue for Apache RocketMQ instance resides.
|
String |
tag
The tag that is used to filter messages.
|
Long |
timestamp
The timestamp that specifies the time from which messages are consumed.
|
String |
topic
The name of the topic on the Message Queue for Apache RocketMQ instance.
|
| 构造器和说明 |
|---|
CreateEventSourceRequestSourceRocketMQParameters() |
@NameInMap(value="AuthType") public String authType
The authentication type. You can set this parameter to ACL or leave this parameter empty.
example:ACL
@NameInMap(value="GroupID") public String groupID
The ID of the consumer group on the Message Queue for Apache RocketMQ instance.
example:GID-test
@NameInMap(value="InstanceEndpoint") public String instanceEndpoint
The endpoint that is used to access the Message Queue for Apache RocketMQ instance.
example:registry-vpc****.aliyuncs.com
@NameInMap(value="InstanceId") public String instanceId
The ID of the Message Queue for Apache RocketMQ instance. For more information, see Limits.
example:MQ_INST_164901546557****_BAAN****
@NameInMap(value="InstanceNetwork") public String instanceNetwork
None.
example:None
@NameInMap(value="InstancePassword") public String instancePassword
The password that is used to access the Message Queue for Apache RocketMQ instance.
example:@NameInMap(value="InstanceSecurityGroupId") public String instanceSecurityGroupId
The ID of the security group to which the Message Queue for Apache RocketMQ instance belongs.
example:sg-catalog-eventlistener
@NameInMap(value="InstanceType") public String instanceType
The type of the Message Queue for Apache RocketMQ instance. Valid values:
Cloud_4
@NameInMap(value="InstanceUsername") public String instanceUsername
The username that is used to access the Message Queue for Apache RocketMQ instance.
example:root
@NameInMap(value="InstanceVSwitchIds") public String instanceVSwitchIds
The ID of the vSwitch with which the Message Queue for Apache RocketMQ instance is associated.
example:vsw-bp10rbrt6rb6vrd89****
@NameInMap(value="InstanceVpcId") public String instanceVpcId
The ID of the virtual private cloud (VPC) in which the Message Queue for Apache RocketMQ instance resides.
example:vpc-bp1a4gmlk31hyg6ptl3ss
@NameInMap(value="Offset") public String offset
The offset from which message consumption starts. Valid values: CONSUME_FROM_LAST_OFFSET: Start message consumption from the latest offset. CONSUME_FROM_FIRST_OFFSET: Start message consumption from the earliest offset. CONSUME_FROM_TIMESTAMP: Start message consumption from the offset at the specified point in time. Default value: CONSUME_FROM_LAST_OFFSET.
example:CONSUME_FROM_LAST_OFFSET
@NameInMap(value="RegionId") public String regionId
The region where the Message Queue for Apache RocketMQ instance resides.
example:cn-hangzhou
@NameInMap(value="Tag") public String tag
The tag that is used to filter messages.
example:test
@NameInMap(value="Timestamp") public Long timestamp
The timestamp that specifies the time from which messages are consumed. This parameter is valid only if you set Offset to CONSUME_FROM_TIMESTAMP.
example:1636597951964
public CreateEventSourceRequestSourceRocketMQParameters()
public static CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters build(Map<String,?> map) throws Exception
Exceptionpublic CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setAuthType(String authType)
public String getAuthType()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setGroupID(String groupID)
public String getGroupID()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceEndpoint(String instanceEndpoint)
public String getInstanceEndpoint()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceId(String instanceId)
public String getInstanceId()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceNetwork(String instanceNetwork)
public String getInstanceNetwork()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstancePassword(String instancePassword)
public String getInstancePassword()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceSecurityGroupId(String instanceSecurityGroupId)
public String getInstanceSecurityGroupId()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceType(String instanceType)
public String getInstanceType()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceUsername(String instanceUsername)
public String getInstanceUsername()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceVSwitchIds(String instanceVSwitchIds)
public String getInstanceVSwitchIds()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setInstanceVpcId(String instanceVpcId)
public String getInstanceVpcId()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setOffset(String offset)
public String getOffset()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setRegionId(String regionId)
public String getRegionId()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setTag(String tag)
public String getTag()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setTimestamp(Long timestamp)
public Long getTimestamp()
public CreateEventSourceRequest.CreateEventSourceRequestSourceRocketMQParameters setTopic(String topic)
public String getTopic()
Copyright © 2026. All rights reserved.