Class CfnAccessPoint.VpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnAccessPoint.VpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint.VpcConfigurationProperty>
- Enclosing interface:
CfnAccessPoint.VpcConfigurationProperty
@Stability(Stable)
public static final class CfnAccessPoint.VpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint.VpcConfigurationProperty>
A builder for
CfnAccessPoint.VpcConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAccessPoint.VpcConfigurationProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcId
Sets the value ofCfnAccessPoint.VpcConfigurationProperty.getVpcId()
- Parameters:
vpcId
- Virtual Private Cloud (VPC) Id from which AccessPoint will allow requests.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint.VpcConfigurationProperty>
- Returns:
- a new instance of
CfnAccessPoint.VpcConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-