Struct aws_sdk_elasticloadbalancing::operation::apply_security_groups_to_load_balancer::ApplySecurityGroupsToLoadBalancerInput
source · #[non_exhaustive]pub struct ApplySecurityGroupsToLoadBalancerInput {
pub load_balancer_name: Option<String>,
pub security_groups: Option<Vec<String>>,
}
Expand description
Contains the parameters for ApplySecurityGroupsToLoadBalancer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.load_balancer_name: Option<String>
The name of the load balancer.
security_groups: 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.
Implementations§
source§impl ApplySecurityGroupsToLoadBalancerInput
impl ApplySecurityGroupsToLoadBalancerInput
sourcepub fn load_balancer_name(&self) -> Option<&str>
pub fn load_balancer_name(&self) -> Option<&str>
The name of the load balancer.
sourcepub fn security_groups(&self) -> &[String]
pub fn security_groups(&self) -> &[String]
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_groups.is_none()
.
source§impl ApplySecurityGroupsToLoadBalancerInput
impl ApplySecurityGroupsToLoadBalancerInput
sourcepub fn builder() -> ApplySecurityGroupsToLoadBalancerInputBuilder
pub fn builder() -> ApplySecurityGroupsToLoadBalancerInputBuilder
Creates a new builder-style object to manufacture ApplySecurityGroupsToLoadBalancerInput
.
Trait Implementations§
source§impl Clone for ApplySecurityGroupsToLoadBalancerInput
impl Clone for ApplySecurityGroupsToLoadBalancerInput
source§fn clone(&self) -> ApplySecurityGroupsToLoadBalancerInput
fn clone(&self) -> ApplySecurityGroupsToLoadBalancerInput
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 PartialEq for ApplySecurityGroupsToLoadBalancerInput
impl PartialEq for ApplySecurityGroupsToLoadBalancerInput
source§fn eq(&self, other: &ApplySecurityGroupsToLoadBalancerInput) -> bool
fn eq(&self, other: &ApplySecurityGroupsToLoadBalancerInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApplySecurityGroupsToLoadBalancerInput
Auto Trait Implementations§
impl RefUnwindSafe for ApplySecurityGroupsToLoadBalancerInput
impl Send for ApplySecurityGroupsToLoadBalancerInput
impl Sync for ApplySecurityGroupsToLoadBalancerInput
impl Unpin for ApplySecurityGroupsToLoadBalancerInput
impl UnwindSafe for ApplySecurityGroupsToLoadBalancerInput
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.