Interface GetCustomEntityTypeResponse.Builder

    • Method Detail

      • name

        GetCustomEntityTypeResponse.Builder name​(String name)

        The name of the custom pattern that you retrieved.

        Parameters:
        name - The name of the custom pattern that you retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regexString

        GetCustomEntityTypeResponse.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

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

        A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        Parameters:
        contextWords - A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextWords

        GetCustomEntityTypeResponse.Builder contextWords​(String... contextWords)

        A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        Parameters:
        contextWords - A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.