Interface Event.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Event.Builder,Event>, SdkBuilder<Event.Builder,Event>, SdkPojo
Enclosing class:
Event

@Mutable @NotThreadSafe public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
  • Method Details

    • sourceIdentifier

      Event.Builder sourceIdentifier(String sourceIdentifier)

      The identifier of an event source.

      Parameters:
      sourceIdentifier - The identifier of an event source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceType

      Event.Builder sourceType(String sourceType)

      The type of DMS resource that generates events.

      Valid values: replication-instance | endpoint | replication-task

      Parameters:
      sourceType - The type of DMS resource that generates events.

      Valid values: replication-instance | endpoint | replication-task

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceType

      Event.Builder sourceType(SourceType sourceType)

      The type of DMS resource that generates events.

      Valid values: replication-instance | endpoint | replication-task

      Parameters:
      sourceType - The type of DMS resource that generates events.

      Valid values: replication-instance | endpoint | replication-task

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      Event.Builder message(String message)

      The event message.

      Parameters:
      message - The event message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventCategories

      Event.Builder eventCategories(Collection<String> eventCategories)

      The event categories available for the specified source type.

      Parameters:
      eventCategories - The event categories available for the specified source type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventCategories

      Event.Builder eventCategories(String... eventCategories)

      The event categories available for the specified source type.

      Parameters:
      eventCategories - The event categories available for the specified source type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • date

      Event.Builder date(Instant date)

      The date of the event.

      Parameters:
      date - The date of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.