public static interface InferenceRecommendation.Builder extends SdkPojo, CopyableBuilder<InferenceRecommendation.Builder,InferenceRecommendation>
| Modifier and Type | Method and Description |
|---|---|
default InferenceRecommendation.Builder |
endpointConfiguration(Consumer<EndpointOutputConfiguration.Builder> endpointConfiguration)
Defines the endpoint configuration parameters.
|
InferenceRecommendation.Builder |
endpointConfiguration(EndpointOutputConfiguration endpointConfiguration)
Defines the endpoint configuration parameters.
|
InferenceRecommendation.Builder |
invocationEndTime(Instant invocationEndTime)
A timestamp that shows when the benchmark completed.
|
InferenceRecommendation.Builder |
invocationStartTime(Instant invocationStartTime)
A timestamp that shows when the benchmark started.
|
default InferenceRecommendation.Builder |
metrics(Consumer<RecommendationMetrics.Builder> metrics)
The metrics used to decide what recommendation to make.
|
InferenceRecommendation.Builder |
metrics(RecommendationMetrics metrics)
The metrics used to decide what recommendation to make.
|
default InferenceRecommendation.Builder |
modelConfiguration(Consumer<ModelConfiguration.Builder> modelConfiguration)
Defines the model configuration.
|
InferenceRecommendation.Builder |
modelConfiguration(ModelConfiguration modelConfiguration)
Defines the model configuration.
|
InferenceRecommendation.Builder |
recommendationId(String recommendationId)
The recommendation ID which uniquely identifies each recommendation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInferenceRecommendation.Builder metrics(RecommendationMetrics metrics)
The metrics used to decide what recommendation to make.
metrics - The metrics used to decide what recommendation to make.default InferenceRecommendation.Builder metrics(Consumer<RecommendationMetrics.Builder> metrics)
The metrics used to decide what recommendation to make.
This is a convenience method that creates an instance of theRecommendationMetrics.Builder avoiding
the need to create one manually via RecommendationMetrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to metrics(RecommendationMetrics).
metrics - a consumer that will call methods on RecommendationMetrics.Buildermetrics(RecommendationMetrics)InferenceRecommendation.Builder endpointConfiguration(EndpointOutputConfiguration endpointConfiguration)
Defines the endpoint configuration parameters.
endpointConfiguration - Defines the endpoint configuration parameters.default InferenceRecommendation.Builder endpointConfiguration(Consumer<EndpointOutputConfiguration.Builder> endpointConfiguration)
Defines the endpoint configuration parameters.
This is a convenience method that creates an instance of theEndpointOutputConfiguration.Builder
avoiding the need to create one manually via EndpointOutputConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to endpointConfiguration(EndpointOutputConfiguration).
endpointConfiguration - a consumer that will call methods on EndpointOutputConfiguration.BuilderendpointConfiguration(EndpointOutputConfiguration)InferenceRecommendation.Builder modelConfiguration(ModelConfiguration modelConfiguration)
Defines the model configuration.
modelConfiguration - Defines the model configuration.default InferenceRecommendation.Builder modelConfiguration(Consumer<ModelConfiguration.Builder> modelConfiguration)
Defines the model configuration.
This is a convenience method that creates an instance of theModelConfiguration.Builder avoiding the
need to create one manually via ModelConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to modelConfiguration(ModelConfiguration).
modelConfiguration - a consumer that will call methods on ModelConfiguration.BuildermodelConfiguration(ModelConfiguration)InferenceRecommendation.Builder recommendationId(String recommendationId)
The recommendation ID which uniquely identifies each recommendation.
recommendationId - The recommendation ID which uniquely identifies each recommendation.InferenceRecommendation.Builder invocationEndTime(Instant invocationEndTime)
A timestamp that shows when the benchmark completed.
invocationEndTime - A timestamp that shows when the benchmark completed.InferenceRecommendation.Builder invocationStartTime(Instant invocationStartTime)
A timestamp that shows when the benchmark started.
invocationStartTime - A timestamp that shows when the benchmark started.Copyright © 2023. All rights reserved.