public static interface EndpointPerformance.Builder extends SdkPojo, CopyableBuilder<EndpointPerformance.Builder,EndpointPerformance>
| Modifier and Type | Method and Description |
|---|---|
default EndpointPerformance.Builder |
endpointInfo(Consumer<EndpointInfo.Builder> endpointInfo)
Sets the value of the EndpointInfo property for this object.
|
EndpointPerformance.Builder |
endpointInfo(EndpointInfo endpointInfo)
Sets the value of the EndpointInfo property for this object.
|
default EndpointPerformance.Builder |
metrics(Consumer<InferenceMetrics.Builder> metrics)
The metrics for an existing endpoint.
|
EndpointPerformance.Builder |
metrics(InferenceMetrics metrics)
The metrics for an existing endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEndpointPerformance.Builder metrics(InferenceMetrics metrics)
The metrics for an existing endpoint.
metrics - The metrics for an existing endpoint.default EndpointPerformance.Builder metrics(Consumer<InferenceMetrics.Builder> metrics)
The metrics for an existing endpoint.
This is a convenience method that creates an instance of theInferenceMetrics.Builder avoiding the
need to create one manually via InferenceMetrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to metrics(InferenceMetrics).
metrics - a consumer that will call methods on InferenceMetrics.Buildermetrics(InferenceMetrics)EndpointPerformance.Builder endpointInfo(EndpointInfo endpointInfo)
endpointInfo - The new value for the EndpointInfo property for this object.default EndpointPerformance.Builder endpointInfo(Consumer<EndpointInfo.Builder> endpointInfo)
EndpointInfo.Builder avoiding the need
to create one manually via EndpointInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to endpointInfo(EndpointInfo).
endpointInfo - a consumer that will call methods on EndpointInfo.BuilderendpointInfo(EndpointInfo)Copyright © 2023. All rights reserved.