Interface GetTimelineEventResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTimelineEventResponse.Builder,,GetTimelineEventResponse> SdkBuilder<GetTimelineEventResponse.Builder,,GetTimelineEventResponse> SdkPojo,SdkResponse.Builder,SsmIncidentsResponse.Builder
- Enclosing class:
GetTimelineEventResponse
public static interface GetTimelineEventResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<GetTimelineEventResponse.Builder,GetTimelineEventResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTimelineEventResponse.Builderevent(Consumer<TimelineEvent.Builder> event) Details about the timeline event.event(TimelineEvent event) Details about the timeline 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
event
Details about the timeline event.
- Parameters:
event- Details about the timeline event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
Details about the timeline event.
This is a convenience method that creates an instance of theTimelineEvent.Builderavoiding the need to create one manually viaTimelineEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevent(TimelineEvent).- Parameters:
event- a consumer that will call methods onTimelineEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-