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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RecommendationJobInferenceBenchmark.Builder
endpointConfiguration(Consumer<EndpointOutputConfiguration.Builder> endpointConfiguration)
Sets the value of the EndpointConfiguration property for this object.RecommendationJobInferenceBenchmark.Builder
endpointConfiguration(EndpointOutputConfiguration endpointConfiguration)
Sets the value of the EndpointConfiguration property for this object.default RecommendationJobInferenceBenchmark.Builder
endpointMetrics(Consumer<InferenceMetrics.Builder> endpointMetrics)
Sets the value of the EndpointMetrics property for this object.RecommendationJobInferenceBenchmark.Builder
endpointMetrics(InferenceMetrics endpointMetrics)
Sets the value of the EndpointMetrics property for this object.RecommendationJobInferenceBenchmark.Builder
failureReason(String failureReason)
The reason why a benchmark failed.RecommendationJobInferenceBenchmark.Builder
invocationEndTime(Instant invocationEndTime)
A timestamp that shows when the benchmark completed.RecommendationJobInferenceBenchmark.Builder
invocationStartTime(Instant invocationStartTime)
A timestamp that shows when the benchmark started.default RecommendationJobInferenceBenchmark.Builder
metrics(Consumer<RecommendationMetrics.Builder> metrics)
Sets the value of the Metrics property for this object.RecommendationJobInferenceBenchmark.Builder
metrics(RecommendationMetrics metrics)
Sets the value of the Metrics property for this object.default RecommendationJobInferenceBenchmark.Builder
modelConfiguration(Consumer<ModelConfiguration.Builder> modelConfiguration)
Sets the value of the ModelConfiguration property for this object.RecommendationJobInferenceBenchmark.Builder
modelConfiguration(ModelConfiguration modelConfiguration)
Sets the value of the ModelConfiguration property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
metrics
RecommendationJobInferenceBenchmark.Builder metrics(RecommendationMetrics 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.Builder
avoiding the need to create one manually viaRecommendationMetrics.builder()
.When the
Consumer
completes,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:
metrics(RecommendationMetrics)
-
endpointMetrics
RecommendationJobInferenceBenchmark.Builder endpointMetrics(InferenceMetrics 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.Builder
avoiding the need to create one manually viaInferenceMetrics.builder()
.When the
Consumer
completes,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:
endpointMetrics(InferenceMetrics)
-
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.Builder
avoiding the need to create one manually viaEndpointOutputConfiguration.builder()
.When the
Consumer
completes,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:
endpointConfiguration(EndpointOutputConfiguration)
-
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.Builder
avoiding the need to create one manually viaModelConfiguration.builder()
.When the
Consumer
completes,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:
modelConfiguration(ModelConfiguration)
-
failureReason
RecommendationJobInferenceBenchmark.Builder failureReason(String 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
RecommendationJobInferenceBenchmark.Builder invocationEndTime(Instant 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
RecommendationJobInferenceBenchmark.Builder invocationStartTime(Instant 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.
-
-