Interface Model.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Model.Builder,Model>,SdkBuilder<Model.Builder,Model>,SdkPojo
- Enclosing class:
- Model
public static interface Model.Builder extends SdkPojo, CopyableBuilder<Model.Builder,Model>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model.BuilderlatestInference(Instant latestInference)The timestamp of the last inference that was made.Model.BuilderlatestSampleTime(Instant latestSampleTime)The timestamp of the last data sample taken.Model.BuildermodelMetrics(Collection<EdgeMetric> modelMetrics)Information required for model metrics.Model.BuildermodelMetrics(Consumer<EdgeMetric.Builder>... modelMetrics)Information required for model metrics.Model.BuildermodelMetrics(EdgeMetric... modelMetrics)Information required for model metrics.Model.BuildermodelName(String modelName)The name of the model.Model.BuildermodelVersion(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, sdkFields
-
-
-
-
Method Detail
-
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 theEdgeMetric.Builderavoiding the need to create one manually viaEdgeMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#modelMetrics(List.) - 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:
#modelMetrics(java.util.Collection)
-
-