Struct aws_sdk_elasticloadbalancing::operation::attach_load_balancer_to_subnets::builders::AttachLoadBalancerToSubnetsFluentBuilder
source · pub struct AttachLoadBalancerToSubnetsFluentBuilder { /* 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 AttachLoadBalancerToSubnetsFluentBuilder
impl AttachLoadBalancerToSubnetsFluentBuilder
sourcepub fn as_input(&self) -> &AttachLoadBalancerToSubnetsInputBuilder
pub fn as_input(&self) -> &AttachLoadBalancerToSubnetsInputBuilder
Access the AttachLoadBalancerToSubnets as a reference.
sourcepub async fn send(
self,
) -> Result<AttachLoadBalancerToSubnetsOutput, SdkError<AttachLoadBalancerToSubnetsError, HttpResponse>>
pub async fn send( self, ) -> Result<AttachLoadBalancerToSubnetsOutput, SdkError<AttachLoadBalancerToSubnetsError, 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<AttachLoadBalancerToSubnetsOutput, AttachLoadBalancerToSubnetsError, Self>
pub fn customize( self, ) -> CustomizableOperation<AttachLoadBalancerToSubnetsOutput, AttachLoadBalancerToSubnetsError, 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 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.
sourcepub fn get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
Trait Implementations§
source§impl Clone for AttachLoadBalancerToSubnetsFluentBuilder
impl Clone for AttachLoadBalancerToSubnetsFluentBuilder
source§fn clone(&self) -> AttachLoadBalancerToSubnetsFluentBuilder
fn clone(&self) -> AttachLoadBalancerToSubnetsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AttachLoadBalancerToSubnetsFluentBuilder
impl !RefUnwindSafe for AttachLoadBalancerToSubnetsFluentBuilder
impl Send for AttachLoadBalancerToSubnetsFluentBuilder
impl Sync for AttachLoadBalancerToSubnetsFluentBuilder
impl Unpin for AttachLoadBalancerToSubnetsFluentBuilder
impl !UnwindSafe for AttachLoadBalancerToSubnetsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more