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