public static interface Model.Builder extends SdkPojo, CopyableBuilder<Model.Builder,Model>
| Modifier and Type | Method and Description |
|---|---|
Model.Builder |
latestInference(Instant latestInference)
The timestamp of the last inference that was made.
|
Model.Builder |
latestSampleTime(Instant latestSampleTime)
The timestamp of the last data sample taken.
|
Model.Builder |
modelMetrics(Collection<EdgeMetric> modelMetrics)
Information required for model metrics.
|
Model.Builder |
modelMetrics(Consumer<EdgeMetric.Builder>... modelMetrics)
Information required for model metrics.
|
Model.Builder |
modelMetrics(EdgeMetric... modelMetrics)
Information required for model metrics.
|
Model.Builder |
modelName(String modelName)
The name of the model.
|
Model.Builder |
modelVersion(String modelVersion)
The version of the model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildModel.Builder modelName(String modelName)
The name of the model.
modelName - The name of the model.Model.Builder modelVersion(String modelVersion)
The version of the model.
modelVersion - The version of the model.Model.Builder latestSampleTime(Instant latestSampleTime)
The timestamp of the last data sample taken.
latestSampleTime - The timestamp of the last data sample taken.Model.Builder latestInference(Instant latestInference)
The timestamp of the last inference that was made.
latestInference - The timestamp of the last inference that was made.Model.Builder modelMetrics(Collection<EdgeMetric> modelMetrics)
Information required for model metrics.
modelMetrics - Information required for model metrics.Model.Builder modelMetrics(EdgeMetric... modelMetrics)
Information required for model metrics.
modelMetrics - Information required for model metrics.Model.Builder modelMetrics(Consumer<EdgeMetric.Builder>... modelMetrics)
Information required for model metrics.
This is a convenience method that creates an instance of theEdgeMetric.Builder avoiding the need to create
one manually via EdgeMetric.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #modelMetrics(List.
modelMetrics - a consumer that will call methods on
EdgeMetric.Builder#modelMetrics(java.util.Collection) Copyright © 2023. All rights reserved.