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 Summary
Modifier and TypeMethodDescriptionlatestInference
(Instant latestInference) The timestamp of the last inference that was made.latestSampleTime
(Instant latestSampleTime) The timestamp of the last data sample taken.modelMetrics
(Collection<EdgeMetric> modelMetrics) Information required for model metrics.modelMetrics
(Consumer<EdgeMetric.Builder>... modelMetrics) Information required for model metrics.modelMetrics
(EdgeMetric... modelMetrics) Information required for model metrics.The name of the model.modelVersion
(String modelVersion) The version of the model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
Information required for model metrics.
This is a convenience method that creates an instance of theEdgeMetric.Builder
avoiding the need to create one manually viaEdgeMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelMetrics(List<EdgeMetric>)
.- Parameters:
modelMetrics
- a consumer that will call methods onEdgeMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-