Struct aws_sdk_sagemaker::model::recommendation_metrics::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for RecommendationMetrics.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn cost_per_hour(self, input: f32) -> Self
pub fn cost_per_hour(self, input: f32) -> Self
Defines the cost per hour for the instance.
sourcepub fn set_cost_per_hour(self, input: Option<f32>) -> Self
pub fn set_cost_per_hour(self, input: Option<f32>) -> Self
Defines the cost per hour for the instance.
sourcepub fn cost_per_inference(self, input: f32) -> Self
pub fn cost_per_inference(self, input: f32) -> Self
Defines the cost per inference for the instance .
sourcepub fn set_cost_per_inference(self, input: Option<f32>) -> Self
pub fn set_cost_per_inference(self, input: Option<f32>) -> Self
Defines the cost per inference for the instance .
sourcepub fn max_invocations(self, input: i32) -> Self
pub fn max_invocations(self, input: i32) -> Self
The expected maximum number of requests per minute for the instance.
sourcepub fn set_max_invocations(self, input: Option<i32>) -> Self
pub fn set_max_invocations(self, input: Option<i32>) -> Self
The expected maximum number of requests per minute for the instance.
sourcepub fn model_latency(self, input: i32) -> Self
pub fn model_latency(self, input: i32) -> Self
The expected model latency at maximum invocation per minute for the instance.
sourcepub fn set_model_latency(self, input: Option<i32>) -> Self
pub fn set_model_latency(self, input: Option<i32>) -> Self
The expected model latency at maximum invocation per minute for the instance.
sourcepub fn build(self) -> RecommendationMetrics
pub fn build(self) -> RecommendationMetrics
Consumes the builder and constructs a RecommendationMetrics.
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