@Generated(value="software.amazon.awssdk:codegen") public final class Event extends Object implements StructuredPojo, 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) |
List<String> |
eventCategories()
The event categories available for the specified source type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The event message.
|
static Class<? extends Event.Builder> |
serializableBuilderClass() |
String |
sourceIdentifier()
The identifier of the 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String sourceIdentifier()
The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
Constraints:replication instance, endpoint, migration task
Constraints:replication instance, endpoint, migration task
public SourceType sourceType()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-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 | migration-task
SourceType
public String sourceTypeAsString()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-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 | migration-task
SourceType
public String message()
The event message.
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.
public Instant date()
The date of the event.
public Event.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Event.Builder,Event>
public static Event.Builder builder()
public static Class<? extends Event.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.