#[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.
This field is required.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.
This field is required.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 for InferenceRecommendationsJobStepBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for InferenceRecommendationsJobStepBuilder
Auto Trait Implementations§
impl Freeze for InferenceRecommendationsJobStepBuilder
impl RefUnwindSafe for InferenceRecommendationsJobStepBuilder
impl Send for InferenceRecommendationsJobStepBuilder
impl Sync for InferenceRecommendationsJobStepBuilder
impl Unpin for InferenceRecommendationsJobStepBuilder
impl UnwindSafe for InferenceRecommendationsJobStepBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more