Struct aws_sdk_elasticloadbalancing::output::attach_load_balancer_to_subnets_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AttachLoadBalancerToSubnetsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
The IDs of the subnets attached to the load balancer.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
The IDs of the subnets attached to the load balancer.
sourcepub fn build(self) -> AttachLoadBalancerToSubnetsOutput
pub fn build(self) -> AttachLoadBalancerToSubnetsOutput
Consumes the builder and constructs a AttachLoadBalancerToSubnetsOutput
.