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 ==
.