Package com.pulumi.alicloud.nas.inputs
Class AccessRuleState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.nas.inputs.AccessRuleState.Builder
-
- Enclosing class:
- AccessRuleState
public static final class AccessRuleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AccessRuleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessRuleState.Builder
accessGroupName(com.pulumi.core.Output<java.lang.String> accessGroupName)
AccessRuleState.Builder
accessGroupName(java.lang.String accessGroupName)
AccessRuleState.Builder
accessRuleId(com.pulumi.core.Output<java.lang.String> accessRuleId)
AccessRuleState.Builder
accessRuleId(java.lang.String accessRuleId)
AccessRuleState
build()
AccessRuleState.Builder
priority(com.pulumi.core.Output<java.lang.Integer> priority)
AccessRuleState.Builder
priority(java.lang.Integer priority)
AccessRuleState.Builder
rwAccessType(com.pulumi.core.Output<java.lang.String> rwAccessType)
AccessRuleState.Builder
rwAccessType(java.lang.String rwAccessType)
AccessRuleState.Builder
sourceCidrIp(com.pulumi.core.Output<java.lang.String> sourceCidrIp)
AccessRuleState.Builder
sourceCidrIp(java.lang.String sourceCidrIp)
AccessRuleState.Builder
userAccessType(com.pulumi.core.Output<java.lang.String> userAccessType)
AccessRuleState.Builder
userAccessType(java.lang.String userAccessType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccessRuleState defaults)
-
-
Method Detail
-
accessGroupName
public AccessRuleState.Builder accessGroupName(@Nullable com.pulumi.core.Output<java.lang.String> accessGroupName)
- Parameters:
accessGroupName
- Permission group name.- Returns:
- builder
-
accessGroupName
public AccessRuleState.Builder accessGroupName(java.lang.String accessGroupName)
- Parameters:
accessGroupName
- Permission group name.- Returns:
- builder
-
accessRuleId
public AccessRuleState.Builder accessRuleId(@Nullable com.pulumi.core.Output<java.lang.String> accessRuleId)
- Parameters:
accessRuleId
- The nas access rule ID.- Returns:
- builder
-
accessRuleId
public AccessRuleState.Builder accessRuleId(java.lang.String accessRuleId)
- Parameters:
accessRuleId
- The nas access rule ID.- Returns:
- builder
-
priority
public AccessRuleState.Builder priority(@Nullable com.pulumi.core.Output<java.lang.Integer> priority)
- Parameters:
priority
- Priority level. Range: 1-100. Default value: `1`.- Returns:
- builder
-
priority
public AccessRuleState.Builder priority(java.lang.Integer priority)
- Parameters:
priority
- Priority level. Range: 1-100. Default value: `1`.- Returns:
- builder
-
rwAccessType
public AccessRuleState.Builder rwAccessType(@Nullable com.pulumi.core.Output<java.lang.String> rwAccessType)
- Parameters:
rwAccessType
- Read-write permission type: `RDWR` (default), `RDONLY`.- Returns:
- builder
-
rwAccessType
public AccessRuleState.Builder rwAccessType(java.lang.String rwAccessType)
- Parameters:
rwAccessType
- Read-write permission type: `RDWR` (default), `RDONLY`.- Returns:
- builder
-
sourceCidrIp
public AccessRuleState.Builder sourceCidrIp(@Nullable com.pulumi.core.Output<java.lang.String> sourceCidrIp)
- Parameters:
sourceCidrIp
- Address or address segment.- Returns:
- builder
-
sourceCidrIp
public AccessRuleState.Builder sourceCidrIp(java.lang.String sourceCidrIp)
- Parameters:
sourceCidrIp
- Address or address segment.- Returns:
- builder
-
userAccessType
public AccessRuleState.Builder userAccessType(@Nullable com.pulumi.core.Output<java.lang.String> userAccessType)
- Parameters:
userAccessType
- User permission type: `no_squash` (default), `root_squash`, `all_squash`.- Returns:
- builder
-
userAccessType
public AccessRuleState.Builder userAccessType(java.lang.String userAccessType)
- Parameters:
userAccessType
- User permission type: `no_squash` (default), `root_squash`, `all_squash`.- Returns:
- builder
-
build
public AccessRuleState build()
-
-