Class CfnVPCEndpointConnectionNotificationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCEndpointConnectionNotificationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointConnectionNotificationMixinProps>
- Enclosing interface:
CfnVPCEndpointConnectionNotificationMixinProps
@Stability(Stable)
public static final class CfnVPCEndpointConnectionNotificationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointConnectionNotificationMixinProps>
A builder for
CfnVPCEndpointConnectionNotificationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionEvents(List<String> connectionEvents) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getConnectionEvents()connectionNotificationArn(String connectionNotificationArn) connectionNotificationArn(ITopicRef connectionNotificationArn) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getServiceId()serviceId(IVPCEndpointServiceRef serviceId) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getServiceId()vpcEndpointId(String vpcEndpointId) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getVpcEndpointId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionEvents
@Stability(Stable) public CfnVPCEndpointConnectionNotificationMixinProps.Builder connectionEvents(List<String> connectionEvents) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getConnectionEvents()- Parameters:
connectionEvents- The endpoint events for which to receive notifications. Valid values areAccept,Connect,Delete, andReject.- Returns:
this
-
connectionNotificationArn
@Stability(Stable) public CfnVPCEndpointConnectionNotificationMixinProps.Builder connectionNotificationArn(String connectionNotificationArn) - Parameters:
connectionNotificationArn- The ARN of the SNS topic for the notifications.- Returns:
this
-
connectionNotificationArn
@Stability(Stable) public CfnVPCEndpointConnectionNotificationMixinProps.Builder connectionNotificationArn(ITopicRef connectionNotificationArn) - Parameters:
connectionNotificationArn- The ARN of the SNS topic for the notifications.- Returns:
this
-
serviceId
@Stability(Stable) public CfnVPCEndpointConnectionNotificationMixinProps.Builder serviceId(String serviceId) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getServiceId()- Parameters:
serviceId- The ID of the endpoint service.- Returns:
this
-
serviceId
@Stability(Stable) public CfnVPCEndpointConnectionNotificationMixinProps.Builder serviceId(IVPCEndpointServiceRef serviceId) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getServiceId()- Parameters:
serviceId- The ID of the endpoint service.- Returns:
this
-
vpcEndpointId
@Stability(Stable) public CfnVPCEndpointConnectionNotificationMixinProps.Builder vpcEndpointId(String vpcEndpointId) Sets the value ofCfnVPCEndpointConnectionNotificationMixinProps.getVpcEndpointId()- Parameters:
vpcEndpointId- The ID of the endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointConnectionNotificationMixinProps>- Returns:
- a new instance of
CfnVPCEndpointConnectionNotificationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-