Class CfnAccessPointProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnAccessPointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointProps>
- Enclosing interface:
CfnAccessPointProps
@Stability(Stable)
public static final class CfnAccessPointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointProps>
A builder for
CfnAccessPointProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAccessPointProps.getBucket()
build()
Builds the configured instance.Sets the value ofCfnAccessPointProps.getName()
Sets the value ofCfnAccessPointProps.getPolicy()
vpcConfiguration
(IResolvable vpcConfiguration) Sets the value ofCfnAccessPointProps.getVpcConfiguration()
vpcConfiguration
(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnAccessPointProps.getVpcConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnAccessPointProps.getBucket()
- Parameters:
bucket
- The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAccessPointProps.getName()
- Parameters:
name
- The name of this access point. This parameter is required.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnAccessPointProps.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnAccessPointProps.getVpcConfiguration()
- Parameters:
vpcConfiguration
- The virtual private cloud (VPC) configuration for this access point, if one exists. This parameter is required.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnAccessPointProps.Builder vpcConfiguration(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnAccessPointProps.getVpcConfiguration()
- Parameters:
vpcConfiguration
- The virtual private cloud (VPC) configuration for this access point, if one exists. This parameter is required.- Returns:
this
-
policy
Sets the value ofCfnAccessPointProps.getPolicy()
- Parameters:
policy
- The access point policy associated with this access point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPointProps>
- Returns:
- a new instance of
CfnAccessPointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-