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.
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.
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.
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<ReferencedSecurityGroupBuilder> for ReferencedSecurityGroupBuilder
impl PartialEq<ReferencedSecurityGroupBuilder> 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 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