TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-topic
Initializer
import com.aliyun.ros.cdk.rocketmq5.TopicProps;
TopicProps.builder()
.instanceId(java.lang.String)
.instanceId(IResolvable)
.messageType(java.lang.String)
.messageType(IResolvable)
.topicName(java.lang.String)
.topicName(IResolvable)
// .remark(java.lang.String)
// .remark(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: The ID of the instance. |
messageType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property messageType: The message type of the topic to be created. |
topicName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property topicName: The name of the topic to be created is used to identify the topic and is globally unique. |
remark |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remark: The remark of the topic to be created. |
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: The ID of the instance.
messageType
Required
public java.lang.Object getMessageType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property messageType: The message type of the topic to be created.
Valid values: NORMAL FIFO DELAY TRANSACTION
topicName
Required
public java.lang.Object getTopicName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property topicName: The name of the topic to be created is used to identify the topic and is globally unique.
Valid values: Character limitation: supports letters a~z or A-Z, numbers 0-9, underscore (_), dash (-) and percent sign (%). Length limit: 1-60 characters.
remark
Optional
public java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: The remark of the topic to be created.