Class CfnFunctionDefinition.RunAsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnFunctionDefinition.RunAsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinition.RunAsProperty>
- Enclosing interface:
- CfnFunctionDefinition.RunAsProperty
@Stability(Stable)
public static final class CfnFunctionDefinition.RunAsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinition.RunAsProperty>
A builder for
CfnFunctionDefinition.RunAsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionDefinition.RunAsProperty.getGid()Sets the value ofCfnFunctionDefinition.RunAsProperty.getUid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gid
Sets the value ofCfnFunctionDefinition.RunAsProperty.getGid()- Parameters:
gid- The group ID whose permissions are used to run the Lambda function. You can use thegetent groupcommand on your core device to look up the group ID.- Returns:
this
-
uid
Sets the value ofCfnFunctionDefinition.RunAsProperty.getUid()- Parameters:
uid- The user ID whose permissions are used to run the Lambda function. You can use thegetent passwdcommand on your core device to look up the user ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinition.RunAsProperty>- Returns:
- a new instance of
CfnFunctionDefinition.RunAsProperty - Throws:
NullPointerException- if any required attribute was not provided
-