Struct aws_sdk_ec2::types::builders::ReferencedSecurityGroupBuilder
source · #[non_exhaustive]pub struct ReferencedSecurityGroupBuilder { /* private fields */ }
Expand description
A builder for ReferencedSecurityGroup
.
Implementations§
source§impl ReferencedSecurityGroupBuilder
impl ReferencedSecurityGroupBuilder
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The ID of the security group.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
The ID of the security group.
sourcepub fn peering_status(self, input: impl Into<String>) -> Self
pub fn peering_status(self, input: impl Into<String>) -> Self
The status of a VPC peering connection, if applicable.
sourcepub fn set_peering_status(self, input: Option<String>) -> Self
pub fn set_peering_status(self, input: Option<String>) -> Self
The status of a VPC peering connection, if applicable.
sourcepub fn get_peering_status(&self) -> &Option<String>
pub fn get_peering_status(&self) -> &Option<String>
The status of a VPC peering connection, if applicable.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The Amazon Web Services account ID.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPC peering connection (if applicable).
sourcepub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
The ID of the VPC peering connection (if applicable).
sourcepub fn get_vpc_peering_connection_id(&self) -> &Option<String>
pub fn get_vpc_peering_connection_id(&self) -> &Option<String>
The ID of the VPC peering connection (if applicable).
sourcepub fn build(self) -> ReferencedSecurityGroup
pub fn build(self) -> ReferencedSecurityGroup
Consumes the builder and constructs a ReferencedSecurityGroup
.
Trait Implementations§
source§impl Clone for ReferencedSecurityGroupBuilder
impl Clone for ReferencedSecurityGroupBuilder
source§fn clone(&self) -> ReferencedSecurityGroupBuilder
fn clone(&self) -> ReferencedSecurityGroupBuilder
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 ReferencedSecurityGroupBuilder
impl Default for ReferencedSecurityGroupBuilder
source§fn default() -> ReferencedSecurityGroupBuilder
fn default() -> ReferencedSecurityGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReferencedSecurityGroupBuilder
impl PartialEq for ReferencedSecurityGroupBuilder
source§fn eq(&self, other: &ReferencedSecurityGroupBuilder) -> bool
fn eq(&self, other: &ReferencedSecurityGroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReferencedSecurityGroupBuilder
Auto Trait Implementations§
impl Freeze for ReferencedSecurityGroupBuilder
impl RefUnwindSafe for ReferencedSecurityGroupBuilder
impl Send for ReferencedSecurityGroupBuilder
impl Sync for ReferencedSecurityGroupBuilder
impl Unpin for ReferencedSecurityGroupBuilder
impl UnwindSafe for ReferencedSecurityGroupBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.