Interface GetSensitiveDataOccurrencesResponse.Builder

    • 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