Class VPCEndpointReference.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.VPCEndpointReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VPCEndpointReference>
- Enclosing interface:
VPCEndpointReference
@Stability(Stable)
public static final class VPCEndpointReference.Builder
extends Object
implements software.amazon.jsii.Builder<VPCEndpointReference>
A builder for
VPCEndpointReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.vpcEndpointId
(String vpcEndpointId) Sets the value ofVPCEndpointReference.getVpcEndpointId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcEndpointId
Sets the value ofVPCEndpointReference.getVpcEndpointId()
- Parameters:
vpcEndpointId
- The Id of the VPCEndpoint resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VPCEndpointReference>
- Returns:
- a new instance of
VPCEndpointReference
- Throws:
NullPointerException
- if any required attribute was not provided
-