@Generated(value="software.amazon.awssdk:codegen") public final class Event extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Event.Builder,Event>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Event.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Event.Builder |
builder() |
Instant |
date()
The date of the event.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
eventCategories()
The event categories available for the specified source type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEventCategories()
Returns true if the EventCategories 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() |
String |
message()
The event message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Event.Builder> |
serializableBuilderClass() |
String |
sourceIdentifier()
The identifier of an event source.
|
SourceType |
sourceType()
The type of AWS DMS resource that generates events.
|
String |
sourceTypeAsString()
The type of AWS DMS resource that generates events.
|
Event.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String sourceIdentifier()
The identifier of an event source.
public SourceType sourceType()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
If the service returns an enum value that is not available in the current SDK version, sourceType will
return SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceTypeAsString().
Valid values: replication-instance | endpoint | replication-task
SourceTypepublic String sourceTypeAsString()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
If the service returns an enum value that is not available in the current SDK version, sourceType will
return SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceTypeAsString().
Valid values: replication-instance | endpoint | replication-task
SourceTypepublic String message()
The event message.
public boolean hasEventCategories()
public List<String> eventCategories()
The event categories available for the specified source type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventCategories() to see if a value was sent in this field.
public Instant date()
The date of the event.
public Event.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Event.Builder,Event>public static Event.Builder builder()
public static Class<? extends Event.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.