Struct aws_sdk_elasticloadbalancing::input::apply_security_groups_to_load_balancer_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ApplySecurityGroupsToLoadBalancerInput
.
Implementations§
source§impl Builder
impl Builder
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
.