Interface GetSensitiveDataOccurrencesAvailabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSensitiveDataOccurrencesAvailabilityResponse.Builder,
,GetSensitiveDataOccurrencesAvailabilityResponse> Macie2Response.Builder
,SdkBuilder<GetSensitiveDataOccurrencesAvailabilityResponse.Builder,
,GetSensitiveDataOccurrencesAvailabilityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSensitiveDataOccurrencesAvailabilityResponse
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether occurrences of sensitive data can be retrieved for the finding.code
(AvailabilityCode code) Specifies whether occurrences of sensitive data can be retrieved for the finding.reasons
(Collection<UnavailabilityReasonCode> reasons) Specifies why occurrences of sensitive data can't be retrieved for the finding.reasons
(UnavailabilityReasonCode... reasons) Specifies why occurrences of sensitive data can't be retrieved for the finding.reasonsWithStrings
(String... reasons) Specifies why occurrences of sensitive data can't be retrieved for the finding.reasonsWithStrings
(Collection<String> reasons) Specifies why occurrences of sensitive data can't be retrieved for the finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
code
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.
- Parameters:
code
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
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.
- Parameters:
code
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasonsWithStrings
GetSensitiveDataOccurrencesAvailabilityResponse.Builder reasonsWithStrings(Collection<String> 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasonsWithStrings
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasons
GetSensitiveDataOccurrencesAvailabilityResponse.Builder reasons(Collection<UnavailabilityReasonCode> 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-