Struct aws_sdk_ec2::types::builders::SecurityGroupRuleUpdateBuilder
source · #[non_exhaustive]pub struct SecurityGroupRuleUpdateBuilder { /* private fields */ }
Expand description
A builder for SecurityGroupRuleUpdate
.
Implementations§
source§impl SecurityGroupRuleUpdateBuilder
impl SecurityGroupRuleUpdateBuilder
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 get_security_group_rule_id(&self) -> &Option<String>
pub fn get_security_group_rule_id(&self) -> &Option<String>
The ID of the security group rule.
sourcepub fn security_group_rule(self, input: SecurityGroupRuleRequest) -> Self
pub fn security_group_rule(self, input: SecurityGroupRuleRequest) -> Self
Information about the security group rule.
sourcepub fn set_security_group_rule(
self,
input: Option<SecurityGroupRuleRequest>
) -> Self
pub fn set_security_group_rule( self, input: Option<SecurityGroupRuleRequest> ) -> Self
Information about the security group rule.
sourcepub fn get_security_group_rule(&self) -> &Option<SecurityGroupRuleRequest>
pub fn get_security_group_rule(&self) -> &Option<SecurityGroupRuleRequest>
Information about the security group rule.
sourcepub fn build(self) -> SecurityGroupRuleUpdate
pub fn build(self) -> SecurityGroupRuleUpdate
Consumes the builder and constructs a SecurityGroupRuleUpdate
.
Trait Implementations§
source§impl Clone for SecurityGroupRuleUpdateBuilder
impl Clone for SecurityGroupRuleUpdateBuilder
source§fn clone(&self) -> SecurityGroupRuleUpdateBuilder
fn clone(&self) -> SecurityGroupRuleUpdateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SecurityGroupRuleUpdateBuilder
impl Default for SecurityGroupRuleUpdateBuilder
source§fn default() -> SecurityGroupRuleUpdateBuilder
fn default() -> SecurityGroupRuleUpdateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SecurityGroupRuleUpdateBuilder> for SecurityGroupRuleUpdateBuilder
impl PartialEq<SecurityGroupRuleUpdateBuilder> for SecurityGroupRuleUpdateBuilder
source§fn eq(&self, other: &SecurityGroupRuleUpdateBuilder) -> bool
fn eq(&self, other: &SecurityGroupRuleUpdateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityGroupRuleUpdateBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SecurityGroupRuleUpdateBuilder
impl Send for SecurityGroupRuleUpdateBuilder
impl Sync for SecurityGroupRuleUpdateBuilder
impl Unpin for SecurityGroupRuleUpdateBuilder
impl UnwindSafe for SecurityGroupRuleUpdateBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more