Interface EventSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventSummary.Builder,
,EventSummary> SdkBuilder<EventSummary.Builder,
,EventSummary> SdkPojo
- Enclosing class:
EventSummary
@Mutable
@NotThreadSafe
public static interface EventSummary.Builder
extends SdkPojo, CopyableBuilder<EventSummary.Builder,EventSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe timeline event ID.eventReferences
(Collection<EventReference> eventReferences) A list of references in aTimelineEvent
.eventReferences
(Consumer<EventReference.Builder>... eventReferences) A list of references in aTimelineEvent
.eventReferences
(EventReference... eventReferences) A list of references in aTimelineEvent
.The timestamp for when the event occurred.The type of event.eventUpdatedTime
(Instant eventUpdatedTime) The timestamp for when the timeline event was last updated.incidentRecordArn
(String incidentRecordArn) The Amazon Resource Name (ARN) of the incident that the event happened during.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, sdkFieldNameToField, sdkFields
-
Method Details
-
eventId
The timeline event ID.
- Parameters:
eventId
- The timeline event ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventReferences
A list of references in a
TimelineEvent
.- Parameters:
eventReferences
- A list of references in aTimelineEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventReferences
A list of references in a
TimelineEvent
.- Parameters:
eventReferences
- A list of references in aTimelineEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventReferences
A list of references in a
This is a convenience method that creates an instance of theTimelineEvent
.EventReference.Builder
avoiding the need to create one manually viaEventReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventReferences(List<EventReference>)
.- Parameters:
eventReferences
- a consumer that will call methods onEventReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventTime
The timestamp for when the event occurred.
- Parameters:
eventTime
- The timestamp for when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The type of event. The timeline event must be
Custom Event
orNote
.- Parameters:
eventType
- The type of event. The timeline event must beCustom Event
orNote
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventUpdatedTime
The timestamp for when the timeline event was last updated.
- Parameters:
eventUpdatedTime
- The timestamp for when the timeline event was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordArn
The Amazon Resource Name (ARN) of the incident that the event happened during.
- Parameters:
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event happened during.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-