Interface AIWorkloadConfigs.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIWorkloadConfigs.Builder,,AIWorkloadConfigs> SdkBuilder<AIWorkloadConfigs.Builder,,AIWorkloadConfigs> SdkPojo
- Enclosing class:
AIWorkloadConfigs
@Mutable
@NotThreadSafe
public static interface AIWorkloadConfigs.Builder
extends SdkPojo, CopyableBuilder<AIWorkloadConfigs.Builder,AIWorkloadConfigs>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AIWorkloadConfigs.BuilderworkloadSpec(Consumer<WorkloadSpec.Builder> workloadSpec) The workload specification that defines benchmark parameters.workloadSpec(WorkloadSpec workloadSpec) The workload specification that defines benchmark parameters.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
-
workloadSpec
The workload specification that defines benchmark parameters.
- Parameters:
workloadSpec- The workload specification that defines benchmark parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadSpec
The workload specification that defines benchmark parameters.
This is a convenience method that creates an instance of theWorkloadSpec.Builderavoiding the need to create one manually viaWorkloadSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkloadSpec(WorkloadSpec).- Parameters:
workloadSpec- a consumer that will call methods onWorkloadSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-