Struct aws_sdk_connect::model::distribution::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Distribution
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region where the traffic is distributed.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region where the traffic is distributed.
sourcepub fn percentage(self, input: i32) -> Self
pub fn percentage(self, input: i32) -> Self
The percentage of the traffic that is distributed, in increments of 10.
sourcepub fn set_percentage(self, input: Option<i32>) -> Self
pub fn set_percentage(self, input: Option<i32>) -> Self
The percentage of the traffic that is distributed, in increments of 10.
sourcepub fn build(self) -> Distribution
pub fn build(self) -> Distribution
Consumes the builder and constructs a Distribution
.