Skip to content

AITaskProps

Properties for defining a AITask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-aitask

Initializer

import com.aliyun.ros.cdk.polardb.AITaskProps;
AITaskProps.builder()
    .dbClusterId(java.lang.String)
    .dbClusterId(IResolvable)
    .password(java.lang.String)
    .password(IResolvable)
    .username(java.lang.String)
    .username(IResolvable)
//  .nodeType(java.lang.String)
//  .nodeType(IResolvable)
    .build();

Properties

Name Type Description
dbClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbClusterId: The ID of the DB cluster.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property password: The password of the database account that enables the PolarDB for AI function is required.
username java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property username: The database account that enables the PolarDB for AI function is required.
nodeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property nodeType: The type of the node.

dbClusterIdRequired

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

Property dbClusterId: The ID of the DB cluster.


passwordRequired

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

Property password: The password of the database account that enables the PolarDB for AI function is required.


usernameRequired

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

Property username: The database account that enables the PolarDB for AI function is required.


nodeTypeOptional

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

Property nodeType: The type of the node.

Valid values: DLNode: AI node(default). SearchNode: Search ai node.