Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq-instance

Initializer

import com.aliyun.ros.cdk.rocketmq.InstanceProps;
InstanceProps.builder()
    .instanceName(java.lang.String)
    .instanceName(IResolvable)
//  .deletionForce(java.lang.Boolean)
//  .deletionForce(IResolvable)
//  .remark(java.lang.String)
//  .remark(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
instanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceName: The name of the instance, which contains 3 to 64 characters in Chinese or English.
deletionForce java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property deletionForce: Whether delete all topics and groups of the instance and then delete instance.
remark java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property remark: The remark of instance.
tags java.util.List<TagsProperty> Property tags: Tags to attach to instance.

instanceNameRequired

public java.lang.Object getInstanceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceName: The name of the instance, which contains 3 to 64 characters in Chinese or English.


deletionForceOptional

public java.lang.Object getDeletionForce();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property deletionForce: Whether delete all topics and groups of the instance and then delete instance.

Default is false


remarkOptional

public java.lang.Object getRemark();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property remark: The remark of instance.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.