Interface DistillationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DistillationConfig.Builder,,DistillationConfig> SdkBuilder<DistillationConfig.Builder,,DistillationConfig> SdkPojo
- Enclosing class:
DistillationConfig
@Mutable
@NotThreadSafe
public static interface DistillationConfig.Builder
extends SdkPojo, CopyableBuilder<DistillationConfig.Builder,DistillationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DistillationConfig.BuilderteacherModelConfig(Consumer<TeacherModelConfig.Builder> teacherModelConfig) The teacher model configuration.teacherModelConfig(TeacherModelConfig teacherModelConfig) The teacher model configuration.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
-
teacherModelConfig
The teacher model configuration.
- Parameters:
teacherModelConfig- The teacher model configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
teacherModelConfig
default DistillationConfig.Builder teacherModelConfig(Consumer<TeacherModelConfig.Builder> teacherModelConfig) The teacher model configuration.
This is a convenience method that creates an instance of theTeacherModelConfig.Builderavoiding the need to create one manually viaTeacherModelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toteacherModelConfig(TeacherModelConfig).- Parameters:
teacherModelConfig- a consumer that will call methods onTeacherModelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-