IKeywordLib
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: KeywordLib, IKeywordLib
Represents a KeywordLib.
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. |
attrBizTypes | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute BizTypes: The business scenario. |
attrCategory | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Category: The category of the text library. |
attrEnable | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Enable: Specifies whether to enable text library. |
attrKeywordLibId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute KeywordLibId: The ID of the primary key of the keyword library. |
attrKeywordLibName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute KeywordLibName: The name of the keyword library defined by the customer. |
attrLanguage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Language: Language used by the text Library. |
attrLibType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LibType: The category of the text library in each moderation scenario. |
attrMatchMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MatchMode: The matching method. |
attrResourceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceType: The moderation scenario to which the text library applies. |
props | KeywordLibProps | 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.
attrBizTypesRequired
public java.lang.Object getAttrBizTypes();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute BizTypes: The business scenario.
attrCategoryRequired
public java.lang.Object getAttrCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Category: The category of the text library.
attrEnableRequired
public java.lang.Object getAttrEnable();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Enable: Specifies whether to enable text library.
attrKeywordLibIdRequired
public java.lang.Object getAttrKeywordLibId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute KeywordLibId: The ID of the primary key of the keyword library.
attrKeywordLibNameRequired
public java.lang.Object getAttrKeywordLibName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute KeywordLibName: The name of the keyword library defined by the customer.
attrLanguageRequired
public java.lang.Object getAttrLanguage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Language: Language used by the text Library.
attrLibTypeRequired
public java.lang.Object getAttrLibType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LibType: The category of the text library in each moderation scenario.
attrMatchModeRequired
public java.lang.Object getAttrMatchMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MatchMode: The matching method.
attrResourceTypeRequired
public java.lang.Object getAttrResourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceType: The moderation scenario to which the text library applies.
propsRequired
public KeywordLibProps getProps();
- Type: KeywordLibProps