Interface CustomEntityType.Builder

    • Method Detail

      • name

        CustomEntityType.Builder name​(String name)

        A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.

        Parameters:
        name - A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regexString

        CustomEntityType.Builder regexString​(String regexString)

        A regular expression string that is used for detecting sensitive data in a custom pattern.

        Parameters:
        regexString - A regular expression string that is used for detecting sensitive data in a custom pattern.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextWords

        CustomEntityType.Builder contextWords​(Collection<String> contextWords)

        A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        If no context words are passed only a regular expression is checked.

        Parameters:
        contextWords - A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        If no context words are passed only a regular expression is checked.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextWords

        CustomEntityType.Builder contextWords​(String... contextWords)

        A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        If no context words are passed only a regular expression is checked.

        Parameters:
        contextWords - A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        If no context words are passed only a regular expression is checked.

        Returns:
        Returns a reference to this object so that method calls can be chained together.