DatasetVersionProps
Properties for defining a DatasetVersion.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-datasetversion
Initializer
import com.aliyun.ros.cdk.pai.DatasetVersionProps;
DatasetVersionProps.builder()
.datasetId(java.lang.String)
.datasetId(IResolvable)
.dataSourceType(java.lang.String)
.dataSourceType(IResolvable)
.property(java.lang.String)
.property(IResolvable)
.uri(java.lang.String)
.uri(IResolvable)
// .dataCount(java.lang.Number)
// .dataCount(IResolvable)
// .dataSize(java.lang.Number)
// .dataSize(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .labels(IResolvable)
// .labels(java.util.List<IResolvable)
// .labels(LabelsProperty>)
// .options(java.lang.String)
// .options(IResolvable)
// .sourceId(java.lang.String)
// .sourceId(IResolvable)
// .sourceType(java.lang.String)
// .sourceType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
datasetId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property datasetId: The ID of the dataset. |
dataSourceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dataSourceType: The data source type. |
property | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property property: The properties of the dataset. |
uri | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property uri: The Uri configuration sample is as follows: - The data source type is OSS:'oss:\/\/bucket.endpoint\/object' - The data source type is NAS: The general NAS format is: 'nas:\/\/ |
dataCount | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property dataCount: The number of dataset files, in units of pieces. |
dataSize | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property dataSize: The size of the dataset file in bytes. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: To create a custom description for dataset versions in order to distinguish between different versions of the dataset. |
labels | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property labels: Dataset version tag list. |
options | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property options: The extended field, which is of the JsonString type. |
sourceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property sourceId: The data source ID. |
sourceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property sourceType: The data source type. |
datasetIdRequired
public java.lang.Object getDatasetId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property datasetId: The ID of the dataset.
dataSourceTypeRequired
public java.lang.Object getDataSourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataSourceType: The data source type.
The following values are supported:
- OSS: Alibaba Cloud Object Storage (OSS).
- NAS: Alibaba cloud file storage (NAS).
- CPFS
propertyRequired
public java.lang.Object getProperty();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property property: The properties of the dataset.
The following values are supported:
- FILE: FILE.
- DIRECTORY: folder.
uriRequired
public java.lang.Object getUri();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property uri: The Uri configuration sample is as follows: - The data source type is OSS:'oss:\/\/bucket.endpoint\/object' - The data source type is NAS: The general NAS format is: 'nas:\/\/
dataCountOptional
public java.lang.Object getDataCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property dataCount: The number of dataset files, in units of pieces.
dataSizeOptional
public java.lang.Object getDataSize();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property dataSize: The size of the dataset file in bytes.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: To create a custom description for dataset versions in order to distinguish between different versions of the dataset.
labelsOptional
public java.lang.Object getLabels();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
LabelsProperty>
Property labels: Dataset version tag list.
optionsOptional
public java.lang.Object getOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property options: The extended field, which is of the JsonString type.
When DLC uses a dataset, you can specify the default Mount path for the dataset by configuring the mountPath field.
sourceIdOptional
public java.lang.Object getSourceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceId: The data source ID.
- When the SourceType is USER, SourceId can be customized.
- When SourceType is ITAG, that is, when the iTAG module labels the data set generated by the result, SourceId is the task ID of ITAG.
- When SourceType is PAI_PUBLIC_DATASET, that is, a dataset created using PAI public datasets, SourceId is empty by default.
sourceTypeOptional
public java.lang.Object getSourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceType: The data source type.
The default value is USER. The following values are supported:
- PAI-PUBLIC-DATASET:PAI public dataset.
- ITAG: The dataset generated by the iTAG module annotation result.
- USER: The data set registered by the USER.