Class CfnAccessPoint.VpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.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
- If this field is specified, the access point will only allow connections from the specified VPC ID.- 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
-