Class CfnFunctionDefinitionVersion.RunAsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.RunAsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinitionVersion.RunAsProperty>
- Enclosing interface:
CfnFunctionDefinitionVersion.RunAsProperty
@Stability(Stable)
public static final class CfnFunctionDefinitionVersion.RunAsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinitionVersion.RunAsProperty>
A builder for
CfnFunctionDefinitionVersion.RunAsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionDefinitionVersion.RunAsProperty.getGid()Sets the value ofCfnFunctionDefinitionVersion.RunAsProperty.getUid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gid
Sets the value ofCfnFunctionDefinitionVersion.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 ofCfnFunctionDefinitionVersion.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<CfnFunctionDefinitionVersion.RunAsProperty>- Returns:
- a new instance of
CfnFunctionDefinitionVersion.RunAsProperty - Throws:
NullPointerException- if any required attribute was not provided
-