pub fn weighted_targets(mut self, input: crate::model::WeightedTarget) -> Self {
            let mut v = self.weighted_targets.unwrap_or_default();
            v.push(input);
            self.weighted_targets = Some(v);
            self
        }
/// Appends an item to `weighted_targets`.
///
/// To override the contents of this collection use [`set_weighted_targets`](Self::set_weighted_targets).
///
/// <p>An object that represents the targets that traffic is routed to when a request matches the route.</p>
Appends an item to `weighted_targets`.
To override the contents of this collection use [`set_weighted_targets`](Self::set_weighted_targets).

An object that represents the targets that traffic is routed to when a request matches the route.
Appends an item to ` weighted_targets ` . To override the contents of this collection use [ ` set_weighted_targets ` ] ( Self :: set_weighted_targets ) . An object that represents the targets that traffic is routed to when a request matches the route .
pub fn weighted_targets(mut self, input: crate::model::WeightedTarget) -> Self {
            let mut v = self.weighted_targets.unwrap_or_default();
            v.push(input);
            self.weighted_targets = Some(v);
            self
        }
pub fn weighted_targets ( mut self , input : crate :: model :: WeightedTarget ) -> Self { let mut v = self . weighted_targets . unwrap_or_default ( ) ; v . push ( input ) ; self . weighted_targets = Some ( v ) ; self }
Appends an item to `weighted_targets`.
Appends an item to ` weighted_targets ` .
mut self
input
crate::model::WeightedTarget
mut self
input
crate::model::WeightedTarget