@Generated(value="software.amazon.awssdk:codegen") public class EventSubscription extends Object implements StructuredPojo, 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) |
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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends EventSubscription.Builder> |
serializableBuilderClass() |
Instant |
subscribedAt()
The time at which SubscribeToEvent is called.
|
EventSubscription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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 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 Instant subscribedAt()
The time at which SubscribeToEvent is called.
public EventSubscription.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<EventSubscription.Builder,EventSubscription>public static EventSubscription.Builder builder()
public static Class<? extends EventSubscription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.