Struct aws_sdk_ec2::model::security_group_rule_description::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SecurityGroupRuleDescription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn security_group_rule_id(self, input: impl Into<String>) -> Self
pub fn security_group_rule_id(self, input: impl Into<String>) -> Self
The ID of the security group rule.
sourcepub fn set_security_group_rule_id(self, input: Option<String>) -> Self
pub fn set_security_group_rule_id(self, input: Option<String>) -> Self
The ID of the security group rule.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the security group rule.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the security group rule.
sourcepub fn build(self) -> SecurityGroupRuleDescription
pub fn build(self) -> SecurityGroupRuleDescription
Consumes the builder and constructs a SecurityGroupRuleDescription
.