Struct aws_sdk_elasticloadbalancing::input::detach_load_balancer_from_subnets_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DetachLoadBalancerFromSubnetsInput
.
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.
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.
sourcepub fn build(self) -> Result<DetachLoadBalancerFromSubnetsInput, BuildError>
pub fn build(self) -> Result<DetachLoadBalancerFromSubnetsInput, BuildError>
Consumes the builder and constructs a DetachLoadBalancerFromSubnetsInput
.