Struct aws_sdk_elasticloadbalancing::operation::attach_load_balancer_to_subnets::builders::AttachLoadBalancerToSubnetsInputBuilder
source · #[non_exhaustive]pub struct AttachLoadBalancerToSubnetsInputBuilder { /* private fields */ }
Expand description
A builder for AttachLoadBalancerToSubnetsInput
.
Implementations§
source§impl AttachLoadBalancerToSubnetsInputBuilder
impl AttachLoadBalancerToSubnetsInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<AttachLoadBalancerToSubnetsInput, BuildError>
pub fn build(self) -> Result<AttachLoadBalancerToSubnetsInput, BuildError>
Consumes the builder and constructs a AttachLoadBalancerToSubnetsInput
.
source§impl AttachLoadBalancerToSubnetsInputBuilder
impl AttachLoadBalancerToSubnetsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AttachLoadBalancerToSubnetsOutput, SdkError<AttachLoadBalancerToSubnetsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AttachLoadBalancerToSubnetsOutput, SdkError<AttachLoadBalancerToSubnetsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AttachLoadBalancerToSubnetsInputBuilder
impl Clone for AttachLoadBalancerToSubnetsInputBuilder
source§fn clone(&self) -> AttachLoadBalancerToSubnetsInputBuilder
fn clone(&self) -> AttachLoadBalancerToSubnetsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AttachLoadBalancerToSubnetsInputBuilder
impl Default for AttachLoadBalancerToSubnetsInputBuilder
source§fn default() -> AttachLoadBalancerToSubnetsInputBuilder
fn default() -> AttachLoadBalancerToSubnetsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AttachLoadBalancerToSubnetsInputBuilder
impl PartialEq for AttachLoadBalancerToSubnetsInputBuilder
source§fn eq(&self, other: &AttachLoadBalancerToSubnetsInputBuilder) -> bool
fn eq(&self, other: &AttachLoadBalancerToSubnetsInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AttachLoadBalancerToSubnetsInputBuilder
Auto Trait Implementations§
impl Freeze for AttachLoadBalancerToSubnetsInputBuilder
impl RefUnwindSafe for AttachLoadBalancerToSubnetsInputBuilder
impl Send for AttachLoadBalancerToSubnetsInputBuilder
impl Sync for AttachLoadBalancerToSubnetsInputBuilder
impl Unpin for AttachLoadBalancerToSubnetsInputBuilder
impl UnwindSafe for AttachLoadBalancerToSubnetsInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.