FileSystemProps
Properties for defining a FileSystem.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dfs-filesystem
Initializer
import com.aliyun.ros.cdk.dfs.FileSystemProps;
FileSystemProps.builder()
.protocolType(java.lang.String)
.protocolType(IResolvable)
.spaceCapacity(java.lang.Number)
.spaceCapacity(IResolvable)
.storageType(java.lang.String)
.storageType(IResolvable)
.zoneId(java.lang.String)
.zoneId(IResolvable)
// .dataRedundancyType(java.lang.String)
// .dataRedundancyType(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .fileSystemName(java.lang.String)
// .fileSystemName(IResolvable)
// .partitionNumber(java.lang.Number)
// .partitionNumber(IResolvable)
// .provisionedThroughputInMiBps(java.lang.Number)
// .provisionedThroughputInMiBps(IResolvable)
// .storageSetName(java.lang.String)
// .storageSetName(IResolvable)
// .throughputMode(java.lang.String)
// .throughputMode(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
protocolType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property protocolType: Protocol type, only support HDFS(HadoopFileSystem). |
spaceCapacity | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property spaceCapacity: Capacity of the file system. |
storageType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property storageType: Type of storage media. |
zoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property zoneId: zone id. |
dataRedundancyType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dataRedundancyType: Data redundancy mode of the file system. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the file system. |
fileSystemName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property fileSystemName: File system name. |
partitionNumber | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property partitionNumber: The reserved parameters. |
provisionedThroughputInMiBps | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property provisionedThroughputInMiBps: Preset throughput. |
storageSetName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property storageSetName: The reserved parameters. |
throughputMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property throughputMode: Throughput mode Values: Standard(default): standard throughputProvisioned: preset throughput. |
protocolTypeRequired
public java.lang.Object getProtocolType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protocolType: Protocol type, only support HDFS(HadoopFileSystem).
spaceCapacityRequired
public java.lang.Object getSpaceCapacity();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property spaceCapacity: Capacity of the file system.
When the actual storage data size reaches the file system capacity, no further data can be written. Unit: GiB
storageTypeRequired
public java.lang.Object getStorageType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property storageType: Type of storage media.
Values: STANDARD (default) : standard type. PERFORMANCE: performance type.
zoneIdRequired
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: zone id.
dataRedundancyTypeOptional
public java.lang.Object getDataRedundancyType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataRedundancyType: Data redundancy mode of the file system.
Valid values:
- LRS (default): locally redundant storage
- ZRS: zone-redundant storage. When ZRS is selected, the zoneId parameter must be a string containing a list of multiple zone IDs for zone-redundant deployment, for example,
zoneId1,zoneId2.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the file system.
fileSystemNameOptional
public java.lang.Object getFileSystemName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property fileSystemName: File system name.
The naming convention is as follows:
- Length must be 6 to 64 characters.
- Must be globally unique and cannot be an empty string.
- Supports English letters and can contain digits, underscores (_), and hyphens (-).
partitionNumberOptional
public java.lang.Object getPartitionNumber();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property partitionNumber: The reserved parameters.
provisionedThroughputInMiBpsOptional
public java.lang.Object getProvisionedThroughputInMiBps();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property provisionedThroughputInMiBps: Preset throughput.
This parameter is required when the ThroughputMode parameter is set to Provisioned. Unit: MB/s Valid values: 1 to 5120
storageSetNameOptional
public java.lang.Object getStorageSetName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property storageSetName: The reserved parameters.
throughputModeOptional
public java.lang.Object getThroughputMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property throughputMode: Throughput mode Values: Standard(default): standard throughputProvisioned: preset throughput.