public static final class CfnAccessPointProps.Builder
extends java.lang.Object
CfnAccessPointProps
Constructor and Description |
---|
Builder() |
public CfnAccessPointProps.Builder bucket(java.lang.String bucket)
CfnAccessPointProps.getBucket()
bucket
- The name of the bucket associated with this access point. This parameter is required.this
public CfnAccessPointProps.Builder bucketAccountId(java.lang.String bucketAccountId)
CfnAccessPointProps.getBucketAccountId()
bucketAccountId
- The AWS account ID associated with the S3 bucket associated with this access point.this
public CfnAccessPointProps.Builder name(java.lang.String name)
CfnAccessPointProps.getName()
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.this
public CfnAccessPointProps.Builder policy(java.lang.Object policy)
CfnAccessPointProps.getPolicy()
policy
- The access point policy associated with this access point.this
public CfnAccessPointProps.Builder policyStatus(java.lang.Object policyStatus)
CfnAccessPointProps.getPolicyStatus()
policyStatus
- The container element for a bucket's policy status.this
public CfnAccessPointProps.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration)
CfnAccessPointProps.getPublicAccessBlockConfiguration()
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 .this
public CfnAccessPointProps.Builder publicAccessBlockConfiguration(CfnAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration)
CfnAccessPointProps.getPublicAccessBlockConfiguration()
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 .this
public CfnAccessPointProps.Builder vpcConfiguration(IResolvable vpcConfiguration)
CfnAccessPointProps.getVpcConfiguration()
vpcConfiguration
- The Virtual Private Cloud (VPC) configuration for this access point, if one exists.this
public CfnAccessPointProps.Builder vpcConfiguration(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration)
CfnAccessPointProps.getVpcConfiguration()
vpcConfiguration
- The Virtual Private Cloud (VPC) configuration for this access point, if one exists.this
public CfnAccessPointProps build()
CfnAccessPointProps
java.lang.NullPointerException
- if any required attribute was not provided