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.Builder
sessionMetadata
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaLiveTailSessionMetadata.builder()
.When the
Consumer
completes,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
sessionResults
array 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 eachsessionUpdate
structure.- Parameters:
sessionResults
- An array, where each member of the array includes the information for one log event in the Live Tail session.A
sessionResults
array 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 eachsessionUpdate
structure.- 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
sessionResults
array 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 eachsessionUpdate
structure.- Parameters:
sessionResults
- An array, where each member of the array includes the information for one log event in the Live Tail session.A
sessionResults
array 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 eachsessionUpdate
structure.- 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 thesessionResults
array 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 eachsessionUpdate
structure.LiveTailSessionLogEvent.Builder
avoiding the need to create one manually viaLiveTailSessionLogEvent.builder()
.When the
Consumer
completes,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:
-