Interface CustomizationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomizationConfig.Builder,
,CustomizationConfig> SdkBuilder<CustomizationConfig.Builder,
,CustomizationConfig> SdkPojo
- Enclosing class:
CustomizationConfig
@Mutable
@NotThreadSafe
public static interface CustomizationConfig.Builder
extends SdkPojo, CopyableBuilder<CustomizationConfig.Builder,CustomizationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomizationConfig.Builder
distillationConfig
(Consumer<DistillationConfig.Builder> distillationConfig) The Distillation configuration for the custom model.distillationConfig
(DistillationConfig distillationConfig) The Distillation configuration for the custom model.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 Details
-
distillationConfig
The Distillation configuration for the custom model.
- Parameters:
distillationConfig
- The Distillation configuration for the custom model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distillationConfig
default CustomizationConfig.Builder distillationConfig(Consumer<DistillationConfig.Builder> distillationConfig) The Distillation configuration for the custom model.
This is a convenience method that creates an instance of theDistillationConfig.Builder
avoiding the need to create one manually viaDistillationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todistillationConfig(DistillationConfig)
.- Parameters:
distillationConfig
- a consumer that will call methods onDistillationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-