@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, wait
copy
public 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()
.
ConnectionNotificationType
public 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()
.
ConnectionNotificationType
public String connectionNotificationArn()
The ARN of the SNS topic for the notification.
public boolean hasConnectionEvents()
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.
You can use hasConnectionEvents()
to see if a value was sent in this field.
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()
.
ConnectionNotificationState
public 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()
.
ConnectionNotificationState
public 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 SdkPojo
public String toString()
Copyright © 2020. All rights reserved.