Struct aws_sdk_ec2::types::builders::SecurityGroupReferenceBuilder
source · #[non_exhaustive]pub struct SecurityGroupReferenceBuilder { /* private fields */ }
Expand description
A builder for SecurityGroupReference
.
Implementations§
source§impl SecurityGroupReferenceBuilder
impl SecurityGroupReferenceBuilder
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The ID of your security group.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
The ID of your security group.
sourcepub fn referencing_vpc_id(self, input: impl Into<String>) -> Self
pub fn referencing_vpc_id(self, input: impl Into<String>) -> Self
The ID of the VPC with the referencing security group.
sourcepub fn set_referencing_vpc_id(self, input: Option<String>) -> Self
pub fn set_referencing_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC with the referencing security group.
sourcepub fn get_referencing_vpc_id(&self) -> &Option<String>
pub fn get_referencing_vpc_id(&self) -> &Option<String>
The ID of the VPC with the referencing security group.
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) -> SecurityGroupReference
pub fn build(self) -> SecurityGroupReference
Consumes the builder and constructs a SecurityGroupReference
.
Trait Implementations§
source§impl Clone for SecurityGroupReferenceBuilder
impl Clone for SecurityGroupReferenceBuilder
source§fn clone(&self) -> SecurityGroupReferenceBuilder
fn clone(&self) -> SecurityGroupReferenceBuilder
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 SecurityGroupReferenceBuilder
impl Default for SecurityGroupReferenceBuilder
source§fn default() -> SecurityGroupReferenceBuilder
fn default() -> SecurityGroupReferenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SecurityGroupReferenceBuilder
impl PartialEq for SecurityGroupReferenceBuilder
source§fn eq(&self, other: &SecurityGroupReferenceBuilder) -> bool
fn eq(&self, other: &SecurityGroupReferenceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityGroupReferenceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SecurityGroupReferenceBuilder
impl Send for SecurityGroupReferenceBuilder
impl Sync for SecurityGroupReferenceBuilder
impl Unpin for SecurityGroupReferenceBuilder
impl UnwindSafe for SecurityGroupReferenceBuilder
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>
Creates a shared type from an unshared type.