Class GetScoresResponseDataCategorical.Builder
java.lang.Object
com.ants.platform.client.resources.scorev2.types.GetScoresResponseDataCategorical.Builder
- All Implemented Interfaces:
GetScoresResponseDataCategorical._FinalStage,GetScoresResponseDataCategorical.CreatedAtStage,GetScoresResponseDataCategorical.IdStage,GetScoresResponseDataCategorical.NameStage,GetScoresResponseDataCategorical.SourceStage,GetScoresResponseDataCategorical.StringValueStage,GetScoresResponseDataCategorical.TimestampStage,GetScoresResponseDataCategorical.UpdatedAtStage
- Enclosing class:
GetScoresResponseDataCategorical
public static final class GetScoresResponseDataCategorical.Builder
extends Object
implements GetScoresResponseDataCategorical.StringValueStage, GetScoresResponseDataCategorical.IdStage, GetScoresResponseDataCategorical.NameStage, GetScoresResponseDataCategorical.SourceStage, GetScoresResponseDataCategorical.TimestampStage, GetScoresResponseDataCategorical.CreatedAtStage, GetScoresResponseDataCategorical.UpdatedAtStage, GetScoresResponseDataCategorical._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionauthorUserId(String authorUserId) authorUserId(Optional<String> authorUserId) build()Reference a score config on a score.createdAt(OffsetDateTime createdAt) datasetRunId(String datasetRunId) datasetRunId(Optional<String> datasetRunId) environment(String environment) The environment from which this score originated.environment(Optional<String> environment) observationId(String observationId) observationId(Optional<String> observationId) Reference an annotation queue on a score.source(ScoreSource source) stringValue(String stringValue) The string representation of the score value.timestamp(OffsetDateTime timestamp) trace(GetScoresResponseTraceData trace) trace(Optional<GetScoresResponseTraceData> trace) updatedAt(OffsetDateTime updatedAt) Only defined if a config is linked.
-
Method Details
-
from
- Specified by:
fromin interfaceGetScoresResponseDataCategorical.StringValueStage
-
stringValue
The string representation of the score value. If no config is linked, can be any string. Otherwise, must map to a config category
- Specified by:
stringValuein interfaceGetScoresResponseDataCategorical.StringValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
- Specified by:
idin interfaceGetScoresResponseDataCategorical.IdStage
-
name
- Specified by:
namein interfaceGetScoresResponseDataCategorical.NameStage
-
source
- Specified by:
sourcein interfaceGetScoresResponseDataCategorical.SourceStage
-
timestamp
- Specified by:
timestampin interfaceGetScoresResponseDataCategorical.TimestampStage
-
createdAt
- Specified by:
createdAtin interfaceGetScoresResponseDataCategorical.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceGetScoresResponseDataCategorical.UpdatedAtStage
-
trace
- Specified by:
tracein interfaceGetScoresResponseDataCategorical._FinalStage
-
trace
public GetScoresResponseDataCategorical._FinalStage trace(Optional<GetScoresResponseTraceData> trace) - Specified by:
tracein interfaceGetScoresResponseDataCategorical._FinalStage
-
environment
The environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'ants-platform'.
- Specified by:
environmentin interfaceGetScoresResponseDataCategorical._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
- Specified by:
environmentin interfaceGetScoresResponseDataCategorical._FinalStage
-
queueId
Reference an annotation queue on a score. Populated if the score was initially created in an annotation queue.
- Specified by:
queueIdin interfaceGetScoresResponseDataCategorical._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
queueId
- Specified by:
queueIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
configId
Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range
- Specified by:
configIdin interfaceGetScoresResponseDataCategorical._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
configId
- Specified by:
configIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
metadata
- Specified by:
metadatain interfaceGetScoresResponseDataCategorical._FinalStage
-
metadata
- Specified by:
metadatain interfaceGetScoresResponseDataCategorical._FinalStage
-
comment
- Specified by:
commentin interfaceGetScoresResponseDataCategorical._FinalStage
-
comment
- Specified by:
commentin interfaceGetScoresResponseDataCategorical._FinalStage
-
authorUserId
- Specified by:
authorUserIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
authorUserId
- Specified by:
authorUserIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
datasetRunId
- Specified by:
datasetRunIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
datasetRunId
- Specified by:
datasetRunIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
observationId
- Specified by:
observationIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
observationId
- Specified by:
observationIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
sessionId
- Specified by:
sessionIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
sessionId
- Specified by:
sessionIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
traceId
- Specified by:
traceIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
traceId
- Specified by:
traceIdin interfaceGetScoresResponseDataCategorical._FinalStage
-
value
Only defined if a config is linked. Represents the numeric category mapping of the stringValue
- Specified by:
valuein interfaceGetScoresResponseDataCategorical._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
- Specified by:
valuein interfaceGetScoresResponseDataCategorical._FinalStage
-
build
- Specified by:
buildin interfaceGetScoresResponseDataCategorical._FinalStage
-