Struct aws_sdk_securityhub::types::ClassificationResult
source · #[non_exhaustive]pub struct ClassificationResult {
pub mime_type: Option<String>,
pub size_classified: Option<i64>,
pub additional_occurrences: Option<bool>,
pub status: Option<ClassificationStatus>,
pub sensitive_data: Option<Vec<SensitiveDataResult>>,
pub custom_data_identifiers: Option<CustomDataIdentifiersResult>,
}
Expand description
Details about the sensitive data that was detected on the resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mime_type: Option<String>
The type of content that the finding applies to.
size_classified: Option<i64>
The total size in bytes of the affected data.
additional_occurrences: Option<bool>
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
status: Option<ClassificationStatus>
The current status of the sensitive data detection.
sensitive_data: Option<Vec<SensitiveDataResult>>
Provides details about sensitive data that was identified based on built-in configuration.
custom_data_identifiers: Option<CustomDataIdentifiersResult>
Provides details about sensitive data that was identified based on customer-defined configuration.
Implementations§
source§impl ClassificationResult
impl ClassificationResult
sourcepub fn size_classified(&self) -> Option<i64>
pub fn size_classified(&self) -> Option<i64>
The total size in bytes of the affected data.
sourcepub fn additional_occurrences(&self) -> Option<bool>
pub fn additional_occurrences(&self) -> Option<bool>
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
sourcepub fn status(&self) -> Option<&ClassificationStatus>
pub fn status(&self) -> Option<&ClassificationStatus>
The current status of the sensitive data detection.
sourcepub fn sensitive_data(&self) -> &[SensitiveDataResult]
pub fn sensitive_data(&self) -> &[SensitiveDataResult]
Provides details about sensitive data that was identified based on built-in configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sensitive_data.is_none()
.
sourcepub fn custom_data_identifiers(&self) -> Option<&CustomDataIdentifiersResult>
pub fn custom_data_identifiers(&self) -> Option<&CustomDataIdentifiersResult>
Provides details about sensitive data that was identified based on customer-defined configuration.
source§impl ClassificationResult
impl ClassificationResult
sourcepub fn builder() -> ClassificationResultBuilder
pub fn builder() -> ClassificationResultBuilder
Creates a new builder-style object to manufacture ClassificationResult
.
Trait Implementations§
source§impl Clone for ClassificationResult
impl Clone for ClassificationResult
source§fn clone(&self) -> ClassificationResult
fn clone(&self) -> ClassificationResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClassificationResult
impl Debug for ClassificationResult
source§impl PartialEq for ClassificationResult
impl PartialEq for ClassificationResult
source§fn eq(&self, other: &ClassificationResult) -> bool
fn eq(&self, other: &ClassificationResult) -> bool
self
and other
values to be equal, and is used
by ==
.