public static interface EventDetails.Builder extends CopyableBuilder<EventDetails.Builder,EventDetails>
Modifier and Type | Method and Description |
---|---|
default EventDetails.Builder |
event(Consumer<Event.Builder> event)
Summary information about the event.
|
EventDetails.Builder |
event(Event event)
Summary information about the event.
|
default EventDetails.Builder |
eventDescription(Consumer<EventDescription.Builder> eventDescription)
The most recent description of the event.
|
EventDetails.Builder |
eventDescription(EventDescription eventDescription)
The most recent description of the event.
|
EventDetails.Builder |
eventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
|
copy
applyMutation, build
EventDetails.Builder event(Event event)
Summary information about the event.
event
- Summary information about the event.default EventDetails.Builder event(Consumer<Event.Builder> event)
Summary information about the event.
This is a convenience that creates an instance of theEvent.Builder
avoiding the need to create one
manually via Event.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to event(Event)
.event
- a consumer that will call methods on Event.Builder
event(Event)
EventDetails.Builder eventDescription(EventDescription eventDescription)
The most recent description of the event.
eventDescription
- The most recent description of the event.default EventDetails.Builder eventDescription(Consumer<EventDescription.Builder> eventDescription)
The most recent description of the event.
This is a convenience that creates an instance of theEventDescription.Builder
avoiding the need to
create one manually via EventDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to eventDescription(EventDescription)
.eventDescription
- a consumer that will call methods on EventDescription.Builder
eventDescription(EventDescription)
EventDetails.Builder eventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
eventMetadata
- Additional metadata about the event.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.