Struct aws_sdk_macie2::operation::get_sensitive_data_occurrences_availability::builders::GetSensitiveDataOccurrencesAvailabilityOutputBuilder
source · #[non_exhaustive]pub struct GetSensitiveDataOccurrencesAvailabilityOutputBuilder { /* private fields */ }
Expand description
A builder for GetSensitiveDataOccurrencesAvailabilityOutput
.
Implementations§
source§impl GetSensitiveDataOccurrencesAvailabilityOutputBuilder
impl GetSensitiveDataOccurrencesAvailabilityOutputBuilder
sourcepub fn code(self, input: AvailabilityCode) -> Self
pub fn code(self, input: AvailabilityCode) -> Self
Specifies whether occurrences of sensitive data can be retrieved for the finding. Possible values are: AVAILABLE, the sensitive data can be retrieved; and, UNAVAILABLE, the sensitive data can't be retrieved. If this value is UNAVAILABLE, the reasons array indicates why the data can't be retrieved.
sourcepub fn set_code(self, input: Option<AvailabilityCode>) -> Self
pub fn set_code(self, input: Option<AvailabilityCode>) -> Self
Specifies whether occurrences of sensitive data can be retrieved for the finding. Possible values are: AVAILABLE, the sensitive data can be retrieved; and, UNAVAILABLE, the sensitive data can't be retrieved. If this value is UNAVAILABLE, the reasons array indicates why the data can't be retrieved.
sourcepub fn get_code(&self) -> &Option<AvailabilityCode>
pub fn get_code(&self) -> &Option<AvailabilityCode>
Specifies whether occurrences of sensitive data can be retrieved for the finding. Possible values are: AVAILABLE, the sensitive data can be retrieved; and, UNAVAILABLE, the sensitive data can't be retrieved. If this value is UNAVAILABLE, the reasons array indicates why the data can't be retrieved.
sourcepub fn reasons(self, input: UnavailabilityReasonCode) -> Self
pub fn reasons(self, input: UnavailabilityReasonCode) -> Self
Appends an item to reasons
.
To override the contents of this collection use set_reasons
.
Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:
INVALID_CLASSIFICATION_RESULT - Amazon Macie can't verify the location of the sensitive data to retrieve. There isn't a corresponding sensitive data discovery result for the finding. Or the sensitive data discovery result specified by the classificationDetails.detailedResultsLocation field of the finding isn't available, is malformed or corrupted, or uses an unsupported storage format.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object might have been renamed, moved, or deleted. Or the object was changed after Macie created the finding.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
This value is null if sensitive data can be retrieved for the finding.
sourcepub fn set_reasons(self, input: Option<Vec<UnavailabilityReasonCode>>) -> Self
pub fn set_reasons(self, input: Option<Vec<UnavailabilityReasonCode>>) -> Self
Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:
INVALID_CLASSIFICATION_RESULT - Amazon Macie can't verify the location of the sensitive data to retrieve. There isn't a corresponding sensitive data discovery result for the finding. Or the sensitive data discovery result specified by the classificationDetails.detailedResultsLocation field of the finding isn't available, is malformed or corrupted, or uses an unsupported storage format.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object might have been renamed, moved, or deleted. Or the object was changed after Macie created the finding.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
This value is null if sensitive data can be retrieved for the finding.
sourcepub fn get_reasons(&self) -> &Option<Vec<UnavailabilityReasonCode>>
pub fn get_reasons(&self) -> &Option<Vec<UnavailabilityReasonCode>>
Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:
INVALID_CLASSIFICATION_RESULT - Amazon Macie can't verify the location of the sensitive data to retrieve. There isn't a corresponding sensitive data discovery result for the finding. Or the sensitive data discovery result specified by the classificationDetails.detailedResultsLocation field of the finding isn't available, is malformed or corrupted, or uses an unsupported storage format.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object might have been renamed, moved, or deleted. Or the object was changed after Macie created the finding.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
This value is null if sensitive data can be retrieved for the finding.
sourcepub fn build(self) -> GetSensitiveDataOccurrencesAvailabilityOutput
pub fn build(self) -> GetSensitiveDataOccurrencesAvailabilityOutput
Consumes the builder and constructs a GetSensitiveDataOccurrencesAvailabilityOutput
.
Trait Implementations§
source§impl Clone for GetSensitiveDataOccurrencesAvailabilityOutputBuilder
impl Clone for GetSensitiveDataOccurrencesAvailabilityOutputBuilder
source§fn clone(&self) -> GetSensitiveDataOccurrencesAvailabilityOutputBuilder
fn clone(&self) -> GetSensitiveDataOccurrencesAvailabilityOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSensitiveDataOccurrencesAvailabilityOutputBuilder
impl Default for GetSensitiveDataOccurrencesAvailabilityOutputBuilder
source§fn default() -> GetSensitiveDataOccurrencesAvailabilityOutputBuilder
fn default() -> GetSensitiveDataOccurrencesAvailabilityOutputBuilder
source§impl PartialEq<GetSensitiveDataOccurrencesAvailabilityOutputBuilder> for GetSensitiveDataOccurrencesAvailabilityOutputBuilder
impl PartialEq<GetSensitiveDataOccurrencesAvailabilityOutputBuilder> for GetSensitiveDataOccurrencesAvailabilityOutputBuilder
source§fn eq(
&self,
other: &GetSensitiveDataOccurrencesAvailabilityOutputBuilder
) -> bool
fn eq( &self, other: &GetSensitiveDataOccurrencesAvailabilityOutputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.