Class CfnFunctionDefinition.DefaultConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnFunctionDefinition.DefaultConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinition.DefaultConfigProperty>
- Enclosing interface:
CfnFunctionDefinition.DefaultConfigProperty
@Stability(Stable)
public static final class CfnFunctionDefinition.DefaultConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinition.DefaultConfigProperty>
A builder for
CfnFunctionDefinition.DefaultConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.execution(IResolvable execution) Sets the value ofCfnFunctionDefinition.DefaultConfigProperty.getExecution()execution(CfnFunctionDefinition.ExecutionProperty execution) Sets the value ofCfnFunctionDefinition.DefaultConfigProperty.getExecution()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
execution
@Stability(Stable) public CfnFunctionDefinition.DefaultConfigProperty.Builder execution(IResolvable execution) Sets the value ofCfnFunctionDefinition.DefaultConfigProperty.getExecution()- Parameters:
execution- Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core. This parameter is required.- Returns:
this
-
execution
@Stability(Stable) public CfnFunctionDefinition.DefaultConfigProperty.Builder execution(CfnFunctionDefinition.ExecutionProperty execution) Sets the value ofCfnFunctionDefinition.DefaultConfigProperty.getExecution()- Parameters:
execution- Configuration settings for the Lambda execution environment on the AWS IoT Greengrass core. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinition.DefaultConfigProperty>- Returns:
- a new instance of
CfnFunctionDefinition.DefaultConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-