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.
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 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 build(self) -> Result<ApplySecurityGroupsToLoadBalancerInput, BuildError>
pub fn build(self) -> Result<ApplySecurityGroupsToLoadBalancerInput, BuildError>
Consumes the builder and constructs a ApplySecurityGroupsToLoadBalancerInput.
Trait Implementations§
source§impl Clone for ApplySecurityGroupsToLoadBalancerInputBuilder
impl Clone for ApplySecurityGroupsToLoadBalancerInputBuilder
source§fn clone(&self) -> ApplySecurityGroupsToLoadBalancerInputBuilder
fn clone(&self) -> ApplySecurityGroupsToLoadBalancerInputBuilder
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 ApplySecurityGroupsToLoadBalancerInputBuilder
impl Default for ApplySecurityGroupsToLoadBalancerInputBuilder
source§fn default() -> ApplySecurityGroupsToLoadBalancerInputBuilder
fn default() -> ApplySecurityGroupsToLoadBalancerInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ApplySecurityGroupsToLoadBalancerInputBuilder> for ApplySecurityGroupsToLoadBalancerInputBuilder
impl PartialEq<ApplySecurityGroupsToLoadBalancerInputBuilder> for ApplySecurityGroupsToLoadBalancerInputBuilder
source§fn eq(&self, other: &ApplySecurityGroupsToLoadBalancerInputBuilder) -> bool
fn eq(&self, other: &ApplySecurityGroupsToLoadBalancerInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.