@Generated(value="software.amazon.awssdk:codegen") public final class EventSubscription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventSubscription.Builder,EventSubscription>
This data type is used in the Subscription data type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventSubscription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventSubscription.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
InspectorEvent |
event()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
String |
eventAsString()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventSubscription.Builder> |
serializableBuilderClass() |
Instant |
subscribedAt()
The time at which SubscribeToEvent is called.
|
EventSubscription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InspectorEvent event()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
If the service returns an enum value that is not available in the current SDK version, event will return
InspectorEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
InspectorEventpublic final String eventAsString()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
If the service returns an enum value that is not available in the current SDK version, event will return
InspectorEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
InspectorEventpublic final Instant subscribedAt()
The time at which SubscribeToEvent is called.
public EventSubscription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventSubscription.Builder,EventSubscription>public static EventSubscription.Builder builder()
public static Class<? extends EventSubscription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.