Skip to content

AccessRuleProps

Properties for defining a AccessRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dfs-accessrule

Initializer

import com.aliyun.ros.cdk.dfs.AccessRuleProps;
AccessRuleProps.builder()
    .accessGroupId(java.lang.String)
    .accessGroupId(IResolvable)
    .networkSegment(java.lang.String)
    .networkSegment(IResolvable)
    .rwAccessType(java.lang.String)
    .rwAccessType(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .priority(java.lang.Number)
//  .priority(IResolvable)
    .build();

Properties

Name Type Description
accessGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessGroupId: The resource ID of Access Group.
networkSegment java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property networkSegment: The NetworkSegment of the Access Rule.
rwAccessType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property rwAccessType: The read\/write permission of the authorized object on the file system.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The Description of the Access Rule.
priority java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property priority: The Priority of the Access Rule.

accessGroupIdRequired

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

Property accessGroupId: The resource ID of Access Group.


networkSegmentRequired

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

Property networkSegment: The NetworkSegment of the Access Rule.


rwAccessTypeRequired

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

Property rwAccessType: The read\/write permission of the authorized object on the file system.

Values: RDWR (default) : read and write. RDONLY: read-only


descriptionOptional

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

Property description: The Description of the Access Rule.


priorityOptional

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

Property priority: The Priority of the Access Rule.

Valid values: 1 to 100. NOTE: When multiple rules are matched by the same authorized object, the high-priority rule takes effect. 1 is the highest priority.