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