Interface Model.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Model.Builder,Model>, SdkBuilder<Model.Builder,Model>, SdkPojo
Enclosing class:
Model

@Mutable @NotThreadSafe public static interface Model.Builder extends SdkPojo, CopyableBuilder<Model.Builder,Model>
  • Method Details

    • modelName

      Model.Builder modelName(String modelName)

      The name of the model.

      Parameters:
      modelName - The name of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersion

      Model.Builder modelVersion(String modelVersion)

      The version of the model.

      Parameters:
      modelVersion - The version of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestSampleTime

      Model.Builder latestSampleTime(Instant latestSampleTime)

      The timestamp of the last data sample taken.

      Parameters:
      latestSampleTime - The timestamp of the last data sample taken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestInference

      Model.Builder latestInference(Instant latestInference)

      The timestamp of the last inference that was made.

      Parameters:
      latestInference - The timestamp of the last inference that was made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelMetrics

      Model.Builder modelMetrics(Collection<EdgeMetric> modelMetrics)

      Information required for model metrics.

      Parameters:
      modelMetrics - Information required for model metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelMetrics

      Model.Builder modelMetrics(EdgeMetric... modelMetrics)

      Information required for model metrics.

      Parameters:
      modelMetrics - Information required for model metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelMetrics

      Model.Builder modelMetrics(Consumer<EdgeMetric.Builder>... modelMetrics)

      Information required for model metrics.

      This is a convenience method that creates an instance of the EdgeMetric.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<EdgeMetric>).

      Parameters:
      modelMetrics - a consumer that will call methods on EdgeMetric.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: