Class CfnAccessPointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3outposts.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()build()Builds the configured instance.Sets the value ofCfnAccessPointMixinProps.getName()Sets the value ofCfnAccessPointMixinProps.getPolicy()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 Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.- Returns:
this
-
name
Sets the value ofCfnAccessPointMixinProps.getName()- Parameters:
name- The name of this access point.- Returns:
this
-
policy
Sets the value ofCfnAccessPointMixinProps.getPolicy()- Parameters:
policy- The access point policy associated with this access point.- 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
-