Struct aws_sdk_sagemaker::model::inference_metrics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InferenceMetrics
.
Implementations§
source§impl Builder
impl Builder
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 invocations 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 invocations per minute for the instance.
sourcepub fn build(self) -> InferenceMetrics
pub fn build(self) -> InferenceMetrics
Consumes the builder and constructs a InferenceMetrics
.