Interface LiveTailSessionMetadata.Builder

    • Method Detail

      • sampled

        LiveTailSessionMetadata.Builder sampled​(Boolean sampled)

        If this is true, then more than 500 log events matched the request for this update, and the sessionResults includes a sample of 500 of those events.

        If this is false, then 500 or fewer log events matched the request for this update, so no sampling was necessary. In this case, the sessionResults array includes all log events that matched your request during this time.

        Parameters:
        sampled - If this is true, then more than 500 log events matched the request for this update, and the sessionResults includes a sample of 500 of those events.

        If this is false, then 500 or fewer log events matched the request for this update, so no sampling was necessary. In this case, the sessionResults array includes all log events that matched your request during this time.

        Returns:
        Returns a reference to this object so that method calls can be chained together.