Interface OptimizerStepConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OptimizerStepConfig.Builder,,OptimizerStepConfig> SdkBuilder<OptimizerStepConfig.Builder,,OptimizerStepConfig> SdkPojo
- Enclosing class:
OptimizerStepConfig
@Mutable
@NotThreadSafe
public static interface OptimizerStepConfig.Builder
extends SdkPojo, CopyableBuilder<OptimizerStepConfig.Builder,OptimizerStepConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OptimizerStepConfig.BuilderadamParamsConfig(Consumer<AdamParamsConfig.Builder> adamParamsConfig) The Adam optimizer hyperparameters for this step.adamParamsConfig(AdamParamsConfig adamParamsConfig) The Adam optimizer hyperparameters for this step.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
-
adamParamsConfig
The Adam optimizer hyperparameters for this step.
- Parameters:
adamParamsConfig- The Adam optimizer hyperparameters for this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adamParamsConfig
default OptimizerStepConfig.Builder adamParamsConfig(Consumer<AdamParamsConfig.Builder> adamParamsConfig) The Adam optimizer hyperparameters for this step.
This is a convenience method that creates an instance of theAdamParamsConfig.Builderavoiding the need to create one manually viaAdamParamsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadamParamsConfig(AdamParamsConfig).- Parameters:
adamParamsConfig- a consumer that will call methods onAdamParamsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-