Struct aws_sdk_elasticache::model::ec2_security_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Ec2SecurityGroup
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the Amazon EC2 security group.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the Amazon EC2 security group.
sourcepub fn ec2_security_group_name(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_name(self, input: impl Into<String>) -> Self
The name of the Amazon EC2 security group.
sourcepub fn set_ec2_security_group_name(self, input: Option<String>) -> Self
pub fn set_ec2_security_group_name(self, input: Option<String>) -> Self
The name of the Amazon EC2 security group.
sourcepub fn ec2_security_group_owner_id(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_owner_id(self, input: impl Into<String>) -> Self
The Amazon account ID of the Amazon EC2 security group owner.
sourcepub fn set_ec2_security_group_owner_id(self, input: Option<String>) -> Self
pub fn set_ec2_security_group_owner_id(self, input: Option<String>) -> Self
The Amazon account ID of the Amazon EC2 security group owner.
sourcepub fn build(self) -> Ec2SecurityGroup
pub fn build(self) -> Ec2SecurityGroup
Consumes the builder and constructs a Ec2SecurityGroup
.