Class CfnAccessPointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnAccessPointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointMixinProps>
- Enclosing interface:
CfnAccessPointMixinProps
@Stability(Stable)
public static final class CfnAccessPointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointMixinProps>
A builder for
CfnAccessPointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAccessPointMixinProps.getBucket()bucket(IBucketRef bucket) Sets the value ofCfnAccessPointMixinProps.getBucket()bucketAccountId(String bucketAccountId) Sets the value ofCfnAccessPointMixinProps.getBucketAccountId()build()Builds the configured instance.Sets the value ofCfnAccessPointMixinProps.getName()Sets the value ofCfnAccessPointMixinProps.getPolicy()publicAccessBlockConfiguration(CfnAccessPointPropsMixin.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) Sets the value ofCfnAccessPointMixinProps.getPublicAccessBlockConfiguration()publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) Sets the value ofCfnAccessPointMixinProps.getPublicAccessBlockConfiguration()Sets the value ofCfnAccessPointMixinProps.getTags()vpcConfiguration(CfnAccessPointPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnAccessPointMixinProps.getVpcConfiguration()vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnAccessPointMixinProps.getVpcConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnAccessPointMixinProps.getBucket()- Parameters:
bucket- The name of the bucket associated with this access point.- Returns:
this
-
bucket
Sets the value ofCfnAccessPointMixinProps.getBucket()- Parameters:
bucket- The name of the bucket associated with this access point.- Returns:
this
-
bucketAccountId
Sets the value ofCfnAccessPointMixinProps.getBucketAccountId()- Parameters:
bucketAccountId- The AWS account ID associated with the S3 bucket associated with this access point.- Returns:
this
-
name
Sets the value ofCfnAccessPointMixinProps.getName()- Parameters:
name- The name of this access point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.- Returns:
this
-
policy
Sets the value ofCfnAccessPointMixinProps.getPolicy()- Parameters:
policy- The access point policy associated with this access point.- Returns:
this
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnAccessPointMixinProps.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) Sets the value ofCfnAccessPointMixinProps.getPublicAccessBlockConfiguration()- Parameters:
publicAccessBlockConfiguration- The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide .- Returns:
this
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnAccessPointMixinProps.Builder publicAccessBlockConfiguration(CfnAccessPointPropsMixin.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) Sets the value ofCfnAccessPointMixinProps.getPublicAccessBlockConfiguration()- Parameters:
publicAccessBlockConfiguration- The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide .- Returns:
this
-
tags
Sets the value ofCfnAccessPointMixinProps.getTags()- Parameters:
tags- An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see Using tags for attribute-based access control (ABAC) .- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnAccessPointMixinProps.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnAccessPointMixinProps.getVpcConfiguration()- Parameters:
vpcConfiguration- The Virtual Private Cloud (VPC) configuration for this access point, if one exists.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnAccessPointMixinProps.Builder vpcConfiguration(CfnAccessPointPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnAccessPointMixinProps.getVpcConfiguration()- Parameters:
vpcConfiguration- The Virtual Private Cloud (VPC) configuration for this access point, if one exists.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPointMixinProps>- Returns:
- a new instance of
CfnAccessPointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-