#[non_exhaustive]pub struct DeploymentRecommendationBuilder { /* private fields */ }
Expand description
A builder for DeploymentRecommendation
.
Implementations§
source§impl DeploymentRecommendationBuilder
impl DeploymentRecommendationBuilder
sourcepub fn recommendation_status(self, input: RecommendationStatus) -> Self
pub fn recommendation_status(self, input: RecommendationStatus) -> Self
Status of the deployment recommendation. The status NOT_APPLICABLE
means that SageMaker is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS
, retry your API call after a few seconds to get a COMPLETED
deployment recommendation.
sourcepub fn set_recommendation_status(
self,
input: Option<RecommendationStatus>
) -> Self
pub fn set_recommendation_status( self, input: Option<RecommendationStatus> ) -> Self
Status of the deployment recommendation. The status NOT_APPLICABLE
means that SageMaker is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS
, retry your API call after a few seconds to get a COMPLETED
deployment recommendation.
sourcepub fn get_recommendation_status(&self) -> &Option<RecommendationStatus>
pub fn get_recommendation_status(&self) -> &Option<RecommendationStatus>
Status of the deployment recommendation. The status NOT_APPLICABLE
means that SageMaker is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS
, retry your API call after a few seconds to get a COMPLETED
deployment recommendation.
sourcepub fn real_time_inference_recommendations(
self,
input: RealTimeInferenceRecommendation
) -> Self
pub fn real_time_inference_recommendations( self, input: RealTimeInferenceRecommendation ) -> Self
Appends an item to real_time_inference_recommendations
.
To override the contents of this collection use set_real_time_inference_recommendations
.
A list of RealTimeInferenceRecommendation items.
sourcepub fn set_real_time_inference_recommendations(
self,
input: Option<Vec<RealTimeInferenceRecommendation>>
) -> Self
pub fn set_real_time_inference_recommendations( self, input: Option<Vec<RealTimeInferenceRecommendation>> ) -> Self
A list of RealTimeInferenceRecommendation items.
sourcepub fn get_real_time_inference_recommendations(
&self
) -> &Option<Vec<RealTimeInferenceRecommendation>>
pub fn get_real_time_inference_recommendations( &self ) -> &Option<Vec<RealTimeInferenceRecommendation>>
A list of RealTimeInferenceRecommendation items.
sourcepub fn build(self) -> DeploymentRecommendation
pub fn build(self) -> DeploymentRecommendation
Consumes the builder and constructs a DeploymentRecommendation
.
Trait Implementations§
source§impl Clone for DeploymentRecommendationBuilder
impl Clone for DeploymentRecommendationBuilder
source§fn clone(&self) -> DeploymentRecommendationBuilder
fn clone(&self) -> DeploymentRecommendationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeploymentRecommendationBuilder
impl Default for DeploymentRecommendationBuilder
source§fn default() -> DeploymentRecommendationBuilder
fn default() -> DeploymentRecommendationBuilder
source§impl PartialEq<DeploymentRecommendationBuilder> for DeploymentRecommendationBuilder
impl PartialEq<DeploymentRecommendationBuilder> for DeploymentRecommendationBuilder
source§fn eq(&self, other: &DeploymentRecommendationBuilder) -> bool
fn eq(&self, other: &DeploymentRecommendationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.