Interface AIBenchmarkTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIBenchmarkTarget.Builder,,AIBenchmarkTarget> SdkBuilder<AIBenchmarkTarget.Builder,,AIBenchmarkTarget> SdkPojo
- Enclosing class:
AIBenchmarkTarget
@Mutable
@NotThreadSafe
public static interface AIBenchmarkTarget.Builder
extends SdkPojo, CopyableBuilder<AIBenchmarkTarget.Builder,AIBenchmarkTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AIBenchmarkTarget.Builderendpoint(Consumer<AIBenchmarkEndpoint.Builder> endpoint) The SageMaker endpoint to benchmark.endpoint(AIBenchmarkEndpoint endpoint) The SageMaker endpoint to benchmark.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
-
endpoint
The SageMaker endpoint to benchmark.
- Parameters:
endpoint- The SageMaker endpoint to benchmark.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The SageMaker endpoint to benchmark.
This is a convenience method that creates an instance of theAIBenchmarkEndpoint.Builderavoiding the need to create one manually viaAIBenchmarkEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoint(AIBenchmarkEndpoint).- Parameters:
endpoint- a consumer that will call methods onAIBenchmarkEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-