public function withThreadId(string $threadId): Aps
    {
        $cloned = clone $this;

        $cloned->threadId = $threadId;

        return $cloned;
    }
public function withThreadId(string $threadId): Aps
    {
        $cloned = clone $this;

        $cloned->threadId = $threadId;

        return $cloned;
    }
public function withThreadId ( string $ threadId ) : Aps { $ cloned = clone $ this ; $ cloned -> threadId = $ threadId ; return $ cloned ; }
Set thread id

@param string $threadId

@return Aps
Set thread id