@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 |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionNotification.Builder |
builder() |
List<String> |
connectionEvents()
The events for the notification.
|
String |
connectionNotificationArn()
The ARN of the SNS topic for the notification.
|
String |
connectionNotificationId()
The ID of the notification.
|
ConnectionNotificationState |
connectionNotificationState()
The state of the notification.
|
String |
connectionNotificationStateAsString()
The state of the notification.
|
ConnectionNotificationType |
connectionNotificationType()
The type of notification.
|
String |
connectionNotificationTypeAsString()
The type of notification.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasConnectionEvents()
Returns true if the ConnectionEvents property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConnectionNotification.Builder> |
serializableBuilderClass() |
String |
serviceId()
The ID of the endpoint service.
|
ConnectionNotification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcEndpointId()
The ID of the VPC endpoint.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectionNotificationId()
The ID of the notification.
public final String serviceId()
The ID of the endpoint service.
public final String vpcEndpointId()
The ID of the VPC endpoint.
public final 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 final 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 final String connectionNotificationArn()
The ARN of the SNS topic for the notification.
public final boolean hasConnectionEvents()
public final 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.
You can use hasConnectionEvents() to see if a value was sent in this field.
Accept, Connect,
Delete, and Reject.public final 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.