Skip to content

DataFlowProps

Properties for defining a DataFlow.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-dataflow

Initializer

import com.aliyun.ros.cdk.nas.DataFlowProps;
DataFlowProps.builder()
    .fileSystemId(java.lang.String)
    .fileSystemId(IResolvable)
    .fsetId(java.lang.String)
    .fsetId(IResolvable)
    .sourceStorage(java.lang.String)
    .sourceStorage(IResolvable)
    .throughput(java.lang.Number)
    .throughput(IResolvable)
//  .autoRefreshInterval(java.lang.Number)
//  .autoRefreshInterval(IResolvable)
//  .autoRefreshPolicy(java.lang.String)
//  .autoRefreshPolicy(IResolvable)
//  .autoRefreshs(IResolvable)
//  .autoRefreshs(java.util.List<IResolvable)
//  .autoRefreshs(AutoRefreshsProperty>)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .sourceSecurityType(java.lang.String)
//  .sourceSecurityType(IResolvable)
    .build();

Properties

Name Type Description
fileSystemId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fileSystemId: The ID of the file system.
fsetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fsetId: The fileset ID.
sourceStorage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceStorage: The access path of the source storage.
throughput java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property throughput: The maximum data flow throughput.
autoRefreshInterval java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property autoRefreshInterval: The automatic update interval time, every time the interval, the CPFS checks whether there is a data update in the directory.
autoRefreshPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property autoRefreshPolicy: The automatic update policy.
autoRefreshs com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAutoRefreshsProperty> Property autoRefreshs:.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the dataflow.
sourceSecurityType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceSecurityType: The type of safety protection types of the source storage.

fileSystemIdRequired

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

Property fileSystemId: The ID of the file system.

  • The IDs of CPFS file systems must start with cpfs-. Example: cpfs-125487****.
  • The IDs of CPFS for Lingjun file systems must start with bmcpfs-. Example: bmcpfs-0015****.

fsetIdRequired

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

Property fsetId: The fileset ID.

This parameter is required for CPFS file systems.


sourceStorageRequired

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

Property sourceStorage: The access path of the source storage.

Format: <storage type>:\/\/[<account id>:]<path>. Parameters:

  • storage type: Only OSS is supported.
  • account id (optional): the UID of the account of the source storage. This parameter is required when you use OSS buckets across accounts.
  • path: the name of the OSS bucket. Limits:
  • The name can contain only lowercase letters, digits, and hyphens (-). The name must start and end with a lowercase letter or digit.
  • The name can be up to 128 characters in length.
  • The name must be encoded in UTF-8.
  • The OSS bucket must be an existing bucket in the region.
  • Only CPFS for LINGJUN V2.6.0 and later support the account id parameter.

throughputRequired

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

Property throughput: The maximum data flow throughput.

Unit: MB/s. Valid values:

  • 600
  • 1200
  • 1500

The data flow throughput must be less than the I/O throughput of the file system. This parameter is required for CPFS file systems.


autoRefreshIntervalOptional

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

Property autoRefreshInterval: The automatic update interval time, every time the interval, the CPFS checks whether there is a data update in the directory.

If there is data update, start the automatic update task, unit: minute. Scope of value: 5 ~ 525600, default value: 10.


autoRefreshPolicyOptional

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

Property autoRefreshPolicy: The automatic update policy.

The updated data in the source storage is imported into the CPFS file system based on the policy.

  • None (default): Updated data in the source storage is not automatically imported into the CPFS file system. You can run a data flow task to import the updated data from the source storage.
  • ImportChanged: Updated data in the source storage is automatically imported into the CPFS file system.

This parameter takes effect only for CPFS file systems.


autoRefreshsOptional

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

Property autoRefreshs:.


descriptionOptional

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

Property description: The description of the dataflow.

Limits:

  • The description must be 2 to 128 characters in length.
  • The description must start with a letter but cannot start with http:\/\/ or https:\/\/.
  • The description can contain letters, digits, colons (:), underscores (_), and hyphens (-).

sourceSecurityTypeOptional

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

Property sourceSecurityType: The type of safety protection types of the source storage.

If the source storage must be protected through safety protection, please specify the type of safety protection type storage.Value: No (default value): It means that the source storage does not need to be accessed by safe protection. SSL: Protective access through SSL certificates.