Interface Malware.Builder

    • Method Detail

      • name

        Malware.Builder name​(String name)

        The name of the malware that was observed.

        Length Constraints: Minimum of 1. Maximum of 64.

        Parameters:
        name - The name of the malware that was observed.

        Length Constraints: Minimum of 1. Maximum of 64.

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

        Malware.Builder type​(String type)

        The type of the malware that was observed.

        Parameters:
        type - The type of the malware that was observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MalwareType, MalwareType
      • type

        Malware.Builder type​(MalwareType type)

        The type of the malware that was observed.

        Parameters:
        type - The type of the malware that was observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MalwareType, MalwareType
      • path

        Malware.Builder path​(String path)

        The file system path of the malware that was observed.

        Length Constraints: Minimum of 1. Maximum of 512.

        Parameters:
        path - The file system path of the malware that was observed.

        Length Constraints: Minimum of 1. Maximum of 512.

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

        Malware.Builder state​(String state)

        The state of the malware that was observed.

        Parameters:
        state - The state of the malware that was observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MalwareState, MalwareState
      • state

        Malware.Builder state​(MalwareState state)

        The state of the malware that was observed.

        Parameters:
        state - The state of the malware that was observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MalwareState, MalwareState