Class CfnAccessPointPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3objectlambda.CfnAccessPointPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointPolicyProps>
- Enclosing interface:
- CfnAccessPointPolicyProps
@Stability(Stable)
public static final class CfnAccessPointPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointPolicyProps>
A builder for
CfnAccessPointPolicyProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.objectLambdaAccessPoint
(String objectLambdaAccessPoint) Sets the value ofCfnAccessPointPolicyProps.getObjectLambdaAccessPoint()
policyDocument
(Object policyDocument) Sets the value ofCfnAccessPointPolicyProps.getPolicyDocument()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
objectLambdaAccessPoint
@Stability(Stable) public CfnAccessPointPolicyProps.Builder objectLambdaAccessPoint(String objectLambdaAccessPoint) Sets the value ofCfnAccessPointPolicyProps.getObjectLambdaAccessPoint()
- Parameters:
objectLambdaAccessPoint
- An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket. This parameter is required.- Returns:
this
-
policyDocument
Sets the value ofCfnAccessPointPolicyProps.getPolicyDocument()
- Parameters:
policyDocument
- Object Lambda Access Point resource policy document. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPointPolicyProps>
- Returns:
- a new instance of
CfnAccessPointPolicyProps
- Throws:
NullPointerException
- if any required attribute was not provided
-