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 group
command 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 passwd
command on your core device to look up the user ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinitionVersion.RunAsProperty>
- Returns:
- a new instance of
CfnFunctionDefinitionVersion.RunAsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-