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