DatasetProps
Properties for defining a Dataset
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-dataset
Initializer
import com.aliyun.ros.cdk.pai.datasource.DatasetProps;
DatasetProps.builder()
.datasetId(java.lang.String)
.datasetId(IResolvable)
.workspaceId(java.lang.String)
.workspaceId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
datasetId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property datasetId: The first ID of the resource. |
workspaceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property workspaceId: The ID of the workspace where the dataset is located. |
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. |
datasetId
Required
public java.lang.Object getDatasetId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property datasetId: The first ID of the resource.
workspaceId
Required
public java.lang.Object getWorkspaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property workspaceId: The ID of the workspace where the dataset is located.
For details about how to obtain the workspace ID, see [ListWorkspaces]. If this parameter is not configured, the default workspace is used. If the default workspace does not exist, an error is reported.
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.