Interface HPOConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HPOConfig.Builder,
,HPOConfig> SdkBuilder<HPOConfig.Builder,
,HPOConfig> SdkPojo
- Enclosing class:
HPOConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault HPOConfig.Builder
algorithmHyperParameterRanges
(Consumer<HyperParameterRanges.Builder> algorithmHyperParameterRanges) The hyperparameters and their allowable ranges.algorithmHyperParameterRanges
(HyperParameterRanges algorithmHyperParameterRanges) The hyperparameters and their allowable ranges.default HPOConfig.Builder
hpoObjective
(Consumer<HPOObjective.Builder> hpoObjective) The metric to optimize during HPO.hpoObjective
(HPOObjective hpoObjective) The metric to optimize during HPO.default HPOConfig.Builder
hpoResourceConfig
(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
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
-
hpoObjective
The metric to optimize during HPO.
Amazon Personalize doesn't support configuring the
hpoObjective
at this time.- Parameters:
hpoObjective
- The metric to optimize during HPO.Amazon Personalize doesn't support configuring the
hpoObjective
at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hpoObjective
The metric to optimize during HPO.
Amazon Personalize doesn't support configuring the
hpoObjective
at this time.HPOObjective.Builder
avoiding the need to create one manually viaHPOObjective.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaHPOResourceConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaHyperParameterRanges.builder()
.When the
Consumer
completes,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:
-