Struct aws_sdk_securityhub::model::classification_result::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ClassificationResult
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn mime_type(self, input: impl Into<String>) -> Self
pub fn mime_type(self, input: impl Into<String>) -> Self
The type of content that the finding applies to.
sourcepub fn set_mime_type(self, input: Option<String>) -> Self
pub fn set_mime_type(self, input: Option<String>) -> Self
The type of content that the finding applies to.
sourcepub fn size_classified(self, input: i64) -> Self
pub fn size_classified(self, input: i64) -> Self
The total size in bytes of the affected data.
sourcepub fn set_size_classified(self, input: Option<i64>) -> Self
pub fn set_size_classified(self, input: Option<i64>) -> Self
The total size in bytes of the affected data.
sourcepub fn additional_occurrences(self, input: bool) -> Self
pub fn additional_occurrences(self, input: bool) -> Self
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 set_additional_occurrences(self, input: Option<bool>) -> Self
pub fn set_additional_occurrences(self, input: Option<bool>) -> Self
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, input: ClassificationStatus) -> Self
pub fn status(self, input: ClassificationStatus) -> Self
The current status of the sensitive data detection.
sourcepub fn set_status(self, input: Option<ClassificationStatus>) -> Self
pub fn set_status(self, input: Option<ClassificationStatus>) -> Self
The current status of the sensitive data detection.
sourcepub fn sensitive_data(self, input: SensitiveDataResult) -> Self
pub fn sensitive_data(self, input: SensitiveDataResult) -> Self
Appends an item to sensitive_data
.
To override the contents of this collection use set_sensitive_data
.
Provides details about sensitive data that was identified based on built-in configuration.
sourcepub fn set_sensitive_data(self, input: Option<Vec<SensitiveDataResult>>) -> Self
pub fn set_sensitive_data(self, input: Option<Vec<SensitiveDataResult>>) -> Self
Provides details about sensitive data that was identified based on built-in configuration.
sourcepub fn custom_data_identifiers(self, input: CustomDataIdentifiersResult) -> Self
pub fn custom_data_identifiers(self, input: CustomDataIdentifiersResult) -> Self
Provides details about sensitive data that was identified based on customer-defined configuration.
sourcepub fn set_custom_data_identifiers(
self,
input: Option<CustomDataIdentifiersResult>
) -> Self
pub fn set_custom_data_identifiers(
self,
input: Option<CustomDataIdentifiersResult>
) -> Self
Provides details about sensitive data that was identified based on customer-defined configuration.
sourcepub fn build(self) -> ClassificationResult
pub fn build(self) -> ClassificationResult
Consumes the builder and constructs a ClassificationResult
.