Interface AIBenchmarkEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIBenchmarkEndpoint.Builder,,AIBenchmarkEndpoint> SdkBuilder<AIBenchmarkEndpoint.Builder,,AIBenchmarkEndpoint> SdkPojo
- Enclosing class:
AIBenchmarkEndpoint
@Mutable
@NotThreadSafe
public static interface AIBenchmarkEndpoint.Builder
extends SdkPojo, CopyableBuilder<AIBenchmarkEndpoint.Builder,AIBenchmarkEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) The name or Amazon Resource Name (ARN) of the SageMaker endpoint to benchmark.inferenceComponents(Collection<AIBenchmarkInferenceComponent> inferenceComponents) The list of inference components to benchmark on the endpoint.inferenceComponents(Consumer<AIBenchmarkInferenceComponent.Builder>... inferenceComponents) The list of inference components to benchmark on the endpoint.inferenceComponents(AIBenchmarkInferenceComponent... inferenceComponents) The list of inference components to benchmark on the endpoint.targetContainerHostname(String targetContainerHostname) The hostname of the specific container to target within a multi-container 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, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The name or Amazon Resource Name (ARN) of the SageMaker endpoint to benchmark.
- Parameters:
identifier- The name or Amazon Resource Name (ARN) of the SageMaker endpoint to benchmark.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetContainerHostname
The hostname of the specific container to target within a multi-container endpoint.
- Parameters:
targetContainerHostname- The hostname of the specific container to target within a multi-container endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponents
AIBenchmarkEndpoint.Builder inferenceComponents(Collection<AIBenchmarkInferenceComponent> inferenceComponents) The list of inference components to benchmark on the endpoint.
- Parameters:
inferenceComponents- The list of inference components to benchmark on the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponents
AIBenchmarkEndpoint.Builder inferenceComponents(AIBenchmarkInferenceComponent... inferenceComponents) The list of inference components to benchmark on the endpoint.
- Parameters:
inferenceComponents- The list of inference components to benchmark on the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponents
AIBenchmarkEndpoint.Builder inferenceComponents(Consumer<AIBenchmarkInferenceComponent.Builder>... inferenceComponents) The list of inference components to benchmark on the endpoint.
This is a convenience method that creates an instance of theAIBenchmarkInferenceComponent.Builderavoiding the need to create one manually viaAIBenchmarkInferenceComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinferenceComponents(List<AIBenchmarkInferenceComponent>).- Parameters:
inferenceComponents- a consumer that will call methods onAIBenchmarkInferenceComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-