Class CfnFunctionDefinitionPropsMixin.FunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnFunctionDefinitionPropsMixin.FunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinitionPropsMixin.FunctionProperty>
- Enclosing interface:
CfnFunctionDefinitionPropsMixin.FunctionProperty
@Stability(Stable)
public static final class CfnFunctionDefinitionPropsMixin.FunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionDefinitionPropsMixin.FunctionProperty>
A builder for
CfnFunctionDefinitionPropsMixin.FunctionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionArn(String functionArn) Sets the value ofCfnFunctionDefinitionPropsMixin.FunctionProperty.getFunctionArn()functionConfiguration(CfnFunctionDefinitionPropsMixin.FunctionConfigurationProperty functionConfiguration) functionConfiguration(IResolvable functionConfiguration) Sets the value ofCfnFunctionDefinitionPropsMixin.FunctionProperty.getId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
@Stability(Stable) public CfnFunctionDefinitionPropsMixin.FunctionProperty.Builder functionArn(String functionArn) Sets the value ofCfnFunctionDefinitionPropsMixin.FunctionProperty.getFunctionArn()- Parameters:
functionArn- The Amazon Resource Name (ARN) of the alias (recommended) or version of the referenced Lambda function.- Returns:
this
-
functionConfiguration
@Stability(Stable) public CfnFunctionDefinitionPropsMixin.FunctionProperty.Builder functionConfiguration(IResolvable functionConfiguration) - Parameters:
functionConfiguration- The group-specific settings of the Lambda function. These settings configure the function's behavior in the Greengrass group.- Returns:
this
-
functionConfiguration
@Stability(Stable) public CfnFunctionDefinitionPropsMixin.FunctionProperty.Builder functionConfiguration(CfnFunctionDefinitionPropsMixin.FunctionConfigurationProperty functionConfiguration) - Parameters:
functionConfiguration- The group-specific settings of the Lambda function. These settings configure the function's behavior in the Greengrass group.- Returns:
this
-
id
Sets the value ofCfnFunctionDefinitionPropsMixin.FunctionProperty.getId()- Parameters:
id- A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Maximum length is 128 characters with pattern[a-zA-Z0-9:_-]+.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinitionPropsMixin.FunctionProperty>- Returns:
- a new instance of
CfnFunctionDefinitionPropsMixin.FunctionProperty - Throws:
NullPointerException- if any required attribute was not provided
-