pub struct AttachLoadBalancerToSubnets { /* private fields */ }
Expand description
Fluent builder constructing a request to AttachLoadBalancerToSubnets
.
Adds one or more subnets to the set of configured subnets for the specified load balancer.
The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.
Implementations§
source§impl AttachLoadBalancerToSubnets
impl AttachLoadBalancerToSubnets
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AttachLoadBalancerToSubnets, AwsResponseRetryClassifier>, SdkError<AttachLoadBalancerToSubnetsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AttachLoadBalancerToSubnets, AwsResponseRetryClassifier>, SdkError<AttachLoadBalancerToSubnetsError>>
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<AttachLoadBalancerToSubnetsOutput, SdkError<AttachLoadBalancerToSubnetsError>>
pub async fn send(
self
) -> Result<AttachLoadBalancerToSubnetsOutput, SdkError<AttachLoadBalancerToSubnetsError>>
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 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.
Trait Implementations§
source§impl Clone for AttachLoadBalancerToSubnets
impl Clone for AttachLoadBalancerToSubnets
source§fn clone(&self) -> AttachLoadBalancerToSubnets
fn clone(&self) -> AttachLoadBalancerToSubnets
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more