Struct aws_sdk_codedeploy::model::traffic_route::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TrafficRoute
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn listener_arns(self, input: impl Into<String>) -> Self
pub fn listener_arns(self, input: impl Into<String>) -> Self
Appends an item to listener_arns
.
To override the contents of this collection use set_listener_arns
.
The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.
sourcepub fn set_listener_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_listener_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.
sourcepub fn build(self) -> TrafficRoute
pub fn build(self) -> TrafficRoute
Consumes the builder and constructs a TrafficRoute
.