Interface CreateCustomEntityTypeRequest.Builder

    • Method Detail

      • name

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

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

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

        CreateCustomEntityTypeRequest.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.
      • tags

        CreateCustomEntityTypeRequest.Builder tags​(Map<String,​String> tags)

        A list of tags applied to the custom entity type.

        Parameters:
        tags - A list of tags applied to the custom entity type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.