Interface AutoMLCandidate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoMLCandidate.Builder,
,AutoMLCandidate> SdkBuilder<AutoMLCandidate.Builder,
,AutoMLCandidate> SdkPojo
- Enclosing class:
AutoMLCandidate
-
Method Summary
Modifier and TypeMethodDescriptioncandidateName
(String candidateName) The name of the candidate.default AutoMLCandidate.Builder
candidateProperties
(Consumer<CandidateProperties.Builder> candidateProperties) The properties of an AutoML candidate job.candidateProperties
(CandidateProperties candidateProperties) The properties of an AutoML candidate job.candidateStatus
(String candidateStatus) The candidate's status.candidateStatus
(CandidateStatus candidateStatus) The candidate's status.candidateSteps
(Collection<AutoMLCandidateStep> candidateSteps) Information about the candidate's steps.candidateSteps
(Consumer<AutoMLCandidateStep.Builder>... candidateSteps) Information about the candidate's steps.candidateSteps
(AutoMLCandidateStep... candidateSteps) Information about the candidate's steps.creationTime
(Instant creationTime) The creation time.The end time.failureReason
(String failureReason) The failure reason.default AutoMLCandidate.Builder
finalAutoMLJobObjectiveMetric
(Consumer<FinalAutoMLJobObjectiveMetric.Builder> finalAutoMLJobObjectiveMetric) Sets the value of the FinalAutoMLJobObjectiveMetric property for this object.finalAutoMLJobObjectiveMetric
(FinalAutoMLJobObjectiveMetric finalAutoMLJobObjectiveMetric) Sets the value of the FinalAutoMLJobObjectiveMetric property for this object.inferenceContainerDefinitions
(Map<AutoMLProcessingUnit, ? extends Collection<AutoMLContainerDefinition>> inferenceContainerDefinitions) The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate.inferenceContainerDefinitionsWithStrings
(Map<String, ? extends Collection<AutoMLContainerDefinition>> inferenceContainerDefinitions) The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate.inferenceContainers
(Collection<AutoMLContainerDefinition> inferenceContainers) Information about the recommended inference container definitions.inferenceContainers
(Consumer<AutoMLContainerDefinition.Builder>... inferenceContainers) Information about the recommended inference container definitions.inferenceContainers
(AutoMLContainerDefinition... inferenceContainers) Information about the recommended inference container definitions.lastModifiedTime
(Instant lastModifiedTime) The last modified time.objectiveStatus
(String objectiveStatus) The objective's status.objectiveStatus
(ObjectiveStatus objectiveStatus) The objective's status.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
-
candidateName
The name of the candidate.
- Parameters:
candidateName
- The name of the candidate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalAutoMLJobObjectiveMetric
AutoMLCandidate.Builder finalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric finalAutoMLJobObjectiveMetric) Sets the value of the FinalAutoMLJobObjectiveMetric property for this object.- Parameters:
finalAutoMLJobObjectiveMetric
- The new value for the FinalAutoMLJobObjectiveMetric property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalAutoMLJobObjectiveMetric
default AutoMLCandidate.Builder finalAutoMLJobObjectiveMetric(Consumer<FinalAutoMLJobObjectiveMetric.Builder> finalAutoMLJobObjectiveMetric) Sets the value of the FinalAutoMLJobObjectiveMetric property for this object. This is a convenience method that creates an instance of theFinalAutoMLJobObjectiveMetric.Builder
avoiding the need to create one manually viaFinalAutoMLJobObjectiveMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofinalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric)
.- Parameters:
finalAutoMLJobObjectiveMetric
- a consumer that will call methods onFinalAutoMLJobObjectiveMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectiveStatus
The objective's status.
- Parameters:
objectiveStatus
- The objective's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectiveStatus
The objective's status.
- Parameters:
objectiveStatus
- The objective's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
candidateSteps
Information about the candidate's steps.
- Parameters:
candidateSteps
- Information about the candidate's steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
candidateSteps
Information about the candidate's steps.
- Parameters:
candidateSteps
- Information about the candidate's steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
candidateSteps
Information about the candidate's steps.
This is a convenience method that creates an instance of theAutoMLCandidateStep.Builder
avoiding the need to create one manually viaAutoMLCandidateStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocandidateSteps(List<AutoMLCandidateStep>)
.- Parameters:
candidateSteps
- a consumer that will call methods onAutoMLCandidateStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
candidateStatus
The candidate's status.
- Parameters:
candidateStatus
- The candidate's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
candidateStatus
The candidate's status.
- Parameters:
candidateStatus
- The candidate's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inferenceContainers
AutoMLCandidate.Builder inferenceContainers(Collection<AutoMLContainerDefinition> inferenceContainers) Information about the recommended inference container definitions.
- Parameters:
inferenceContainers
- Information about the recommended inference container definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceContainers
Information about the recommended inference container definitions.
- Parameters:
inferenceContainers
- Information about the recommended inference container definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceContainers
AutoMLCandidate.Builder inferenceContainers(Consumer<AutoMLContainerDefinition.Builder>... inferenceContainers) Information about the recommended inference container definitions.
This is a convenience method that creates an instance of theAutoMLContainerDefinition.Builder
avoiding the need to create one manually viaAutoMLContainerDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferenceContainers(List<AutoMLContainerDefinition>)
.- Parameters:
inferenceContainers
- a consumer that will call methods onAutoMLContainerDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The creation time.
- Parameters:
creationTime
- The creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time.
- Parameters:
endTime
- The end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The last modified time.
- Parameters:
lastModifiedTime
- The last modified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The failure reason.
- Parameters:
failureReason
- The failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
candidateProperties
The properties of an AutoML candidate job.
- Parameters:
candidateProperties
- The properties of an AutoML candidate job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
candidateProperties
default AutoMLCandidate.Builder candidateProperties(Consumer<CandidateProperties.Builder> candidateProperties) The properties of an AutoML candidate job.
This is a convenience method that creates an instance of theCandidateProperties.Builder
avoiding the need to create one manually viaCandidateProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocandidateProperties(CandidateProperties)
.- Parameters:
candidateProperties
- a consumer that will call methods onCandidateProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inferenceContainerDefinitionsWithStrings
AutoMLCandidate.Builder inferenceContainerDefinitionsWithStrings(Map<String, ? extends Collection<AutoMLContainerDefinition>> inferenceContainerDefinitions) The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the AutoML jobs V2 (for example, for jobs created by calling
CreateAutoMLJobV2
) related to image or text classification problem types only.- Parameters:
inferenceContainerDefinitions
- The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the AutoML jobs V2 (for example, for jobs created by callingCreateAutoMLJobV2
) related to image or text classification problem types only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceContainerDefinitions
AutoMLCandidate.Builder inferenceContainerDefinitions(Map<AutoMLProcessingUnit, ? extends Collection<AutoMLContainerDefinition>> inferenceContainerDefinitions) The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the AutoML jobs V2 (for example, for jobs created by calling
CreateAutoMLJobV2
) related to image or text classification problem types only.- Parameters:
inferenceContainerDefinitions
- The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the AutoML jobs V2 (for example, for jobs created by callingCreateAutoMLJobV2
) related to image or text classification problem types only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-