Struct aws_sdk_elasticloadbalancing::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder
source · pub struct ApplySecurityGroupsToLoadBalancerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ApplySecurityGroupsToLoadBalancer
.
Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.
For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.
Implementations§
source§impl ApplySecurityGroupsToLoadBalancerFluentBuilder
impl ApplySecurityGroupsToLoadBalancerFluentBuilder
sourcepub fn as_input(&self) -> &ApplySecurityGroupsToLoadBalancerInputBuilder
pub fn as_input(&self) -> &ApplySecurityGroupsToLoadBalancerInputBuilder
Access the ApplySecurityGroupsToLoadBalancer as a reference.
sourcepub async fn send(
self
) -> Result<ApplySecurityGroupsToLoadBalancerOutput, SdkError<ApplySecurityGroupsToLoadBalancerError, HttpResponse>>
pub async fn send( self ) -> Result<ApplySecurityGroupsToLoadBalancerOutput, SdkError<ApplySecurityGroupsToLoadBalancerError, 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<ApplySecurityGroupsToLoadBalancerOutput, ApplySecurityGroupsToLoadBalancerError, Self>
pub fn customize( self ) -> CustomizableOperation<ApplySecurityGroupsToLoadBalancerOutput, ApplySecurityGroupsToLoadBalancerError, 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 security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to SecurityGroups
.
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.
Trait Implementations§
source§impl Clone for ApplySecurityGroupsToLoadBalancerFluentBuilder
impl Clone for ApplySecurityGroupsToLoadBalancerFluentBuilder
source§fn clone(&self) -> ApplySecurityGroupsToLoadBalancerFluentBuilder
fn clone(&self) -> ApplySecurityGroupsToLoadBalancerFluentBuilder
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 ApplySecurityGroupsToLoadBalancerFluentBuilder
impl !RefUnwindSafe for ApplySecurityGroupsToLoadBalancerFluentBuilder
impl Send for ApplySecurityGroupsToLoadBalancerFluentBuilder
impl Sync for ApplySecurityGroupsToLoadBalancerFluentBuilder
impl Unpin for ApplySecurityGroupsToLoadBalancerFluentBuilder
impl !UnwindSafe for ApplySecurityGroupsToLoadBalancerFluentBuilder
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> 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