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: File system ID.
fsetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fsetId: Fileset ID.
sourceStorage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceStorage: Access path stored at the source.Format: : \/\/ . in: Storage Type: Currently only supports OSS. PATH: OSS's bucket name.Limit the following. Only support the lowercase letters, numbers and short strokes (-) and must start with a lowercase letter or number. The length is 8 ~ 128 English characters. Use UTF-8 encoding. Can't start with http: \/\/ and https: \/\/. Explain that the OSS BUCKET must be the bucket that exists in the region.
throughput java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property throughput: The upper limit of transmission bandwidth for data flow, unit: MB\/s. Value: 600 1200 1500.
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: Automatic update strategy, after the source data is updated, the data update is introduced to the CPFS strategy.
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: Description of data flow.
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: File system ID.


fsetIdRequired

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

Property fsetId: Fileset ID.


sourceStorageRequired

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

Property sourceStorage: Access path stored at the source.Format: : \/\/ . in: Storage Type: Currently only supports OSS. PATH: OSS's bucket name.Limit the following. Only support the lowercase letters, numbers and short strokes (-) and must start with a lowercase letter or number. The length is 8 ~ 128 English characters. Use UTF-8 encoding. Can't start with http: \/\/ and https: \/\/. Explain that the OSS BUCKET must be the bucket that exists in the region.


throughputRequired

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

Property throughput: The upper limit of transmission bandwidth for data flow, unit: MB\/s. Value: 600 1200 1500.

Explanation The transmission bandwidth of the data flow must be smaller than the IO bandwidth of the file system.


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: Automatic update strategy, after the source data is updated, the data update is introduced to the CPFS strategy.

None (default): The data update of the source is not automatically imported into CPFS. Users can import data update at the source end of the source through data flow tasks. Importchanged: The data update at the source automatically imports CPFS.


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: Description of data flow.

limit: The length is 2 to 128 English or Chinese characters. Start with a lowercase letter or Chinese, and you cannot start with http:// and https: //. It can contain numbers, half-horn colon (:), down line (_) or short lines (-).


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.