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