#[non_exhaustive]pub struct ClassificationDetailsBuilder { /* private fields */ }
Expand description
A builder for ClassificationDetails
.
Implementations§
source§impl ClassificationDetailsBuilder
impl ClassificationDetailsBuilder
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 get_detailed_results_location(&self) -> &Option<String>
pub fn get_detailed_results_location(&self) -> &Option<String>
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 get_job_arn(&self) -> &Option<String>
pub fn get_job_arn(&self) -> &Option<String>
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 get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
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 get_origin_type(&self) -> &Option<OriginType>
pub fn get_origin_type(&self) -> &Option<OriginType>
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 get_result(&self) -> &Option<ClassificationResult>
pub fn get_result(&self) -> &Option<ClassificationResult>
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
.
Trait Implementations§
source§impl Clone for ClassificationDetailsBuilder
impl Clone for ClassificationDetailsBuilder
source§fn clone(&self) -> ClassificationDetailsBuilder
fn clone(&self) -> ClassificationDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClassificationDetailsBuilder
impl Debug for ClassificationDetailsBuilder
source§impl Default for ClassificationDetailsBuilder
impl Default for ClassificationDetailsBuilder
source§fn default() -> ClassificationDetailsBuilder
fn default() -> ClassificationDetailsBuilder
source§impl PartialEq<ClassificationDetailsBuilder> for ClassificationDetailsBuilder
impl PartialEq<ClassificationDetailsBuilder> for ClassificationDetailsBuilder
source§fn eq(&self, other: &ClassificationDetailsBuilder) -> bool
fn eq(&self, other: &ClassificationDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.