#[non_exhaustive]pub struct DetectMitigationActionsTaskTargetBuilder { /* private fields */ }
Expand description
A builder for DetectMitigationActionsTaskTarget
.
Implementations§
source§impl DetectMitigationActionsTaskTargetBuilder
impl DetectMitigationActionsTaskTargetBuilder
sourcepub fn violation_ids(self, input: impl Into<String>) -> Self
pub fn violation_ids(self, input: impl Into<String>) -> Self
Appends an item to violation_ids
.
To override the contents of this collection use set_violation_ids
.
The unique identifiers of the violations.
sourcepub fn set_violation_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_violation_ids(self, input: Option<Vec<String>>) -> Self
The unique identifiers of the violations.
sourcepub fn get_violation_ids(&self) -> &Option<Vec<String>>
pub fn get_violation_ids(&self) -> &Option<Vec<String>>
The unique identifiers of the violations.
sourcepub fn security_profile_name(self, input: impl Into<String>) -> Self
pub fn security_profile_name(self, input: impl Into<String>) -> Self
The name of the security profile.
sourcepub fn set_security_profile_name(self, input: Option<String>) -> Self
pub fn set_security_profile_name(self, input: Option<String>) -> Self
The name of the security profile.
sourcepub fn get_security_profile_name(&self) -> &Option<String>
pub fn get_security_profile_name(&self) -> &Option<String>
The name of the security profile.
sourcepub fn behavior_name(self, input: impl Into<String>) -> Self
pub fn behavior_name(self, input: impl Into<String>) -> Self
The name of the behavior.
sourcepub fn set_behavior_name(self, input: Option<String>) -> Self
pub fn set_behavior_name(self, input: Option<String>) -> Self
The name of the behavior.
sourcepub fn get_behavior_name(&self) -> &Option<String>
pub fn get_behavior_name(&self) -> &Option<String>
The name of the behavior.
sourcepub fn build(self) -> DetectMitigationActionsTaskTarget
pub fn build(self) -> DetectMitigationActionsTaskTarget
Consumes the builder and constructs a DetectMitigationActionsTaskTarget
.
Trait Implementations§
source§impl Clone for DetectMitigationActionsTaskTargetBuilder
impl Clone for DetectMitigationActionsTaskTargetBuilder
source§fn clone(&self) -> DetectMitigationActionsTaskTargetBuilder
fn clone(&self) -> DetectMitigationActionsTaskTargetBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DetectMitigationActionsTaskTargetBuilder
impl Default for DetectMitigationActionsTaskTargetBuilder
source§fn default() -> DetectMitigationActionsTaskTargetBuilder
fn default() -> DetectMitigationActionsTaskTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetectMitigationActionsTaskTargetBuilder
impl PartialEq for DetectMitigationActionsTaskTargetBuilder
source§fn eq(&self, other: &DetectMitigationActionsTaskTargetBuilder) -> bool
fn eq(&self, other: &DetectMitigationActionsTaskTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectMitigationActionsTaskTargetBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DetectMitigationActionsTaskTargetBuilder
impl Send for DetectMitigationActionsTaskTargetBuilder
impl Sync for DetectMitigationActionsTaskTargetBuilder
impl Unpin for DetectMitigationActionsTaskTargetBuilder
impl UnwindSafe for DetectMitigationActionsTaskTargetBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.