TopicsProps
Properties for defining a Topics
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-mns-topics
Initializer
import com.aliyun.ros.cdk.mns.datasource.TopicsProps;
TopicsProps.builder()
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .topicName(java.lang.String)
// .topicName(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
topicName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property topicName: Topic name. |
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
topicName
Optional
public java.lang.Object getTopicName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property topicName: Topic name.