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