Struct aws_sdk_rds::model::ec2_security_group::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for Ec2SecurityGroup.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
sourcepub fn ec2_security_group_name(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_name(self, input: impl Into<String>) -> Self
Specifies the name of the 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
Specifies the name of the EC2 security group.
sourcepub fn ec2_security_group_id(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_id(self, input: impl Into<String>) -> Self
Specifies the id of the EC2 security group.
sourcepub fn set_ec2_security_group_id(self, input: Option<String>) -> Self
pub fn set_ec2_security_group_id(self, input: Option<String>) -> Self
Specifies the id of the 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
Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
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
Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
sourcepub fn build(self) -> Ec2SecurityGroup
pub fn build(self) -> Ec2SecurityGroup
Consumes the builder and constructs a Ec2SecurityGroup.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more