Interface EventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventDetails.Builder,
,EventDetails> SdkBuilder<EventDetails.Builder,
,EventDetails> SdkPojo
- Enclosing class:
EventDetails
public static interface EventDetails.Builder
extends SdkPojo, CopyableBuilder<EventDetails.Builder,EventDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventDetails.Builder
event
(Consumer<Event.Builder> event) Summary information about the event.Summary information about the event.default EventDetails.Builder
eventDescription
(Consumer<EventDescription.Builder> eventDescription) The most recent description of the event.eventDescription
(EventDescription eventDescription) The most recent description of the event.eventMetadata
(Map<String, String> eventMetadata) Additional metadata about the event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
event
Summary information about the event.
- Parameters:
event
- Summary information about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
Summary information about the event.
This is a convenience method that creates an instance of theEvent.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevent(Event)
.- Parameters:
event
- a consumer that will call methods onEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventDescription
The most recent description of the event.
- Parameters:
eventDescription
- The most recent description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDescription
The most recent description of the event.
This is a convenience method that creates an instance of theEventDescription.Builder
avoiding the need to create one manually viaEventDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventDescription(EventDescription)
.- Parameters:
eventDescription
- a consumer that will call methods onEventDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventMetadata
Additional metadata about the event.
- Parameters:
eventMetadata
- Additional metadata about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-