Struct aws_sdk_elasticloadbalancing::operation::detach_load_balancer_from_subnets::builders::DetachLoadBalancerFromSubnetsFluentBuilder
source · pub struct DetachLoadBalancerFromSubnetsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DetachLoadBalancerFromSubnets
.
Removes the specified subnets from the set of configured subnets for the load balancer.
After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService
state. Then, the load balancer balances the traffic among the remaining routable subnets.
Implementations§
source§impl DetachLoadBalancerFromSubnetsFluentBuilder
impl DetachLoadBalancerFromSubnetsFluentBuilder
sourcepub fn as_input(&self) -> &DetachLoadBalancerFromSubnetsInputBuilder
pub fn as_input(&self) -> &DetachLoadBalancerFromSubnetsInputBuilder
Access the DetachLoadBalancerFromSubnets as a reference.
sourcepub async fn send(
self
) -> Result<DetachLoadBalancerFromSubnetsOutput, SdkError<DetachLoadBalancerFromSubnetsError, HttpResponse>>
pub async fn send( self ) -> Result<DetachLoadBalancerFromSubnetsOutput, SdkError<DetachLoadBalancerFromSubnetsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DetachLoadBalancerFromSubnetsOutput, DetachLoadBalancerFromSubnetsError, Self>
pub fn customize( self ) -> CustomizableOperation<DetachLoadBalancerFromSubnetsOutput, DetachLoadBalancerFromSubnetsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
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 get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
The IDs of the subnets.
Trait Implementations§
source§impl Clone for DetachLoadBalancerFromSubnetsFluentBuilder
impl Clone for DetachLoadBalancerFromSubnetsFluentBuilder
source§fn clone(&self) -> DetachLoadBalancerFromSubnetsFluentBuilder
fn clone(&self) -> DetachLoadBalancerFromSubnetsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more