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 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.
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 ==.