Struct aws_sdk_securityhub::model::finding_provider_fields::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FindingProviderFields
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn confidence(self, input: i32) -> Self
pub fn confidence(self, input: i32) -> Self
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.
Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
sourcepub fn set_confidence(self, input: Option<i32>) -> Self
pub fn set_confidence(self, input: Option<i32>) -> Self
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.
Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
sourcepub fn criticality(self, input: i32) -> Self
pub fn criticality(self, input: i32) -> Self
The level of importance assigned to the resources associated with the finding.
A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
sourcepub fn set_criticality(self, input: Option<i32>) -> Self
pub fn set_criticality(self, input: Option<i32>) -> Self
The level of importance assigned to the resources associated with the finding.
A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
Appends an item to related_findings
.
To override the contents of this collection use set_related_findings
.
A list of findings that are related to the current finding.
A list of findings that are related to the current finding.
sourcepub fn severity(self, input: FindingProviderSeverity) -> Self
pub fn severity(self, input: FindingProviderSeverity) -> Self
The severity of a finding.
sourcepub fn set_severity(self, input: Option<FindingProviderSeverity>) -> Self
pub fn set_severity(self, input: Option<FindingProviderSeverity>) -> Self
The severity 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
.
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
sourcepub fn set_types(self, input: Option<Vec<String>>) -> Self
pub fn set_types(self, input: Option<Vec<String>>) -> Self
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
sourcepub fn build(self) -> FindingProviderFields
pub fn build(self) -> FindingProviderFields
Consumes the builder and constructs a FindingProviderFields
.