Struct aws_sdk_lambda::model::alias_routing_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AliasRoutingConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn additional_version_weights(self, k: impl Into<String>, v: f64) -> Self
pub fn additional_version_weights(self, k: impl Into<String>, v: f64) -> Self
Adds a key-value pair to additional_version_weights
.
To override the contents of this collection use set_additional_version_weights
.
The second version, and the percentage of traffic that's routed to it.
sourcepub fn set_additional_version_weights(
self,
input: Option<HashMap<String, f64>>
) -> Self
pub fn set_additional_version_weights(
self,
input: Option<HashMap<String, f64>>
) -> Self
The second version, and the percentage of traffic that's routed to it.
sourcepub fn build(self) -> AliasRoutingConfiguration
pub fn build(self) -> AliasRoutingConfiguration
Consumes the builder and constructs a AliasRoutingConfiguration
.