#[non_exhaustive]pub struct InferenceRecommendationBuilder { /* private fields */ }Expand description
A builder for InferenceRecommendation.
Implementations§
source§impl InferenceRecommendationBuilder
 
impl InferenceRecommendationBuilder
sourcepub fn recommendation_id(self, input: impl Into<String>) -> Self
 
pub fn recommendation_id(self, input: impl Into<String>) -> Self
The recommendation ID which uniquely identifies each recommendation.
sourcepub fn set_recommendation_id(self, input: Option<String>) -> Self
 
pub fn set_recommendation_id(self, input: Option<String>) -> Self
The recommendation ID which uniquely identifies each recommendation.
sourcepub fn get_recommendation_id(&self) -> &Option<String>
 
pub fn get_recommendation_id(&self) -> &Option<String>
The recommendation ID which uniquely identifies each recommendation.
sourcepub fn metrics(self, input: RecommendationMetrics) -> Self
 
pub fn metrics(self, input: RecommendationMetrics) -> Self
The metrics used to decide what recommendation to make.
This field is required.sourcepub fn set_metrics(self, input: Option<RecommendationMetrics>) -> Self
 
pub fn set_metrics(self, input: Option<RecommendationMetrics>) -> Self
The metrics used to decide what recommendation to make.
sourcepub fn get_metrics(&self) -> &Option<RecommendationMetrics>
 
pub fn get_metrics(&self) -> &Option<RecommendationMetrics>
The metrics used to decide what recommendation to make.
sourcepub fn endpoint_configuration(self, input: EndpointOutputConfiguration) -> Self
 
pub fn endpoint_configuration(self, input: EndpointOutputConfiguration) -> Self
Defines the endpoint configuration parameters.
This field is required.sourcepub fn set_endpoint_configuration(
    self,
    input: Option<EndpointOutputConfiguration>,
) -> Self
 
pub fn set_endpoint_configuration( self, input: Option<EndpointOutputConfiguration>, ) -> Self
Defines the endpoint configuration parameters.
sourcepub fn get_endpoint_configuration(&self) -> &Option<EndpointOutputConfiguration>
 
pub fn get_endpoint_configuration(&self) -> &Option<EndpointOutputConfiguration>
Defines the endpoint configuration parameters.
sourcepub fn model_configuration(self, input: ModelConfiguration) -> Self
 
pub fn model_configuration(self, input: ModelConfiguration) -> Self
Defines the model configuration.
This field is required.sourcepub fn set_model_configuration(self, input: Option<ModelConfiguration>) -> Self
 
pub fn set_model_configuration(self, input: Option<ModelConfiguration>) -> Self
Defines the model configuration.
sourcepub fn get_model_configuration(&self) -> &Option<ModelConfiguration>
 
pub fn get_model_configuration(&self) -> &Option<ModelConfiguration>
Defines the model configuration.
sourcepub fn invocation_end_time(self, input: DateTime) -> Self
 
pub fn invocation_end_time(self, input: DateTime) -> Self
A timestamp that shows when the benchmark completed.
sourcepub fn set_invocation_end_time(self, input: Option<DateTime>) -> Self
 
pub fn set_invocation_end_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the benchmark completed.
sourcepub fn get_invocation_end_time(&self) -> &Option<DateTime>
 
pub fn get_invocation_end_time(&self) -> &Option<DateTime>
A timestamp that shows when the benchmark completed.
sourcepub fn invocation_start_time(self, input: DateTime) -> Self
 
pub fn invocation_start_time(self, input: DateTime) -> Self
A timestamp that shows when the benchmark started.
sourcepub fn set_invocation_start_time(self, input: Option<DateTime>) -> Self
 
pub fn set_invocation_start_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the benchmark started.
sourcepub fn get_invocation_start_time(&self) -> &Option<DateTime>
 
pub fn get_invocation_start_time(&self) -> &Option<DateTime>
A timestamp that shows when the benchmark started.
sourcepub fn build(self) -> InferenceRecommendation
 
pub fn build(self) -> InferenceRecommendation
Consumes the builder and constructs a InferenceRecommendation.
Trait Implementations§
source§impl Clone for InferenceRecommendationBuilder
 
impl Clone for InferenceRecommendationBuilder
source§fn clone(&self) -> InferenceRecommendationBuilder
 
fn clone(&self) -> InferenceRecommendationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for InferenceRecommendationBuilder
 
impl Default for InferenceRecommendationBuilder
source§fn default() -> InferenceRecommendationBuilder
 
fn default() -> InferenceRecommendationBuilder
source§impl PartialEq for InferenceRecommendationBuilder
 
impl PartialEq for InferenceRecommendationBuilder
source§fn eq(&self, other: &InferenceRecommendationBuilder) -> bool
 
fn eq(&self, other: &InferenceRecommendationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InferenceRecommendationBuilder
Auto Trait Implementations§
impl Freeze for InferenceRecommendationBuilder
impl RefUnwindSafe for InferenceRecommendationBuilder
impl Send for InferenceRecommendationBuilder
impl Sync for InferenceRecommendationBuilder
impl Unpin for InferenceRecommendationBuilder
impl UnwindSafe for InferenceRecommendationBuilder
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> 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