@Generated(value="software.amazon.awssdk:codegen") public final class ConnectionNotification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectionNotification.Builder,ConnectionNotification>
Describes a connection notification for a VPC endpoint or VPC endpoint service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConnectionNotification.Builder |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String connectionNotificationId()
The ID of the notification.
public String serviceId()
The ID of the endpoint service.
public String vpcEndpointId()
The ID of the VPC endpoint.
public ConnectionNotificationType connectionNotificationType()
The type of notification.
If the service returns an enum value that is not available in the current SDK version,
connectionNotificationType will return ConnectionNotificationType.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from connectionNotificationTypeAsString().
ConnectionNotificationTypepublic String connectionNotificationTypeAsString()
The type of notification.
If the service returns an enum value that is not available in the current SDK version,
connectionNotificationType will return ConnectionNotificationType.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from connectionNotificationTypeAsString().
ConnectionNotificationTypepublic String connectionNotificationArn()
The ARN of the SNS topic for the notification.
public List<String> connectionEvents()
The events for the notification. Valid values are Accept, Connect, Delete,
and Reject.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Accept, Connect,
Delete, and Reject.public ConnectionNotificationState connectionNotificationState()
The state of the notification.
If the service returns an enum value that is not available in the current SDK version,
connectionNotificationState will return ConnectionNotificationState.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from connectionNotificationStateAsString().
ConnectionNotificationStatepublic String connectionNotificationStateAsString()
The state of the notification.
If the service returns an enum value that is not available in the current SDK version,
connectionNotificationState will return ConnectionNotificationState.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from connectionNotificationStateAsString().
ConnectionNotificationStatepublic ConnectionNotification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConnectionNotification.Builder,ConnectionNotification>public static ConnectionNotification.Builder builder()
public static Class<? extends ConnectionNotification.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.