Class CfnFunctionDefinitionVersion.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinitionVersion>
- Enclosing class:
CfnFunctionDefinitionVersion
@Stability(Stable)
public static final class CfnFunctionDefinitionVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinitionVersion>
A fluent builder for
CfnFunctionDefinitionVersion
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultConfig
(IResolvable defaultConfig) The default configuration that applies to all Lambda functions in the group.defaultConfig
(CfnFunctionDefinitionVersion.DefaultConfigProperty defaultConfig) The default configuration that applies to all Lambda functions in the group.functionDefinitionId
(String functionDefinitionId) The ID of the function definition associated with this version.The functions in this version.functions
(IResolvable functions) The functions in this version.
-
Method Details
-
create
@Stability(Stable) public static CfnFunctionDefinitionVersion.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFunctionDefinitionVersion.Builder
.
-
functionDefinitionId
@Stability(Stable) public CfnFunctionDefinitionVersion.Builder functionDefinitionId(String functionDefinitionId) The ID of the function definition associated with this version.This value is a GUID.
- Parameters:
functionDefinitionId
- The ID of the function definition associated with this version. This parameter is required.- Returns:
this
-
functions
The functions in this version.- Parameters:
functions
- The functions in this version. This parameter is required.- Returns:
this
-
functions
@Stability(Stable) public CfnFunctionDefinitionVersion.Builder functions(List<? extends Object> functions) The functions in this version.- Parameters:
functions
- The functions in this version. This parameter is required.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnFunctionDefinitionVersion.Builder defaultConfig(IResolvable defaultConfig) The default configuration that applies to all Lambda functions in the group.Individual Lambda functions can override these settings.
- Parameters:
defaultConfig
- The default configuration that applies to all Lambda functions in the group. This parameter is required.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnFunctionDefinitionVersion.Builder defaultConfig(CfnFunctionDefinitionVersion.DefaultConfigProperty defaultConfig) The default configuration that applies to all Lambda functions in the group.Individual Lambda functions can override these settings.
- Parameters:
defaultConfig
- The default configuration that applies to all Lambda functions in the group. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinitionVersion>
- Returns:
- a newly built instance of
CfnFunctionDefinitionVersion
.
-