Package com.oracle.bmc.apmtraces.model
Class SpanLogCollection.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.SpanLogCollection.Builder
-
- Enclosing class:
- SpanLogCollection
public static class SpanLogCollection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpanLogCollectionbuild()SpanLogCollection.Buildercopy(SpanLogCollection model)SpanLogCollection.BuildereventName(String eventName)Name of the event for which the log is created.SpanLogCollection.BuilderspanLogs(List<SpanLog> spanLogs)List of logs associated with the span at the given timestamp.SpanLogCollection.BuildertimeCreated(Date timeCreated)Timestamp at which the log is created.
-
-
-
Method Detail
-
timeCreated
public SpanLogCollection.Builder timeCreated(Date timeCreated)
Timestamp at which the log is created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
eventName
public SpanLogCollection.Builder eventName(String eventName)
Name of the event for which the log is created.- Parameters:
eventName- the value to set- Returns:
- this builder
-
spanLogs
public SpanLogCollection.Builder spanLogs(List<SpanLog> spanLogs)
List of logs associated with the span at the given timestamp.- Parameters:
spanLogs- the value to set- Returns:
- this builder
-
build
public SpanLogCollection build()
-
copy
public SpanLogCollection.Builder copy(SpanLogCollection model)
-
-