Interface EndpointPerformance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointPerformance.Builder,
,EndpointPerformance> SdkBuilder<EndpointPerformance.Builder,
,EndpointPerformance> SdkPojo
- Enclosing class:
EndpointPerformance
public static interface EndpointPerformance.Builder
extends SdkPojo, CopyableBuilder<EndpointPerformance.Builder,EndpointPerformance>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EndpointPerformance.Builder
endpointInfo
(Consumer<EndpointInfo.Builder> endpointInfo) Sets the value of the EndpointInfo property for this object.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.metrics
(InferenceMetrics metrics) The metrics for an existing endpoint.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 Details
-
metrics
The metrics for an existing endpoint.
- Parameters:
metrics
- The metrics for an existing endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaInferenceMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(InferenceMetrics)
.- Parameters:
metrics
- a consumer that will call methods onInferenceMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointInfo
Sets the value of the EndpointInfo property for this object.- Parameters:
endpointInfo
- The new value for the EndpointInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointInfo
Sets the value of the EndpointInfo property for this object. This is a convenience method that creates an instance of theEndpointInfo.Builder
avoiding the need to create one manually viaEndpointInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointInfo(EndpointInfo)
.- Parameters:
endpointInfo
- a consumer that will call methods onEndpointInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-