public static final class CfnVPCEndpointConnectionNotificationProps.Builder
extends java.lang.Object
CfnVPCEndpointConnectionNotificationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVPCEndpointConnectionNotificationProps |
build()
Builds the configured instance.
|
CfnVPCEndpointConnectionNotificationProps.Builder |
connectionEvents(java.util.List<java.lang.String> connectionEvents)
Sets the value of
CfnVPCEndpointConnectionNotificationProps.getConnectionEvents() |
CfnVPCEndpointConnectionNotificationProps.Builder |
connectionNotificationArn(java.lang.String connectionNotificationArn)
Sets the value of
CfnVPCEndpointConnectionNotificationProps.getConnectionNotificationArn() |
CfnVPCEndpointConnectionNotificationProps.Builder |
serviceId(java.lang.String serviceId)
Sets the value of
CfnVPCEndpointConnectionNotificationProps.getServiceId() |
CfnVPCEndpointConnectionNotificationProps.Builder |
vpcEndpointId(java.lang.String vpcEndpointId)
Sets the value of
CfnVPCEndpointConnectionNotificationProps.getVpcEndpointId() |
public CfnVPCEndpointConnectionNotificationProps.Builder connectionEvents(java.util.List<java.lang.String> connectionEvents)
CfnVPCEndpointConnectionNotificationProps.getConnectionEvents()
connectionEvents
- One or more endpoint events for which to receive notifications. This parameter is required.
Valid values are Accept
, Connect
, Delete
, and Reject
.this
public CfnVPCEndpointConnectionNotificationProps.Builder connectionNotificationArn(java.lang.String connectionNotificationArn)
CfnVPCEndpointConnectionNotificationProps.getConnectionNotificationArn()
connectionNotificationArn
- The ARN of the SNS topic for the notifications. This parameter is required.this
public CfnVPCEndpointConnectionNotificationProps.Builder serviceId(java.lang.String serviceId)
CfnVPCEndpointConnectionNotificationProps.getServiceId()
serviceId
- The ID of the endpoint service.this
public CfnVPCEndpointConnectionNotificationProps.Builder vpcEndpointId(java.lang.String vpcEndpointId)
CfnVPCEndpointConnectionNotificationProps.getVpcEndpointId()
vpcEndpointId
- The ID of the endpoint.this
public CfnVPCEndpointConnectionNotificationProps build()
CfnVPCEndpointConnectionNotificationProps
java.lang.NullPointerException
- if any required attribute was not provided