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