Struct aws_sdk_macie2::model::classification_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ClassificationDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn detailed_results_location(self, input: impl Into<String>) -> Self
pub fn detailed_results_location(self, input: impl Into<String>) -> Self
The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
sourcepub fn set_detailed_results_location(self, input: Option<String>) -> Self
pub fn set_detailed_results_location(self, input: Option<String>) -> Self
The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
sourcepub fn job_arn(self, input: impl Into<String>) -> Self
pub fn job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
sourcepub fn set_job_arn(self, input: Option<String>) -> Self
pub fn set_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
sourcepub fn origin_type(self, input: OriginType) -> Self
pub fn origin_type(self, input: OriginType) -> Self
Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
sourcepub fn set_origin_type(self, input: Option<OriginType>) -> Self
pub fn set_origin_type(self, input: Option<OriginType>) -> Self
Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
sourcepub fn result(self, input: ClassificationResult) -> Self
pub fn result(self, input: ClassificationResult) -> Self
The status and other details of the finding.
sourcepub fn set_result(self, input: Option<ClassificationResult>) -> Self
pub fn set_result(self, input: Option<ClassificationResult>) -> Self
The status and other details of the finding.
sourcepub fn build(self) -> ClassificationDetails
pub fn build(self) -> ClassificationDetails
Consumes the builder and constructs a ClassificationDetails
.