Interface HyperParameterTuningJobStrategyConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HyperParameterTuningJobStrategyConfig.Builder,
,HyperParameterTuningJobStrategyConfig> SdkBuilder<HyperParameterTuningJobStrategyConfig.Builder,
,HyperParameterTuningJobStrategyConfig> SdkPojo
- Enclosing class:
HyperParameterTuningJobStrategyConfig
public static interface HyperParameterTuningJobStrategyConfig.Builder
extends SdkPojo, CopyableBuilder<HyperParameterTuningJobStrategyConfig.Builder,HyperParameterTuningJobStrategyConfig>
-
Method Summary
Modifier and TypeMethodDescriptionhyperbandStrategyConfig
(Consumer<HyperbandStrategyConfig.Builder> hyperbandStrategyConfig) The configuration for the object that specifies theHyperband
strategy.hyperbandStrategyConfig
(HyperbandStrategyConfig hyperbandStrategyConfig) The configuration for the object that specifies theHyperband
strategy.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, sdkFields
-
Method Details
-
hyperbandStrategyConfig
HyperParameterTuningJobStrategyConfig.Builder hyperbandStrategyConfig(HyperbandStrategyConfig hyperbandStrategyConfig) The configuration for the object that specifies the
Hyperband
strategy. This parameter is only supported for theHyperband
selection forStrategy
within theHyperParameterTuningJobConfig
API.- Parameters:
hyperbandStrategyConfig
- The configuration for the object that specifies theHyperband
strategy. This parameter is only supported for theHyperband
selection forStrategy
within theHyperParameterTuningJobConfig
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperbandStrategyConfig
default HyperParameterTuningJobStrategyConfig.Builder hyperbandStrategyConfig(Consumer<HyperbandStrategyConfig.Builder> hyperbandStrategyConfig) The configuration for the object that specifies the
This is a convenience method that creates an instance of theHyperband
strategy. This parameter is only supported for theHyperband
selection forStrategy
within theHyperParameterTuningJobConfig
API.HyperbandStrategyConfig.Builder
avoiding the need to create one manually viaHyperbandStrategyConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohyperbandStrategyConfig(HyperbandStrategyConfig)
.- Parameters:
hyperbandStrategyConfig
- a consumer that will call methods onHyperbandStrategyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-