#[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 for DeploymentRecommendationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DeploymentRecommendationBuilder
Auto Trait Implementations§
impl Freeze for DeploymentRecommendationBuilder
impl RefUnwindSafe for DeploymentRecommendationBuilder
impl Send for DeploymentRecommendationBuilder
impl Sync for DeploymentRecommendationBuilder
impl Unpin for DeploymentRecommendationBuilder
impl UnwindSafe for DeploymentRecommendationBuilder
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