Class CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinition.FunctionDefinitionVersionProperty>
- Enclosing interface:
CfnFunctionDefinition.FunctionDefinitionVersionProperty
@Stability(Stable)
public static final class CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinition.FunctionDefinitionVersionProperty>
A builder for
CfnFunctionDefinition.FunctionDefinitionVersionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultConfig(IResolvable defaultConfig) defaultConfig(CfnFunctionDefinition.DefaultConfigProperty defaultConfig) Sets the value ofCfnFunctionDefinition.FunctionDefinitionVersionProperty.getFunctions()functions(IResolvable functions) Sets the value ofCfnFunctionDefinition.FunctionDefinitionVersionProperty.getFunctions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functions
@Stability(Stable) public CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder functions(IResolvable functions) Sets the value ofCfnFunctionDefinition.FunctionDefinitionVersionProperty.getFunctions()- Parameters:
functions- The functions in this version. This parameter is required.- Returns:
this
-
functions
@Stability(Stable) public CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder functions(List<? extends Object> functions) Sets the value ofCfnFunctionDefinition.FunctionDefinitionVersionProperty.getFunctions()- Parameters:
functions- The functions in this version. This parameter is required.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder defaultConfig(IResolvable defaultConfig) - Parameters:
defaultConfig- The default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings.- Returns:
this
-
defaultConfig
@Stability(Stable) public CfnFunctionDefinition.FunctionDefinitionVersionProperty.Builder defaultConfig(CfnFunctionDefinition.DefaultConfigProperty defaultConfig) - Parameters:
defaultConfig- The default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinition.FunctionDefinitionVersionProperty>- Returns:
- a new instance of
CfnFunctionDefinition.FunctionDefinitionVersionProperty - Throws:
NullPointerException- if any required attribute was not provided
-