Interface RecommendationJobInferenceBenchmark.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationJobInferenceBenchmark.Builder,,RecommendationJobInferenceBenchmark> SdkBuilder<RecommendationJobInferenceBenchmark.Builder,,RecommendationJobInferenceBenchmark> SdkPojo
- Enclosing class:
RecommendationJobInferenceBenchmark
public static interface RecommendationJobInferenceBenchmark.Builder
extends SdkPojo, CopyableBuilder<RecommendationJobInferenceBenchmark.Builder,RecommendationJobInferenceBenchmark>
-
Method Summary
Modifier and TypeMethodDescriptionendpointConfiguration(Consumer<EndpointOutputConfiguration.Builder> endpointConfiguration) Sets the value of the EndpointConfiguration property for this object.endpointConfiguration(EndpointOutputConfiguration endpointConfiguration) Sets the value of the EndpointConfiguration property for this object.endpointMetrics(Consumer<InferenceMetrics.Builder> endpointMetrics) Sets the value of the EndpointMetrics property for this object.endpointMetrics(InferenceMetrics endpointMetrics) Sets the value of the EndpointMetrics property for this object.failureReason(String failureReason) The reason why a benchmark failed.invocationEndTime(Instant invocationEndTime) A timestamp that shows when the benchmark completed.invocationStartTime(Instant invocationStartTime) A timestamp that shows when the benchmark started.metrics(Consumer<RecommendationMetrics.Builder> metrics) Sets the value of the Metrics property for this object.metrics(RecommendationMetrics metrics) Sets the value of the Metrics property for this object.modelConfiguration(Consumer<ModelConfiguration.Builder> modelConfiguration) Sets the value of the ModelConfiguration property for this object.modelConfiguration(ModelConfiguration modelConfiguration) Sets the value of the ModelConfiguration property for this object.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
Sets the value of the Metrics property for this object.- Parameters:
metrics- The new value for the Metrics property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
default RecommendationJobInferenceBenchmark.Builder metrics(Consumer<RecommendationMetrics.Builder> metrics) Sets the value of the Metrics property for this object. This is a convenience method that creates an instance of theRecommendationMetrics.Builderavoiding the need to create one manually viaRecommendationMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(RecommendationMetrics).- Parameters:
metrics- a consumer that will call methods onRecommendationMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointMetrics
Sets the value of the EndpointMetrics property for this object.- Parameters:
endpointMetrics- The new value for the EndpointMetrics property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointMetrics
default RecommendationJobInferenceBenchmark.Builder endpointMetrics(Consumer<InferenceMetrics.Builder> endpointMetrics) Sets the value of the EndpointMetrics property for this object. 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 toendpointMetrics(InferenceMetrics).- Parameters:
endpointMetrics- 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:
-
endpointConfiguration
RecommendationJobInferenceBenchmark.Builder endpointConfiguration(EndpointOutputConfiguration endpointConfiguration) Sets the value of the EndpointConfiguration property for this object.- Parameters:
endpointConfiguration- The new value for the EndpointConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfiguration
default RecommendationJobInferenceBenchmark.Builder endpointConfiguration(Consumer<EndpointOutputConfiguration.Builder> endpointConfiguration) Sets the value of the EndpointConfiguration property for this object. This is a convenience method that creates an instance of theEndpointOutputConfiguration.Builderavoiding the need to create one manually viaEndpointOutputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointConfiguration(EndpointOutputConfiguration).- Parameters:
endpointConfiguration- a consumer that will call methods onEndpointOutputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelConfiguration
RecommendationJobInferenceBenchmark.Builder modelConfiguration(ModelConfiguration modelConfiguration) Sets the value of the ModelConfiguration property for this object.- Parameters:
modelConfiguration- The new value for the ModelConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelConfiguration
default RecommendationJobInferenceBenchmark.Builder modelConfiguration(Consumer<ModelConfiguration.Builder> modelConfiguration) Sets the value of the ModelConfiguration property for this object. This is a convenience method that creates an instance of theModelConfiguration.Builderavoiding the need to create one manually viaModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelConfiguration(ModelConfiguration).- Parameters:
modelConfiguration- a consumer that will call methods onModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason why a benchmark failed.
- Parameters:
failureReason- The reason why a benchmark failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationEndTime
A timestamp that shows when the benchmark completed.
- Parameters:
invocationEndTime- A timestamp that shows when the benchmark completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationStartTime
A timestamp that shows when the benchmark started.
- Parameters:
invocationStartTime- A timestamp that shows when the benchmark started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-