public static class SpanLogCollection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SpanLogCollection |
build() |
SpanLogCollection.Builder |
copy(SpanLogCollection model) |
SpanLogCollection.Builder |
eventName(String eventName)
Name of the event for which the log is created.
|
SpanLogCollection.Builder |
spanLogs(List<SpanLog> spanLogs)
List of logs associated with the span at the given timestamp.
|
SpanLogCollection.Builder |
timeCreated(Date timeCreated)
Timestamp at which the log is created.
|
public SpanLogCollection.Builder timeCreated(Date timeCreated)
Timestamp at which the log is created.
timeCreated
- the value to setpublic SpanLogCollection.Builder eventName(String eventName)
Name of the event for which the log is created.
eventName
- the value to setpublic SpanLogCollection.Builder spanLogs(List<SpanLog> spanLogs)
List of logs associated with the span at the given timestamp.
spanLogs
- the value to setpublic SpanLogCollection build()
public SpanLogCollection.Builder copy(SpanLogCollection model)
Copyright © 2016–2024. All rights reserved.