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 ==
.