Struct aws_sdk_elasticloadbalancing::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerInputBuilder
source · #[non_exhaustive]pub struct ApplySecurityGroupsToLoadBalancerInputBuilder { /* private fields */ }
Expand description
A builder for ApplySecurityGroupsToLoadBalancerInput
.
Implementations§
source§impl ApplySecurityGroupsToLoadBalancerInputBuilder
impl ApplySecurityGroupsToLoadBalancerInputBuilder
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 security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
sourcepub fn build(self) -> Result<ApplySecurityGroupsToLoadBalancerInput, BuildError>
pub fn build(self) -> Result<ApplySecurityGroupsToLoadBalancerInput, BuildError>
Consumes the builder and constructs a ApplySecurityGroupsToLoadBalancerInput
.
source§impl ApplySecurityGroupsToLoadBalancerInputBuilder
impl ApplySecurityGroupsToLoadBalancerInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ApplySecurityGroupsToLoadBalancerOutput, SdkError<ApplySecurityGroupsToLoadBalancerError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ApplySecurityGroupsToLoadBalancerOutput, SdkError<ApplySecurityGroupsToLoadBalancerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ApplySecurityGroupsToLoadBalancerInputBuilder
impl Clone for ApplySecurityGroupsToLoadBalancerInputBuilder
source§fn clone(&self) -> ApplySecurityGroupsToLoadBalancerInputBuilder
fn clone(&self) -> ApplySecurityGroupsToLoadBalancerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ApplySecurityGroupsToLoadBalancerInputBuilder
impl Default for ApplySecurityGroupsToLoadBalancerInputBuilder
source§fn default() -> ApplySecurityGroupsToLoadBalancerInputBuilder
fn default() -> ApplySecurityGroupsToLoadBalancerInputBuilder
source§impl PartialEq for ApplySecurityGroupsToLoadBalancerInputBuilder
impl PartialEq for ApplySecurityGroupsToLoadBalancerInputBuilder
source§fn eq(&self, other: &ApplySecurityGroupsToLoadBalancerInputBuilder) -> bool
fn eq(&self, other: &ApplySecurityGroupsToLoadBalancerInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ApplySecurityGroupsToLoadBalancerInputBuilder
Auto Trait Implementations§
impl Freeze for ApplySecurityGroupsToLoadBalancerInputBuilder
impl RefUnwindSafe for ApplySecurityGroupsToLoadBalancerInputBuilder
impl Send for ApplySecurityGroupsToLoadBalancerInputBuilder
impl Sync for ApplySecurityGroupsToLoadBalancerInputBuilder
impl Unpin for ApplySecurityGroupsToLoadBalancerInputBuilder
impl UnwindSafe for ApplySecurityGroupsToLoadBalancerInputBuilder
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