Interface HPOConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HPOConfig.Builder,,HPOConfig> SdkBuilder<HPOConfig.Builder,,HPOConfig> SdkPojo
- Enclosing class:
HPOConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault HPOConfig.BuilderalgorithmHyperParameterRanges(Consumer<HyperParameterRanges.Builder> algorithmHyperParameterRanges) The hyperparameters and their allowable ranges.algorithmHyperParameterRanges(HyperParameterRanges algorithmHyperParameterRanges) The hyperparameters and their allowable ranges.default HPOConfig.BuilderhpoObjective(Consumer<HPOObjective.Builder> hpoObjective) The metric to optimize during HPO.hpoObjective(HPOObjective hpoObjective) The metric to optimize during HPO.default HPOConfig.BuilderhpoResourceConfig(Consumer<HPOResourceConfig.Builder> hpoResourceConfig) Describes the resource configuration for HPO.hpoResourceConfig(HPOResourceConfig hpoResourceConfig) Describes the resource configuration for HPO.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
-
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
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:
-
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
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:
-
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:
-