Interface Algorithm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Algorithm.Builder,
,Algorithm> SdkBuilder<Algorithm.Builder,
,Algorithm> SdkPojo
- Enclosing class:
Algorithm
-
Method Summary
Modifier and TypeMethodDescriptionalgorithmArn
(String algorithmArn) The Amazon Resource Name (ARN) of the algorithm.default Algorithm.Builder
algorithmImage
(Consumer<AlgorithmImage.Builder> algorithmImage) The URI of the Docker container for the algorithm image.algorithmImage
(AlgorithmImage algorithmImage) The URI of the Docker container for the algorithm image.creationDateTime
(Instant creationDateTime) The date and time (in Unix time) that the algorithm was created.default Algorithm.Builder
defaultHyperParameterRanges
(Consumer<DefaultHyperParameterRanges.Builder> defaultHyperParameterRanges) Specifies the default hyperparameters, their ranges, and whether they are tunable.defaultHyperParameterRanges
(DefaultHyperParameterRanges defaultHyperParameterRanges) Specifies the default hyperparameters, their ranges, and whether they are tunable.defaultHyperParameters
(Map<String, String> defaultHyperParameters) Specifies the default hyperparameters.defaultResourceConfig
(Map<String, String> defaultResourceConfig) Specifies the default maximum number of training jobs and parallel training jobs.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time (in Unix time) that the algorithm was last updated.The name of the algorithm.The Amazon Resource Name (ARN) of the role.trainingInputMode
(String trainingInputMode) The training input mode.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
-
name
The name of the algorithm.
- Parameters:
name
- The name of the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmArn
The Amazon Resource Name (ARN) of the algorithm.
- Parameters:
algorithmArn
- The Amazon Resource Name (ARN) of the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmImage
The URI of the Docker container for the algorithm image.
- Parameters:
algorithmImage
- The URI of the Docker container for the algorithm image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmImage
The URI of the Docker container for the algorithm image.
This is a convenience method that creates an instance of theAlgorithmImage.Builder
avoiding the need to create one manually viaAlgorithmImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalgorithmImage(AlgorithmImage)
.- Parameters:
algorithmImage
- a consumer that will call methods onAlgorithmImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultHyperParameters
Specifies the default hyperparameters.
- Parameters:
defaultHyperParameters
- Specifies the default hyperparameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultHyperParameterRanges
Algorithm.Builder defaultHyperParameterRanges(DefaultHyperParameterRanges defaultHyperParameterRanges) Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
- Parameters:
defaultHyperParameterRanges
- Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultHyperParameterRanges
default Algorithm.Builder defaultHyperParameterRanges(Consumer<DefaultHyperParameterRanges.Builder> defaultHyperParameterRanges) Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
This is a convenience method that creates an instance of theDefaultHyperParameterRanges.Builder
avoiding the need to create one manually viaDefaultHyperParameterRanges.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultHyperParameterRanges(DefaultHyperParameterRanges)
.- Parameters:
defaultHyperParameterRanges
- a consumer that will call methods onDefaultHyperParameterRanges.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultResourceConfig
Specifies the default maximum number of training jobs and parallel training jobs.
- Parameters:
defaultResourceConfig
- Specifies the default maximum number of training jobs and parallel training jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingInputMode
The training input mode.
- Parameters:
trainingInputMode
- The training input mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the role.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The date and time (in Unix time) that the algorithm was created.
- Parameters:
creationDateTime
- The date and time (in Unix time) that the algorithm was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time (in Unix time) that the algorithm was last updated.
- Parameters:
lastUpdatedDateTime
- The date and time (in Unix time) that the algorithm was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-