Interface LiveTailSessionUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LiveTailSessionUpdate.Builder,,LiveTailSessionUpdate> SdkBuilder<LiveTailSessionUpdate.Builder,,LiveTailSessionUpdate> SdkPojo
- All Known Subinterfaces:
DefaultSessionUpdate.Builder
- Enclosing class:
LiveTailSessionUpdate
-
Method Summary
Modifier and TypeMethodDescriptiondefault LiveTailSessionUpdate.BuildersessionMetadata(Consumer<LiveTailSessionMetadata.Builder> sessionMetadata) This object contains the session metadata for a Live Tail session.sessionMetadata(LiveTailSessionMetadata sessionMetadata) This object contains the session metadata for a Live Tail session.sessionResults(Collection<LiveTailSessionLogEvent> sessionResults) An array, where each member of the array includes the information for one log event in the Live Tail session.sessionResults(Consumer<LiveTailSessionLogEvent.Builder>... sessionResults) An array, where each member of the array includes the information for one log event in the Live Tail session.sessionResults(LiveTailSessionLogEvent... sessionResults) An array, where each member of the array includes the information for one log event in the Live Tail session.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, sdkFields
-
Method Details
-
sessionMetadata
This object contains the session metadata for a Live Tail session.
- Parameters:
sessionMetadata- This object contains the session metadata for a Live Tail session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionMetadata
default LiveTailSessionUpdate.Builder sessionMetadata(Consumer<LiveTailSessionMetadata.Builder> sessionMetadata) This object contains the session metadata for a Live Tail session.
This is a convenience method that creates an instance of theLiveTailSessionMetadata.Builderavoiding the need to create one manually viaLiveTailSessionMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionMetadata(LiveTailSessionMetadata).- Parameters:
sessionMetadata- a consumer that will call methods onLiveTailSessionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionResults
An array, where each member of the array includes the information for one log event in the Live Tail session.
A
sessionResultsarray can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in eachsessionUpdatestructure.- Parameters:
sessionResults- An array, where each member of the array includes the information for one log event in the Live Tail session.A
sessionResultsarray can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in eachsessionUpdatestructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionResults
An array, where each member of the array includes the information for one log event in the Live Tail session.
A
sessionResultsarray can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in eachsessionUpdatestructure.- Parameters:
sessionResults- An array, where each member of the array includes the information for one log event in the Live Tail session.A
sessionResultsarray can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in eachsessionUpdatestructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionResults
LiveTailSessionUpdate.Builder sessionResults(Consumer<LiveTailSessionLogEvent.Builder>... sessionResults) An array, where each member of the array includes the information for one log event in the Live Tail session.
A
This is a convenience method that creates an instance of thesessionResultsarray can include as many as 500 log events. If the number of log events matching the request exceeds 500 per second, the log events are sampled down to 500 log events to be included in eachsessionUpdatestructure.LiveTailSessionLogEvent.Builderavoiding the need to create one manually viaLiveTailSessionLogEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionResults(List<LiveTailSessionLogEvent>).- Parameters:
sessionResults- a consumer that will call methods onLiveTailSessionLogEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-