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 ==
.impl StructuralPartialEq for SetSecurityGroupsInputBuilder
Auto Trait Implementations§
impl Freeze for SetSecurityGroupsInputBuilder
impl RefUnwindSafe for SetSecurityGroupsInputBuilder
impl Send for SetSecurityGroupsInputBuilder
impl Sync for SetSecurityGroupsInputBuilder
impl Unpin for SetSecurityGroupsInputBuilder
impl UnwindSafe for SetSecurityGroupsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more