Interface GetSensitiveDataOccurrencesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSensitiveDataOccurrencesResponse.Builder,GetSensitiveDataOccurrencesResponse>,Macie2Response.Builder,SdkBuilder<GetSensitiveDataOccurrencesResponse.Builder,GetSensitiveDataOccurrencesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSensitiveDataOccurrencesResponse
public static interface GetSensitiveDataOccurrencesResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetSensitiveDataOccurrencesResponse.Builder,GetSensitiveDataOccurrencesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSensitiveDataOccurrencesResponse.Buildererror(String error)If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred.GetSensitiveDataOccurrencesResponse.BuildersensitiveDataOccurrences(Map<String,? extends Collection<DetectedDataDetails>> sensitiveDataOccurrences)A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.GetSensitiveDataOccurrencesResponse.Builderstatus(String status)The status of the request to retrieve occurrences of sensitive data reported by the finding.GetSensitiveDataOccurrencesResponse.Builderstatus(RevealRequestStatus status)The status of the request to retrieve occurrences of sensitive data reported by 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
error
GetSensitiveDataOccurrencesResponse.Builder error(String error)
If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.
- Parameters:
error- If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveDataOccurrences
GetSensitiveDataOccurrencesResponse.Builder sensitiveDataOccurrences(Map<String,? extends Collection<DetectedDataDetails>> sensitiveDataOccurrences)
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
- Parameters:
sensitiveDataOccurrences- A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetSensitiveDataOccurrencesResponse.Builder status(String status)
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
- Parameters:
status- The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevealRequestStatus,RevealRequestStatus
-
-
status
GetSensitiveDataOccurrencesResponse.Builder status(RevealRequestStatus status)
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
- Parameters:
status- The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevealRequestStatus,RevealRequestStatus
-
-
-