Interface OptimizationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OptimizationConfig.Builder,
,OptimizationConfig> SdkBuilder<OptimizationConfig.Builder,
,OptimizationConfig> SdkPojo
- Enclosing class:
OptimizationConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault OptimizationConfig.Builder
modelCompilationConfig
(Consumer<ModelCompilationConfig.Builder> modelCompilationConfig) Settings for the model compilation technique that's applied by a model optimization job.modelCompilationConfig
(ModelCompilationConfig modelCompilationConfig) Settings for the model compilation technique that's applied by a model optimization job.default OptimizationConfig.Builder
modelQuantizationConfig
(Consumer<ModelQuantizationConfig.Builder> modelQuantizationConfig) Settings for the model quantization technique that's applied by a model optimization job.modelQuantizationConfig
(ModelQuantizationConfig modelQuantizationConfig) Settings for the model quantization technique that's applied by a model optimization job.default OptimizationConfig.Builder
modelShardingConfig
(Consumer<ModelShardingConfig.Builder> modelShardingConfig) Settings for the model sharding technique that's applied by a model optimization job.modelShardingConfig
(ModelShardingConfig modelShardingConfig) Settings for the model sharding technique that's applied by a model optimization job.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
-
modelQuantizationConfig
Settings for the model quantization technique that's applied by a model optimization job.
- Parameters:
modelQuantizationConfig
- Settings for the model quantization technique that's applied by a model optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelQuantizationConfig
default OptimizationConfig.Builder modelQuantizationConfig(Consumer<ModelQuantizationConfig.Builder> modelQuantizationConfig) Settings for the model quantization technique that's applied by a model optimization job.
This is a convenience method that creates an instance of theModelQuantizationConfig.Builder
avoiding the need to create one manually viaModelQuantizationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelQuantizationConfig(ModelQuantizationConfig)
.- Parameters:
modelQuantizationConfig
- a consumer that will call methods onModelQuantizationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelCompilationConfig
Settings for the model compilation technique that's applied by a model optimization job.
- Parameters:
modelCompilationConfig
- Settings for the model compilation technique that's applied by a model optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCompilationConfig
default OptimizationConfig.Builder modelCompilationConfig(Consumer<ModelCompilationConfig.Builder> modelCompilationConfig) Settings for the model compilation technique that's applied by a model optimization job.
This is a convenience method that creates an instance of theModelCompilationConfig.Builder
avoiding the need to create one manually viaModelCompilationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelCompilationConfig(ModelCompilationConfig)
.- Parameters:
modelCompilationConfig
- a consumer that will call methods onModelCompilationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelShardingConfig
Settings for the model sharding technique that's applied by a model optimization job.
- Parameters:
modelShardingConfig
- Settings for the model sharding technique that's applied by a model optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelShardingConfig
default OptimizationConfig.Builder modelShardingConfig(Consumer<ModelShardingConfig.Builder> modelShardingConfig) Settings for the model sharding technique that's applied by a model optimization job.
This is a convenience method that creates an instance of theModelShardingConfig.Builder
avoiding the need to create one manually viaModelShardingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelShardingConfig(ModelShardingConfig)
.- Parameters:
modelShardingConfig
- a consumer that will call methods onModelShardingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-