#[non_exhaustive]pub struct InferenceRecommendationsJobStepBuilder { /* private fields */ }
Expand description
A builder for InferenceRecommendationsJobStep
.
Implementations§
source§impl InferenceRecommendationsJobStepBuilder
impl InferenceRecommendationsJobStepBuilder
sourcepub fn step_type(self, input: RecommendationStepType) -> Self
pub fn step_type(self, input: RecommendationStepType) -> Self
The type of the subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
sourcepub fn set_step_type(self, input: Option<RecommendationStepType>) -> Self
pub fn set_step_type(self, input: Option<RecommendationStepType>) -> Self
The type of the subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
sourcepub fn get_step_type(&self) -> &Option<RecommendationStepType>
pub fn get_step_type(&self) -> &Option<RecommendationStepType>
The type of the subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the Inference Recommender job.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the Inference Recommender job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the Inference Recommender job.
sourcepub fn status(self, input: RecommendationJobStatus) -> Self
pub fn status(self, input: RecommendationJobStatus) -> Self
The current status of the benchmark.
sourcepub fn set_status(self, input: Option<RecommendationJobStatus>) -> Self
pub fn set_status(self, input: Option<RecommendationJobStatus>) -> Self
The current status of the benchmark.
sourcepub fn get_status(&self) -> &Option<RecommendationJobStatus>
pub fn get_status(&self) -> &Option<RecommendationJobStatus>
The current status of the benchmark.
sourcepub fn inference_benchmark(
self,
input: RecommendationJobInferenceBenchmark
) -> Self
pub fn inference_benchmark( self, input: RecommendationJobInferenceBenchmark ) -> Self
The details for a specific benchmark.
sourcepub fn set_inference_benchmark(
self,
input: Option<RecommendationJobInferenceBenchmark>
) -> Self
pub fn set_inference_benchmark( self, input: Option<RecommendationJobInferenceBenchmark> ) -> Self
The details for a specific benchmark.
sourcepub fn get_inference_benchmark(
&self
) -> &Option<RecommendationJobInferenceBenchmark>
pub fn get_inference_benchmark( &self ) -> &Option<RecommendationJobInferenceBenchmark>
The details for a specific benchmark.
sourcepub fn build(self) -> InferenceRecommendationsJobStep
pub fn build(self) -> InferenceRecommendationsJobStep
Consumes the builder and constructs a InferenceRecommendationsJobStep
.
Trait Implementations§
source§impl Clone for InferenceRecommendationsJobStepBuilder
impl Clone for InferenceRecommendationsJobStepBuilder
source§fn clone(&self) -> InferenceRecommendationsJobStepBuilder
fn clone(&self) -> InferenceRecommendationsJobStepBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InferenceRecommendationsJobStepBuilder
impl Default for InferenceRecommendationsJobStepBuilder
source§fn default() -> InferenceRecommendationsJobStepBuilder
fn default() -> InferenceRecommendationsJobStepBuilder
source§impl PartialEq<InferenceRecommendationsJobStepBuilder> for InferenceRecommendationsJobStepBuilder
impl PartialEq<InferenceRecommendationsJobStepBuilder> for InferenceRecommendationsJobStepBuilder
source§fn eq(&self, other: &InferenceRecommendationsJobStepBuilder) -> bool
fn eq(&self, other: &InferenceRecommendationsJobStepBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.