@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Event extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
Event |
clone() |
boolean |
equals(Object obj) |
Date |
getDate()
The date of the event.
|
List<String> |
getEventCategories()
The event categories available for the specified source type.
|
String |
getMessage()
The event message.
|
String |
getSourceIdentifier()
The identifier of the event source.
|
String |
getSourceType()
The type of AWS DMS resource that generates events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDate(Date date)
The date of the event.
|
void |
setEventCategories(Collection<String> eventCategories)
The event categories available for the specified source type.
|
void |
setMessage(String message)
The event message.
|
void |
setSourceIdentifier(String sourceIdentifier)
The identifier of the event source.
|
void |
setSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
|
void |
setSourceType(String sourceType)
The type of AWS DMS resource that generates events.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Event |
withDate(Date date)
The date of the event.
|
Event |
withEventCategories(Collection<String> eventCategories)
The event categories available for the specified source type.
|
Event |
withEventCategories(String... eventCategories)
The event categories available for the specified source type.
|
Event |
withMessage(String message)
The event message.
|
Event |
withSourceIdentifier(String sourceIdentifier)
The identifier of the event source.
|
Event |
withSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
|
Event |
withSourceType(String sourceType)
The type of AWS DMS resource that generates events.
|
public void setSourceIdentifier(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
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
public String getSourceIdentifier()
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 Event withSourceIdentifier(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
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
public void setSourceType(String sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
SourceType
public String getSourceType()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
Valid values: replication-instance | endpoint | migration-task
SourceType
public Event withSourceType(String sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
SourceType
public void setSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
SourceType
public Event withSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | endpoint | migration-task
SourceType
public void setMessage(String message)
The event message.
message
- The event message.public String getMessage()
The event message.
public Event withMessage(String message)
The event message.
message
- The event message.public List<String> getEventCategories()
The event categories available for the specified source type.
public void setEventCategories(Collection<String> eventCategories)
The event categories available for the specified source type.
eventCategories
- The event categories available for the specified source type.public Event withEventCategories(String... eventCategories)
The event categories available for the specified source type.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategories(java.util.Collection)
or withEventCategories(java.util.Collection)
if you
want to override the existing values.
eventCategories
- The event categories available for the specified source type.public Event withEventCategories(Collection<String> eventCategories)
The event categories available for the specified source type.
eventCategories
- The event categories available for the specified source type.public void setDate(Date date)
The date of the event.
date
- The date of the event.public Date getDate()
The date of the event.
public Event withDate(Date date)
The date of the event.
date
- The date of the event.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.