Struct aws_sdk_ec2::model::security_group_reference::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SecurityGroupReference
.
Implementations§
source§impl Builder
impl Builder
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
.