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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DistillationConfig.BuilderteacherModelConfig(Consumer<TeacherModelConfig.Builder> teacherModelConfig)The teacher model configuration.DistillationConfig.BuilderteacherModelConfig(TeacherModelConfig teacherModelConfig)The teacher model configuration.-
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
-
teacherModelConfig
DistillationConfig.Builder teacherModelConfig(TeacherModelConfig 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:
teacherModelConfig(TeacherModelConfig)
-
-