Struct aws_sdk_appmesh::model::WeightedTarget
source · #[non_exhaustive]pub struct WeightedTarget { /* private fields */ }
Expand description
An object that represents a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. The total weight for all targets combined must be less than or equal to 100.
Implementations§
source§impl WeightedTarget
impl WeightedTarget
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WeightedTarget
.
Trait Implementations§
source§impl Clone for WeightedTarget
impl Clone for WeightedTarget
source§fn clone(&self) -> WeightedTarget
fn clone(&self) -> WeightedTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more