Struct aws_sdk_elasticloadbalancingv2::operation::delete_load_balancer::builders::DeleteLoadBalancerFluentBuilder
source · pub struct DeleteLoadBalancerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteLoadBalancer
.
Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners.
You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.
Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.
Implementations§
source§impl DeleteLoadBalancerFluentBuilder
impl DeleteLoadBalancerFluentBuilder
sourcepub fn as_input(&self) -> &DeleteLoadBalancerInputBuilder
pub fn as_input(&self) -> &DeleteLoadBalancerInputBuilder
Access the DeleteLoadBalancer as a reference.
sourcepub async fn send(
self
) -> Result<DeleteLoadBalancerOutput, SdkError<DeleteLoadBalancerError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteLoadBalancerOutput, SdkError<DeleteLoadBalancerError, 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<DeleteLoadBalancerOutput, DeleteLoadBalancerError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteLoadBalancerOutput, DeleteLoadBalancerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn load_balancer_arn(self, input: impl Into<String>) -> Self
pub fn load_balancer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn set_load_balancer_arn(self, input: Option<String>) -> Self
pub fn set_load_balancer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn get_load_balancer_arn(&self) -> &Option<String>
pub fn get_load_balancer_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the load balancer.
Trait Implementations§
source§impl Clone for DeleteLoadBalancerFluentBuilder
impl Clone for DeleteLoadBalancerFluentBuilder
source§fn clone(&self) -> DeleteLoadBalancerFluentBuilder
fn clone(&self) -> DeleteLoadBalancerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more