Interface OptimizationConfig.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<OptimizationConfig.Builder,,OptimizationConfig> SdkBuilder<OptimizationConfig.Builder,,OptimizationConfig> SdkPojo
- Enclosing class:
 OptimizationConfig
- 
Method Summary
Modifier and TypeMethodDescriptiondefault OptimizationConfig.BuildermodelCompilationConfig(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.BuildermodelQuantizationConfig(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.BuildermodelShardingConfig(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
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
- 
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.Builderavoiding the need to create one manually viaModelQuantizationConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaModelCompilationConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaModelShardingConfig.builder().When the
Consumercompletes,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:
 
 
 -