Interface ExperimentRunSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentRunSummary.Builder,,ExperimentRunSummary> SdkBuilder<ExperimentRunSummary.Builder,,ExperimentRunSummary> SdkPojo
- Enclosing class:
ExperimentRunSummary
-
Method Summary
Modifier and TypeMethodDescriptioncasesTotal(Integer casesTotal) The total number of cases in the run.completedAt(Instant completedAt) The time when the run ended.controlPassRate(Double controlPassRate) The control's pass rate under this run's caseCriteria, set when the run ends.controlRunId(String controlRunId) The ID of the run this run is compared with.The time when the run was created.The ID of the run's dataset.datasetName(String datasetName) The name of the run's dataset.datasetSource(String datasetSource) The source of the run's dataset.datasetSource(DatasetSourceType datasetSource) The source of the run's dataset.datasetVersion(String datasetVersion) The version of the run's dataset.description(String description) The description of the run.Key-value facts about what the run tested.The number of cases that passed.The share of the run's cases that passed, from 0 to 1.producerKind(String producerKind) The kind of producer that reports the run.producerKind(ProducerKind producerKind) The kind of producer that reports the run.The role of the run: TARGET, or CONTROL for a live control run.The role of the run: TARGET, or CONTROL for a live control run.ruleContentHash(String ruleContentHash) The contentHash of the run's rule.The name of the run's rule.The ID of the run.Whether the run is reported by the caller's code or hosted by the service.source(ExperimentRunSource source) Whether the run is reported by the caller's code or hosted by the service.The status of the run.status(ExperimentRunStatus status) The status of the run.statusReason(String statusReason) Why the run did not finish.statusReason(ExperimentRunStatusReason statusReason) Why the run did not finish.targetVersion(String targetVersion) The version of the run's target.default ExperimentRunSummary.BuildertraceStats(Consumer<RunTraceStats.Builder> traceStats) The trace stats of the run.traceStats(RunTraceStats traceStats) The trace stats of the run.The verdict of the run.The verdict of the run.verdictReason(String verdictReason) A readable explanation of verdictReasonCode, such as "pass rate 82% (required 90%)".verdictReasonCode(String verdictReasonCode) The reason for the run's verdict.verdictReasonCode(VerdictReasonCode verdictReasonCode) The reason for the run's verdict.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
runId
The ID of the run.
- Parameters:
runId- The ID of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Whether the run is reported by the caller's code or hosted by the service.
- Parameters:
source- Whether the run is reported by the caller's code or hosted by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
Whether the run is reported by the caller's code or hosted by the service.
- Parameters:
source- Whether the run is reported by the caller's code or hosted by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the run.
- Parameters:
status- The status of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the run.
- Parameters:
status- The status of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Why the run did not finish. Present when status is DID_NOT_FINISH.
- Parameters:
statusReason- Why the run did not finish. Present when status is DID_NOT_FINISH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Why the run did not finish. Present when status is DID_NOT_FINISH.
- Parameters:
statusReason- Why the run did not finish. Present when status is DID_NOT_FINISH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
producerKind
The kind of producer that reports the run. Reported runs only.
- Parameters:
producerKind- The kind of producer that reports the run. Reported runs only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
producerKind
The kind of producer that reports the run. Reported runs only.
- Parameters:
producerKind- The kind of producer that reports the run. Reported runs only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetVersion
The version of the run's target.
- Parameters:
targetVersion- The version of the run's target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetSource
The source of the run's dataset. FILE and OTHER datasets might have only a name, without an ID.
- Parameters:
datasetSource- The source of the run's dataset. FILE and OTHER datasets might have only a name, without an ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetSource
The source of the run's dataset. FILE and OTHER datasets might have only a name, without an ID.
- Parameters:
datasetSource- The source of the run's dataset. FILE and OTHER datasets might have only a name, without an ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetId
The ID of the run's dataset.
- Parameters:
datasetId- The ID of the run's dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
The name of the run's dataset.
- Parameters:
datasetName- The name of the run's dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetVersion
The version of the run's dataset.
- Parameters:
datasetVersion- The version of the run's dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleName
The name of the run's rule.
- Parameters:
ruleName- The name of the run's rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleContentHash
The contentHash of the run's rule. Runs with equal hashes have the same case criteria and gates.
- Parameters:
ruleContentHash- The contentHash of the run's rule. Runs with equal hashes have the same case criteria and gates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Key-value facts about what the run tested.
- Parameters:
metadata- Key-value facts about what the run tested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the run.
- Parameters:
description- The description of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceStats
The trace stats of the run. Absent on an experiment's latestRun.
- Parameters:
traceStats- The trace stats of the run. Absent on an experiment's latestRun.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceStats
The trace stats of the run. Absent on an experiment's latestRun.
This is a convenience method that creates an instance of theRunTraceStats.Builderavoiding the need to create one manually viaRunTraceStats.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totraceStats(RunTraceStats).- Parameters:
traceStats- a consumer that will call methods onRunTraceStats.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdict
The verdict of the run. Present only for runs with a rule, once the run has ended.
- Parameters:
verdict- The verdict of the run. Present only for runs with a rule, once the run has ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdict
The verdict of the run. Present only for runs with a rule, once the run has ended.
- Parameters:
verdict- The verdict of the run. Present only for runs with a rule, once the run has ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdictReasonCode
The reason for the run's verdict.
- Parameters:
verdictReasonCode- The reason for the run's verdict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdictReasonCode
The reason for the run's verdict.
- Parameters:
verdictReasonCode- The reason for the run's verdict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdictReason
A readable explanation of verdictReasonCode, such as "pass rate 82% (required 90%)".
- Parameters:
verdictReason- A readable explanation of verdictReasonCode, such as "pass rate 82% (required 90%)".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passRate
The share of the run's cases that passed, from 0 to 1. Runs with a rule only.
- Parameters:
passRate- The share of the run's cases that passed, from 0 to 1. Runs with a rule only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlPassRate
The control's pass rate under this run's caseCriteria, set when the run ends.
- Parameters:
controlPassRate- The control's pass rate under this run's caseCriteria, set when the run ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
The role of the run: TARGET, or CONTROL for a live control run.
- Parameters:
role- The role of the run: TARGET, or CONTROL for a live control run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The role of the run: TARGET, or CONTROL for a live control run.
- Parameters:
role- The role of the run: TARGET, or CONTROL for a live control run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
controlRunId
The ID of the run this run is compared with.
- Parameters:
controlRunId- The ID of the run this run is compared with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
casesTotal
The total number of cases in the run.
- Parameters:
casesTotal- The total number of cases in the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passed
The number of cases that passed.
- Parameters:
passed- The number of cases that passed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time when the run was created.
- Parameters:
createdAt- The time when the run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
The time when the run ended.
- Parameters:
completedAt- The time when the run ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-