Class CfnFunctionDefinitionVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnFunctionDefinitionVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinitionVersionMixinProps>
- Enclosing interface:
CfnFunctionDefinitionVersionMixinProps
@Stability(Stable)
public static final class CfnFunctionDefinitionVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinitionVersionMixinProps>
A builder for
CfnFunctionDefinitionVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultConfig(IResolvable defaultConfig) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getDefaultConfig()Sets the value ofCfnFunctionDefinitionVersionMixinProps.getDefaultConfig()functionDefinitionId(String functionDefinitionId) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getFunctionDefinitionId()Sets the value ofCfnFunctionDefinitionVersionMixinProps.getFunctions()functions(IResolvable functions) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getFunctions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultConfig
@Stability(Stable) public CfnFunctionDefinitionVersionMixinProps.Builder defaultConfig(IResolvable defaultConfig) Sets the value ofCfnFunctionDefinitionVersionMixinProps.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 CfnFunctionDefinitionVersionMixinProps.Builder defaultConfig(CfnFunctionDefinitionVersionPropsMixin.DefaultConfigProperty defaultConfig) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getDefaultConfig()- Parameters:
defaultConfig- The default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings.- Returns:
this
-
functionDefinitionId
@Stability(Stable) public CfnFunctionDefinitionVersionMixinProps.Builder functionDefinitionId(String functionDefinitionId) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getFunctionDefinitionId()- Parameters:
functionDefinitionId- The ID of the function definition associated with this version. This value is a GUID.- Returns:
this
-
functions
@Stability(Stable) public CfnFunctionDefinitionVersionMixinProps.Builder functions(IResolvable functions) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getFunctions()- Parameters:
functions- The functions in this version.- Returns:
this
-
functions
@Stability(Stable) public CfnFunctionDefinitionVersionMixinProps.Builder functions(List<? extends Object> functions) Sets the value ofCfnFunctionDefinitionVersionMixinProps.getFunctions()- Parameters:
functions- The functions in this version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinitionVersionMixinProps>- Returns:
- a new instance of
CfnFunctionDefinitionVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-