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