Class CfnAccessPoint.PosixUserProperty.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnAccessPoint.PosixUserProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint.PosixUserProperty>
- Enclosing interface:
CfnAccessPoint.PosixUserProperty
@Stability(Stable)
public static final class CfnAccessPoint.PosixUserProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint.PosixUserProperty>
A builder for
CfnAccessPoint.PosixUserProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAccessPoint.PosixUserProperty.getGid()
secondaryGids
(List<String> secondaryGids) Sets the value ofCfnAccessPoint.PosixUserProperty.getSecondaryGids()
Sets the value ofCfnAccessPoint.PosixUserProperty.getUid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gid
Sets the value ofCfnAccessPoint.PosixUserProperty.getGid()
- Parameters:
gid
- The POSIX group ID used for all file system operations using this access point. This parameter is required.- Returns:
this
-
uid
Sets the value ofCfnAccessPoint.PosixUserProperty.getUid()
- Parameters:
uid
- The POSIX user ID used for all file system operations using this access point. This parameter is required.- Returns:
this
-
secondaryGids
@Stability(Stable) public CfnAccessPoint.PosixUserProperty.Builder secondaryGids(List<String> secondaryGids) Sets the value ofCfnAccessPoint.PosixUserProperty.getSecondaryGids()
- Parameters:
secondaryGids
- Secondary POSIX group IDs used for all file system operations using this access point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint.PosixUserProperty>
- Returns:
- a new instance of
CfnAccessPoint.PosixUserProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-