WorkspaceResourceDlcProps
Properties for defining a WorkspaceResourceDlc
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-workspaceresourcedlc
Initializer
import com.aliyun.ros.cdk.pai.datasource.WorkspaceResourceDlcProps;
WorkspaceResourceDlcProps.builder()
.groupName(java.lang.String)
.groupName(IResolvable)
.workspaceId(java.lang.String)
.workspaceId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
groupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupName: Resource group name. |
workspaceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property workspaceId: The ID of the workspace to which the workspace belongs. |
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. |
groupName
Required
public java.lang.Object getGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupName: Resource group name.
If you want to obtain a resource group name, see [ListResources].
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 to which the workspace belongs.
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.