Class CfnFunction.FunctionMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnFunction.FunctionMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.FunctionMetadataProperty>
- Enclosing interface:
CfnFunction.FunctionMetadataProperty
@Stability(Stable)
public static final class CfnFunction.FunctionMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.FunctionMetadataProperty>
A builder for
CfnFunction.FunctionMetadataProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.functionArn
(String functionArn) Sets the value ofCfnFunction.FunctionMetadataProperty.getFunctionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
@Stability(Stable) public CfnFunction.FunctionMetadataProperty.Builder functionArn(String functionArn) Sets the value ofCfnFunction.FunctionMetadataProperty.getFunctionArn()
- Parameters:
functionArn
- The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.FunctionMetadataProperty>
- Returns:
- a new instance of
CfnFunction.FunctionMetadataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-