Interface LiveTailSessionUpdate.Builder

  • Method Details

    • 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 the LiveTailSessionMetadata.Builder avoiding the need to create one manually via LiveTailSessionMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sessionMetadata(LiveTailSessionMetadata).

      Parameters:
      sessionMetadata - a consumer that will call methods on LiveTailSessionMetadata.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 each sessionUpdate 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 each sessionUpdate structure.

      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 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 each sessionUpdate 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 each sessionUpdate 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 each sessionUpdate structure.

      This is a convenience method that creates an instance of the LiveTailSessionLogEvent.Builder avoiding the need to create one manually via LiveTailSessionLogEvent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sessionResults(List<LiveTailSessionLogEvent>).

      Parameters:
      sessionResults - a consumer that will call methods on LiveTailSessionLogEvent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: