Struct aws_sdk_elasticloadbalancingv2::operation::set_security_groups::builders::SetSecurityGroupsInputBuilder
source · #[non_exhaustive]pub struct SetSecurityGroupsInputBuilder { /* private fields */ }
Expand description
A builder for SetSecurityGroupsInput
.
Implementations§
source§impl SetSecurityGroupsInputBuilder
impl SetSecurityGroupsInputBuilder
sourcepub fn load_balancer_arn(self, input: impl Into<String>) -> Self
pub fn load_balancer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn set_load_balancer_arn(self, input: Option<String>) -> Self
pub fn set_load_balancer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) 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.
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.
sourcepub fn build(self) -> Result<SetSecurityGroupsInput, BuildError>
pub fn build(self) -> Result<SetSecurityGroupsInput, BuildError>
Consumes the builder and constructs a SetSecurityGroupsInput
.
Trait Implementations§
source§impl Clone for SetSecurityGroupsInputBuilder
impl Clone for SetSecurityGroupsInputBuilder
source§fn clone(&self) -> SetSecurityGroupsInputBuilder
fn clone(&self) -> SetSecurityGroupsInputBuilder
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 SetSecurityGroupsInputBuilder
impl Default for SetSecurityGroupsInputBuilder
source§fn default() -> SetSecurityGroupsInputBuilder
fn default() -> SetSecurityGroupsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SetSecurityGroupsInputBuilder> for SetSecurityGroupsInputBuilder
impl PartialEq<SetSecurityGroupsInputBuilder> for SetSecurityGroupsInputBuilder
source§fn eq(&self, other: &SetSecurityGroupsInputBuilder) -> bool
fn eq(&self, other: &SetSecurityGroupsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.