Interface HPOConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HPOConfig.Builder,HPOConfig>,SdkBuilder<HPOConfig.Builder,HPOConfig>,SdkPojo
- Enclosing class:
- HPOConfig
public static interface HPOConfig.Builder extends SdkPojo, CopyableBuilder<HPOConfig.Builder,HPOConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HPOConfig.BuilderalgorithmHyperParameterRanges(Consumer<HyperParameterRanges.Builder> algorithmHyperParameterRanges)The hyperparameters and their allowable ranges.HPOConfig.BuilderalgorithmHyperParameterRanges(HyperParameterRanges algorithmHyperParameterRanges)The hyperparameters and their allowable ranges.default HPOConfig.BuilderhpoObjective(Consumer<HPOObjective.Builder> hpoObjective)The metric to optimize during HPO.HPOConfig.BuilderhpoObjective(HPOObjective hpoObjective)The metric to optimize during HPO.default HPOConfig.BuilderhpoResourceConfig(Consumer<HPOResourceConfig.Builder> hpoResourceConfig)Describes the resource configuration for HPO.HPOConfig.BuilderhpoResourceConfig(HPOResourceConfig hpoResourceConfig)Describes the resource configuration for HPO.-
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 Detail
-
hpoObjective
HPOConfig.Builder hpoObjective(HPOObjective hpoObjective)
The metric to optimize during HPO.
Amazon Personalize doesn't support configuring the
hpoObjectiveat this time.- Parameters:
hpoObjective- The metric to optimize during HPO.Amazon Personalize doesn't support configuring the
hpoObjectiveat this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hpoObjective
default HPOConfig.Builder hpoObjective(Consumer<HPOObjective.Builder> hpoObjective)
The metric to optimize during HPO.
This is a convenience method that creates an instance of theAmazon Personalize doesn't support configuring the
hpoObjectiveat this time.HPOObjective.Builderavoiding the need to create one manually viaHPOObjective.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohpoObjective(HPOObjective).- Parameters:
hpoObjective- a consumer that will call methods onHPOObjective.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hpoObjective(HPOObjective)
-
hpoResourceConfig
HPOConfig.Builder hpoResourceConfig(HPOResourceConfig hpoResourceConfig)
Describes the resource configuration for HPO.
- Parameters:
hpoResourceConfig- Describes the resource configuration for HPO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hpoResourceConfig
default HPOConfig.Builder hpoResourceConfig(Consumer<HPOResourceConfig.Builder> hpoResourceConfig)
Describes the resource configuration for HPO.
This is a convenience method that creates an instance of theHPOResourceConfig.Builderavoiding the need to create one manually viaHPOResourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohpoResourceConfig(HPOResourceConfig).- Parameters:
hpoResourceConfig- a consumer that will call methods onHPOResourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hpoResourceConfig(HPOResourceConfig)
-
algorithmHyperParameterRanges
HPOConfig.Builder algorithmHyperParameterRanges(HyperParameterRanges algorithmHyperParameterRanges)
The hyperparameters and their allowable ranges.
- Parameters:
algorithmHyperParameterRanges- The hyperparameters and their allowable ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmHyperParameterRanges
default HPOConfig.Builder algorithmHyperParameterRanges(Consumer<HyperParameterRanges.Builder> algorithmHyperParameterRanges)
The hyperparameters and their allowable ranges.
This is a convenience method that creates an instance of theHyperParameterRanges.Builderavoiding the need to create one manually viaHyperParameterRanges.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalgorithmHyperParameterRanges(HyperParameterRanges).- Parameters:
algorithmHyperParameterRanges- a consumer that will call methods onHyperParameterRanges.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
algorithmHyperParameterRanges(HyperParameterRanges)
-
-