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.
This field is required.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 get_load_balancer_arn(&self) -> &Option<String>
pub fn get_load_balancer_arn(&self) -> &Option<String>
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 get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
The IDs of the security groups.
sourcepub fn enforce_security_group_inbound_rules_on_private_link_traffic(
self,
input: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
) -> Self
pub fn enforce_security_group_inbound_rules_on_private_link_traffic( self, input: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum ) -> Self
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink. The default is on
.
sourcepub fn set_enforce_security_group_inbound_rules_on_private_link_traffic(
self,
input: Option<EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum>
) -> Self
pub fn set_enforce_security_group_inbound_rules_on_private_link_traffic( self, input: Option<EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum> ) -> Self
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink. The default is on
.
sourcepub fn get_enforce_security_group_inbound_rules_on_private_link_traffic(
&self
) -> &Option<EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum>
pub fn get_enforce_security_group_inbound_rules_on_private_link_traffic( &self ) -> &Option<EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum>
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink. The default is on
.
sourcepub fn build(self) -> Result<SetSecurityGroupsInput, BuildError>
pub fn build(self) -> Result<SetSecurityGroupsInput, BuildError>
Consumes the builder and constructs a SetSecurityGroupsInput
.
source§impl SetSecurityGroupsInputBuilder
impl SetSecurityGroupsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetSecurityGroupsOutput, SdkError<SetSecurityGroupsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetSecurityGroupsOutput, SdkError<SetSecurityGroupsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetSecurityGroupsInputBuilder
impl Clone for SetSecurityGroupsInputBuilder
source§fn clone(&self) -> SetSecurityGroupsInputBuilder
fn clone(&self) -> SetSecurityGroupsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SetSecurityGroupsInputBuilder
impl Default for SetSecurityGroupsInputBuilder
source§fn default() -> SetSecurityGroupsInputBuilder
fn default() -> SetSecurityGroupsInputBuilder
source§impl PartialEq for SetSecurityGroupsInputBuilder
impl PartialEq for SetSecurityGroupsInputBuilder
source§fn eq(&self, other: &SetSecurityGroupsInputBuilder) -> bool
fn eq(&self, other: &SetSecurityGroupsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.