Class CfnWebFunctionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionMixinProps>
- Enclosing interface:
CfnWebFunctionMixinProps
@Stability(Stable)
public static final class CfnWebFunctionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionMixinProps>
A builder for
CfnWebFunctionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionName(String functionName) Sets the value ofCfnWebFunctionMixinProps.getFunctionName()Sets the value ofCfnWebFunctionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionName
Sets the value ofCfnWebFunctionMixinProps.getFunctionName()- Parameters:
functionName- The name of the web function. 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 ofCfnWebFunctionMixinProps.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<CfnWebFunctionMixinProps>- Returns:
- a new instance of
CfnWebFunctionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-