Struct aws_sdk_ec2::model::security_group_identifier::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SecurityGroupIdentifier
.
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 group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the security group.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the security group.
sourcepub fn build(self) -> SecurityGroupIdentifier
pub fn build(self) -> SecurityGroupIdentifier
Consumes the builder and constructs a SecurityGroupIdentifier
.