Interface ListTimelineEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTimelineEventsResponse.Builder,
,ListTimelineEventsResponse> SdkBuilder<ListTimelineEventsResponse.Builder,
,ListTimelineEventsResponse> SdkPojo
,SdkResponse.Builder
,SsmIncidentsResponse.Builder
- Enclosing class:
ListTimelineEventsResponse
public static interface ListTimelineEventsResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<ListTimelineEventsResponse.Builder,ListTimelineEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventSummaries
(Collection<EventSummary> eventSummaries) Details about each event that occurred during the incident.eventSummaries
(Consumer<EventSummary.Builder>... eventSummaries) Details about each event that occurred during the incident.eventSummaries
(EventSummary... eventSummaries) Details about each event that occurred during the incident.The pagination token to use when requesting the next set of items.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
eventSummaries
Details about each event that occurred during the incident.
- Parameters:
eventSummaries
- Details about each event that occurred during the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSummaries
Details about each event that occurred during the incident.
- Parameters:
eventSummaries
- Details about each event that occurred during the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSummaries
Details about each event that occurred during the incident.
This is a convenience method that creates an instance of theEventSummary.Builder
avoiding the need to create one manually viaEventSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventSummaries(List<EventSummary>)
.- Parameters:
eventSummaries
- a consumer that will call methods onEventSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
- Parameters:
nextToken
- The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-