Interface EventDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventDetails.Builder,,EventDetails> SdkBuilder<EventDetails.Builder,,EventDetails> SdkPojo
- Enclosing class:
EventDetails
@Mutable
@NotThreadSafe
public static interface EventDetails.Builder
extends SdkPojo, CopyableBuilder<EventDetails.Builder,EventDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventDetails.Builderevent(Consumer<Event.Builder> event) Summary information about the event.Summary information about the event.default EventDetails.BuildereventDescription(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaEvent.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEventDescription.builder().When the
Consumercompletes,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.
-