Class TraceWithFullDetails.Builder
- All Implemented Interfaces:
TraceWithFullDetails._FinalStage,TraceWithFullDetails.HtmlPathStage,TraceWithFullDetails.IdStage,TraceWithFullDetails.LatencyStage,TraceWithFullDetails.TimestampStage,TraceWithFullDetails.TotalCostStage
- Enclosing class:
TraceWithFullDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddAllObservations(List<ObservationsView> observations) List of observationsaddAllScores(List<ScoreV1> scores) List of scoresaddObservations(ObservationsView observations) List of observationsList of scoresbuild()environment(String environment) The environment from which this trace originated.environment(Optional<String> environment) from(TraceWithFullDetails 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<ObservationsView> 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 interfaceTraceWithFullDetails.IdStage
-
id
The unique identifier of a trace
- Specified by:
idin interfaceTraceWithFullDetails.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
The timestamp when the trace was created
- Specified by:
timestampin interfaceTraceWithFullDetails.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
htmlPath
Path of trace in ANTS Platform UI
- Specified by:
htmlPathin interfaceTraceWithFullDetails.HtmlPathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithFullDetails.LatencyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithFullDetails.TotalCostStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllScores
List of scores
- Specified by:
addAllScoresin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addScores
List of scores
- Specified by:
addScoresin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scores
- Specified by:
scoresin interfaceTraceWithFullDetails._FinalStage
-
addAllObservations
List of observations
- Specified by:
addAllObservationsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addObservations
List of observations
- Specified by:
addObservationsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observations
- Specified by:
observationsin interfaceTraceWithFullDetails._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 interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
- Specified by:
environmentin interfaceTraceWithFullDetails._FinalStage
-
public_
Public traces are accessible via url without login
- Specified by:
public_in interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
public_
- Specified by:
public_in interfaceTraceWithFullDetails._FinalStage
-
tags
The tags associated with the trace. Can be an array of strings or null.
- Specified by:
tagsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tags
- Specified by:
tagsin interfaceTraceWithFullDetails._FinalStage
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceTraceWithFullDetails._FinalStage
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
- Specified by:
userIdin interfaceTraceWithFullDetails._FinalStage
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
- Specified by:
versionin interfaceTraceWithFullDetails._FinalStage
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
release
- Specified by:
releasein interfaceTraceWithFullDetails._FinalStage
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
- Specified by:
sessionIdin interfaceTraceWithFullDetails._FinalStage
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
output
- Specified by:
outputin interfaceTraceWithFullDetails._FinalStage
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
input
- Specified by:
inputin interfaceTraceWithFullDetails._FinalStage
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceTraceWithFullDetails._FinalStage
-
build
- Specified by:
buildin interfaceTraceWithFullDetails._FinalStage
-