Struct aws_sdk_elasticloadbalancing::operation::detach_load_balancer_from_subnets::builders::DetachLoadBalancerFromSubnetsInputBuilder
source · #[non_exhaustive]pub struct DetachLoadBalancerFromSubnetsInputBuilder { /* private fields */ }
Expand description
A builder for DetachLoadBalancerFromSubnetsInput
.
Implementations§
source§impl DetachLoadBalancerFromSubnetsInputBuilder
impl DetachLoadBalancerFromSubnetsInputBuilder
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.
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.
sourcepub fn get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
The IDs of the subnets.
sourcepub fn build(self) -> Result<DetachLoadBalancerFromSubnetsInput, BuildError>
pub fn build(self) -> Result<DetachLoadBalancerFromSubnetsInput, BuildError>
Consumes the builder and constructs a DetachLoadBalancerFromSubnetsInput
.
source§impl DetachLoadBalancerFromSubnetsInputBuilder
impl DetachLoadBalancerFromSubnetsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DetachLoadBalancerFromSubnetsOutput, SdkError<DetachLoadBalancerFromSubnetsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DetachLoadBalancerFromSubnetsOutput, SdkError<DetachLoadBalancerFromSubnetsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DetachLoadBalancerFromSubnetsInputBuilder
impl Clone for DetachLoadBalancerFromSubnetsInputBuilder
source§fn clone(&self) -> DetachLoadBalancerFromSubnetsInputBuilder
fn clone(&self) -> DetachLoadBalancerFromSubnetsInputBuilder
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 DetachLoadBalancerFromSubnetsInputBuilder
impl Default for DetachLoadBalancerFromSubnetsInputBuilder
source§fn default() -> DetachLoadBalancerFromSubnetsInputBuilder
fn default() -> DetachLoadBalancerFromSubnetsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetachLoadBalancerFromSubnetsInputBuilder
impl PartialEq for DetachLoadBalancerFromSubnetsInputBuilder
source§fn eq(&self, other: &DetachLoadBalancerFromSubnetsInputBuilder) -> bool
fn eq(&self, other: &DetachLoadBalancerFromSubnetsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetachLoadBalancerFromSubnetsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DetachLoadBalancerFromSubnetsInputBuilder
impl Send for DetachLoadBalancerFromSubnetsInputBuilder
impl Sync for DetachLoadBalancerFromSubnetsInputBuilder
impl Unpin for DetachLoadBalancerFromSubnetsInputBuilder
impl UnwindSafe for DetachLoadBalancerFromSubnetsInputBuilder
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> 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>
Creates a shared type from an unshared type.