Class WebFunctionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.lambda.WebFunctionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WebFunctionReference>
- Enclosing interface:
WebFunctionReference
@Stability(Stable)
public static final class WebFunctionReference.Builder
extends Object
implements software.amazon.jsii.Builder<WebFunctionReference>
A builder for
WebFunctionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionArn(String functionArn) Sets the value ofWebFunctionReference.getFunctionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
Sets the value ofWebFunctionReference.getFunctionArn()- Parameters:
functionArn- The FunctionArn of the WebFunction resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WebFunctionReference>- Returns:
- a new instance of
WebFunctionReference - Throws:
NullPointerException- if any required attribute was not provided
-