InstancesProps
Properties for defining a Instances
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-lindorm-instances
Initializer
import com.aliyun.ros.cdk.lindorm.datasource.InstancesProps;
InstancesProps.builder()
// .instanceIds(IResolvable)
// .instanceIds(java.util.List<java.lang.String)
// .instanceIds(IResolvable>)
// .queryStr(java.lang.String)
// .queryStr(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .serviceType(java.lang.String)
// .serviceType(IResolvable)
// .supportEngine(java.lang.Number)
// .supportEngine(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
instanceIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property instanceIds: The list of the instance id. |
queryStr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property queryStr: Instance name keyword, which can be used for fuzzy search. |
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. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The resource group id of lindorm instance. |
serviceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property serviceType: The type of lindorm instance. |
supportEngine |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property supportEngine: Database engine types supported by the queried instance. |
tags |
java.util.List |
Property tags: Tags of lindorm instance. |
instanceIds
Optional
public java.lang.Object getInstanceIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property instanceIds: The list of the instance id.
queryStr
Optional
public java.lang.Object getQueryStr();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property queryStr: Instance name keyword, which can be used for fuzzy search.
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.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The resource group id of lindorm instance.
serviceType
Optional
public java.lang.Object getServiceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property serviceType: The type of lindorm instance.
supportEngine
Optional
public java.lang.Object getSupportEngine();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property supportEngine: Database engine types supported by the queried instance.
1: Support search engines. 2: Support timing engine. 4: Support wide table engine. 8: Support file engine. Note For example: the value of SupportEngine is 15, 15=8+4+2+1, which means that the instance supports search engine, timing engine, wide table engine and file engine. The value of SupportEngine is 6, 6=4+2, indicating that the instance supports timing engine and wide table engine.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List
Property tags: Tags of lindorm instance.