Skip to content

ProtocolServiceProps

Properties for defining a ProtocolService.

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

Initializer

import com.aliyun.ros.cdk.nas.ProtocolServiceProps;
ProtocolServiceProps.builder()
    .fileSystemId(java.lang.String)
    .fileSystemId(IResolvable)
    .protocolSpec(java.lang.String)
    .protocolSpec(IResolvable)
    .protocolType(java.lang.String)
    .protocolType(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .throughput(java.lang.Number)
//  .throughput(IResolvable)
    .build();

Properties

Name Type Description
fileSystemId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fileSystemId: File system ID.
protocolSpec java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property protocolSpec: The spec of protocol service.
protocolType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property protocolType: The protocol type of the protocol service.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The protocol service VPCID needs to be consistent with the file system VPC.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: Agreement service vswitchid.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the protocol service.
throughput java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property throughput: The bandwidth of the agreement service.

fileSystemIdRequired

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

Property fileSystemId: File system ID.


protocolSpecRequired

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

Property protocolSpec: The spec of protocol service.

Default: General. Values: General


protocolTypeRequired

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

Property protocolType: The protocol type of the protocol service.

Valid value: NFS (default). Only NFSv3 is supported.


vpcIdRequired

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

Property vpcId: The protocol service VPCID needs to be consistent with the file system VPC.


vSwitchIdRequired

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

Property vSwitchId: Agreement service vswitchid.


descriptionOptional

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

Property description: The description of the protocol service.

The name of the protocol service appears in the console. 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 (-).

throughputOptional

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

Property throughput: The bandwidth of the agreement service.

Unit: MB/S.