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.BuilderendpointInfo(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.Buildermetrics(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaInferenceMetrics.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEndpointInfo.builder().When the
Consumercompletes,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:
-