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