pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateEndpointWeightsAndCapacitiesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
The name of an existing SageMaker endpoint.
sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
The name of an existing SageMaker endpoint.
sourcepub fn desired_weights_and_capacities(
self,
input: DesiredWeightAndCapacity
) -> Self
pub fn desired_weights_and_capacities(
self,
input: DesiredWeightAndCapacity
) -> Self
Appends an item to desired_weights_and_capacities
.
To override the contents of this collection use set_desired_weights_and_capacities
.
An object that provides new capacity and weight values for a variant.
sourcepub fn set_desired_weights_and_capacities(
self,
input: Option<Vec<DesiredWeightAndCapacity>>
) -> Self
pub fn set_desired_weights_and_capacities(
self,
input: Option<Vec<DesiredWeightAndCapacity>>
) -> Self
An object that provides new capacity and weight values for a variant.
sourcepub fn build(
self
) -> Result<UpdateEndpointWeightsAndCapacitiesInput, BuildError>
pub fn build(
self
) -> Result<UpdateEndpointWeightsAndCapacitiesInput, BuildError>
Consumes the builder and constructs a UpdateEndpointWeightsAndCapacitiesInput
.