Struct aws_sdk_sagemaker::model::inference_recommendation::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for InferenceRecommendation.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn metrics(self, input: RecommendationMetrics) -> Self
pub fn metrics(self, input: RecommendationMetrics) -> Self
The metrics used to decide what recommendation to make.
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 endpoint_configuration(self, input: EndpointOutputConfiguration) -> Self
pub fn endpoint_configuration(self, input: EndpointOutputConfiguration) -> Self
Defines the endpoint configuration parameters.
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 model_configuration(self, input: ModelConfiguration) -> Self
pub fn model_configuration(self, input: ModelConfiguration) -> Self
Defines the model configuration.
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 build(self) -> InferenceRecommendation
pub fn build(self) -> InferenceRecommendation
Consumes the builder and constructs a InferenceRecommendation.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more