Struct aws_sdk_sagemaker::types::builders::AutoMlCandidateBuilder
source · #[non_exhaustive]pub struct AutoMlCandidateBuilder { /* private fields */ }
Expand description
A builder for AutoMlCandidate
.
Implementations§
source§impl AutoMlCandidateBuilder
impl AutoMlCandidateBuilder
sourcepub fn candidate_name(self, input: impl Into<String>) -> Self
pub fn candidate_name(self, input: impl Into<String>) -> Self
The name of the candidate.
sourcepub fn set_candidate_name(self, input: Option<String>) -> Self
pub fn set_candidate_name(self, input: Option<String>) -> Self
The name of the candidate.
sourcepub fn final_auto_ml_job_objective_metric(
self,
input: FinalAutoMlJobObjectiveMetric
) -> Self
pub fn final_auto_ml_job_objective_metric( self, input: FinalAutoMlJobObjectiveMetric ) -> Self
The best candidate result from an AutoML training job.
sourcepub fn set_final_auto_ml_job_objective_metric(
self,
input: Option<FinalAutoMlJobObjectiveMetric>
) -> Self
pub fn set_final_auto_ml_job_objective_metric( self, input: Option<FinalAutoMlJobObjectiveMetric> ) -> Self
The best candidate result from an AutoML training job.
sourcepub fn objective_status(self, input: ObjectiveStatus) -> Self
pub fn objective_status(self, input: ObjectiveStatus) -> Self
The objective's status.
sourcepub fn set_objective_status(self, input: Option<ObjectiveStatus>) -> Self
pub fn set_objective_status(self, input: Option<ObjectiveStatus>) -> Self
The objective's status.
sourcepub fn candidate_steps(self, input: AutoMlCandidateStep) -> Self
pub fn candidate_steps(self, input: AutoMlCandidateStep) -> Self
Appends an item to candidate_steps
.
To override the contents of this collection use set_candidate_steps
.
Information about the candidate's steps.
sourcepub fn set_candidate_steps(
self,
input: Option<Vec<AutoMlCandidateStep>>
) -> Self
pub fn set_candidate_steps( self, input: Option<Vec<AutoMlCandidateStep>> ) -> Self
Information about the candidate's steps.
sourcepub fn candidate_status(self, input: CandidateStatus) -> Self
pub fn candidate_status(self, input: CandidateStatus) -> Self
The candidate's status.
sourcepub fn set_candidate_status(self, input: Option<CandidateStatus>) -> Self
pub fn set_candidate_status(self, input: Option<CandidateStatus>) -> Self
The candidate's status.
sourcepub fn inference_containers(self, input: AutoMlContainerDefinition) -> Self
pub fn inference_containers(self, input: AutoMlContainerDefinition) -> Self
Appends an item to inference_containers
.
To override the contents of this collection use set_inference_containers
.
Information about the recommended inference container definitions.
sourcepub fn set_inference_containers(
self,
input: Option<Vec<AutoMlContainerDefinition>>
) -> Self
pub fn set_inference_containers( self, input: Option<Vec<AutoMlContainerDefinition>> ) -> Self
Information about the recommended inference container definitions.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The creation time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The creation time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The last modified time.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The last modified time.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The failure reason.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The failure reason.
sourcepub fn candidate_properties(self, input: CandidateProperties) -> Self
pub fn candidate_properties(self, input: CandidateProperties) -> Self
The properties of an AutoML candidate job.
sourcepub fn set_candidate_properties(
self,
input: Option<CandidateProperties>
) -> Self
pub fn set_candidate_properties( self, input: Option<CandidateProperties> ) -> Self
The properties of an AutoML candidate job.
sourcepub fn inference_container_definitions(
self,
k: AutoMlProcessingUnit,
v: Vec<AutoMlContainerDefinition>
) -> Self
pub fn inference_container_definitions( self, k: AutoMlProcessingUnit, v: Vec<AutoMlContainerDefinition> ) -> Self
Adds a key-value pair to inference_container_definitions
.
To override the contents of this collection use set_inference_container_definitions
.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the V2 API only (for example, for jobs created by calling CreateAutoMLJobV2
).
sourcepub fn set_inference_container_definitions(
self,
input: Option<HashMap<AutoMlProcessingUnit, Vec<AutoMlContainerDefinition>>>
) -> Self
pub fn set_inference_container_definitions( self, input: Option<HashMap<AutoMlProcessingUnit, Vec<AutoMlContainerDefinition>>> ) -> Self
The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the V2 API only (for example, for jobs created by calling CreateAutoMLJobV2
).
sourcepub fn build(self) -> AutoMlCandidate
pub fn build(self) -> AutoMlCandidate
Consumes the builder and constructs a AutoMlCandidate
.
Trait Implementations§
source§impl Clone for AutoMlCandidateBuilder
impl Clone for AutoMlCandidateBuilder
source§fn clone(&self) -> AutoMlCandidateBuilder
fn clone(&self) -> AutoMlCandidateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlCandidateBuilder
impl Debug for AutoMlCandidateBuilder
source§impl Default for AutoMlCandidateBuilder
impl Default for AutoMlCandidateBuilder
source§fn default() -> AutoMlCandidateBuilder
fn default() -> AutoMlCandidateBuilder
source§impl PartialEq<AutoMlCandidateBuilder> for AutoMlCandidateBuilder
impl PartialEq<AutoMlCandidateBuilder> for AutoMlCandidateBuilder
source§fn eq(&self, other: &AutoMlCandidateBuilder) -> bool
fn eq(&self, other: &AutoMlCandidateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.