Class CfnWebFunctionProps.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnWebFunctionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionProps>
- Enclosing interface:
CfnWebFunctionProps
@Stability(Stable)
public static final class CfnWebFunctionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionProps>
A builder for
CfnWebFunctionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionName(String functionName) Sets the value ofCfnWebFunctionProps.getFunctionName()Sets the value ofCfnWebFunctionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionName
Sets the value ofCfnWebFunctionProps.getFunctionName()- Parameters:
functionName- The name of the web function. This parameter is required. The name can contain letters, numbers, hyphens (-), and underscores (_), and cannot begin or end with a hyphen or an underscore. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.- Returns:
this
-
tags
Sets the value ofCfnWebFunctionProps.getTags()- Parameters:
tags- A list of tags to apply to the function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionProps>- Returns:
- a new instance of
CfnWebFunctionProps - Throws:
NullPointerException- if any required attribute was not provided
-