Skip to content

DatasetProps

Properties for defining a Dataset.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlpautoml-dataset

Initializer

import com.aliyun.ros.cdk.nlpautoml.DatasetProps;
DatasetProps.builder()
    .datasetName(java.lang.String)
    .datasetName(IResolvable)
    .projectId(java.lang.Number)
    .projectId(IResolvable)
//  .datasetRecord(IResolvable)
//  .datasetRecord(java.util.List<java.lang.String)
//  .datasetRecord(IResolvable>)
    .build();

Properties

Name Type Description
datasetName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property datasetName: The name of dataset.
projectId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property projectId: The ID of project.
datasetRecord com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property datasetRecord: Upload labeled data to the dataset.

datasetNameRequired

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

Property datasetName: The name of dataset.

Cannot start with numbers and symbols, and the length cannot be greater than 32 characters.


projectIdRequired

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

Property projectId: The ID of project.

To create a dataset under a certain project, fill in the target project ID.


datasetRecordOptional

public java.lang.Object getDatasetRecord();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property datasetRecord: Upload labeled data to the dataset.