Class CfnAccessPoint.PolicyStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3objectlambda.CfnAccessPoint.PolicyStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint.PolicyStatusProperty>
- Enclosing interface:
CfnAccessPoint.PolicyStatusProperty
@Stability(Stable)
public static final class CfnAccessPoint.PolicyStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint.PolicyStatusProperty>
A builder for
CfnAccessPoint.PolicyStatusProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAccessPoint.PolicyStatusProperty.getIsPublic()
isPublic
(IResolvable isPublic) Sets the value ofCfnAccessPoint.PolicyStatusProperty.getIsPublic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isPublic
Sets the value ofCfnAccessPoint.PolicyStatusProperty.getIsPublic()
- Parameters:
isPublic
- Specifies whether the Object lambda Access Point Policy is Public or not. Object lambda Access Points are private by default.- Returns:
this
-
isPublic
@Stability(Stable) public CfnAccessPoint.PolicyStatusProperty.Builder isPublic(IResolvable isPublic) Sets the value ofCfnAccessPoint.PolicyStatusProperty.getIsPublic()
- Parameters:
isPublic
- Specifies whether the Object lambda Access Point Policy is Public or not. Object lambda Access Points are private by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint.PolicyStatusProperty>
- Returns:
- a new instance of
CfnAccessPoint.PolicyStatusProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-