Struct aws_sdk_securityhub::model::rule_group_source_stateless_rule_match_attributes::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for RuleGroupSourceStatelessRuleMatchAttributes
Implementations
pub fn destination_ports(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts
) -> Self
pub fn destination_ports(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts
) -> Self
Appends an item to destination_ports.
To override the contents of this collection use set_destination_ports.
A list of port ranges to specify the destination ports to inspect for.
pub fn set_destination_ports(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts>>
) -> Self
pub fn set_destination_ports(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts>>
) -> Self
A list of port ranges to specify the destination ports to inspect for.
pub fn destinations(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesDestinations
) -> Self
pub fn destinations(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesDestinations
) -> Self
Appends an item to destinations.
To override the contents of this collection use set_destinations.
The destination IP addresses and address ranges to inspect for, in CIDR notation.
pub fn set_destinations(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesDestinations>>
) -> Self
pub fn set_destinations(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesDestinations>>
) -> Self
The destination IP addresses and address ranges to inspect for, in CIDR notation.
Appends an item to protocols.
To override the contents of this collection use set_protocols.
The protocols to inspect for.
The protocols to inspect for.
pub fn source_ports(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesSourcePorts
) -> Self
pub fn source_ports(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesSourcePorts
) -> Self
Appends an item to source_ports.
To override the contents of this collection use set_source_ports.
A list of port ranges to specify the source ports to inspect for.
pub fn set_source_ports(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts>>
) -> Self
pub fn set_source_ports(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts>>
) -> Self
A list of port ranges to specify the source ports to inspect for.
Appends an item to sources.
To override the contents of this collection use set_sources.
The source IP addresses and address ranges to inspect for, in CIDR notation.
pub fn set_sources(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesSources>>
) -> Self
pub fn set_sources(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesSources>>
) -> Self
The source IP addresses and address ranges to inspect for, in CIDR notation.
Appends an item to tcp_flags.
To override the contents of this collection use set_tcp_flags.
The TCP flags and masks to inspect for.
pub fn set_tcp_flags(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags>>
) -> Self
pub fn set_tcp_flags(
self,
input: Option<Vec<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags>>
) -> Self
The TCP flags and masks to inspect for.
Consumes the builder and constructs a RuleGroupSourceStatelessRuleMatchAttributes
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