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