Class FunctionAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.FunctionAttributes.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<FunctionAttributes>
- Enclosing interface:
- FunctionAttributes
@Stability(Stable)
public static final class FunctionAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<FunctionAttributes>
A builder for 
FunctionAttributes- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.functionArn(String functionArn) Sets the value ofFunctionAttributes.getFunctionArn()functionName(String functionName) Sets the value ofFunctionAttributes.getFunctionName()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
functionArnSets the value ofFunctionAttributes.getFunctionArn()- Parameters:
- functionArn- The ARN of the function. This parameter is required.
- Returns:
- this
 
- 
functionNameSets the value ofFunctionAttributes.getFunctionName()- Parameters:
- functionName- The name of the function. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<FunctionAttributes>
- Returns:
- a new instance of FunctionAttributes
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-