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 Details

    • 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

      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:
    • 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: