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