@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConnectionNotification.Builder> |
serializableBuilderClass() |
String |
serviceId()
The ID of the endpoint service.
|
ConnectionNotification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcEndpointId()
The ID of the VPC endpoint.
|
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 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()
.
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConnectionNotification.Builder,ConnectionNotification>
public static ConnectionNotification.Builder builder()
public static Class<? extends ConnectionNotification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.