Interface LiveTailSessionUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LiveTailSessionUpdate.Builder,LiveTailSessionUpdate>,SdkBuilder<LiveTailSessionUpdate.Builder,LiveTailSessionUpdate>,SdkPojo
- All Known Subinterfaces:
DefaultSessionUpdate.Builder
- All Known Implementing Classes:
LiveTailSessionUpdate.BuilderImpl
- Enclosing class:
- LiveTailSessionUpdate
public static interface LiveTailSessionUpdate.Builder extends SdkPojo, CopyableBuilder<LiveTailSessionUpdate.Builder,LiveTailSessionUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LiveTailSessionUpdate.BuildersessionMetadata(Consumer<LiveTailSessionMetadata.Builder> sessionMetadata)This object contains the session metadata for a Live Tail session.LiveTailSessionUpdate.BuildersessionMetadata(LiveTailSessionMetadata sessionMetadata)This object contains the session metadata for a Live Tail session.LiveTailSessionUpdate.BuildersessionResults(Collection<LiveTailSessionLogEvent> sessionResults)An array, where each member of the array includes the information for one log event in the Live Tail session.LiveTailSessionUpdate.BuildersessionResults(Consumer<LiveTailSessionLogEvent.Builder>... sessionResults)An array, where each member of the array includes the information for one log event in the Live Tail session.LiveTailSessionUpdate.BuildersessionResults(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
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 Detail
-
sessionMetadata
LiveTailSessionUpdate.Builder sessionMetadata(LiveTailSessionMetadata 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:
sessionMetadata(LiveTailSessionMetadata)
-
sessionResults
LiveTailSessionUpdate.Builder sessionResults(Collection<LiveTailSessionLogEvent> 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(LiveTailSessionLogEvent... 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 to#sessionResults(List.) - 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:
#sessionResults(java.util.Collection)
-
-