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 ==
.impl StructuralPartialEq for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
Auto Trait Implementations§
impl Freeze for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl RefUnwindSafe for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl Send for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl Sync for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl Unpin for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
impl UnwindSafe for RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsBuilder
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