Interface Detection.Builder

    • Method Detail

      • arn

        Detection.Builder arn​(String arn)

        If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.

        Parameters:
        arn - If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        Detection.Builder count​(Long count)

        The total number of occurrences of the sensitive data.

        Parameters:
        count - The total number of occurrences of the sensitive data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Detection.Builder id​(String id)

        The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.

        Parameters:
        id - The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Detection.Builder name​(String name)

        The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).

        Parameters:
        name - The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • suppressed

        Detection.Builder suppressed​(Boolean suppressed)

        Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score, if the score is calculated by Amazon Macie.

        Parameters:
        suppressed - Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score, if the score is calculated by Amazon Macie.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Detection.Builder type​(String type)

        The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.

        Parameters:
        type - The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataIdentifierType, DataIdentifierType
      • type

        Detection.Builder type​(DataIdentifierType type)

        The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.

        Parameters:
        type - The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataIdentifierType, DataIdentifierType