Class TraceWithDetails.Builder
- All Implemented Interfaces:
TraceWithDetails._FinalStage,TraceWithDetails.HtmlPathStage,TraceWithDetails.IdStage,TraceWithDetails.LatencyStage,TraceWithDetails.TimestampStage,TraceWithDetails.TotalCostStage
- Enclosing class:
- TraceWithDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddAllObservations(List<String> observations) List of observation idsaddAllScores(List<String> scores) List of score idsaddObservations(String observations) List of observation idsList of score idsbuild()environment(String environment) The environment from which this trace originated.environment(Optional<String> environment) from(TraceWithDetails other) Path of trace in ANTS Platform UIThe unique identifier of a traceThe input data of the trace.latency(double latency) Latency of trace in secondsThe metadata associated with the trace.The name of the traceobservations(List<String> observations) The output data of the trace.Public traces are accessible via url without loginThe release version of the application when the trace was createdThe session identifier associated with the traceThe tags associated with the trace.timestamp(OffsetDateTime timestamp) The timestamp when the trace was createdtotalCost(double totalCost) Cost of trace in USDThe user identifier associated with the traceThe version of the trace
-
Method Details
-
from
- Specified by:
fromin interfaceTraceWithDetails.IdStage
-
id
The unique identifier of a trace
- Specified by:
idin interfaceTraceWithDetails.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
The timestamp when the trace was created
- Specified by:
timestampin interfaceTraceWithDetails.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
htmlPath
Path of trace in ANTS Platform UI
- Specified by:
htmlPathin interfaceTraceWithDetails.HtmlPathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithDetails.LatencyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithDetails.TotalCostStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllScores
List of score ids
- Specified by:
addAllScoresin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addScores
List of score ids
- Specified by:
addScoresin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scores
- Specified by:
scoresin interfaceTraceWithDetails._FinalStage
-
addAllObservations
List of observation ids
- Specified by:
addAllObservationsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addObservations
List of observation ids
- Specified by:
addObservationsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observations
- Specified by:
observationsin interfaceTraceWithDetails._FinalStage
-
environment
The environment from which this trace originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'ants-platform'.
- Specified by:
environmentin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
- Specified by:
environmentin interfaceTraceWithDetails._FinalStage
-
public_
Public traces are accessible via url without login
- Specified by:
public_in interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
public_
- Specified by:
public_in interfaceTraceWithDetails._FinalStage
-
tags
The tags associated with the trace. Can be an array of strings or null.
- Specified by:
tagsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tags
- Specified by:
tagsin interfaceTraceWithDetails._FinalStage
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceTraceWithDetails._FinalStage
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
- Specified by:
userIdin interfaceTraceWithDetails._FinalStage
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
- Specified by:
versionin interfaceTraceWithDetails._FinalStage
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
release
- Specified by:
releasein interfaceTraceWithDetails._FinalStage
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
- Specified by:
sessionIdin interfaceTraceWithDetails._FinalStage
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
output
- Specified by:
outputin interfaceTraceWithDetails._FinalStage
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
input
- Specified by:
inputin interfaceTraceWithDetails._FinalStage
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceTraceWithDetails._FinalStage
-
build
- Specified by:
buildin interfaceTraceWithDetails._FinalStage
-