#[non_exhaustive]pub struct RecommendationJobStoppingConditionsBuilder { /* private fields */ }
Expand description
A builder for RecommendationJobStoppingConditions
.
Implementations§
source§impl RecommendationJobStoppingConditionsBuilder
impl RecommendationJobStoppingConditionsBuilder
sourcepub fn max_invocations(self, input: i32) -> Self
pub fn max_invocations(self, input: i32) -> Self
The maximum number of requests per minute expected for the endpoint.
sourcepub fn set_max_invocations(self, input: Option<i32>) -> Self
pub fn set_max_invocations(self, input: Option<i32>) -> Self
The maximum number of requests per minute expected for the endpoint.
sourcepub fn get_max_invocations(&self) -> &Option<i32>
pub fn get_max_invocations(&self) -> &Option<i32>
The maximum number of requests per minute expected for the endpoint.
sourcepub fn model_latency_thresholds(self, input: ModelLatencyThreshold) -> Self
pub fn model_latency_thresholds(self, input: ModelLatencyThreshold) -> Self
Appends an item to model_latency_thresholds
.
To override the contents of this collection use set_model_latency_thresholds
.
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
sourcepub fn set_model_latency_thresholds(
self,
input: Option<Vec<ModelLatencyThreshold>>
) -> Self
pub fn set_model_latency_thresholds( self, input: Option<Vec<ModelLatencyThreshold>> ) -> Self
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
sourcepub fn get_model_latency_thresholds(
&self
) -> &Option<Vec<ModelLatencyThreshold>>
pub fn get_model_latency_thresholds( &self ) -> &Option<Vec<ModelLatencyThreshold>>
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
sourcepub fn flat_invocations(self, input: FlatInvocations) -> Self
pub fn flat_invocations(self, input: FlatInvocations) -> Self
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has reached capacity. The default value is Stop
. If you want the load test to continue after invocations have flattened, set the value to Continue
.
sourcepub fn set_flat_invocations(self, input: Option<FlatInvocations>) -> Self
pub fn set_flat_invocations(self, input: Option<FlatInvocations>) -> Self
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has reached capacity. The default value is Stop
. If you want the load test to continue after invocations have flattened, set the value to Continue
.
sourcepub fn get_flat_invocations(&self) -> &Option<FlatInvocations>
pub fn get_flat_invocations(&self) -> &Option<FlatInvocations>
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has reached capacity. The default value is Stop
. If you want the load test to continue after invocations have flattened, set the value to Continue
.
sourcepub fn build(self) -> RecommendationJobStoppingConditions
pub fn build(self) -> RecommendationJobStoppingConditions
Consumes the builder and constructs a RecommendationJobStoppingConditions
.
Trait Implementations§
source§impl Clone for RecommendationJobStoppingConditionsBuilder
impl Clone for RecommendationJobStoppingConditionsBuilder
source§fn clone(&self) -> RecommendationJobStoppingConditionsBuilder
fn clone(&self) -> RecommendationJobStoppingConditionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationJobStoppingConditionsBuilder
impl Default for RecommendationJobStoppingConditionsBuilder
source§fn default() -> RecommendationJobStoppingConditionsBuilder
fn default() -> RecommendationJobStoppingConditionsBuilder
source§impl PartialEq for RecommendationJobStoppingConditionsBuilder
impl PartialEq for RecommendationJobStoppingConditionsBuilder
source§fn eq(&self, other: &RecommendationJobStoppingConditionsBuilder) -> bool
fn eq(&self, other: &RecommendationJobStoppingConditionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.