ITopic
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: com.aliyun.ros.cdk.rocketmq.datasource.Topic, com.aliyun.ros.cdk.rocketmq.datasource.ITopic
Represents a Topic.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The time when the topic was created. |
attrInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceId: The ID of the instance to which the topic belongs. |
attrMessageType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MessageType: The message type of the topic. |
attrRemark | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Remark: The remarks on the topic. |
attrTopicName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TopicName: The name of the topic. |
attrUpdateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute UpdateTime: The time when the topic was last updated. |
props | TopicProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The time when the topic was created.
attrInstanceIdRequired
public java.lang.Object getAttrInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceId: The ID of the instance to which the topic belongs.
attrMessageTypeRequired
public java.lang.Object getAttrMessageType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MessageType: The message type of the topic.
attrRemarkRequired
public java.lang.Object getAttrRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Remark: The remarks on the topic.
attrTopicNameRequired
public java.lang.Object getAttrTopicName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TopicName: The name of the topic.
attrUpdateTimeRequired
public java.lang.Object getAttrUpdateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute UpdateTime: The time when the topic was last updated.
propsRequired
public TopicProps getProps();
- Type: TopicProps