Skip to content

WorkspacesProps

Properties for defining a Workspaces.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-workspaces

Initializer

import com.aliyun.ros.cdk.pai.datasource.WorkspacesProps;
WorkspacesProps.builder()
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .workspaceId(java.lang.String)
//  .workspaceId(IResolvable)
//  .workspaceName(java.lang.String)
//  .workspaceName(IResolvable)
    .build();

Properties

Name Type Description
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.
workspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceId: The ID of the workspace.
workspaceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceName: The workspace name.

refreshOptionsOptional

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.

workspaceIdOptional

public java.lang.Object getWorkspaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property workspaceId: The ID of the workspace.


workspaceNameOptional

public java.lang.Object getWorkspaceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property workspaceName: The workspace name.

The format is as follows:

  • 3 to 23 characters in length and can contain letters, underscores, or numbers.
  • Must start with a large or small letter.
  • Unique in the current region.