#[non_exhaustive]pub struct AutomationRulesFindingFieldsUpdateBuilder { /* private fields */ }
Expand description
A builder for AutomationRulesFindingFieldsUpdate
.
Implementations§
source§impl AutomationRulesFindingFieldsUpdateBuilder
impl AutomationRulesFindingFieldsUpdateBuilder
sourcepub fn note(self, input: NoteUpdate) -> Self
pub fn note(self, input: NoteUpdate) -> Self
The updated note.
sourcepub fn set_note(self, input: Option<NoteUpdate>) -> Self
pub fn set_note(self, input: Option<NoteUpdate>) -> Self
The updated note.
sourcepub fn get_note(&self) -> &Option<NoteUpdate>
pub fn get_note(&self) -> &Option<NoteUpdate>
The updated note.
sourcepub fn severity(self, input: SeverityUpdate) -> Self
pub fn severity(self, input: SeverityUpdate) -> Self
Updates to the severity information for a finding.
sourcepub fn set_severity(self, input: Option<SeverityUpdate>) -> Self
pub fn set_severity(self, input: Option<SeverityUpdate>) -> Self
Updates to the severity information for a finding.
sourcepub fn get_severity(&self) -> &Option<SeverityUpdate>
pub fn get_severity(&self) -> &Option<SeverityUpdate>
Updates to the severity information for a finding.
sourcepub fn verification_state(self, input: VerificationState) -> Self
pub fn verification_state(self, input: VerificationState) -> Self
The rule action updates the VerificationState
field of a finding.
sourcepub fn set_verification_state(self, input: Option<VerificationState>) -> Self
pub fn set_verification_state(self, input: Option<VerificationState>) -> Self
The rule action updates the VerificationState
field of a finding.
sourcepub fn get_verification_state(&self) -> &Option<VerificationState>
pub fn get_verification_state(&self) -> &Option<VerificationState>
The rule action updates the VerificationState
field of a finding.
sourcepub fn confidence(self, input: i32) -> Self
pub fn confidence(self, input: i32) -> Self
The rule action updates the Confidence
field of a finding.
sourcepub fn set_confidence(self, input: Option<i32>) -> Self
pub fn set_confidence(self, input: Option<i32>) -> Self
The rule action updates the Confidence
field of a finding.
sourcepub fn get_confidence(&self) -> &Option<i32>
pub fn get_confidence(&self) -> &Option<i32>
The rule action updates the Confidence
field of a finding.
sourcepub fn criticality(self, input: i32) -> Self
pub fn criticality(self, input: i32) -> Self
The rule action updates the Criticality
field of a finding.
sourcepub fn set_criticality(self, input: Option<i32>) -> Self
pub fn set_criticality(self, input: Option<i32>) -> Self
The rule action updates the Criticality
field of a finding.
sourcepub fn get_criticality(&self) -> &Option<i32>
pub fn get_criticality(&self) -> &Option<i32>
The rule action updates the Criticality
field of a finding.
sourcepub fn types(self, input: impl Into<String>) -> Self
pub fn types(self, input: impl Into<String>) -> Self
Appends an item to types
.
To override the contents of this collection use set_types
.
The rule action updates the Types
field of a finding.
sourcepub fn set_types(self, input: Option<Vec<String>>) -> Self
pub fn set_types(self, input: Option<Vec<String>>) -> Self
The rule action updates the Types
field of a finding.
sourcepub fn get_types(&self) -> &Option<Vec<String>>
pub fn get_types(&self) -> &Option<Vec<String>>
The rule action updates the Types
field of a finding.
sourcepub fn user_defined_fields(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn user_defined_fields( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to user_defined_fields
.
To override the contents of this collection use set_user_defined_fields
.
The rule action updates the UserDefinedFields
field of a finding.
sourcepub fn set_user_defined_fields(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_user_defined_fields( self, input: Option<HashMap<String, String>> ) -> Self
The rule action updates the UserDefinedFields
field of a finding.
sourcepub fn get_user_defined_fields(&self) -> &Option<HashMap<String, String>>
pub fn get_user_defined_fields(&self) -> &Option<HashMap<String, String>>
The rule action updates the UserDefinedFields
field of a finding.
sourcepub fn workflow(self, input: WorkflowUpdate) -> Self
pub fn workflow(self, input: WorkflowUpdate) -> Self
Used to update information about the investigation into the finding.
sourcepub fn set_workflow(self, input: Option<WorkflowUpdate>) -> Self
pub fn set_workflow(self, input: Option<WorkflowUpdate>) -> Self
Used to update information about the investigation into the finding.
sourcepub fn get_workflow(&self) -> &Option<WorkflowUpdate>
pub fn get_workflow(&self) -> &Option<WorkflowUpdate>
Used to update information about the investigation into the finding.
Appends an item to related_findings
.
To override the contents of this collection use set_related_findings
.
The rule action updates the RelatedFindings
field of a finding.
The rule action updates the RelatedFindings
field of a finding.
The rule action updates the RelatedFindings
field of a finding.
sourcepub fn build(self) -> AutomationRulesFindingFieldsUpdate
pub fn build(self) -> AutomationRulesFindingFieldsUpdate
Consumes the builder and constructs a AutomationRulesFindingFieldsUpdate
.
Trait Implementations§
source§impl Clone for AutomationRulesFindingFieldsUpdateBuilder
impl Clone for AutomationRulesFindingFieldsUpdateBuilder
source§fn clone(&self) -> AutomationRulesFindingFieldsUpdateBuilder
fn clone(&self) -> AutomationRulesFindingFieldsUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AutomationRulesFindingFieldsUpdateBuilder
impl Default for AutomationRulesFindingFieldsUpdateBuilder
source§fn default() -> AutomationRulesFindingFieldsUpdateBuilder
fn default() -> AutomationRulesFindingFieldsUpdateBuilder
source§impl PartialEq for AutomationRulesFindingFieldsUpdateBuilder
impl PartialEq for AutomationRulesFindingFieldsUpdateBuilder
source§fn eq(&self, other: &AutomationRulesFindingFieldsUpdateBuilder) -> bool
fn eq(&self, other: &AutomationRulesFindingFieldsUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.