Package com.oracle.bmc.apmtraces.model
Class TraceSnapshot.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmtraces.model.TraceSnapshot.Builder
 
- 
- Enclosing class:
- TraceSnapshot
 
 public static class TraceSnapshot.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceSnapshotbuild()TraceSnapshot.Buildercopy(TraceSnapshot model)TraceSnapshot.Builderkey(String key)Unique identifier (traceId) for the trace that represents the span set.TraceSnapshot.BuilderspanSnapshots(List<SpanSnapshot> spanSnapshots)List of spans.TraceSnapshot.BuildertimeEnded(Date timeEnded)End time of the trace.TraceSnapshot.BuildertimeStarted(Date timeStarted)Start time of the trace.TraceSnapshot.BuildertraceSnapshotDetails(List<SnapshotDetail> traceSnapshotDetails)Trace snapshots properties.
 
- 
- 
- 
Method Detail- 
keypublic TraceSnapshot.Builder key(String key) Unique identifier (traceId) for the trace that represents the span set.Note that this field is defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance Monitoring. - Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic TraceSnapshot.Builder timeStarted(Date timeStarted) Start time of the trace.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic TraceSnapshot.Builder timeEnded(Date timeEnded) End time of the trace.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
traceSnapshotDetailspublic TraceSnapshot.Builder traceSnapshotDetails(List<SnapshotDetail> traceSnapshotDetails) Trace snapshots properties.- Parameters:
- traceSnapshotDetails- the value to set
- Returns:
- this builder
 
 - 
spanSnapshotspublic TraceSnapshot.Builder spanSnapshots(List<SpanSnapshot> spanSnapshots) List of spans.- Parameters:
- spanSnapshots- the value to set
- Returns:
- this builder
 
 - 
buildpublic TraceSnapshot build() 
 - 
copypublic TraceSnapshot.Builder copy(TraceSnapshot model) 
 
- 
 
-