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