Skip to content

WorkspaceResourceMaxComputeProps

Properties for defining a WorkspaceResourceMaxCompute.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-workspaceresourcemaxcompute

Initializer

import com.aliyun.ros.cdk.pai.WorkspaceResourceMaxComputeProps;
WorkspaceResourceMaxComputeProps.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.ListResourcesProperty> 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.

groupNameRequired

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.


resourcesRequired

public java.lang.Object getResources();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListResourcesProperty>

Property resources: Resource List.


workspaceIdRequired

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.


isDefaultOptional

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.


optionOptional

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.