Struct aws_sdk_ec2::model::referenced_security_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ReferencedSecurityGroup
.
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 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 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 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 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) -> ReferencedSecurityGroup
pub fn build(self) -> ReferencedSecurityGroup
Consumes the builder and constructs a ReferencedSecurityGroup
.