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 theHyperbandstrategy.hyperbandStrategyConfig(HyperbandStrategyConfig hyperbandStrategyConfig) The configuration for the object that specifies theHyperbandstrategy.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
-
hyperbandStrategyConfig
HyperParameterTuningJobStrategyConfig.Builder hyperbandStrategyConfig(HyperbandStrategyConfig hyperbandStrategyConfig) The configuration for the object that specifies the
Hyperbandstrategy. This parameter is only supported for theHyperbandselection forStrategywithin theHyperParameterTuningJobConfigAPI.- Parameters:
hyperbandStrategyConfig- The configuration for the object that specifies theHyperbandstrategy. This parameter is only supported for theHyperbandselection forStrategywithin theHyperParameterTuningJobConfigAPI.- 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 theHyperbandstrategy. This parameter is only supported for theHyperbandselection forStrategywithin theHyperParameterTuningJobConfigAPI.HyperbandStrategyConfig.Builderavoiding the need to create one manually viaHyperbandStrategyConfig.builder().When the
Consumercompletes,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:
-