pub struct DetachLoadBalancerFromSubnets { /* 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 DetachLoadBalancerFromSubnets
impl DetachLoadBalancerFromSubnets
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DetachLoadBalancerFromSubnets, AwsResponseRetryClassifier>, SdkError<DetachLoadBalancerFromSubnetsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DetachLoadBalancerFromSubnets, AwsResponseRetryClassifier>, SdkError<DetachLoadBalancerFromSubnetsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DetachLoadBalancerFromSubnetsOutput, SdkError<DetachLoadBalancerFromSubnetsError>>
pub async fn send(
self
) -> Result<DetachLoadBalancerFromSubnetsOutput, SdkError<DetachLoadBalancerFromSubnetsError>>
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 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.
Trait Implementations§
source§impl Clone for DetachLoadBalancerFromSubnets
impl Clone for DetachLoadBalancerFromSubnets
source§fn clone(&self) -> DetachLoadBalancerFromSubnets
fn clone(&self) -> DetachLoadBalancerFromSubnets
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more