Struct aws_sdk_ec2::model::security_group_rule::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for SecurityGroupRule
Implementations
The ID of the security group rule.
The ID of the security group rule.
The ID of the security group.
The ID of the Amazon Web Services account that owns the security group.
The ID of the Amazon Web Services account that owns the security group.
Indicates whether the security group rule is an outbound rule.
Indicates whether the security group rule is an outbound rule.
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see Protocol Numbers).
Use -1
to specify all protocols.
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see Protocol Numbers).
Use -1
to specify all protocols.
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The IPv4 CIDR range.
The IPv6 CIDR range.
The ID of the prefix list.
The ID of the prefix list.
Describes the security group that is referenced in the rule.
Describes the security group that is referenced in the rule.
The security group rule description.
The security group rule description.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags applied to the security group rule.
The tags applied to the security group rule.
Consumes the builder and constructs a SecurityGroupRule
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more