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