pub struct Builder { /* private fields */ }
Expand description
A builder for AttachLoadBalancerToSubnetsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
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 to add. You can add only one subnet per Availability Zone.
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 to add. You can add only one subnet per Availability Zone.
sourcepub fn build(self) -> Result<AttachLoadBalancerToSubnetsInput, BuildError>
pub fn build(self) -> Result<AttachLoadBalancerToSubnetsInput, BuildError>
Consumes the builder and constructs a AttachLoadBalancerToSubnetsInput
.