Skip to content

Project2Props

Properties for defining a Project2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-imm-project2

Initializer

import com.aliyun.ros.cdk.imm.Project2Props;
Project2Props.builder()
    .projectName(java.lang.String)
    .projectName(IResolvable)
//  .datasetMaxBindCount(java.lang.Number)
//  .datasetMaxBindCount(IResolvable)
//  .datasetMaxEntityCount(java.lang.Number)
//  .datasetMaxEntityCount(IResolvable)
//  .datasetMaxFileCount(java.lang.Number)
//  .datasetMaxFileCount(IResolvable)
//  .datasetMaxRelationCount(java.lang.Number)
//  .datasetMaxRelationCount(IResolvable)
//  .datasetMaxTotalFileSize(java.lang.Number)
//  .datasetMaxTotalFileSize(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .projectMaxDatasetCount(java.lang.Number)
//  .projectMaxDatasetCount(IResolvable)
//  .serviceRole(java.lang.String)
//  .serviceRole(IResolvable)
//  .templateId(java.lang.String)
//  .templateId(IResolvable)
    .build();

Properties

Name Type Description
projectName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property projectName: The project name.
datasetMaxBindCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property datasetMaxBindCount: The maximum number of bindings for each dataset.
datasetMaxEntityCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property datasetMaxEntityCount: The maximum number of metadata entities in each dataset.
datasetMaxFileCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property datasetMaxFileCount: The maximum number of files in each dataset.
datasetMaxRelationCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property datasetMaxRelationCount: The maximum number of metadata relations in each dataset.
datasetMaxTotalFileSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property datasetMaxTotalFileSize: The maximum size of files in each dataset.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of project.
projectMaxDatasetCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property projectMaxDatasetCount: The maximum number of datasets in the project.
serviceRole java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceRole: The name of the Resource Access Management (RAM) role.
templateId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateId: The ID of the workflow template.

projectNameRequired

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

Property projectName: The project name.

The naming convention is as follows:

  • The name must be 1 to 128 characters in length.
  • It can contain only letters, digits, hyphens (-), and underscores (_).
  • It must start with a letter or an underscore (_).

datasetMaxBindCountOptional

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

Property datasetMaxBindCount: The maximum number of bindings for each dataset.

Valid values: 1 to 10. Default value: 10.


datasetMaxEntityCountOptional

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

Property datasetMaxEntityCount: The maximum number of metadata entities in each dataset.

The default value is 10,000,000,000.

This configuration is reserved and is not currently enforced.


datasetMaxFileCountOptional

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

Property datasetMaxFileCount: The maximum number of files in each dataset.

Valid values: 1 to 100000000. Default value: 100000000.


datasetMaxRelationCountOptional

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

Property datasetMaxRelationCount: The maximum number of metadata relations in each dataset.

The default value is 100,000,000,000.

This configuration is reserved and is not currently enforced.


datasetMaxTotalFileSizeOptional

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

Property datasetMaxTotalFileSize: The maximum size of files in each dataset.

If the maximum size is exceeded, no indexes can be added. Unit: bytes. Default value: 90000000000000000.


descriptionOptional

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

Property description: The description of project.


projectMaxDatasetCountOptional

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

Property projectMaxDatasetCount: The maximum number of datasets in the project.

Valid values: 1 to 1000000000. Default value: 1000000000.


serviceRoleOptional

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

Property serviceRole: The name of the Resource Access Management (RAM) role.

You must attach the RAM role to IMM to allow IMM to access other cloud resources, such as Object Storage Service (OSS). Default value: AliyunIMMDefaultRole.


templateIdOptional

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

Property templateId: The ID of the workflow template.

You can leave this parameter empty.