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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
modelNameThe 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.
 
- 
modelVersionThe 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.
 
- 
latestSampleTimeThe 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.
 
- 
latestInferenceThe 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.
 
- 
modelMetricsInformation 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.
 
- 
modelMetricsInformation 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.
 
- 
modelMetricsInformation 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 tomodelMetrics(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:
 
 
-