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 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 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
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 ==
.impl StructuralPartialEq for SetSecurityGroupsInputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more