Struct aws_sdk_securityhub::types::builders::RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
source · #[non_exhaustive]pub struct RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder { /* private fields */ }
Expand description
A builder for RuleGroupSourceStatelessRuleMatchAttributesTcpFlags
.
Implementations§
source§impl RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
sourcepub fn flags(self, input: impl Into<String>) -> Self
pub fn flags(self, input: impl Into<String>) -> Self
Appends an item to flags
.
To override the contents of this collection use set_flags
.
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags that are listed must be set. Flags that are not listed must not be set.
sourcepub fn set_flags(self, input: Option<Vec<String>>) -> Self
pub fn set_flags(self, input: Option<Vec<String>>) -> Self
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags that are listed must be set. Flags that are not listed must not be set.
sourcepub fn get_flags(&self) -> &Option<Vec<String>>
pub fn get_flags(&self) -> &Option<Vec<String>>
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags that are listed must be set. Flags that are not listed must not be set.
sourcepub fn masks(self, input: impl Into<String>) -> Self
pub fn masks(self, input: impl Into<String>) -> Self
Appends an item to masks
.
To override the contents of this collection use set_masks
.
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
sourcepub fn set_masks(self, input: Option<Vec<String>>) -> Self
pub fn set_masks(self, input: Option<Vec<String>>) -> Self
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
sourcepub fn get_masks(&self) -> &Option<Vec<String>>
pub fn get_masks(&self) -> &Option<Vec<String>>
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
sourcepub fn build(self) -> RuleGroupSourceStatelessRuleMatchAttributesTcpFlags
pub fn build(self) -> RuleGroupSourceStatelessRuleMatchAttributesTcpFlags
Consumes the builder and constructs a RuleGroupSourceStatelessRuleMatchAttributesTcpFlags
.
Trait Implementations§
source§impl Clone for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl Clone for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
source§fn clone(&self) -> RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
fn clone(&self) -> RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl Default for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
source§fn default() -> RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
fn default() -> RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
source§impl PartialEq for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl PartialEq for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
source§fn eq(
&self,
other: &RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
) -> bool
fn eq( &self, other: &RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.