Interface TimelineEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TimelineEvent.Builder,
,TimelineEvent> SdkBuilder<TimelineEvent.Builder,
,TimelineEvent> SdkPojo
- Enclosing class:
TimelineEvent
public static interface TimelineEvent.Builder
extends SdkPojo, CopyableBuilder<TimelineEvent.Builder,TimelineEvent>
-
Method Summary
Modifier and TypeMethodDescriptionA short description of the event.The ID of the timeline event.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 that occurred.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 occurred 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, sdkFields
-
Method Details
-
eventData
A short description of the event.
- Parameters:
eventData
- A short description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
The ID of the timeline event.
- Parameters:
eventId
- The ID of the timeline event.- 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 that occurred. Currently Incident Manager supports only the
Custom Event
andNote
types.- Parameters:
eventType
- The type of event that occurred. Currently Incident Manager supports only theCustom Event
andNote
types.- 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 occurred during.
- Parameters:
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event occurred during.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-