WorkspaceResourceFlinkProps
Properties for defining a WorkspaceResourceFlink
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-workspaceresourceflink
Initializer
import com.aliyun.ros.cdk.pai.WorkspaceResourceFlinkProps;
WorkspaceResourceFlinkProps.builder()
.groupName(java.lang.String)
.groupName(IResolvable)
.resources(IResolvable)
.resources(java.util.List<IResolvable)
.resources(ResourcesProperty>)
.workspaceId(java.lang.String)
.workspaceId(IResolvable)
// .isDefault(java.lang.Boolean)
// .isDefault(IResolvable)
// .option(java.lang.String)
// .option(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
groupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupName: Resource group name. |
resources |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property resources: Resource List. |
workspaceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property workspaceId: The ID of the workspace to which the workspace belongs. |
isDefault |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property isDefault: Indicates whether it is the default resource. |
option |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace. |
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].
resources
Required
public java.lang.Object getResources();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ResourcesProperty>
Property resources: Resource List.
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.
isDefault
Optional
public java.lang.Object getIsDefault();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property isDefault: Indicates whether it is the default resource.
Currently, this parameter only supports the input of true and does not support false.
option
Optional
public java.lang.Object getOption();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace.