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.
|
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.
|
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 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 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 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)Copyright © 2022. All rights reserved.