Struct aws_sdk_securityhub::types::builders::RuleGroupSourceBuilder
source · #[non_exhaustive]pub struct RuleGroupSourceBuilder { /* private fields */ }
Expand description
A builder for RuleGroupSource
.
Implementations§
source§impl RuleGroupSourceBuilder
impl RuleGroupSourceBuilder
sourcepub fn rules_source_list(self, input: RuleGroupSourceListDetails) -> Self
pub fn rules_source_list(self, input: RuleGroupSourceListDetails) -> Self
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
sourcepub fn set_rules_source_list(
self,
input: Option<RuleGroupSourceListDetails>
) -> Self
pub fn set_rules_source_list( self, input: Option<RuleGroupSourceListDetails> ) -> Self
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
sourcepub fn get_rules_source_list(&self) -> &Option<RuleGroupSourceListDetails>
pub fn get_rules_source_list(&self) -> &Option<RuleGroupSourceListDetails>
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
sourcepub fn rules_string(self, input: impl Into<String>) -> Self
pub fn rules_string(self, input: impl Into<String>) -> Self
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
sourcepub fn set_rules_string(self, input: Option<String>) -> Self
pub fn set_rules_string(self, input: Option<String>) -> Self
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
sourcepub fn get_rules_string(&self) -> &Option<String>
pub fn get_rules_string(&self) -> &Option<String>
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
sourcepub fn stateful_rules(self, input: RuleGroupSourceStatefulRulesDetails) -> Self
pub fn stateful_rules(self, input: RuleGroupSourceStatefulRulesDetails) -> Self
Appends an item to stateful_rules
.
To override the contents of this collection use set_stateful_rules
.
Suricata rule specifications.
sourcepub fn set_stateful_rules(
self,
input: Option<Vec<RuleGroupSourceStatefulRulesDetails>>
) -> Self
pub fn set_stateful_rules( self, input: Option<Vec<RuleGroupSourceStatefulRulesDetails>> ) -> Self
Suricata rule specifications.
sourcepub fn get_stateful_rules(
&self
) -> &Option<Vec<RuleGroupSourceStatefulRulesDetails>>
pub fn get_stateful_rules( &self ) -> &Option<Vec<RuleGroupSourceStatefulRulesDetails>>
Suricata rule specifications.
sourcepub fn stateless_rules_and_custom_actions(
self,
input: RuleGroupSourceStatelessRulesAndCustomActionsDetails
) -> Self
pub fn stateless_rules_and_custom_actions( self, input: RuleGroupSourceStatelessRulesAndCustomActionsDetails ) -> Self
The stateless rules and custom actions used by a stateless rule group.
sourcepub fn set_stateless_rules_and_custom_actions(
self,
input: Option<RuleGroupSourceStatelessRulesAndCustomActionsDetails>
) -> Self
pub fn set_stateless_rules_and_custom_actions( self, input: Option<RuleGroupSourceStatelessRulesAndCustomActionsDetails> ) -> Self
The stateless rules and custom actions used by a stateless rule group.
sourcepub fn get_stateless_rules_and_custom_actions(
&self
) -> &Option<RuleGroupSourceStatelessRulesAndCustomActionsDetails>
pub fn get_stateless_rules_and_custom_actions( &self ) -> &Option<RuleGroupSourceStatelessRulesAndCustomActionsDetails>
The stateless rules and custom actions used by a stateless rule group.
sourcepub fn build(self) -> RuleGroupSource
pub fn build(self) -> RuleGroupSource
Consumes the builder and constructs a RuleGroupSource
.
Trait Implementations§
source§impl Clone for RuleGroupSourceBuilder
impl Clone for RuleGroupSourceBuilder
source§fn clone(&self) -> RuleGroupSourceBuilder
fn clone(&self) -> RuleGroupSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleGroupSourceBuilder
impl Debug for RuleGroupSourceBuilder
source§impl Default for RuleGroupSourceBuilder
impl Default for RuleGroupSourceBuilder
source§fn default() -> RuleGroupSourceBuilder
fn default() -> RuleGroupSourceBuilder
source§impl PartialEq for RuleGroupSourceBuilder
impl PartialEq for RuleGroupSourceBuilder
source§fn eq(&self, other: &RuleGroupSourceBuilder) -> bool
fn eq(&self, other: &RuleGroupSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleGroupSourceBuilder
Auto Trait Implementations§
impl Freeze for RuleGroupSourceBuilder
impl RefUnwindSafe for RuleGroupSourceBuilder
impl Send for RuleGroupSourceBuilder
impl Sync for RuleGroupSourceBuilder
impl Unpin for RuleGroupSourceBuilder
impl UnwindSafe for RuleGroupSourceBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more