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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EndpointPerformance.BuilderendpointInfo(Consumer<EndpointInfo.Builder> endpointInfo)Sets the value of the EndpointInfo property for this object.EndpointPerformance.BuilderendpointInfo(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.EndpointPerformance.Buildermetrics(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 Detail
-
metrics
EndpointPerformance.Builder metrics(InferenceMetrics 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
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.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:
metrics(InferenceMetrics)
-
endpointInfo
EndpointPerformance.Builder endpointInfo(EndpointInfo 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
default EndpointPerformance.Builder endpointInfo(Consumer<EndpointInfo.Builder> 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:
endpointInfo(EndpointInfo)
-
-