Struct aws_sdk_securityhub::model::rule_group_source_stateless_rule_match_attributes::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for RuleGroupSourceStatelessRuleMatchAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub 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.
sourcepub 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.
sourcepub 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.
sourcepub 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.
sourcepub fn protocols(self, input: i32) -> Self
pub fn protocols(self, input: i32) -> Self
Appends an item to protocols
.
To override the contents of this collection use set_protocols
.
The protocols to inspect for.
sourcepub fn set_protocols(self, input: Option<Vec<i32>>) -> Self
pub fn set_protocols(self, input: Option<Vec<i32>>) -> Self
The protocols to inspect for.
sourcepub 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.
sourcepub 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.
sourcepub fn sources(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesSources
) -> Self
pub fn sources(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesSources
) -> Self
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.
sourcepub 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.
sourcepub fn tcp_flags(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesTcpFlags
) -> Self
pub fn tcp_flags(
self,
input: RuleGroupSourceStatelessRuleMatchAttributesTcpFlags
) -> Self
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.
sourcepub 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.
sourcepub fn build(self) -> RuleGroupSourceStatelessRuleMatchAttributes
pub fn build(self) -> RuleGroupSourceStatelessRuleMatchAttributes
Consumes the builder and constructs a RuleGroupSourceStatelessRuleMatchAttributes
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more